/* shivassai — Genel site tasarımı (koyu zemin + turuncu vurgu) ve hareket katmanı.
   Hareket dili game.shivassai.com ile aynı: imleç ışığı, mıknatıs düğmeler, kart eğimi, vitrin paralaksı,
   kaydırmada sırayla belirme (cine-rise), sayı sayma, sekme geçiş çizgisi. js/fx.js değişkenleri yazar.
   style.css'teki stüdyo bileşenleri aşağıdaki değişken eşlemesiyle aynı temaya geçer. */

@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Karadeniz paleti: koyu petrol zemin, fındık altını vurgu, deniz yeşili ikincil renk */
  --acc: #e2b65c;
  --acc-2: #ecc87d;
  --acc-deep: #c99a3e;
  --acc-soft: rgba(226, 182, 92, .13);
  --acc-line: rgba(226, 182, 92, .4);
  --on-acc: #17130a;
  --sea: #3fb6a8;
  --sea-2: #7fd3c6;
  --sea-soft: rgba(63, 182, 168, .14);
  --grad: linear-gradient(135deg, #f0d08c 0%, #e2b65c 52%, #cfa04a 100%);
  --grad-sea: linear-gradient(120deg, #e2b65c 0%, #9fc28a 55%, #3fb6a8 100%);
  --bg: #0b1418;
  --bg-2: #0e1a1f;
  --surface: #13222a;
  --surface-2: #182a33;
  --surface-3: #1f343e;
  --line: rgba(234, 241, 239, .08);
  --line-2: rgba(234, 241, 239, .14);
  --text: #eaf1ef;
  --text-soft: #c6d3d0;
  --muted: #8ea19d;
  --ok: #3fcf8e;
  --live: #ff4d6a;
  --maxw: 1160px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --glow: 0 24px 50px -26px rgba(226, 182, 92, .45);

  /* style.css (stüdyo) değişkenleri aynı temaya eşlenir */
  --bg-main: var(--bg);
  --bg-card: var(--surface);
  --bg-card-alt: var(--surface-2);
  --bg-input: var(--bg-2);
  --border-color: #23383f;
  --border-amber: var(--acc-line);
  --amber: var(--acc);
  --amber-hover: var(--acc-2);
  --amber-dim: var(--acc-soft);
  --text-main: var(--text);
  --text-muted: var(--muted);
  color-scheme: dark;
}

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html, body {
  background: var(--bg);
  background-image: radial-gradient(1200px 520px at 50% -8%, rgba(63, 182, 168, .07), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}
body { overflow-x: hidden; }
button, input, select, textarea { font-family: inherit; }
code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--acc-soft); color: var(--acc-2); }
::selection { background: color-mix(in srgb, var(--acc) 40%, transparent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-only:focus { position: fixed; z-index: 3000; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--acc); color: var(--on-acc); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.hidden { display: none !important; }
.acc { color: var(--acc); }
.acc-text { color: var(--acc) !important; }

/* ================= Duyuru şeridi ================= */
.announce {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 6px 16px; text-align: center;
  background: linear-gradient(90deg, #0f2128, #13292f 50%, #0f2128);
  border-bottom: 1px solid var(--line);
  color: var(--acc-2); font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.announce svg { width: 15px; height: 15px; transition: translate .35s var(--spring); }
.announce:hover svg { translate: 4px 0; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(63, 182, 168, .22); animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes band-slide { to { background-position: -200% 0; } }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* ================= Üst çubuk ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 24, .72);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(11, 20, 24, .9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.hdr-row { max-width: calc(var(--maxw) + 140px); margin: 0 auto; height: 68px; padding: 0 24px; display: flex; align-items: center; gap: 22px; }

.s-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.s-brand-mark { width: 34px; height: 34px; flex: none; }
.s-brand:hover .s-brand-mark { animation: mark-flick .7s steps(6) 1; }
@keyframes mark-flick { 30% { filter: brightness(1.5) drop-shadow(0 0 8px var(--acc)); } 55% { filter: brightness(.85); } 80% { filter: brightness(1.3) drop-shadow(0 0 6px var(--acc-2)); } }
.mk-bg { fill: var(--acc); }
.mk-s { fill: none; stroke: #0b1418; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mk-dot { fill: var(--sea); }
.s-brand-text { display: grid; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.03em; }
.s-brand-text small { margin-top: 3px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent;
  color: var(--text-soft); font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); scale: 0 1; transform-origin: left; transition: scale .35s var(--ease); }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav-link.active { color: #fff; }
.nav-link.active::after, .nav-link:hover::after { scale: 1 1; }

.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-sep { width: 1px; height: 26px; background: var(--line-2); margin-right: 6px; }
.hdr-login { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s var(--ease); }
.hdr-login svg { width: 19px; height: 19px; }
.hdr-login:hover, .hdr-login.active { background: rgba(255, 255, 255, .06); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s var(--ease), translate .35s var(--spring); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--acc-line); }
.menu-toggle { display: none; }

/* ================= Düğmeler ================= */
.s-btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--line-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: translate .35s var(--spring), box-shadow .3s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease), background-position .6s var(--ease);
}
.s-btn svg { width: 18px; height: 18px; flex: none; }
.s-btn:active { scale: .98; }
.s-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.s-btn-lg { min-height: 56px; padding: 0 30px; font-size: 16.5px; border-radius: 13px; }
.s-btn-block { width: 100%; }
.s-btn-primary {
  --b-fg: var(--on-acc); --b-bd: transparent;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%) no-repeat 160% 0 / 260% 100%, var(--grad);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--acc) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.s-btn-primary:hover { background-position: -60% 0, 0 0; box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--acc) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }
.s-btn-dark { --b-bg: #101d23; --b-bd: var(--line-2); }
.s-btn-dark:hover { --b-bd: rgba(255, 255, 255, .26); background-color: #172a33; }
.s-btn-light { --b-bg: #fff; --b-fg: #0b1418; --b-bd: transparent; }
.s-btn-light:hover { --b-bg: #ececec; box-shadow: 0 14px 30px -16px rgba(255, 255, 255, .5); }
.s-btn-outline { --b-bg: color-mix(in srgb, var(--acc) 6%, transparent); --b-fg: var(--acc-2); --b-bd: var(--acc-line); }
.s-btn-outline:hover { --b-bg: color-mix(in srgb, var(--acc) 14%, transparent); --b-fg: #fff; }
.s-btn-outline-dim { --b-bg: transparent; --b-bd: var(--line-2); --b-fg: var(--text-soft); }
.s-btn-outline-dim:hover { --b-bd: rgba(255, 255, 255, .3); --b-fg: #fff; }
.play-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: var(--on-acc); box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent); animation: ring 2.4s ease-out infinite; }
.play-dot svg { width: 13px; height: 13px; margin-left: 2px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--acc) 0%, transparent); } }
.link-btn { padding: 0; border: 0; background: none; color: var(--acc); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
.link-btn:hover { color: var(--acc-2); text-decoration-color: currentColor; }

/* imleç ışığı (fx.js --mx/--my yazar) */
.fx-spot { position: relative; }
.fx-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc-2) 12%, transparent), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.fx-spot:hover::after { opacity: 1; }
.s-btn.fx-spot::after { z-index: -1; background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 70%); }

