/* Canlı Arena site styles: shared by the sales page, panel, admin and legal pages. */
:root {
  --bg: #120d2a; --bg2: #1b1446; --card: #221a52; --line: rgba(255,255,255,.1);
  --fg: #f4f1ff; --muted: #b9b2dc; --gold: #ffcc33; --gold-ink: #3b2600; --pink: #ff3d6e; --green: #59d98e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 'Nunito', system-ui, sans-serif; }
h1, h2, h3, .brand, .btn { font-family: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance; }
a { color: var(--gold); }
img, video, iframe { max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(18,13,42,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-size: 26px; font-weight: 800; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--gold) 13% 60%, #ff9f1a 61%); display: inline-block; box-shadow: 0 0 18px rgba(255,204,51,.5); }
.nav nav { display: flex; gap: 20px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 700; }
.nav nav a:hover { color: var(--fg); }
@media (max-width: 720px) { .nav nav a:not(.keep) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-size: 20px; font-weight: 800; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.btn:active { transform: translateY(2px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 5px 0 #b8860b; }
.btn-gold:hover { box-shadow: 0 7px 0 #b8860b; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-sm { padding: 8px 16px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: default; }

section { padding: 88px 0; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.lead { color: var(--muted); font-size: 20px; max-width: 60ch; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 50px); }

.hero { padding: 64px 0 72px; background: radial-gradient(900px 500px at 75% 20%, rgba(255,61,110,.22), transparent 60%), radial-gradient(700px 500px at 10% 80%, rgba(89,217,142,.12), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 78px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin: 20px 0 30px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { color: var(--muted); font-size: 15px; margin-top: 14px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.phone { position: relative; width: min(340px, 100%); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 42px; padding: 12px; background: #0b0820; box-shadow: 0 0 0 2px #3a2f7a, 0 30px 80px rgba(0,0,0,.6); }
.phone iframe, .phone .poster { width: 100%; height: 100%; border: 0; border-radius: 32px; display: block; background: #1b1446; }
.phone .live { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--pink); color: #fff; font: 800 13px system-ui; padding: 3px 10px; border-radius: 6px; z-index: 2; letter-spacing: .05em; }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.game { background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.game .shot { height: 400px; background: #0b0820; position: relative; overflow: hidden; }
.game .shot iframe { position: absolute; left: 50%; top: 0; width: 360px; height: 640px; border: 0; transform: translateX(-50%) scale(.62); transform-origin: top center; pointer-events: none; }
.game .body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.game h3 { font-size: 28px; }
.game p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 700; }
.game.soon { border-style: dashed; justify-content: center; align-items: center; text-align: center; padding: 40px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--bg2); border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 24px 'Baloo 2', system-ui; margin-bottom: 14px; }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why div { padding: 4px 0; }
.why b { display: block; font: 800 22px 'Baloo 2', system-ui; margin-bottom: 4px; }
.why span { color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.price.best { border: 2px solid var(--gold); position: relative; }
.price.best::after { content: 'EN AVANTAJLI'; position: absolute; top: -13px; left: 30px; background: var(--gold); color: var(--gold-ink); font: 800 13px system-ui; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em; }
.price h3 { font-size: 26px; }
.price .amt { font: 800 46px 'Baloo 2', system-ui; line-height: 1; }
.price .amt small { font-size: 18px; color: var(--muted); font-weight: 600; }
.price ul { margin: 0; padding-left: 20px; color: var(--muted); flex: 1; }
.price li { margin: 4px 0; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font: 800 20px 'Baloo 2', system-ui; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.trial { background: linear-gradient(135deg, #2c1d6b, #4b1d5c); border-radius: 30px; padding: 44px; display: grid; gap: 18px; text-align: center; justify-items: center; }
.trial h2 { font-size: clamp(32px, 5vw, 46px); }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 560px; }
input[type=email], input[type=text], input[type=password], input[type=number], select {
  flex: 1; min-width: 0; font: 600 18px 'Nunito', system-ui; color: var(--fg); background: rgba(0,0,0,.3); border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; outline: none;
}
input:focus, select:focus { border-color: var(--gold); }
.form-row input { min-width: min(240px, 100%); }
.msg { min-height: 1.6em; font-weight: 700; }
.msg.err { color: #ff8a8a; } .msg.ok { color: var(--green); }
.keybox { background: rgba(0,0,0,.35); border: 2px dashed var(--gold); border-radius: 16px; padding: 14px 18px; font: 800 22px ui-monospace, Menlo, monospace; letter-spacing: .04em; word-break: break-all; user-select: all; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

/* panel / admin */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 14px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 700; }
.urlrow { display: flex; gap: 8px; align-items: center; }
.urlrow code { flex: 1; min-width: 0; background: rgba(0,0,0,.35); border-radius: 10px; padding: 10px 12px; font-size: 13px; overflow-x: auto; white-space: nowrap; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 700; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 800; }
.badge.on { background: rgba(89,217,142,.2); color: var(--green); } .badge.off { background: rgba(255,61,110,.2); color: #ff8aa6; }
ol.guide { color: var(--muted); padding-left: 22px; margin: 0; } ol.guide li { margin: 6px 0; } ol.guide b { color: var(--fg); }
.prose { max-width: 760px; } .prose h2 { font-size: 28px; margin: 32px 0 10px; } .prose p, .prose li { color: var(--muted); }
.todo { background: rgba(255,204,51,.15); color: var(--gold); padding: 0 6px; border-radius: 6px; }
[hidden] { display: none !important; }
