@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07090c;
  --panel: #0d1116;
  --panel-2: #121820;
  --line: rgba(255,255,255,.08);
  --cyan: #22e3ff;
  --cyan-2: #00b8d9;
  --cyan-dim: rgba(34,227,255,.12);
  --text: #f4f8fb;
  --muted: #8b9bb0;
  --ok: #22c55e;
  --danger: #ff5a7a;
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --max: 100%;
  --theme-rgb: 34, 227, 255;
  --theme-accent-rgb: 255, 59, 74;
  --side-ad-w-pref: 480px;
  --side-ad-w: var(--side-ad-w-pref);
}

* { box-sizing: border-box; }
html {
  font-size: 18px;
  overflow-x: clip;
}
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  padding-bottom: max(48px, env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  font-size: 1.05rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 50% -10%, rgba(var(--theme-rgb),.18), transparent 55%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-attachment: scroll;
  transition: background-color .2s ease;
}
body.bg-grid {
  background-color: #07090c;
}
body.bg-plain {
  background-color: #0b0f14;
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(var(--theme-rgb),.22), transparent 58%);
  background-size: auto;
}
body.bg-mesh {
  background-color: #061018;
  background-image:
    radial-gradient(900px 560px at 12% 8%, rgba(var(--theme-rgb),.28), transparent 52%),
    radial-gradient(800px 520px at 88% 18%, rgba(var(--theme-accent-rgb),.18), transparent 50%),
    radial-gradient(700px 540px at 50% 100%, rgba(var(--theme-rgb),.12), transparent 55%),
    linear-gradient(180deg, #061018 0%, #0a121a 55%, #07090c 100%);
  background-size: auto;
}
body.bg-custom {
  background-color: #07090c;
  background-image:
    linear-gradient(180deg, rgba(7,9,12,.55), rgba(7,9,12,.82)),
    var(--site-bg-image);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll;
}
h1, h2, h3, .brand, .slide-copy h2, .section-head h2, .social-head h2,
.auth-visual h2, .auth-panel h1, .promo-sec-head h2 {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  font-weight: 800;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: calc(100% - 16px); max-width: none; margin: 0 auto; }
.site-main { width: 100%; padding: 0; box-sizing: border-box; }

/* Ana sayfa: [sol banner] [slider + bant + yayın] [chat] (+ sağ banner opsiyonel) */
.home-shell {
  display: grid;
  grid-template-columns: var(--side-ad-w) minmax(0, 1fr) minmax(var(--side-ad-w), 520px);
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 0 6px 14px;
  box-sizing: border-box;
}
.home-shell.has-right-ad {
  grid-template-columns: minmax(180px, var(--side-ad-w)) minmax(0, 1fr) minmax(280px, 420px) minmax(180px, var(--side-ad-w));
}
.home-shell.is-theater {
  grid-template-columns: 0 minmax(0, 1fr) 0;
  gap: 0;
}
.home-shell.has-right-ad.is-theater {
  grid-template-columns: 0 minmax(0, 1fr) 0 0;
}
.home-shell.is-theater .side-ad-rail,
.home-shell.is-theater .chat-rail {
  display: none;
}
.home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
}
.home-main .slider {
  width: 100%;
  margin-top: 0;
  flex: 0 0 auto;
}
.home-main .logo-marquee-bleed {
  flex: 0 0 auto;
}
.home-main .player-shell {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* Video: chat sütunu kadar yüksek alan — eşit görünüm */
  min-height: clamp(420px, 58vh, 820px);
}
.home-main .player-frame {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 380px;
}
.chat-rail {
  min-width: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 96px);
  max-height: calc(100vh - 96px);
  position: sticky;
  top: 78px;
}
.chat-panel-rail {
  position: relative;
  top: auto;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}
