﻿:root {
  color-scheme: dark;
  --base: #10110f;
  --card: #181a16;
  --raised: #20211c;
  --line: #35362d;
  --text: #f3f2e9;
  --muted: #b3b1a4;
  --gold: #f5ce77;
  --gold-strong: #ffdb89;
  --width: 1140px;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; background: var(--base); color: var(--text); }
a { color: inherit; }
.top { border-bottom: 1px solid var(--line); background: #131410; }
.top nav { width: min(100% - 36px, var(--width)); margin: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: .03em; white-space: nowrap; }
.brand b { color: var(--muted); font-size: .88em; font-weight: 600; }
.mark { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: var(--gold); color: #221b0d; }
.mark::before { content: ""; width: 17px; height: 17px; background: linear-gradient(currentColor,currentColor) center/1px 100%,linear-gradient(currentColor,currentColor) center/100% 1px; background-repeat: no-repeat; border: 1px solid currentColor; border-radius: 50%; }
main { width: min(100% - 36px, var(--width)); margin: auto; padding: 22px 0 max(42px, env(safe-area-inset-bottom)); }
h1,h2,p { margin-top: 0; }
h1 { font-size: clamp(38px, 6.3vw, 74px); line-height: .99; letter-spacing: -.055em; margin-bottom: 20px; font-weight: 820; text-wrap: balance; }
h1 em { color: var(--gold); font-style: normal; }
h2 { font-size: 22px; line-height: 1.2; margin-bottom: 15px; letter-spacing: -.02em; }
.hero { position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; min-height: clamp(370px, 44vw, 510px); border: 1px solid #444033; border-radius: 24px; padding: clamp(25px, 5.4vw, 64px); background: radial-gradient(ellipse at 90% 26%, #705027 0%, #2d2618 26%, #151613 65%); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url('/hero-arena.jpg') 67% center/cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#11120ee8 0%,#11120eaf 39%,#11120e10 78%),linear-gradient(0deg,#11120ee0,transparent 62%); }
.hero-copy { max-width: 720px; }
.hero-copy > p:not(.eyebrow) { max-width: 440px; color: #ece8db; margin: 0 0 19px; font-size: clamp(16px, 2vw, 19px); }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 850; letter-spacing: .16em; margin-bottom: 13px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 3vw, 27px); margin: 14px 0; min-width: 0; }
#offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px 26px; align-items: center; border-color: #57503c; background: linear-gradient(112deg,#202017,#191a16 80%); }
.offer-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 25px; }
.offer-head h2 { margin-bottom: 5px; }
#access-text, #support { margin: 0; }
#support { grid-column: 1/-1; }
.price { color: var(--gold); white-space: nowrap; font-size: 26px; font-weight: 850; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 16px 0 0; padding: 0; gap: 12px; list-style: none; }
.features li { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.features strong, .features small { display: block; }
.features small { margin-top: 3px; color: var(--muted); }
.feature-icon { flex: 0 0 38px; height: 38px; border: 1px solid #55482e; border-radius: 10px; background-color: #262319; position: relative; color: var(--gold); }
.feature-icon::before { position: absolute; content: ""; inset: 11px; }
.feature-calendar::before { border: 1.5px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor,currentColor) 50% 25% / 100% 1px no-repeat; }
.feature-maps::before { border: 1.5px solid currentColor; transform: rotate(45deg); inset: 12px; }
.feature-form::before { background: linear-gradient(currentColor,currentColor) 0 100%/3px 45%,linear-gradient(currentColor,currentColor) 50% 100%/3px 70%,linear-gradient(currentColor,currentColor) 100% 100%/3px 100%; background-repeat: no-repeat; }
.muted,.status { color: var(--muted); font-size: 14px; }
.status:empty { display: none; }
.status[data-error] { color: #ffbbb0; }
.status { margin: 0 0 12px; }
button,input,.primary,.secondary { font: inherit; }
button,input,.primary,.secondary { border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; min-height: 44px; color: var(--text); background: var(--raised); }
button { cursor: pointer; }
button:hover,.secondary:hover { border-color: #8c7951; }
button:disabled { opacity: .6; cursor: default; }
.primary,.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font-weight: 760; }
.primary { background: var(--gold); border-color: var(--gold); color: #241b0c; }
.primary:hover { background: var(--gold-strong); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#analysis-link,.plan-actions #buy { min-height: 50px; }
#claim { max-width: 560px; margin: 28px auto; }
#claim h1,#admin h1 { font-size: clamp(31px, 5vw, 54px); }
#admin .panel { scroll-margin-top: 16px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 15px; }
.admin-head h1 { margin: 0; }
.admin-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 9px; margin: 0 0 12px; }
.admin-nav a { color: var(--muted); background: var(--raised); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; padding: 9px 12px; flex-shrink: 0; }
.admin-nav a:hover { color: var(--gold); border-color: #8c7951; }
.admin-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.admin-columns > .panel { margin: 12px 0 0; }
form { display: grid; gap: 12px; align-items: start; }
form.actions { display: flex; }
.fields,.metrics { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.metrics { grid-template-columns: repeat(5,minmax(0,1fr)); }
.metric { background: linear-gradient(155deg,#211e15,var(--card) 71%); border: 1px solid var(--line); border-radius: 13px; padding: 13px; min-width: 0; overflow-wrap: anywhere; }
.metric strong { display: block; font-variant-numeric: tabular-nums; color: var(--gold); font-size: 25px; }
.metric span { color: var(--muted); font-size: 13px; }
label { display: block; color: var(--muted); }
label input:not([type=checkbox]) { display: block; width: 100%; margin-top: 5px; }
input { min-width: 0; }
input[type=checkbox] { min-height: auto; accent-color: var(--gold); }
#search-form input { flex: 1 1 180px; }
.users { display: grid; gap: 8px; margin: 12px 0; }
.user-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 4px 12px; padding: 12px; background: #141510; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.user-row p { grid-column: 1; margin: 0; }
.user-row .actions { grid-column: 2; grid-row: 1/span 2; }
.user-row input { width: 72px; }
.activity { list-style: none; padding: 0; margin: 0; }
.activity li { border-top: 1px solid var(--line); padding: 10px 0; color: var(--muted); overflow-wrap: anywhere; }
button:focus-visible,a:focus-visible,input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 720px) {
  .top nav,main { width: calc(100% - 28px); }
  main { padding-top: 14px; }
  .top nav { min-height: 58px; }
  .hero { min-height: 400px; border-radius: 17px; padding: 22px; }
  .hero::before { background-position: 67% center; }
  .hero::after { background: linear-gradient(0deg,#11120ef7 0%,#11120ebf 41%,#11120e18 92%),linear-gradient(90deg,#11120e55,transparent); }
  #offer,.admin-columns { grid-template-columns: minmax(0,1fr); }
  .features { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .features li { padding: 12px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .user-row { grid-template-columns: minmax(0,1fr); }
  .user-row .actions { grid-column: 1; grid-row: auto; }
  .plan-actions > * { flex: 1 1 145px; }
}
@media (max-width: 340px) { .fields { grid-template-columns: minmax(0,1fr); } .hero h1 { font-size: 33px; } }