/* ================= Genel yerleşim ================= */
.main-container { max-width: none; margin: 0; padding: 0; }
.tab-section { display: block; }
.lp-section { max-width: var(--maxw); margin: 0 auto; padding: 110px 24px 0; scroll-margin-top: 80px; }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--acc); }
.sec-head h2, .cta-band h2 { margin: 14px 0 12px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.sec-head p { margin: 0 auto; max-width: 64ch; color: var(--text-soft); font-size: 17px; }
.page-wrap { max-width: var(--maxw); margin: 0 auto; padding: 36px 24px 40px; }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 13.5px; }
.crumbs .link-btn { color: var(--muted); font-weight: 500; text-decoration: none; }
.crumbs .link-btn:hover { color: #fff; }
.page-h1 { margin: 0 0 10px; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.page-lead { margin: 0 0 32px; max-width: 70ch; color: var(--text-soft); font-size: 16.5px; }

/* ================= HERO ================= */
.lp-hero {
  --hx: 50%; --hy: 30%;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(880px, calc(100vh - 102px)); display: grid; place-items: center;
  padding: 80px 24px 90px;
}
.lp-hero-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--hx) var(--hy), color-mix(in srgb, var(--acc) 10%, transparent), transparent 65%),
    radial-gradient(70% 55% at 50% 0%, rgba(63, 182, 168, .12), transparent 70%),
    radial-gradient(50% 45% at 50% 100%, color-mix(in srgb, var(--acc) 7%, transparent), transparent 70%);
  transition: background .2s linear;
}
/* Horon halkası: sahneye yukarıdan bakılmış gibi iç içe ince halkalar */
.lp-hero-grid {
  position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 50% 112%, transparent 0 58px, color-mix(in srgb, var(--acc) 7.5%, transparent) 58px 59px, transparent 59px 118px);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 85%, #000, transparent 80%); mask-image: radial-gradient(75% 70% at 50% 85%, #000, transparent 80%);
  animation: ring-breathe 16s ease-in-out infinite;
}
@keyframes ring-breathe { 50% { transform: scale(1.04); opacity: .8; } }
.lp-hero-waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 120px; z-index: -1; pointer-events: none; animation: wave-drift 46s linear infinite; }
.lp-hero-waves path { fill: none; stroke-width: 1.4; }
.lp-hero-waves .w1 { stroke: rgba(63, 182, 168, .28); }
.lp-hero-waves .w2 { stroke: color-mix(in srgb, var(--acc) 20%, transparent); }
.lp-hero-waves .w3 { stroke: rgba(63, 182, 168, .14); }
@keyframes wave-drift { to { transform: translateX(-50%); } }
/* periyodik ışık huzmesi */
.lp-hero::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -24%; width: 14%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc-2) 9%, transparent), transparent);
  transform: skewX(-18deg); animation: streak 11s ease-in-out infinite;
}
@keyframes streak { 0%, 55% { translate: 0 0; opacity: 0; } 60% { opacity: 1; } 100% { translate: 900% 0; opacity: 0; } }