.chat-panel-rail .chat-log {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}
.chat-panel-rail .chat-form,
.chat-panel-rail .chat-head,
.chat-panel-rail .chat-pin,
.chat-panel-rail .chat-announce {
  flex-shrink: 0;
}
.side-ad-rail {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.side-ad-rail-empty {
  visibility: hidden;
  pointer-events: none;
}
.side-ad-box {
  position: sticky;
  top: 78px;
  width: 100%;
  height: calc(100vh - 96px);
  min-height: calc(100vh - 96px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--theme-rgb),.35);
  background: #05070a;
  box-shadow:
    0 0 0 1px rgba(var(--theme-rgb),.06),
    0 0 48px rgba(var(--theme-rgb),.08),
    0 20px 52px rgba(0,0,0,.5);
}
.side-ad-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.side-ad-slide {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  overflow: hidden;
  background: #05070a;
  text-decoration: none;
  color: inherit;
}
.side-ad-slide.on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.side-ad-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05070a;
}
.side-ad-slide img,
.side-ad-slide video,
.side-ad-video,
.side-ad-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #05070a;
}
.side-ad-fallback {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 28px 20px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(245,197,66,.22), transparent 58%),
    linear-gradient(180deg, #121820, #07090c);
}
.side-ad-fallback .ad-ico {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center;
  color: #f5c542;
  background: rgba(245,197,66,.1);
  border: 1px solid rgba(245,197,66,.4);
  box-shadow: 0 0 28px rgba(245,197,66,.2);
}
.side-ad-fallback .ad-ico svg { width: 28px; height: 28px; display: block; }
.side-ad-fallback strong {
  font-size: 1.12rem; line-height: 1.25; letter-spacing: -.02em;
  font-weight: 800;
}
.side-ad-fallback span {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em;
  color: rgba(255,255,255,.45);
  font-family: var(--font);
}
.side-ad-slide.theme-red .side-ad-fallback {
  background: radial-gradient(circle at 50% 30%, rgba(255,59,74,.32), transparent 55%), linear-gradient(180deg, #1a0c10, #07090c);
}
.side-ad-slide.theme-red .side-ad-fallback .ad-ico {
  color: #ff6b7a; background: rgba(255,90,122,.12); border-color: rgba(255,90,122,.35);
  box-shadow: 0 0 24px rgba(255,90,122,.18);
}
.side-ad-slide.theme-cyan .side-ad-fallback {
  background: radial-gradient(circle at 50% 30%, rgba(34,227,255,.28), transparent 55%), linear-gradient(180deg, #0c161a, #07090c);
}
.side-ad-slide.theme-gold .side-ad-fallback {
  background: radial-gradient(circle at 50% 30%, rgba(245,197,66,.28), transparent 55%), linear-gradient(180deg, #1a160c, #07090c);
}
.side-ad-slide.theme-gold .side-ad-fallback .ad-ico {
  color: #f5c542; background: rgba(245,197,66,.12); border-color: rgba(245,197,66,.35);
  box-shadow: 0 0 24px rgba(245,197,66,.18);
}
.side-ad-slide.theme-green .side-ad-fallback {
  background: radial-gradient(circle at 50% 30%, rgba(34,197,94,.28), transparent 55%), linear-gradient(180deg, #0c1a12, #07090c);
}
.side-ad-slide.theme-green .side-ad-fallback .ad-ico {
  color: #4ade80; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35);
  box-shadow: 0 0 24px rgba(34,197,94,.18);
}
.side-ad-controls {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5,8,12,.85);
  border: 1px solid rgba(255,255,255,.1);
}
.side-ad-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #e8eef5;
  cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.side-ad-btn svg { width: 14px; height: 14px; display: block; }
.side-ad-btn:hover { border-color: rgba(34,227,255,.5); color: var(--cyan); background: rgba(34,227,255,.1); }
.side-ad-dots { display: flex; gap: 5px; align-items: center; }
.side-ad-dot {
  width: 7px; height: 7px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.3); cursor: pointer; padding: 0;
}
.side-ad-dot.on { background: var(--cyan); box-shadow: 0 0 10px rgba(34,227,255,.55); }
@media (max-width: 1400px) {
  :root { --side-ad-w: min(400px, var(--side-ad-w-pref)); }
}
@media (max-width: 1200px) {
  :root { --side-ad-w: min(280px, var(--side-ad-w-pref)); }
  .home-shell { gap: 8px; padding: 0 4px 12px; }
  .side-ad-box { border-radius: 14px; }
}
/* Tablet + telefon */
@media (max-width: 1100px) {
  .home-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 6px 14px;
    width: 100%;
    max-width: none;
  }
  .home-main { order: 1; width: 100%; min-width: 0; }
  .chat-rail {
    order: 2;
    width: 100%;
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    align-self: stretch;
  }
  .chat-panel-rail {
    position: relative;
    top: auto;
    height: min(52vh, 480px);
    min-height: 320px;
    max-height: min(52vh, 480px);
  }
  .side-ad-rail { order: 3; width: 100%; }
  .side-ad-rail-right { order: 4; }
  .side-ad-box {
    position: relative;
    top: auto;
    width: 100%;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    border-radius: 14px;
  }
  .side-ad-slider,
  .side-ad-slide,
  .side-ad-media {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
  }
  .side-ad-rail-empty { display: none; }
  .home-main .player-shell {
    min-height: clamp(280px, 42vh, 520px);
  }
  .home-main .player-frame { min-height: 240px; }
  .stage, .stage-equal { grid-template-columns: 1fr; gap: 12px; }
}

/* HEADER — no sidebar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,9,12,.96);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 74px; padding: 12px 0;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
  font-size: 1.22rem;
}
.brand.brand-logo-only { gap: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(145deg, var(--cyan), #0284c7);
  color: #041018;
  box-shadow: 0 0 20px rgba(var(--theme-rgb),.35);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}
/* Uploaded logo: fixed header height, full width spread (no crop, no site-name text). */
.brand-mark.brand-mark-img,
.brand-mark-img {
  width: auto !important;
  height: 42px !important;
  min-width: 0 !important;
  max-width: min(280px, 48vw) !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 8px;
  overflow: hidden;
}
.brand-mark-img img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 42px !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.header-social {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 4px;
}
.header-social-btn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(34,227,255,.18);
  background: rgba(34,227,255,.06);
  color: #d7e2ee;
  transition: border-color .15s, color .15s, background .15s;
}
.header-social-btn svg { width: 18px; height: 18px; display: block; }
.header-social-btn:hover {
  border-color: rgba(34,227,255,.5);
  color: var(--cyan);
  background: rgba(34,227,255,.14);
}
.actions { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 10px 16px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #041018;
  box-shadow: none;
}
.btn-ghost {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: #f1f5f9;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(34,227,255,.35);
  color: #fff;
}
.btn-sm {
  padding: 8px 14px;
  font-size: .84rem;
  font-weight: 700;
  min-height: 38px;
}
/* Üst bar hesap / admin / çıkış — premium ikonlu pill’ler */
.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  color: #f4f7fb;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .15s ease;
}
.nav-pill .nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #c9d6e4;
}
.nav-pill .nav-ico svg {
  width: 15px;
  height: 15px;
  display: block;
}
.nav-pill .nav-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-pill .nav-role {
  margin-left: 2px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #031018;
  background: linear-gradient(135deg, #9af3ff, var(--cyan));
}
.nav-pill .nav-role.warn {
  color: #fff;
  background: linear-gradient(135deg, #ff7a93, #e11d48);
}
.nav-user {
  pointer-events: none;
  border-color: rgba(var(--theme-rgb), .28);
  background: linear-gradient(180deg, rgba(var(--theme-rgb), .14), rgba(255,255,255,.03));
}
.nav-user .nav-ico {
  color: var(--cyan);
  border-color: rgba(var(--theme-rgb), .35);
  background: rgba(var(--theme-rgb), .12);
}
.nav-admin:hover,
.nav-login:hover {
  border-color: rgba(var(--theme-rgb), .45);
  color: #fff;
  background: rgba(var(--theme-rgb), .12);
  transform: translateY(-1px);
}
.nav-admin:hover .nav-ico,
.nav-login:hover .nav-ico {
  color: var(--cyan);
  border-color: rgba(var(--theme-rgb), .4);
}
.nav-logout {
  border-color: rgba(255,90,122,.22);
}
.nav-logout .nav-ico {
  color: #ff9aaf;
  border-color: rgba(255,90,122,.28);
  background: rgba(255,90,122,.08);
}
.nav-logout:hover {
  border-color: rgba(255,90,122,.5);
  color: #ffe4ea;
  background: rgba(255,90,122,.12);
  transform: translateY(-1px);
}
.nav-register {
  border: 0;
  background: linear-gradient(145deg, #7af0ff 0%, var(--cyan) 48%, #00b4d8 100%);
  color: #031018;
  box-shadow: 0 8px 22px rgba(var(--theme-rgb), .22);
}
.nav-register .nav-ico {
  background: rgba(3,16,24,.16);
  border-color: transparent;
  color: #031018;
}
.nav-register:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.nav-notify {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-bell {
  cursor: pointer;
  position: relative;
}
.nav-bell .nav-ico {
  color: #f5c542;
  border-color: rgba(245,197,66,.3);
  background: rgba(245,197,66,.1);
}
.nav-bell.has-unread {
  border-color: rgba(245,197,66,.45);
}
.nav-bell-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: .65rem;
  font-weight: 800;
  color: #031018;
  background: linear-gradient(135deg, #ffe08a, #f5c542);
  margin-left: -2px;
}
.nav-notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  z-index: 80;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #121820, #0c1117);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  padding: 10px;
}
.nav-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.nav-notify-head strong {
  font-size: .95rem;
  letter-spacing: -.01em;
}
.nav-notify-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-notify-mark,
.nav-notify-clear {
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}
.nav-notify-clear { color: #ff9aaf; }
.nav-notify-empty {
  margin: 0;
  padding: 16px 10px;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}
.nav-notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.nav-notify-item {
  position: relative;
  padding: 10px 10px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.03);
}
.nav-notify-item.is-new {
  border-color: rgba(var(--theme-rgb), .28);
  background: rgba(var(--theme-rgb), .08);
}
.nav-notify-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.nav-notify-title {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: -.015em;
}
.nav-notify-title em {
  font-style: normal;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #031018;
  background: linear-gradient(135deg, #9af3ff, var(--cyan));
  vertical-align: middle;
}
.nav-notify-del {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,90,122,.08);
  color: #ff9aaf;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.nav-notify-del:hover {
  background: rgba(255,90,122,.18);
  border-color: rgba(255,90,122,.4);
  color: #ffe4ea;
}
.nav-notify-item p {
  margin: 0 0 6px;
  color: #c5d0db;
  font-size: .84rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.nav-notify-item time {
  color: var(--muted);
  font-size: .72rem;
}
.btn-nav {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
}
.btn-nav.btn-primary {
  background: linear-gradient(145deg, #7af0ff 0%, var(--cyan) 45%, #00b4d8 100%);
  color: #031018;
  border: 0;
  box-shadow: 0 0 0 1px rgba(34,227,255,.2), 0 8px 24px rgba(34,227,255,.22);
}
.btn-nav.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(34,227,255,.35), 0 10px 28px rgba(34,227,255,.3);
}
.btn-nav.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.btn-nav.btn-ghost:hover {
  background: rgba(34,227,255,.1);
  border-color: rgba(34,227,255,.4);
  color: #fff;
}
.btn-danger { background: rgba(255,90,122,.14); color: var(--danger); border: 1px solid rgba(255,90,122,.3); }
.user-chip {
  pointer-events: none;
  text-transform: none;
  font-weight: 800;
  color: #fff !important;
}
.user-chip-warn { color: #ff8da3; font-weight: 800; }
.coin-pill {
  padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); font-size: .82rem; color: var(--muted);
}
.coin-pill strong { color: var(--cyan); }

/* SLIDER — BetKral / 1920×480 (4:1) tam sığar */
.slider {
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(34, 180, 200, .35);
  width: 100%;
  aspect-ratio: 1920 / 480;
  height: auto;
  background: #05080c;
  box-shadow: 0 0 0 1px rgba(34,227,255,.04), inset 0 0 60px rgba(34,227,255,.04);
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(420px 160px at 88% 45%, rgba(34,227,255,.22), transparent 58%),
    radial-gradient(280px 120px at 70% 80%, rgba(0,180,220,.08), transparent 55%),
    linear-gradient(105deg, #0b1016 0%, #0a0e13 55%, #0c141c 100%);
}
.slide.has-media {
  background: #05080c;
}
.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: none;
  z-index: 0;
  background: #05080c;
  display: block;
}
.slide-media-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.slide-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,8,12,.82) 0%, rgba(5,8,12,.45) 55%, rgba(5,8,12,.25) 100%);
  pointer-events: none;
}
.slide.has-media .slide-shade { display: none; }
.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}
.slide-copy { max-width: 640px; }
.slide-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.15;
}
.slide-copy p {
  margin: 0;
  color: #c5d0dc;
  font-size: .95rem;
  font-weight: 500;
}
.slide-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: .95rem;
  color: #041018;
  background: linear-gradient(135deg, #5ef0ff, #22e3ff 40%, #00c4e0);
  box-shadow:
    0 0 28px rgba(34,227,255,.45),
    0 0 60px rgba(34,227,255,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.slide-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(34,227,255,.55);
}
.slider-nav {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 3;
}
.slider-dots {
  display: flex;
  gap: 7px;
  margin-right: 4px;
}
.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.slider-dots span.on {
  background: #22e3ff;
  box-shadow: 0 0 10px #22e3ff;
  transform: scale(1.08);
}
.slider-nav button {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(8,12,16,.72);
  color: #e8eef5;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.slider-nav button:hover {
  border-color: rgba(34,227,255,.4);
  color: #22e3ff;
}

@media (max-width: 640px) {
  .slider { border-radius: 14px; }
  .slide-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 40px;
    gap: 10px;
  }
  .slide-copy { max-width: 70%; }
  .slide-copy h2 { font-size: 1.05rem; margin-bottom: 4px; }
  .slide-copy p { font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-cta { min-width: 0; padding: 9px 14px; font-size: .8rem; }
  .slider-nav { right: 10px; bottom: 8px; gap: 6px; }
  .slider-nav button { width: 28px; height: 28px; }
}

/* STAGE: eşit video + chat (oda sayfası vb.) */
.stage,
.stage-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
  align-items: stretch;
}
.stage .player-shell,
.stage-equal .player-shell {
  width: 100%;
  min-width: 0;
  min-height: clamp(360px, 50vh, 640px);
  display: flex;
  flex-direction: column;
}
.stage .player-frame,
.stage-equal .player-frame {
  flex: 1;
  aspect-ratio: auto;
  min-height: 300px;
}
.stage .chat-panel,
.stage-equal .chat-panel {
  min-height: clamp(360px, 50vh, 640px);
  height: auto;
  display: flex;
  flex-direction: column;
}
.stage .chat-log,
.stage-equal .chat-log {
  flex: 1;
  max-height: none;
  min-height: 0;
}
.stage.is-theater {
  grid-template-columns: 1fr;
}
.stage.is-theater .chat-panel { display: none; }

/* Kayan bant — logo şeridi */
.logo-marquee-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 28px;
  background: transparent;
  border: 0;
}
.home-main .logo-marquee-bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 14px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  background: transparent;
}
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 72px; z-index: 2;
  pointer-events: none;
}
.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.marquee-track {
  display: flex; width: max-content;
  gap: 14px;
  padding: 0 18px;
  animation: marquee 70s linear infinite;
  transform: translate3d(0,0,0);
  will-change: auto;
}
.logo-marquee {
  contain: content;
}
.chat-panel,
.player-shell,
.side-ad-box {
  contain: layout paint;
}
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .live-badge::before { animation: none !important; }
  .slider-track { transition: none !important; }
}
.marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 88px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #121212;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  text-decoration: none;
  transition: border-color .15s, transform .15s, background .15s;
}
.marquee-item:hover {
  border-color: rgba(255,255,255,.18);
  background: #171717;
  transform: translateY(-2px);
}
.marquee-item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.marquee-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  line-height: 1.05;
  width: 100%;
}
.marquee-mark .ico {
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 2px;
  opacity: .95;
}
.marquee-mark .nm {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: #f5f5f5;
  white-space: nowrap;
}
.marquee-mark .nm em {
  font-style: normal;
  color: #f5c542;
}
.marquee-mark .nm .accent {
  color: var(--cyan);
}
.marquee-item.theme-green .nm { color: #e8ffe8; }
.marquee-item.theme-green .ico { color: #3dff7a; }
.marquee-item.theme-gold .nm { color: #fff; }
.marquee-item.theme-gold .nm em,
.marquee-item.theme-gold .accent { color: #f5c542; }
.marquee-item.theme-cyan .nm { color: #eafcff; }
.marquee-item.theme-cyan .accent { color: #22e3ff; }
.marquee-item.theme-silver .nm {
  background: linear-gradient(180deg, #fff, #9aa3ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-item.theme-blue .nm .accent { color: #4ea8ff; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.player-shell {
  border-radius: 18px;
  border: 1px solid rgba(34,227,255,.25);
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(34,227,255,.08);
  display: flex; flex-direction: column;
}
.player-shell.is-fs {
  border-radius: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.player-shell.is-fs .player-frame {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
}
.player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 40% 40%, rgba(34,227,255,.12), transparent 45%),
    #05080c;
}
.player-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
  z-index: 1;
}
.live-chrome {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  pointer-events: none;
}
.live-chrome > * { pointer-events: auto; }
.live-chrome-btn {
  width: 34px; height: 34px;
  border: 0; border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-grid; place-items: center;
  cursor: pointer;
}
.live-chrome-btn:hover { background: rgba(255,255,255,.2); }
.live-chrome-btn.is-muted { color: #ff8a95; }
.live-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  color: #fff;
  min-width: 4.5rem;
}
.live-edge-pill {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(239,68,68,.9);
  color: #fff;
}
.player-offline {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--muted);
  z-index: 2;
  background: rgba(5,8,12,.72);
  pointer-events: none;
}
.player-offline strong { color: var(--text); font-size: 1.15rem; display: block; margin-bottom: 8px; }
.player-screen-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #121821 0%, #05080c 70%);
  pointer-events: none;
}
.player-screen-art[hidden] { display: none !important; }
.player-screen-art img {
  width: var(--screen-art-size, 70%);
  max-width: 92%;
  max-height: 82%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.player-screen-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); text-align: center; padding: 20px;
}
.player-screen-placeholder strong { color: var(--text); font-size: 1.2rem; }
.player-offline { z-index: 3; }
.player-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #0d131a, #0a0e13);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.player-bar-left {
  display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1;
}
.player-meta {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1;
}
.player-meta-row {
  display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap;
}
.player-bar-left strong,
.player-meta-row strong {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-desc {
  margin: 0;
  max-width: 100%;
  color: var(--muted, #94a3b8);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-desc[hidden] { display: none !important; }
.player-bar-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.player-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #e8eef5;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.player-tool svg { width: 15px; height: 15px; display: block; }
.player-tool:hover {
  border-color: rgba(34,227,255,.45);
  color: var(--cyan);
  background: rgba(34,227,255,.1);
}
.player-tool.on {
  border-color: rgba(34,227,255,.5);
  color: var(--cyan);
  background: rgba(34,227,255,.12);
}
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(239,68,68,.18); color: #ff6b7a;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
}
.live-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.2);
}
.live-badge.off { background: rgba(255,255,255,.06); color: var(--muted); }
.live-badge.off::before { background: #64748b; box-shadow: none; animation: none; }
.viewer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--text);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.08);
}
.viewer-badge strong { font-variant-numeric: tabular-nums; color: var(--cyan, #22e3ff); }
.viewer-badge svg { opacity: .85; flex: 0 0 auto; }

.chat-panel {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(34,227,255,.22);
  background: linear-gradient(180deg, #0e141b, #0a1016);
  display: flex; flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  contain: layout style;
}
.chat-head {
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 750;
}
.chat-pin {
  border-bottom: 1px solid rgba(34,227,255,.18);
  background: linear-gradient(180deg, rgba(34,227,255,.1), rgba(34,227,255,.03));
  padding: 0;
}
.chat-pin[hidden] { display: none !important; }
.chat-pin-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
}
.chat-pin-label {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 7px;
  border-radius: 999px;
  color: #041018;
  background: var(--cyan);
}
.chat-pin-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
  font-size: .9rem;
  line-height: 1.45;
  color: #e8eef5;
  white-space: normal;
}
.chat-pin-body #chatPinText {
  display: block;
  white-space: normal;
  word-break: break-word;
}
.chat-pin-body strong {
  color: var(--cyan);
  font-size: .78rem;
}
.chat-pin-body .chat-link {
  color: #7af0ff;
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  pointer-events: auto;
}
.chat-pin.has-link .chat-pin-body { cursor: default; }
.chat-pin.has-link .chat-link:hover { color: #fff; }
.chat-item-bot {
  background: rgba(34,227,255,.06);
  border-radius: 10px;
  padding: 6px 8px;
  margin: 2px 0;
}
.chat-pin-clear {
  flex-shrink: 0;
  margin: 0;
}
.chat-pin-clear button {
  width: 28px; height: 28px;
  border: 0; border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #9aa8b8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.chat-pin-clear button:hover { background: rgba(255,90,122,.2); color: #ff7a90; }
.chat-announce {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.chat-announce > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.chat-announce > summary::-webkit-details-marker { display: none; }
.chat-announce > summary:hover { color: var(--cyan); }
.chat-announce-form {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
  align-items: flex-end;
}
.chat-announce-form input,
.chat-announce-form textarea {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: #080c11;
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  line-height: 1.4;
  resize: vertical;
  min-height: 68px;
}
.chat-announce-form .btn { flex-shrink: 0; align-self: flex-end; }
.chat-link {
  color: var(--cyan);
  text-decoration: underline;
  word-break: break-all;
}
.chat-toast {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%) translateY(8px);
  z-index: 20;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8,14,20,.96);
  border: 1px solid rgba(34,227,255,.35);
  color: #e8eef5;
  font-size: .84rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  text-align: center;
}
.chat-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.chat-toast.err {
  border-color: rgba(255,90,122,.45);
  color: #ffb4c0;
}
.chat-log {
  flex: 1; overflow: auto; overscroll-behavior: contain; padding: 12px;
  display: grid; gap: 8px; align-content: start;
  max-height: 420px; min-height: 280px;
}
.chat-item {
  padding: 9px 11px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid transparent;
}
.chat-item strong { color: var(--cyan); font-size: .86rem; }
.chat-item-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.role-tag {
  font-size: .62rem; font-weight: 800; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 999px;
}
.role-tag.admin { background: rgba(255,90,122,.16); color: #ff5a7a; }
.role-tag.mod { background: rgba(34,227,255,.14); color: var(--cyan); }
.role-tag.bot { background: rgba(250,204,21,.14); color: #facc15; }
.mod-menu { margin-left: 0; position: relative; display: inline-flex; }
.chat-user-mod { margin-left: 0; }
.chat-user-btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.chat-user-btn::-webkit-details-marker { display: none; }
.chat-user-btn:hover {
  border-color: rgba(34,227,255,.35);
  background: rgba(34,227,255,.08);
}
.chat-user-btn strong {
  text-decoration: underline;
  text-decoration-color: rgba(34,227,255,.35);
  text-underline-offset: 3px;
}
.mod-menu summary {
  list-style: none; cursor: pointer; padding: 2px 8px; border-radius: 8px;
  color: var(--muted); border: 1px solid transparent;
}
.mod-menu summary::-webkit-details-marker { display: none; }
.mod-menu summary:hover { border-color: var(--line); color: var(--cyan); }
.mod-menu-panel {
  position: absolute; left: 0; top: 120%; z-index: 12;
  min-width: 168px; padding: 6px; border-radius: 12px;
  background: #0e141b; border: 1px solid rgba(34,227,255,.25);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  display: grid; gap: 4px;
}
.mod-menu-head {
  padding: 6px 10px 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.mod-menu-panel form { margin: 0; }
.mod-menu-panel button {
  width: 100%; text-align: left; border: 0; background: transparent;
  color: var(--text); padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .82rem;
}
.mod-menu-panel button:hover { background: rgba(34,227,255,.1); }
.mod-menu-panel button.danger { color: #ff5a7a; font-weight: 800; }
.mod-menu-panel button.danger:hover { background: rgba(255,90,122,.12); }
.chat-form {
  display: flex; gap: 8px; padding: 10px;
  border-top: 1px solid var(--line);
}
.chat-form input {
  flex: 1; padding: 11px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--panel-2);
}

/* Quick actions */
.qa-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin: 8px 0 24px;
}
.qa-card {
  position: relative; overflow: hidden;
  min-height: 132px; border-radius: 16px; padding: 14px;
  border: 1px solid rgba(34,227,255,.28);
  background: #0c1218;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(34,227,255,.18);
}
.qa-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .7;
}
.qa-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.88) 85%);
}
.qa-card > * { position: relative; z-index: 1; }
.qa-card strong { font-size: .9rem; }
.qa-card span { color: rgba(255,255,255,.65); font-size: .75rem; }