.lp-hero-body { position: relative; z-index: 2; max-width: 720px; text-align: center; display: grid; justify-items: center; }
.lp-hero-body > * { transform-origin: 50% 100%; animation: cine-flip .8s var(--ease) both; }
.lp-hero-body > :nth-child(1) { animation-delay: .05s; }
.lp-hero-body > :nth-child(2) { animation-delay: .14s; }
.lp-hero-body > :nth-child(3) { animation-delay: .24s; }
.lp-hero-body > :nth-child(4) { animation-delay: .36s; }
.lp-hero-body > :nth-child(5) { animation-delay: .46s; }
.lp-hero-body > :nth-child(6) { animation-delay: .56s; }
.lp-hero-body > :nth-child(7) { animation-delay: .64s; }
.lp-hero-body > :nth-child(8) { animation-delay: .72s; }
.lp-hero-body > :nth-child(9) { animation-delay: .8s; }
@keyframes cine-flip { from { opacity: 0; transform: perspective(800px) rotateX(-50deg) translateY(24px); } }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--acc-line); background: color-mix(in srgb, var(--acc) 6%, transparent); color: var(--acc-2);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.hero-pill:hover { background: color-mix(in srgb, var(--acc) 14%, transparent); border-color: var(--acc); }
.hero-pill svg { width: 14px; height: 14px; transition: translate .35s var(--spring); }
.hero-pill:hover svg { translate: 3px 0; }
.hero-pill-new { padding: 4px 10px; border-radius: 999px; background: var(--grad); color: var(--on-acc); font-size: 12.5px; }
.hero-kicker { margin: 28px 0 6px; font-size: 18px; font-weight: 600; color: var(--text-soft); }
.hero-h1 { margin: 6px 0 0; font-size: clamp(46px, 7.4vw, 92px); line-height: .96; font-weight: 900; letter-spacing: -.045em; }
.hero-h1 .acc { color: var(--acc); }
.hero-h1 .acc:last-of-type {
  text-decoration: underline wavy rgba(63, 182, 168, .7);
  text-decoration-thickness: 3px; text-underline-offset: .18em; text-decoration-skip-ink: none;
}
@keyframes acc-shimmer { 50% { background-position: 100% 0; } }
.hero-type { margin: 26px 0 0; font: 700 13.5px/1.3 var(--font); color: var(--sea-2); letter-spacing: .22em; text-transform: uppercase; }
.hero-type span { display: inline-block; }
@keyframes type { from { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
.hero-lead { margin: 22px 0 30px; max-width: 58ch; color: var(--text-soft); font-size: 18px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 12px; }
.hero-cta .s-btn-lg { min-width: 230px; }
.hero-sub-login { margin: 4px 0 26px; color: var(--muted); font-size: 14px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(19, 34, 42, .7); font-size: 14px; font-weight: 600; color: var(--text-soft); transition: border-color .25s var(--ease), color .25s var(--ease); }
.chip svg { width: 16px; height: 16px; color: var(--acc); }
.chip:hover { border-color: var(--acc-line); color: #fff; }

/* uçuşan izleyici baloncukları: --x/--y konum, --z derinlik (paralaks), --s boyut, --t salınım evresi */
.hf-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hf {
  position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: 6px;
  transform: translate3d(calc(var(--px, 0) * var(--z) * -46px), calc(var(--py, 0) * var(--z) * -34px), 0);
  transition: transform .9s var(--ease);
  animation: hf-in .9s var(--spring) both, hf-bob 7s ease-in-out infinite;
  animation-delay: calc(.5s + var(--z) * .25s), var(--t);
  opacity: calc(.45 + var(--z) * .45);
}
@keyframes hf-in { from { opacity: 0; scale: .4; } }
@keyframes hf-bob { 0%, 100% { translate: 0 -8px; rotate: -1.5deg; } 50% { translate: 0 10px; rotate: 1.5deg; } }
.hf-av {
  position: relative; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--g1), var(--g2));
  font-size: calc(var(--s) * .46); line-height: 1;
  box-shadow: 0 0 0 3px var(--live), 0 0 0 6px rgba(255, 45, 85, .18), 0 18px 34px -16px rgba(0, 0, 0, .9);
}
.hf-av::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--live); animation: cine-ping 2.6s ease-out infinite; animation-delay: var(--t); }
@keyframes cine-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
.hf-badge { margin-top: -16px; position: relative; z-index: 1; padding: 2px 8px; border-radius: 6px; background: var(--live); color: #fff; font: 800 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(255, 45, 85, .8); }
.hf-cap { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-soft); white-space: nowrap; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hf-cap::before { content: ""; width: 11px; height: 8px; border: 1.5px solid var(--acc); border-radius: 3px; }

/* ================= DEMO (3D vitrin çerçevesi) ================= */
.demo-frame {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: #08080a;
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--acc) 45%, transparent), 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform: perspective(1400px) rotateX(calc(var(--rx) * .35)) rotateY(calc(var(--ry) * .35));
  transition: transform .5s var(--ease);
}
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.win-title { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.win-logo { width: 18px; height: 18px; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 6px; background: var(--live); color: #fff; font: 800 11px/1 var(--mono); letter-spacing: .1em; }
.win-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.demo-canvas-wrap { position: relative; aspect-ratio: 16 / 8; min-height: 300px; }
.demo-canvas-wrap .hero-3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; border: 0; border-radius: 0; }

/* ================= OYUN KARTLARI ================= */
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-xl);
  border: 1px solid var(--line); background: linear-gradient(180deg, #17171a, #11202a);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), translate .35s var(--spring);
}
.game-tile:hover { translate: 0 -6px; border-color: var(--acc-line); box-shadow: var(--glow); }
.tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-soft); font-size: 12.5px; font-weight: 600; }
.tag-new { background: color-mix(in srgb, var(--acc-2) 14%, transparent); color: var(--acc-2); }
.tag-hot { background: rgba(255, 45, 85, .14); color: #ff8fa6; }
.game-tile h3 { margin: 18px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.game-tile > p { margin: 0 0 18px; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; flex: 1; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0e1a1f; }
.tile-cmd { font-weight: 700; font-size: 14px; }

.cover {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .12); padding: 14px 16px; color: #fff;
}
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px) 0 0 / 14px 14px; opacity: .12; animation: grid-drift-sm 14s linear infinite; }
@keyframes grid-drift-sm { to { background-position: 14px 14px; } }
.cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%) no-repeat 140% 0 / 260% 100%; transition: background-position .9s var(--ease); }
.game-tile:hover .cover::after { background-position: -40% 0; }
.c-elopme { background: radial-gradient(120% 90% at 85% 100%, #b45309 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #7f1d1d, transparent 70%), linear-gradient(135deg, #1c0a06, #3b0d0a); }
.c-horon { background: radial-gradient(120% 90% at 85% 100%, #0f766e 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #14532d, transparent 70%), linear-gradient(135deg, #04140f, #062a22); }
.c-quiz { background: radial-gradient(120% 90% at 85% 100%, #6d28d9 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #1e3a8a, transparent 70%), linear-gradient(135deg, #0b0a1f, #1a1040); }
.cover-top { display: inline-block; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .45); font: 800 10.5px/1.4 var(--mono); letter-spacing: .14em; }
.c-elopme .cover-top { background: #dc2626; }
.c-horon .cover-top { background: #059669; }
.c-quiz .cover-top { background: #7c3aed; }
.cover-title { position: relative; z-index: 1; display: block; margin-top: 8px; max-width: 70%; font-size: clamp(20px, 2.1vw, 28px); line-height: .92; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 3px 0 rgba(0, 0, 0, .45), 0 0 26px rgba(0, 0, 0, .4); }
.c-elopme .cover-title { color: #fff4e6; -webkit-text-stroke: 1px #7c2d12; }
.c-horon .cover-title { color: #ecfdf5; -webkit-text-stroke: 1px #064e3b; }
.c-quiz .cover-title { color: #f5f3ff; -webkit-text-stroke: 1px #3b0764; }
/* Katalogdan seçilebilen diğer kapak renkleri (Haliç Seferi + yönetici temaları) */
.c-sefer { background: radial-gradient(120% 90% at 85% 100%, #b7791f 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #7f1d1d, transparent 70%), linear-gradient(135deg, #1a1208, #2c1a0b); }
.c-mavi { background: radial-gradient(120% 90% at 85% 100%, #1e9bff 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #0b3a8c, transparent 70%), linear-gradient(135deg, #020817, #0a1a3a); }
.c-mor { background: radial-gradient(120% 90% at 85% 100%, #c026d3 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #4c1d95, transparent 70%), linear-gradient(135deg, #12051f, #26093f); }
.c-yesil { background: radial-gradient(120% 90% at 85% 100%, #65a30d 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #14532d, transparent 70%), linear-gradient(135deg, #07140a, #10271a); }
.c-turuncu { background: radial-gradient(120% 90% at 85% 100%, #f97316 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #9a3412, transparent 70%), linear-gradient(135deg, #1c0b04, #3a1507); }
.c-gece { background: radial-gradient(120% 90% at 85% 100%, #475569 0%, transparent 55%), radial-gradient(90% 80% at 0% 0%, #1e293b, transparent 70%), linear-gradient(135deg, #05070b, #0f141c); }
.c-sefer .cover-top { background: #b45309; }
.c-mavi .cover-top { background: #1e7fe0; }
.c-mor .cover-top { background: #a21caf; }
.c-yesil .cover-top { background: #4d7c0f; }
.c-turuncu .cover-top { background: #ea580c; }
.c-gece .cover-top { background: #334155; }
.c-sefer .cover-title { color: #fff7e6; -webkit-text-stroke: 1px #78350f; }
.c-mavi .cover-title, .c-mor .cover-title, .c-yesil .cover-title, .c-turuncu .cover-title, .c-gece .cover-title { color: #fff; -webkit-text-stroke: 1px rgba(0, 0, 0, .55); }
/* Kapak görseli yüklenmişse arkaplan olur, yazılar üstünde okunur */
.cover-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cover.has-img::before { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .6)); opacity: 1; animation: none; }
/* Motoru olmayan ("Yakında") oyun */
.game-tile.is-soon .cover { filter: saturate(.75); }
.s-btn.is-disabled { opacity: .6; cursor: default; pointer-events: none; }
/* 4 ya da daha çok oyun: iki sütun (ikişerli dengeli dizilir) */
.games-grid:has(> .game-tile:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cover-sub { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 7px; max-width: 60%; font-size: 10.5px; font-weight: 700; font-style: italic; opacity: .92; }
.cover-pills { position: absolute; left: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 4px; max-width: 66%; }
.cover-pills i { padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .5); font: 700 9.5px/1.4 var(--font); font-style: normal; }
.cover-pills i:first-child { background: var(--live); }
.cover-art { position: absolute; right: 12px; top: 34%; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.12em; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); animation: art-float 6s ease-in-out infinite; }
@keyframes art-float { 0%, 100% { transform: translateY(-5px) rotate(-2deg); } 50% { transform: translateY(6px) rotate(2deg); } }
.cover-play { position: absolute; right: 14px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .3); transition: scale .35s var(--spring), background .25s var(--ease); }
.cover-play svg { width: 15px; height: 15px; margin-left: 2px; }
.game-tile:hover .cover-play { scale: 1.12; background: var(--acc); }
.cover-mark { position: absolute; right: 14px; top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .04em; opacity: .7; }

/* ================= PAKETLER ================= */
.pkg-list { display: grid; gap: 18px; }
.pkg-row {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr .95fr; gap: 28px;
  padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, #142630, #101d23);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), translate .35s var(--spring);
}
.pkg-row:hover { border-color: var(--line-2); translate: 0 -3px; }
.pkg-row.featured { border-color: color-mix(in srgb, var(--acc) 55%, transparent); background: radial-gradient(80% 140% at 50% 120%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 60%), linear-gradient(180deg, #19120f, #121112); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--acc) 70%, transparent); }
.pkg-row.featured::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--acc), transparent); animation: edge-run 3.4s ease-in-out infinite; }
@keyframes edge-run { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.pkg-left, .pkg-mid { padding-right: 26px; border-right: 1px solid var(--line); }
.pkg-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pill { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--text-soft); }
.pill-acc { background: var(--grad); border-color: transparent; color: #fff; }
.pkg-desc { margin: 8px 0 14px; color: var(--text-soft); font-size: 14.5px; }
.pkg-thumbs { display: flex; margin-bottom: 16px; }
.pkg-thumbs .th { display: grid; place-items: center; width: 50px; height: 36px; margin-right: -6px; border-radius: 8px; border: 2px solid #11202a; font-size: 18px; transition: translate .35s var(--spring); }
.pkg-row:hover .th:nth-child(1) { translate: -2px -3px; }
.pkg-row:hover .th:nth-child(2) { translate: 0 -5px; }
.pkg-row:hover .th:nth-child(3) { translate: 2px -3px; }
.pkg-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0e1a1f; }
.pkg-stats > div { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 76px; padding: 10px 6px; text-align: center; }
.pkg-stats > div + div { border-left: 1px solid var(--line-2); }
.pkg-stats b { font-size: 19px; font-weight: 800; }
.pkg-stats svg { width: 22px; height: 22px; }
.pkg-stats span { font-size: 12.5px; color: var(--muted); }
.pkg-mid-title { margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--text-soft); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 13px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); rotate: -45deg; }
.check-list.acc li::before { border-color: var(--acc); }
.pkg-right { display: grid; align-content: start; gap: 10px; }
.pkg-price { font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.pkg-price small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.save-pill { justify-self: start; padding: 4px 10px; border-radius: 8px; background: rgba(34, 197, 94, .14); color: #4ade80; font-size: 13px; font-weight: 800; }
.pkg-note { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ================= NASIL ÇALIŞIR ================= */
.how-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.how-steps { display: grid; gap: 16px; }
.step-row {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 7%, transparent), rgba(19, 34, 42, .6) 60%);
  transition: border-color .3s var(--ease), translate .35s var(--spring), box-shadow .3s var(--ease);
}
.step-row:hover { border-color: var(--acc); translate: 6px 0; box-shadow: var(--glow); }
.step-num { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; font: 800 15px var(--mono); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--acc) 90%, transparent); }
.step-row h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 800; }
.step-row p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

.launcher-mock { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: #0d0d0f; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.lm-body { display: grid; gap: 16px; padding: 22px; }
.lm-field { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #11202a; color: var(--muted); font-size: 13.5px; }
.lm-val { padding: 8px 12px; border-radius: 8px; background: #0b1418; border: 1px solid var(--line); color: #fff; font: 700 14px var(--mono); }
.lm-line { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-soft); }
.lm-line b { color: #fff; }
.lm-line i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; }
.lm-line i.ok { background: rgba(34, 197, 94, .16); }
.lm-line i.ok::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); rotate: -45deg; }
.lm-line i.live { background: rgba(255, 45, 85, .16); }
.lm-line i.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: blink 1.2s steps(2) infinite; }
.lm-pct { margin-left: auto; font: 600 13px var(--mono); color: var(--text-soft); }
.lm-live { margin-left: auto; padding: 3px 9px; border-radius: 6px; background: var(--live); color: #fff; font: 800 11px var(--mono); letter-spacing: .08em; }
.lm-bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: -6px 0 0 36px; }
.lm-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; }
/* görünür olunca adımlar sırayla gelir, çubuk dolar */
.launcher-mock.reveal.is-in .lm-line, .launcher-mock.reveal.is-in .lm-field { animation: cine-up .6s var(--ease) both; }
.launcher-mock.reveal.is-in .lm-field:nth-child(2) { animation-delay: .15s; }
.launcher-mock.reveal.is-in .l1 { animation-delay: .45s; }
.launcher-mock.reveal.is-in .l2 { animation-delay: .8s; }
.launcher-mock.reveal.is-in .lm-bar span { animation: cine-fill 1.6s 1s var(--ease) both; }
.launcher-mock.reveal.is-in .l3 { animation-delay: 2.5s; }
.launcher-mock.reveal.is-in .l4 { animation-delay: 2.9s; }
@keyframes cine-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes cine-fill { from { transform: scaleX(0); } }

/* ================= KARŞILAŞTIRMA ================= */
.cmp-table { max-width: 960px; margin: 0 auto; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden; background: #101d23; }
.cmp-row { display: grid; grid-template-columns: .9fr 1.1fr 1.1fr; align-items: stretch; border-top: 1px solid var(--line); transition: background .25s var(--ease); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > * { padding: 18px 22px; font-size: 14.5px; }
.cmp-row > :last-child { background: color-mix(in srgb, var(--acc) 5%, transparent); border-left: 1px solid color-mix(in srgb, var(--acc) 25%, transparent); }
.cmp-row:not(.cmp-head):hover { background: rgba(255, 255, 255, .025); }
.cmp-row:not(.cmp-head):hover > :last-child { background: color-mix(in srgb, var(--acc) 10%, transparent); }
.cmp-head > * { font-weight: 700; font-size: 14px; color: var(--text-soft); text-align: center; }
.cmp-head .cmp-us { display: flex; align-items: center; justify-content: flex-start; gap: 9px; color: #fff; font-size: 15px; text-align: left; }
.cmp-row b { font-weight: 700; }
.cmp-no, .cmp-yes { position: relative; padding-left: 46px !important; }
.cmp-no { color: var(--muted); }
.cmp-no::before { content: ""; position: absolute; left: 22px; top: 28px; width: 11px; height: 2px; background: var(--muted); }
.cmp-yes::before { content: ""; position: absolute; left: 23px; top: 23px; width: 11px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); rotate: -45deg; }

/* ================= SATIN ALMA ================= */
.buy-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: start; }
.buy-card { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: #101d23; overflow: hidden; box-shadow: 0 40px 80px -46px rgba(0, 0, 0, .95); }
.buy-card-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.buy-card-head b { display: block; font-size: 15px; }
.buy-card-head small { color: var(--muted); font-size: 12.5px; }
.buy-lock { width: 18px; height: 18px; margin-left: auto; color: var(--ok); }
.buy-label { margin: 18px 20px 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buy-item, .buy-opt, .buy-ok { display: flex; align-items: center; gap: 14px; margin: 0 20px 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0e1a1f; }
.buy-item b, .buy-opt b, .buy-ok b { display: block; font-size: 14.5px; }
.buy-item small, .buy-opt small, .buy-ok small { color: var(--muted); font-size: 12.5px; }
.buy-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--acc-soft); color: var(--acc); flex: none; }
.buy-ic svg { width: 18px; height: 18px; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: border-color .3s var(--ease); }
.buy-opt.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 8%, transparent); }
.buy-opt.on .radio { border-color: var(--acc); box-shadow: inset 0 0 0 3px #0e1a1f, inset 0 0 0 9px var(--acc); }
.buy-ok { margin-bottom: 20px; border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .08); }
.buy-ok-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; }
.buy-ok-ic svg { width: 16px; height: 16px; }
.buy-card.reveal.is-in .buy-ok { animation: ok-pop .7s 1s var(--spring) both; }
@keyframes ok-pop { from { opacity: 0; scale: .9; } }
.buy-steps { display: grid; gap: 4px; }
.buy-step { position: relative; display: flex; gap: 18px; padding: 14px 12px 22px; border-radius: 16px; }
.buy-step:not(:nth-child(3))::before { content: ""; position: absolute; left: 33px; top: 60px; bottom: -8px; width: 2px; background: linear-gradient(var(--acc-line), transparent); }
.buy-step-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--acc-line); background: var(--acc-soft); color: var(--acc); }
.buy-step-ic svg { width: 20px; height: 20px; }
.buy-step h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 800; }
.buy-step p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }
.buy-minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.buy-mini { padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: #101d23; }
.buy-mini b { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 15px; }
.buy-mini b svg { width: 17px; height: 17px; color: var(--acc); }
.buy-mini p { margin: 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.55; }

/* ================= KAPANIŞ BANDI ================= */
.cta-band {
  --hx: 50%; --hy: 20%;
  position: relative; overflow: hidden; isolation: isolate; margin-bottom: 30px;
  padding: 64px 32px; border-radius: 28px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  background: radial-gradient(600px circle at var(--hx) var(--hy), color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%), linear-gradient(135deg, #2a1209 0%, #160c08 45%, #1d0f0a 100%);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent); mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent); animation: grid-drift-40 16s linear infinite; }
@keyframes grid-drift-40 { to { background-position: 40px 40px, 40px 40px; } }
.cta-logo { position: relative; width: 104px; height: 104px; margin: 0 auto 26px; animation: cine-float 6s ease-in-out infinite; }
.cta-logo svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); }
.cta-logo::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -20px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 55%, transparent); filter: blur(8px); animation: cine-shade 6s ease-in-out infinite; }
@keyframes cine-float { 0%, 100% { transform: translateY(-8px) rotateZ(-1deg); } 50% { transform: translateY(6px) rotateZ(1deg); } }
@keyframes cine-shade { 0%, 100% { transform: scale(.8); opacity: .5; } 50% { transform: scale(1.05); opacity: .95; } }
.cta-band p { margin: 0 auto 26px; max-width: 56ch; color: var(--text-soft); font-size: 17px; }
.cta-note { display: inline-flex !important; align-items: center; gap: 8px; margin: 16px 0 0 !important; color: var(--muted) !important; font-size: 13.5px !important; }
.cta-note svg { width: 16px; height: 16px; }

/* ================= HESAP (giriş/kayıt) ================= */
.acc-page { max-width: var(--maxw); margin: 0 auto; padding: 36px 24px 40px; display: grid; grid-template-columns: 1fr 470px; gap: 56px; align-items: start; }
.acc-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.acc-info li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: #101d23; font-size: 14.5px; color: var(--text-soft); }
.acc-info li b { color: #fff; }
.acc-info li svg { width: 19px; height: 19px; color: var(--acc); flex: none; margin-top: 1px; }
.auth-shell { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: #101d23; overflow: hidden; box-shadow: 0 40px 80px -46px color-mix(in srgb, var(--acc) 35%, transparent); }
.auth-shell .auth-mode-tabs { display: flex; gap: 22px; margin: 0; padding: 0 26px; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.auth-shell .auth-mode-btn { position: relative; flex: none; padding: 20px 0 18px; border: 0; border-radius: 0; background: transparent !important; color: var(--muted); font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none !important; transition: color .2s var(--ease); }
.auth-shell .auth-mode-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); scale: 0 1; transition: scale .35s var(--ease); }
.auth-shell .auth-mode-btn:hover { color: #fff; }
.auth-shell .auth-mode-btn.active { color: #fff; }
.auth-shell .auth-mode-btn.active::after { scale: 1 1; }
.auth-body { padding: 26px; }
.auth-body form:not(.hidden) { animation: cine-up .45s var(--ease) both; }
.auth-body .form-group { margin-bottom: 18px; }
.auth-body label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.auth-body .opt { font-weight: 500; color: var(--muted); }
.form-hint { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.auth-footer { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* form denetimleri (site + stüdyo) */
.input-control {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #0b1418; color: var(--text); font-size: 14.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input-control::placeholder { color: #6b6b74; }
.input-control:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.settings-column .input-control, .room-header-card .input-control, .panel-card .input-control { min-height: 38px; padding: 8px 11px; border-radius: 9px; font-size: 13px; }
.alert-box { border-radius: 12px; }

/* ================= KURULUM ================= */
.obs-card { padding: 24px; margin-bottom: 26px; border-radius: var(--r-xl); border: 1px solid var(--acc-line); background: radial-gradient(70% 140% at 0% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 60%), #101d23; }
.obs-card-head { display: flex; gap: 16px; margin-bottom: 18px; }
.obs-card h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; }
.obs-card p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.obs-card .obs-link-row { display: flex; gap: 10px; }
.obs-card .obs-link-input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0b1418; color: var(--acc-2); font: 600 14px var(--mono); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-step { padding: 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #101d23; transition: border-color .3s var(--ease), translate .35s var(--spring); }
.guide-step:hover { border-color: var(--acc-line); translate: 0 -4px; }
.guide-step .step-num { margin-bottom: 14px; }
.guide-step h3 { margin: 8px 0 12px; font-size: 19px; font-weight: 800; }
.guide-step ol { margin: 0; padding-left: 20px; display: grid; gap: 9px; color: var(--text-soft); font-size: 14.5px; }
.guide-step ol li::marker { color: var(--acc); font-weight: 800; }
.guide-step b { color: #fff; }

/* ================= SSS ================= */
.faq-list { max-width: 820px; display: grid; gap: 10px; }
.faq-item { border-radius: 14px; border: 1px solid var(--line-2); background: #101d23; transition: border-color .25s var(--ease), background .25s var(--ease); }
.faq-item:hover { border-color: rgba(255, 255, 255, .22); }
.faq-item.open { border-color: var(--acc-line); background: #12222a; }
.faq-q { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: none; color: #fff; font-size: 15.5px; font-weight: 700; text-align: left; cursor: pointer; }
.faq-q i { position: relative; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, .06); transition: background .25s var(--ease), rotate .35s var(--spring); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; width: 11px; height: 2px; border-radius: 2px; background: currentColor; }
.faq-q i::after { rotate: 90deg; transition: rotate .35s var(--ease); }
.faq-item.open .faq-q i { background: var(--acc); rotate: 180deg; }
.faq-item.open .faq-q i::after { rotate: 0deg; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ================= ALT BİLGİ ================= */
.site-footer { margin-top: 110px; border-top: 1px solid var(--line); background: #0b0b0c; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot-col { display: grid; align-content: start; justify-items: start; gap: 12px; }
.foot-col h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 800; }
.foot-col button:not(.s-btn), .foot-col a { padding: 0; border: 0; background: none; color: var(--text-soft); font: inherit; font-size: 14.5px; text-decoration: none; cursor: pointer; transition: color .2s var(--ease), translate .3s var(--spring); }
.foot-col > button:not(.s-btn):hover, .foot-col > a:hover { color: var(--acc); translate: 3px 0; }
.foot-brand p { margin: 2px 0 6px; max-width: 40ch; color: var(--text-soft); font-size: 14px; }
.foot-col .s-btn { color: var(--text); }
.foot-bottom { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }

/* ================= STÜDYO (giriş sonrası) uyumu ================= */
#customer-room-view { max-width: 1380px; margin: 0 auto; padding: 22px 20px 10px; }
.panel-card, .room-header-card, .stage-card, .game-switch-card { border-radius: 16px !important; border-color: var(--line-2) !important; }
.panel-card, .room-header-card { background: #101d23 !important; }
.game-switch-card { background: #101d23 !important; transition: border-color .25s var(--ease), translate .35s var(--spring), box-shadow .25s var(--ease) !important; }
.game-switch-card:hover { translate: 0 -3px; border-color: var(--acc-line) !important; }
.game-switch-card.active { border-color: var(--acc) !important; background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 60%), #12222a !important; box-shadow: var(--glow); }
.btn-amber { background: var(--grad) !important; color: #fff !important; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--acc) 80%, transparent) !important; }
.btn-amber:hover { filter: brightness(1.08); }
.btn-dark { background: #172a33; border-color: var(--line-2); }
.reji-pad-btn, .preset-btn, .theme-pill-btn, .cam-btn, .test-btn { transition: border-color .2s var(--ease), background .2s var(--ease), translate .3s var(--spring) !important; }
.reji-pad-btn:hover, .preset-btn:hover { translate: 0 -2px; border-color: var(--acc-line) !important; }

/* ================= Hareket: kaydırmada belirme, sekme geçişi ================= */
.reveal:not(.is-in) { opacity: 0; }
.reveal.is-in { animation: cine-rise .75s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes cine-rise { from { opacity: 0; transform: perspective(1000px) rotateX(12deg) translateY(26px); } }
.tab-section.page-enter { animation: page-in .5s var(--ease); }
@keyframes page-in { from { opacity: 0; translate: 0 10px; } }
html.nav-flash::after { content: ""; position: fixed; z-index: 2000; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); box-shadow: 0 0 12px var(--acc); transform-origin: left; pointer-events: none; animation: nav-flash .8s var(--ease) forwards; }
@keyframes nav-flash { 0% { scale: 0 1; opacity: 1; } 70% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }

/* ================= Duyarlı yerleşim ================= */
@media (max-width: 1240px) {
  .hf-layer .hf:nth-child(4n) { display: none; }
  .hdr-demo { display: none; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 49; display: grid; gap: 2px; padding: 12px 16px 18px;
    background: rgba(11, 20, 24, .97); border-bottom: 1px solid var(--line);
    translate: 0 -8px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), translate .3s var(--ease);
  }
  .menu-open .site-nav { translate: 0 0; opacity: 1; pointer-events: auto; }
  .nav-link { height: 46px; text-align: left; font-size: 16px; }
  .nav-link::after { display: none; }
  .hdr-sep { display: none; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .pkg-row { grid-template-columns: 1fr 1fr; }
  .pkg-mid { border-right: 0; padding-right: 0; }
  .pkg-right { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
  .pkg-right .s-btn, .pkg-right .pkg-note { grid-column: 1 / -1; }
  .how-grid, .buy-grid { grid-template-columns: 1fr; }
  .acc-page { grid-template-columns: 1fr; gap: 28px; }
  .guide-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hf-layer { display: none; }
}
@media (max-width: 720px) {
  .announce { font-size: 12.5px; }
  .hdr-row { height: 60px; padding: 0 16px; gap: 10px; }
  .site-nav { top: 60px; }
  .hdr-login span { display: none; }
  .s-brand-text small { display: none; }
  .lp-hero { padding: 56px 16px 64px; min-height: 0; }
  .hf-layer { display: none; }
  .hero-type span { width: auto; animation: none; border-right: 0; white-space: normal; }
  .hero-cta .s-btn-lg { min-width: 0; width: 100%; }
  .hero-cta { width: 100%; }
  .lp-section { padding: 76px 16px 0; }
  .sec-head { margin-bottom: 32px; }
  .games-grid, .games-grid:has(> .game-tile:nth-child(4)) { grid-template-columns: 1fr; }
  .pkg-row { grid-template-columns: 1fr; padding: 20px; }
  .pkg-left { border-right: 0; padding-right: 0; }
  .pkg-right { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row > :first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .cmp-head > :first-child { display: none; }
  .cmp-row > * { padding: 12px 14px; font-size: 13.5px; }
  .cmp-no, .cmp-yes { padding-left: 34px !important; }
  .cmp-no::before { left: 14px; top: 21px; }
  .cmp-yes::before { left: 15px; top: 17px; }
  .buy-minis { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 18px; }
  .page-wrap, .acc-page { padding: 24px 16px 30px; }
  .obs-card .obs-link-row { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; padding: 40px 16px 20px; }
  .foot-bottom { padding: 20px 16px 26px; }
  .auth-shell .auth-mode-tabs { gap: 16px; padding: 0 18px; }
  .auth-body { padding: 20px 18px; }
}

/* ================= Hareketi azalt ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-type span { width: auto; border-right: 0; }
  .reveal:not(.is-in) { opacity: 1; }
}

/* ================= Stüdyo: kodla modellenen karakter kartı ================= */
.model-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; margin: 6px 0 14px; padding: 12px;
  border-radius: 14px; border: 1px solid var(--acc-line);
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 60%), #12222a;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.model-feature.is-active { border-color: var(--acc); box-shadow: var(--glow); }
.model-feature-stage { position: relative; min-height: 210px; border-radius: 11px; overflow: hidden; background: radial-gradient(80% 80% at 50% 85%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%), #0b0a0a; border: 1px solid var(--line-2); }
.model-feature-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.model-feature-tag { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: var(--acc-2); font: 700 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.model-feature-body { display: grid; align-content: center; gap: 8px; }
.model-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.model-feature-kicker { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.model-feature-state { padding: 3px 9px; border-radius: 999px; background: rgba(34, 197, 94, .14); color: #4ade80; font-size: 11.5px; font-weight: 800; animation: dot-pulse 2.4s ease-in-out infinite; }
.model-feature h4 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.model-feature p { margin: 0; color: var(--text-soft); font-size: 12.5px; line-height: 1.55; }
.model-feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.model-feature-list li { position: relative; padding-left: 20px; font-size: 12.5px; color: var(--text); }
.model-feature-list li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 5px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); rotate: -45deg; }
.model-feature .btn { justify-self: start; margin-top: 2px; }
@media (max-width: 720px) { .model-feature { grid-template-columns: 1fr; } }

/* ================= YÖNETİM PANELİ (admin.html) ================= */
.admin-page { min-height: 100vh; display: flex; flex-direction: column; }
.admin-main { flex: 1; }
.admin-page .hdr-row { gap: 14px; }
.admin-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--acc-line); background: var(--acc-soft); color: var(--acc-2); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.admin-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); animation: dot-pulse 2.4s ease-in-out infinite; }
.admin-page .auth-shell .auth-mode-btn { cursor: default; }
.admin-page .acc-page { padding-top: 56px; }

.admin-dash { max-width: 1240px; margin: 0 auto; padding: 32px 24px 20px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.admin-head .page-lead { margin-bottom: 0; }

.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-stat {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2); background: linear-gradient(180deg, #161618, #101d23); overflow: hidden;
  transition: border-color .3s var(--ease), translate .35s var(--spring), box-shadow .3s var(--ease);
}
.admin-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .55; }
.admin-stat:hover { translate: 0 -3px; border-color: var(--acc-line); box-shadow: var(--glow); }
.admin-stat-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--acc-soft); border: 1px solid var(--acc-line); color: var(--acc); }
.admin-stat-ic svg { width: 23px; height: 23px; }
.admin-stat-ic.is-live { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .35); color: #4ade80; }
.admin-stat-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.admin-stat-value { margin-top: 2px; font-size: 32px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.admin-stat-value.is-ok { color: #4ade80; }
.admin-stat-value.is-acc { color: var(--acc); }

.admin-page .panel-card.admin-card { margin-bottom: 20px; padding: 24px; border-radius: var(--r-xl) !important; background: linear-gradient(180deg, #142630, #101d23) !important; border: 1px solid var(--line-2) !important; }
.admin-page .panel-card-header { align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.admin-page .panel-card-header .eyebrow { font-size: 11px; letter-spacing: .22em; }
.admin-page .panel-card-header h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.admin-page .panel-card-header p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

.new-key-form { margin-bottom: 18px; padding: 18px; border-radius: 16px; border: 1px solid var(--acc-line); background: radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 60%), #0e1a1f; animation: cine-up .4s var(--ease) both; }
.new-key-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr .7fr auto; gap: 12px; align-items: end; }
.new-key-grid label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--text-soft); }

.admin-page .table-wrap { border-radius: 16px; border: 1px solid var(--line-2); background: #0e1a1f; }
.admin-page .admin-table { font-size: 13.5px; }
.admin-page .admin-table th { padding: 14px 16px; background: rgba(255, 255, 255, .025); border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.admin-page .admin-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.admin-page .admin-table tbody tr { transition: background .2s var(--ease); }
.admin-page .admin-table tbody tr:hover { background: color-mix(in srgb, var(--acc) 4.5%, transparent); }
.admin-page .admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-page .key-badge { display: inline-block; white-space: nowrap; padding: 4px 9px; border-radius: 8px; background: var(--acc-soft); border: 1px solid var(--acc-line); color: var(--acc-2); font: 700 12.5px var(--mono); }

/* Küçük düğmeler (admin.js oluşturur) */
.admin-page .btn { font-family: var(--font); border-radius: 9px; transition: translate .3s var(--spring), border-color .2s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease) !important; }
.admin-page .btn:hover { translate: 0 -1px; }
.admin-page .btn-xs { padding: 6px 10px; font-size: 12px; font-weight: 700; }
.admin-page .btn-dark { background: #172a33; border-color: var(--line-2); color: var(--text); }
.admin-page .btn-dark:hover { border-color: rgba(255, 255, 255, .28); background: #1f1f23; }
.admin-page .btn-red { background: rgba(255, 45, 85, .1); border-color: rgba(255, 45, 85, .35); color: #ff8fa6; }
.admin-page .btn-red:hover { background: rgba(255, 45, 85, .18); }
.admin-page .admin-actions { gap: 7px; }

/* Canlı oda kartları */
.room-list { display: grid; gap: 14px; }
.room-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px;
  border: 1px solid var(--line-2); background: #0e1a1f; overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.room-card:hover { border-color: rgba(255, 255, 255, .2); }
.room-card.is-live { border-color: rgba(34, 197, 94, .4); box-shadow: inset 3px 0 0 #22c55e; }
.room-card .input-control { min-height: 38px; padding: 8px 12px !important; border-radius: 9px; font-size: 13px; }
.admin-page .badge-lock-green { padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .12); color: #4ade80; font-size: 12px; font-weight: 800; }

/* Güvenlik kayıtları */
.admin-page .logs-scroll { max-height: 360px; gap: 8px; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #2a2a30 transparent; }
.admin-page .log-item { padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: #0e1a1f; transition: border-color .2s var(--ease); }
.admin-page .log-item:hover { border-color: var(--line-2); }
.admin-page .log-type { color: var(--acc-2); font: 800 11.5px var(--mono); letter-spacing: .04em; }
.admin-page .log-time { font: 500 11.5px var(--mono); }
.admin-page .log-msg { margin-top: 3px; font-size: 13px; color: var(--text-soft); }
.admin-page .admin-bottom-grid { grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 0; }
.admin-page .admin-bottom-grid .panel-card.admin-card { margin-bottom: 0; }
.admin-page #admin-credentials-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.admin-page .form-group { margin-bottom: 16px; }

.admin-page .alert-box { padding: 11px 14px; font-size: 13.5px; }
.admin-page .alert-error { background: rgba(255, 45, 85, .1); border-color: rgba(255, 45, 85, .35); color: #ff8fa6; }
.admin-page .alert-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #4ade80; }

.admin-foot { margin-top: 60px; }
.admin-foot .foot-bottom { border-top: 0; }

@media (max-width: 1100px) {
  .new-key-grid { grid-template-columns: 1fr 1fr; }
  .new-key-grid .s-btn { grid-column: 1 / -1; }
  .admin-page .admin-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .admin-pill { display: none; }
  .admin-dash { padding: 22px 16px 14px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-page .panel-card.admin-card { padding: 18px; }
  .admin-page .panel-card-header { flex-direction: column; align-items: flex-start; }
  .new-key-grid { grid-template-columns: 1fr; }
  .admin-page .hdr-actions .s-btn-outline-dim { display: none; }
}

/* =====================================================================
   STÜDYO: sahne altı araçlar ve yayın müziği kartı
   ===================================================================== */
.stage-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.stage-tools-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stage-tools-label {
  flex: 0 0 52px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage-tools .test-row { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.stage-tools .test-btn,
.stage-tools .cam-btn { font-size: 12px; padding: 6px 10px; border-radius: 9px; }
.stage-tools .camera-modes-bar { display: inline-flex; gap: 4px; padding: 3px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); }
.stage-tools .cam-btn { background: transparent; border: 0; color: var(--text-soft); cursor: pointer; }
.stage-tools .cam-btn.active { background: var(--acc); color: var(--on-acc, #111); }
#btn-toggle-sim { margin-left: auto; }

.music-card .panel-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.music-live-state {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.music-live-state.is-on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.music-player {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.music-transport { display: flex; align-items: center; justify-content: center; gap: 10px; }
.music-round {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.music-round:hover { border-color: var(--acc-line); background: var(--surface-3); }
.music-play { min-width: 170px; justify-content: center; }
.music-play.is-on { background: var(--surface-3) !important; color: var(--text) !important; border: 1px solid var(--acc-line) !important; box-shadow: none !important; }
.music-volume { display: flex; align-items: center; gap: 10px; }
.music-volume input[type="range"] { flex: 1; accent-color: var(--acc); height: 28px; cursor: pointer; }
.music-volume-label { min-width: 48px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.music-options { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.music-opt { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); cursor: pointer; }
.music-opt input { accent-color: var(--acc); width: 16px; height: 16px; }
.music-count { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.music-upload { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; align-items: center; }
.music-upload .input-control { min-width: 0; }
.music-status { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.music-status[data-kind="error"] { color: #ffb4b4; border-color: rgba(255, 99, 99, .4); }
.music-status[data-kind="ok"] { color: #b6f2c9; border-color: rgba(34, 197, 94, .4); }
.music-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.music-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.music-list { list-style: none; margin: 0; padding: 4px; max-height: 260px; overflow: auto; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.music-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; }
.music-row + .music-row { margin-top: 2px; }
.music-row:hover { background: var(--surface); }
.music-row.is-listed { background: var(--acc-soft); }
.music-check input { accent-color: var(--acc); width: 16px; height: 16px; cursor: pointer; }
.music-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.music-title { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-sub { font-size: 11.5px; color: var(--muted); }
.music-actions { display: flex; gap: 4px; }
.music-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}
.music-icon-btn:hover { border-color: var(--acc-line); }
.music-icon-btn.is-danger:hover { border-color: rgba(255, 99, 99, .55); background: rgba(255, 99, 99, .12); }
.music-empty { padding: 14px 10px; font-size: 13px; color: var(--muted); text-align: center; }
.music-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) {
  .music-lists { grid-template-columns: 1fr; }
  .music-upload { grid-template-columns: 1fr; }
}

/* Yönetim: ortak müzik kütüphanesi */
.admin-pill-soft { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.admin-music-upload { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; align-items: center; }
.admin-music-upload .input-control { min-width: 0; }
.admin-music-list { margin-top: 14px; max-height: 340px; }
@media (max-width: 760px) { .admin-music-upload { grid-template-columns: 1fr; } }

/* ================= Site yönetimi: reklam alanları, logo görseli, kayıt kapalı, bakım sayfası ================= */
.s-brand-img { object-fit: contain; border-radius: 9px; }

.site-ads { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.site-ads[data-ad-rotator] .site-ad:not(.is-on) { display: none; }
.site-ad {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2);
}
.site-ad-img { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: var(--r); }
.site-ad-body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.site-ad-title { font-size: 15px; font-weight: 700; color: var(--text); }
.site-ad-text { font-size: 14px; color: var(--muted); }
.site-ad-btn { flex: none; }
.site-ads--hero { margin-top: 28px; }
.site-ads--footer { margin-bottom: 28px; }
/* Üst şerit: duyuru şeridinin altında ince bir bant */
.site-ads--top { max-width: none; padding: 0; }
.site-ads--top .site-ad {
  justify-content: center; border-radius: 0; border-width: 0 0 1px; padding: 8px 16px;
  background: var(--bg-2);
}
.site-ads--top .site-ad-img { width: 28px; height: 28px; border-radius: 6px; }
.site-ads--top .site-ad-body { flex: 0 1 auto; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.site-ads--top .site-ad-title { font-size: 13.5px; }
.site-ads--top .site-ad-text { font-size: 13px; }
@media (max-width: 640px) {
  .site-ad { flex-wrap: wrap; }
  .site-ad-btn { width: 100%; justify-content: center; }
}

/* Yönetici yeni kayıtları kapattıysa kayıt düğmeleri gizlenir */
.reg-closed [data-open-register], .reg-closed #hero-btn-register, .reg-closed [data-auth-mode="register"] { display: none !important; }

.maint-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--text); font-family: var(--font); margin: 0; }
.maint-box { max-width: 520px; padding: 32px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.maint-box h1 { margin: 0; font-size: 34px; letter-spacing: -.02em; }
.maint-box p { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.6; }

/* Alt bilgi iletişim sütunu bağlantıları diğer sütunlarla aynı */
.foot-col a { display: block; }

/* ================= Discord kutusu ================= */
.dc-widget { position: fixed; bottom: 18px; z-index: 70; display: grid; gap: 10px; justify-items: end; font-family: var(--font); }
.dc-widget.dc-left { left: 18px; justify-items: start; }
.dc-widget.dc-right { right: 18px; }
body:has(#tab-panel:not(.hidden)) .dc-widget { display: none; }
.dc-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-fab {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text);
  font: 600 13.5px/1 var(--font); cursor: pointer; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .8);
}
.dc-fab:hover { border-color: var(--acc-line); }
.dc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dc-fab-count { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.dc-panel {
  width: min(300px, calc(100vw - 36px)); padding: 12px; display: grid; gap: 10px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); color: var(--text);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .85);
}
.dc-panel[hidden], .dc-widget[hidden] { display: none; }
/* Discord'un kendi penceresi (iframe): 350×500, dar ekranda ekrana sığar */
.dc-panel.dc-panel-frame { width: min(376px, calc(100vw - 24px)); }
.dc-frame { display: block; width: 100%; height: min(500px, calc(100vh - 220px)); border: 0; border-radius: 10px; background: #2b2d31; }
.dc-list[hidden] { display: none; }
.dc-head { display: flex; align-items: flex-start; gap: 8px; }
.dc-head-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.dc-title { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-online { font-size: 12.5px; color: var(--ok); }
.dc-close { width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.dc-close:hover { background: var(--surface-2); color: var(--text); }
.dc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.dc-list li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.dc-list li.is-busy { color: var(--text); background: var(--surface-2); }
.dc-ch { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-n { font-size: 12px; font-variant-numeric: tabular-nums; }
.dc-list li.is-busy .dc-n { color: var(--ok); }
.dc-empty { justify-content: center; }
.dc-join { justify-content: center; }
.dc-join[hidden] { display: none; }
@media (max-width: 640px) { .dc-fab-label { display: none; } }
@media print { .dc-widget { display: none; } }