.section { margin: 26px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px;
}
.section-head h2 { margin: 0; font-size: 1.2rem; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}

.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, #111820, #0c1218);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  transition: border-color .18s, transform .18s;
}
.card:hover { border-color: rgba(34,227,255,.3); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.pill {
  display: inline-flex; padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: .78rem; color: var(--muted);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px; font-size: .7rem; font-weight: 750;
  background: rgba(34,197,94,.14); color: var(--ok);
}
.muted { color: var(--muted); }
.flash { padding: 11px 13px; border-radius: 12px; margin: 12px 0; font-weight: 650; }
.flash.ok { background: rgba(34,197,94,.12); color: var(--ok); }
.flash.err { background: rgba(255,90,122,.12); color: var(--danger); }

.form { display: grid; gap: 12px; max-width: 480px; }
.form.wide { max-width: 720px; }
.form label { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel-2); outline: none;
}
.form input:focus, .form textarea:focus { border-color: rgba(34,227,255,.45); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 11px 9px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.table th { color: var(--muted); font-size: .75rem; text-transform: uppercase; }

.verify-box {
  max-width: 560px; margin: 28px auto;
  padding: 28px; border-radius: 18px;
  border: 1px solid rgba(34,227,255,.3);
  background: linear-gradient(160deg, #101820, #0a1016);
  text-align: center;
}
.verify-code {
  display: block;
  margin: 0 0 18px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--theme-rgb), .28);
  background: rgba(var(--theme-rgb), .08);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
}

/* Auth (login / register) — profesyonel panel */
body.is-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.is-auth .wrap-auth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 20px;
}
.footer-auth {
  border-top: 0;
  background: transparent;
  padding: 8px 0 24px;
}
.footer-auth .footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}
.footer-auth a { color: #c5d0dc; font-weight: 600; }
.footer-auth a:hover { color: var(--cyan); }

.auth-shell {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #0a0f14;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  animation: authIn .4s ease;
}
.auth-visual {
  position: relative;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(640px 360px at 0% 0%, rgba(var(--theme-rgb),.2), transparent 58%),
    linear-gradient(165deg, #0f1822 0%, #0a1016 48%, #070b10 100%);
  border-right: 1px solid rgba(255,255,255,.06);
}
.auth-visual::before { display: none; }
.auth-visual-top { position: relative; z-index: 1; }
.auth-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
  color: #fff; text-decoration: none; margin-bottom: 28px;
}
.auth-brand .mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #7af0ff, var(--cyan) 50%, #00a8c7);
  color: #031018; font-weight: 900; font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}
.auth-brand.brand-logo-only { gap: 0; }
.auth-brand .mark.brand-mark-img {
  width: auto !important;
  height: 42px !important;
  min-width: 0 !important;
  max-width: min(280px, 70vw) !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 8px;
}
.auth-brand .mark.brand-mark-img img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.auth-kicker {
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(var(--theme-rgb), .95);
}
.auth-visual h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.12;
  color: #fff;
}
.auth-desc {
  margin: 0;
  color: #9aa8b8;
  line-height: 1.6;
  max-width: 340px;
  font-size: .95rem;
}
.auth-points {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 12px;
}
.auth-points li {
  display: flex; align-items: center; gap: 12px;
  color: #d7e0ea;
  font-size: .95rem;
  font-weight: 600;
}
.auth-points li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: none;
}
.auth-visual-foot {
  position: relative; z-index: 1;
  font-size: .88rem;
}
.auth-visual-foot a {
  color: #9aa8b8;
  font-weight: 600;
  text-decoration: none;
}
.auth-visual-foot a:hover { color: #fff; }

.auth-panel {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0c1218;
}
.auth-eyebrow {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-panel h1 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}
.auth-panel .lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.auth-form { display: grid; gap: 16px; }
.auth-form label {
  display: grid; gap: 8px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #8b9bb0;
}
.auth-form label span { display: block; }
.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: #080c11;
  color: var(--text);
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color .15s, background .15s;
}
.auth-form input::placeholder { color: #5c6b7c; }
.auth-form input:focus {
  border-color: rgba(var(--theme-rgb), .55);
  background: #0a1016;
  box-shadow: none;
}
.btn-auth {
  margin-top: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #031018;
  cursor: pointer;
  background: linear-gradient(145deg, #7af0ff 0%, var(--cyan) 48%, #00b4d8 100%);
}
.btn-auth:hover { filter: brightness(1.05); }
.auth-switch {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.auth-switch a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.auth-or span { white-space: nowrap; }
.btn-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(42,171,238,.45);
  background: linear-gradient(145deg, #2AABEE 0%, #229ED9 100%);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none !important;
  letter-spacing: -.01em;
}
.btn-tg:hover { filter: brightness(1.06); }
.btn-tg-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.btn-tg-ico svg { display: block; }
.auth-tg-hint {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}
.auth-hint {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  color: var(--muted); font-size: .8rem; line-height: 1.45;
}
.auth-hint code {
  color: var(--cyan); font-family: ui-monospace, monospace; font-size: .78rem;
}
.auth-shell-solo {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-inline: auto;
  min-height: 0;
}
.auth-cta-wrap { margin: 0 0 12px; }
.auth-cta-wrap .btn-auth,
.auth-cta-wrap .btn-tg { display: flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; }
.btn-bot-go { min-height: 48px; font-weight: 700; letter-spacing: .01em; }
.auth-bot-name {
  margin: -4px 0 14px;
  text-align: center;
  font-size: .82rem;
  color: rgba(148, 163, 184, .95);
}
.btn-auth-ghost {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: #d7e0ea;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-auth-ghost:hover {
  border-color: rgba(var(--theme-rgb), .45);
  color: #fff;
  background: rgba(255,255,255,.03);
}
body.is-auth .flash {
  width: min(1080px, calc(100% - 32px));
  margin: 16px auto 0;
  border-radius: 14px;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  body.is-auth .wrap-auth { width: calc(100% - 20px); padding: 16px 0 12px; align-items: flex-start; }
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 18px;
  }
  .auth-visual {
    min-height: 0;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .auth-visual h2 { font-size: 1.55rem; }
  .auth-panel { padding: 28px 22px; }
}

.page-content {
  max-width: 760px; white-space: pre-wrap; line-height: 1.7;
  padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel);
}

.footer {
  margin-top: 0;
  padding: 28px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.28));
}
.footer-site-alt-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 48px;
  flex-wrap: wrap;
  margin: 0 auto 18px;
  padding: 4px 8px 0;
  max-width: 1100px;
}
.footer-responsibility {
  flex: 1 1 320px;
  max-width: 520px;
  margin: 0;
  padding: 0;
}
.resp-label {
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9aa3af;
}
.resp-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 70, 70, .55);
  background: rgba(255, 40, 40, .04);
}
.resp-age {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: #ff4c4c;
  flex-shrink: 0;
}
.resp-age-text {
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.35;
  color: #ff4c4c;
}
.resp-note {
  margin: 14px 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: #b0b0b0;
  max-width: 420px;
}
.footer-powered {
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0;
  padding: 4px 0 0;
  min-width: 220px;
}
.powered-by {
  display: inline-flex;
  text-decoration: none !important;
  color: inherit;
}
.powered-by.powered-row {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.powered-by.powered-stack {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.powered-by.has-logo.powered-row .powered-brand {
  display: flex;
  align-items: center;
}
.powered-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c8cdd4;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.powered-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.powered-stack .powered-brand {
  flex-direction: column;
  gap: 8px;
}
.powered-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #041018;
  background: linear-gradient(145deg, #7af0ff, #00a8d4 55%, #0284c7);
  box-shadow: 0 0 22px rgba(34,227,255,.5);
  flex-shrink: 0;
}
.powered-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 48px;
  max-width: 260px;
}
.powered-logo img {
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
.powered-stack .powered-logo {
  height: 64px;
  max-width: 220px;
}
.powered-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .05em;
  display: inline-flex;
  line-height: 1;
}
.powered-neo { color: #22e3ff; }
.powered-bonus { color: #e8eef5; }
.powered-by:hover .powered-neo { color: #7af0ff; }
@media (max-width: 720px) {
  .footer-site-alt-row {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .footer-responsibility { max-width: 100%; }
  .footer-powered {
    justify-content: center;
    width: 100%;
  }
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 18px; }
.footer strong { color: var(--text); display: block; margin-bottom: 8px; }
.footer a { display: block; margin: 6px 0; }
.footer a:hover { color: var(--cyan); }
.footer-copy { margin-top: 18px; font-size: .8rem; padding-bottom: 8px; text-align: center; }

/* Social media block */
.social-sec {
  margin: 36px 0 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.social-sec-bottom {
  margin: 28px 0 0;
  padding: 24px 0 8px;
}
.social-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.social-logo {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; color: #041018;
  background: linear-gradient(145deg, #f0c14b, #c9a227);
  box-shadow: 0 0 18px rgba(240,193,75,.35);
  flex-shrink: 0;
}
.social-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.social-head h2 span { color: #fff; }
.social-head h2 em {
  font-style: italic;
  color: #f0c14b;
  text-shadow: 0 0 18px rgba(240,193,75,.35);
}
.social-head p {
  margin: 4px 0 0;
  color: #8b9bb0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.social-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #121820, #0c1116);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34,227,255,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.social-ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(34,160,255,.12);
  color: #2ea6ff;
  border: 1px solid rgba(46,166,255,.25);
  flex-shrink: 0;
}
.social-txt { display: grid; gap: 3px; min-width: 0; }
.social-txt small {
  color: #2ea6ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.social-txt strong {
  color: #fff;
  font-size: .92rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* Footer promo / reklam banner alanı */
.promo-sec {
  margin: 28px 0 8px;
  padding: 8px 0 24px;
}
.promo-sec-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.promo-sec-head h2 {
  margin: 0;
  font-size: .95rem;
  letter-spacing: .12em;
  font-weight: 800;
  color: #ff3b4a;
  text-transform: uppercase;
}
.promo-sec-head p { margin: 0; color: #8b9bb0; font-size: .82rem; }
.promo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b4a;
  box-shadow: 0 0 12px #ff3b4a;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.promo-card {
  position: relative;
  min-height: 280px;
  padding: 18px 14px 16px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255,59,74,.28);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,40,60,.18), transparent 55%),
    linear-gradient(180deg, #12080a, #050506 60%, #0a0506);
  box-shadow: 0 0 0 1px rgba(255,59,74,.08), 0 18px 40px rgba(0,0,0,.4);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.promo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,59,74,.55);
  box-shadow: 0 0 28px rgba(255,59,74,.2), 0 20px 44px rgba(0,0,0,.45);
}
.promo-glow {
  position: absolute; inset: auto -20% -30% -20%; height: 55%;
  background: radial-gradient(circle, rgba(255,40,60,.22), transparent 65%);
  pointer-events: none;
}
.promo-top { position: relative; z-index: 1; text-align: center; }
.promo-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
}
.promo-card h3 {
  margin: 0 0 6px;
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ff3b4a;
  text-shadow: 0 0 18px rgba(255,59,74,.45);
  line-height: 1.2;
}
.promo-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  line-height: 1.4;
}
.promo-stat {
  position: relative; z-index: 1;
  margin-top: auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.promo-digit {
  min-width: 22px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid rgba(255,59,74,.55);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-weight: 800; font-size: .82rem;
  box-shadow: 0 0 10px rgba(255,59,74,.25);
}
.promo-gap { width: 6px; }
.promo-art {
  position: relative; z-index: 1;
  margin: 8px auto auto;
  width: 72px; height: 72px; border-radius: 18px;
  border: 1px solid rgba(255,59,74,.35);
  background:
    radial-gradient(circle at 35% 30%, rgba(255,80,90,.35), transparent 50%),
    rgba(0,0,0,.35);
  box-shadow: inset 0 0 20px rgba(255,59,74,.15), 0 0 24px rgba(255,59,74,.2);
}
.promo-art-icon {
  display: grid; place-items: center;
  color: #fff;
}
.theme-telegram .promo-art {
  background:
    radial-gradient(circle at 40% 35%, rgba(46,166,255,.35), transparent 55%),
    rgba(0,0,0,.35);
  border-color: rgba(46,166,255,.4);
  box-shadow: inset 0 0 20px rgba(46,166,255,.12), 0 0 24px rgba(46,166,255,.18);
  color: #2ea6ff;
}
.theme-instagram .promo-art {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,100,150,.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,180,60,.25), transparent 50%),
    rgba(0,0,0,.35);
  color: #ff7ab8;
}
.theme-youtube .promo-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,60,60,.4), transparent 55%),
    rgba(0,0,0,.35);
  border-color: rgba(255,70,70,.45);
  box-shadow: inset 0 0 20px rgba(255,60,60,.15), 0 0 24px rgba(255,60,60,.2);
  color: #ff4d4d;
}
.theme-discord .promo-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(88,101,242,.4), transparent 55%),
    rgba(0,0,0,.35);
  border-color: rgba(88,101,242,.45);
  box-shadow: inset 0 0 20px rgba(88,101,242,.15), 0 0 24px rgba(88,101,242,.2);
  color: #8b9cff;
}
.theme-twitter .promo-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.18), transparent 55%),
    rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.theme-store .promo-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,200,80,.28), transparent 55%),
    rgba(0,0,0,.35);
}
.social-promo-grid {
  grid-template-columns: repeat(var(--social-n, 4), minmax(0, 1fr));
}
.promo-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 4px; align-self: center;
  min-width: 78%;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff4d5c, #e01122);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .03em;
  box-shadow: 0 0 20px rgba(255,40,60,.35);
}
.promo-card:hover .promo-cta {
  box-shadow: 0 0 28px rgba(255,40,60,.5);
}

@media (max-width: 1100px) {
  .promo-grid,
  .social-promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .promo-grid,
  .social-promo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .promo-grid,
  .social-promo-grid { grid-template-columns: 1fr; }
}

.modal-bg {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(0,0,0,.65); align-items: flex-start; justify-content: center;
  padding: 12vh 16px;
}
.modal-bg.open { display: flex; }
.modal {
  width: min(620px, 100%); background: #0e141b; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.modal input {
  width: 100%; border: 0; outline: none; padding: 16px 18px;
  background: transparent; border-bottom: 1px solid var(--line); font-size: 1.05rem;
}
.modal-list { max-height: 360px; overflow: auto; padding: 8px; }
.modal-list a { display: block; padding: 10px 12px; border-radius: 10px; }
.modal-list a:hover { background: var(--cyan-dim); }
.modal-sec { padding: 8px 12px; margin: 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .45; }
}

@media (max-width: 980px) {
  html { font-size: 16px; }
  .wrap { width: calc(100% - 12px); max-width: none; }
  .site-main { padding: 0 4px; box-sizing: border-box; }
  .topbar-inner {
    min-height: 58px;
    padding: 8px 0;
    gap: 8px;
    flex-wrap: wrap;
  }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark {
    width: 36px; height: 36px; border-radius: 11px; font-size: .95rem;
  }
  .brand-mark.brand-mark-img,
  .brand-mark-img {
    width: auto !important;
    height: 34px !important;
    min-width: 0 !important;
    max-width: min(200px, 55vw) !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 6px;
  }
  .brand-mark-img img { max-height: 34px !important; }
  .actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 6px;
    max-width: 100%;
  }
  .header-social { gap: 5px; margin-right: 2px; }
  .header-social-btn { width: 34px; height: 34px; border-radius: 10px; }
  .btn-sm { padding: 8px 10px; font-size: .8rem; min-height: 36px; }
  .btn-nav {
    min-height: 42px;
    padding: 10px 16px;
    font-size: .95rem;
    border-radius: 12px;
  }
  .nav-pill {
    min-height: 40px;
    padding: 0 12px 0 8px;
    gap: 7px;
    font-size: .84rem;
  }
  .nav-pill .nav-ico { width: 24px; height: 24px; }
  .nav-pill .nav-ico svg { width: 13px; height: 13px; }
  .nav-pill .nav-label { max-width: 26vw; }
  .nav-user .nav-role { display: none; }
  .user-chip { max-width: 28vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .qa-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: 1fr 1fr; }
  .stage { gap: 12px; margin-bottom: 14px; }

  .player-shell, .chat-panel { border-radius: 14px; }
  .chat-panel { min-height: 0; max-height: none; }
  .chat-log { max-height: 280px; min-height: 180px; }
  .chat-form { flex-wrap: wrap; }
  .chat-form input { min-width: 0; width: 100%; flex: 1 1 auto; }
  .chat-form .btn { flex: 1 1 auto; min-height: 44px; }
  .player-bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    font-size: .9rem;
  }

  .auth-shell { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .auth-visual { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 28px 24px; }
  .auth-panel { padding: 28px 22px; }

  .logo-marquee { padding: 12px 0; }
  .logo-marquee::before,
  .logo-marquee::after { width: 36px; }
  .marquee-item { width: 140px; height: 64px; padding: 8px 12px; }
  .marquee-mark .nm { font-size: .92rem; }
  .home-main .logo-marquee-bleed { margin-bottom: 10px; border-radius: 10px; width: 100%; }

  .promo-sec { margin: 18px 0; padding: 0 2px; }
  .promo-card { min-height: 220px; }
  .social-sec { padding: 0 2px; }

  .modal-bg { padding: 8vh 12px; align-items: flex-start; }
  .modal { border-radius: 14px; }
}

@media (max-width: 720px) {
  .qa-grid { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; }
  .actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 6px;
  }
  .header-social { order: 10; width: 100%; justify-content: flex-start; margin: 2px 0 0; }
  .side-ad-box {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
  }
  .wrap:has(.table), .card:has(.table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 520px; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  body { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 12px); }
  .site-main { padding: 0 4px; }
  .home-shell { padding: 0 4px 12px; }
  .brand span:not(.brand-mark) { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .header-social-btn { width: 32px; height: 32px; }
  .btn-sm { padding: 7px 9px; font-size: .76rem; }
  .nav-user .nav-role { display: none; }

  .slider { margin: 0 0 10px; border-radius: 12px; }
  .slide-inner { padding: 12px 12px 36px; }
  .slide-copy h2 { font-size: .95rem; }
  .slide-copy p { display: none; }
  .slide-cta { padding: 8px 12px; font-size: .75rem; }

  .marquee-item { width: 118px; height: 56px; }
  .marquee-track { gap: 10px; animation-duration: 28s; }

  .chat-log { max-height: 240px; min-height: 160px; padding: 10px; }
  .chat-head { padding: 10px 12px; font-size: .92rem; }
  .mod-menu-panel { min-width: 140px; right: -4px; }

  .promo-card { min-height: 200px; padding: 14px 12px; }
  .card { padding: 14px; border-radius: 14px; }
  .side-ad-box {
    height: 132px;
    min-height: 132px;
    max-height: 132px;
  }
  .side-ad-controls { bottom: 6px; }
  .side-ad-btn { width: 24px; height: 24px; font-size: .9rem; }
}
