/* ============================================================== Temel */
:root {
  --bg: #06130d;
  --bg-soft: #0c1c15;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f6;
  --muted: #9a9aae;
  --accent: #10b981;
  --accent-2: #14b8a6;
  --accent-3: #00d9c0;
  --gold: #2dd4a8;
  --sky: #2dd4bf;
  --diamond: #a7f3d0;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

/* Arka plan ışıltıları */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.glow-1 { width: 540px; height: 540px; background: var(--accent); top: -180px; left: -120px; }
.glow-2 { width: 480px; height: 480px; background: var(--accent-2); top: 200px; right: -160px; opacity: 0.4; }

/* ============================================================== Açılış animasyonu */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #0a1a12, #04100b 72%);
  animation: splashOut 0.8s ease 2.7s forwards;
}
.splash.skip { animation: splashOut 0.45s ease forwards; }
.splash-inner { text-align: center; display: grid; justify-items: center; padding: 24px; }
.splash-knight {
  font-size: clamp(3rem, 9vw, 5rem); line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold), #ecfdf5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(45, 212, 168, 0.45));
  opacity: 0; transform: translateY(10px) scale(0.9);
  animation: splashIn 0.7s cubic-bezier(.2, .7, .3, 1) 0.1s forwards;
}
.splash-title {
  font-size: clamp(2.2rem, 7.5vw, 4.2rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.05;
  background: linear-gradient(180deg, #ffffff, #c9cde0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(18px);
  animation: splashIn 0.8s cubic-bezier(.2, .7, .3, 1) 0.35s forwards;
}
.splash-line {
  width: 0; height: 2px; margin: 18px 0 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: splashLine 0.7s ease 0.95s forwards;
}
.splash-handle {
  font-size: clamp(0.95rem, 2.6vw, 1.35rem); font-weight: 800; letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--gold) 0%, #ecfdf5 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(12px);
  animation: splashIn 0.8s cubic-bezier(.2, .7, .3, 1) 1.15s forwards,
             goldShimmer 2s linear 1.7s 2;
}
@keyframes splashIn { to { opacity: 1; transform: none; } }
@keyframes splashLine { to { width: min(300px, 62vw); } }
@keyframes goldShimmer { to { background-position: -200% center; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ============================================================== Üst kredi barı */
.topbar {
  position: relative;
  z-index: 40;
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(45, 212, 168, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(45, 212, 168, 0.05), transparent);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(45, 212, 168, 0.55), transparent) 1;
}
.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tb-specials {
  display: inline-flex; align-items: center; gap: 13px; flex-wrap: wrap; justify-content: center;
}
.tb-special {
  color: var(--gold); font-weight: 700; font-size: 0.78rem; white-space: nowrap;
  opacity: 0.92; transition: opacity 0.15s, text-shadow 0.15s;
}
.tb-special:hover { opacity: 1; text-shadow: 0 0 10px rgba(45, 212, 168, 0.55); text-decoration: underline; }

.topbar-handle {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--diamond) 60%, transparent);
  background: linear-gradient(180deg, rgba(167, 243, 208, 0.16), rgba(167, 243, 208, 0.04));
  box-shadow: 0 0 22px rgba(45, 212, 168, 0.24), inset 0 0 12px rgba(167, 243, 208, 0.08);
  font-weight: 800; font-size: 0.88rem; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.topbar-handle:hover {
  transform: translateY(-1px);
  border-color: var(--diamond);
  box-shadow: 0 6px 28px rgba(45, 212, 168, 0.42), inset 0 0 12px rgba(167, 243, 208, 0.12);
}
.th-crown { color: var(--diamond); filter: drop-shadow(0 0 8px rgba(110, 231, 183, 0.7)); }
.th-name {
  background: linear-gradient(90deg, #ffffff 0%, #a7f3d0 30%, #ffffff 50%, #34d399 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 2.8s linear 0.6s 3;
}
.topbar-handle::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg); opacity: 0; pointer-events: none;
}
.topbar-handle:hover::after { animation: shine 0.75s ease; }
@keyframes shine { 0% { left: -70%; opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* ============================================================== Gezinme */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px max(32px, calc(50% - 688px));
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.brand-knight {
  font-size: 1.4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), #ecfdf5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(45, 212, 168, 0.45));
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.94rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Nav'da canlı rozeti (yayındayken) */
.nav-live {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: liveGlow 1.6s infinite;
}
.nav-live[hidden] { display: none; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes liveGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.18); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
  padding: 9px 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35); }

/* ============================================================== Layout */
main {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 90px;
}

/* ============================================================== Canlı yayın spotlight */
.live-spotlight {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(20, 184, 166, 0.12));
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
  animation: spotPulse 2.6s ease-in-out infinite;
}
.live-spotlight[hidden] { display: none; }
@keyframes spotPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 70px rgba(16, 185, 129, 0.4); }
}
.live-thumb-wrap {
  position: relative;
  width: 300px; max-width: 42%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.live-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-thumb-badge {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
}
.live-text { display: grid; gap: 12px; }
.live-flag {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content;
  color: var(--accent);
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em;
}
.live-flag .live-dot { background: var(--accent); }
.live-text h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.live-meta { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.live-watch {
  width: fit-content;
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--accent), #34d399);
  color: #fff; font-weight: 800;
  padding: 11px 22px; border-radius: 14px;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s;
}
.live-spotlight:hover .live-watch { transform: translateY(-2px); }

/* ============================================================== Hero */
.hero {
  padding: 56px 0 30px;
  display: grid;
  gap: 22px;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-avatar {
  width: 118px; height: 118px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-size: 3rem; color: #fff;
  box-shadow: var(--shadow), 0 0 0 3px rgba(45, 212, 168, 0.5), 0 0 0 8px rgba(45, 212, 168, 0.12);
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-avatar.live-ring {
  box-shadow: var(--shadow), 0 0 0 3px var(--accent), 0 0 0 9px rgba(16, 185, 129, 0.18);
  animation: liveGlow 1.8s infinite;
}

/* Abone rozeti (gerçek veri) */
.subs-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(45, 212, 168, 0.12);
  border: 1px solid rgba(45, 212, 168, 0.4);
  color: var(--gold);
  padding: 8px 14px; border-radius: 12px;
  font-size: 0.88rem; font-weight: 700;
}
.hero-info { display: grid; gap: 8px; }
.hero-info h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tagline { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

.channel-tag {
  display: inline-flex; align-items: center;
  width: fit-content;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.15s, border-color 0.2s;
}
.social-pill:hover { transform: translateY(-2px); border-color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 470px) { .hero-stats { grid-template-columns: 1fr; } }
.stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.stat:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.stat-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: rgba(0, 217, 192, 0.1); border: 1px solid rgba(0, 217, 192, 0.22);
  color: var(--accent-3);
}
.stat-ico svg { width: 20px; height: 20px; }
.stat-body b { font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.1; }
.stat-body span { color: var(--muted); font-size: 0.84rem; }

/* Rating kartları (yayıncının Elo'su) */
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 16px; }
.ratings[hidden] { display: none; }
.rating-card {
  display: grid; gap: 13px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-border);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.rating-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rating-card.chesscom:hover { border-color: #7fa650; }
.rating-card.lichess:hover { border-color: #b7bcc4; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-plat { font-weight: 800; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px; }
.rating-card.chesscom .rc-plat { color: #95bb4a; }
.rating-card.lichess .rc-plat { color: #eaeaea; }
.rc-user { color: var(--muted); font-size: 0.85rem; }
.rc-ratings { display: flex; gap: 22px; }
.rt { display: grid; gap: 2px; }
.rt b {
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--gold), #ecfdf5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt i { font-style: normal; color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; }
.rt-empty { color: var(--muted); font-size: 1.1rem; }

/* ============================================================== Sonraki yayın geri sayımı */
.next-stream {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  margin-top: 26px;
  padding: 18px 26px;
  border-radius: 18px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(45, 212, 168, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(45, 212, 168, 0.10), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(45, 212, 168, 0.4);
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}
.next-stream[hidden] { display: none; }
.next-stream:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(45, 212, 168, 0.15);
}
.ns-info { display: grid; gap: 5px; }
.ns-label {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--gold);
}
.ns-when { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.ns-count {
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800;
  letter-spacing: 0.02em; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================== Bloklar */
.block { padding-top: 50px; scroll-margin-top: 80px; --sec: var(--accent); }
.block.sec-red    { --sec: var(--accent); }
.block.sec-gold   { --sec: var(--gold); }
.block.sec-teal   { --sec: var(--accent-3); }
.block.sec-violet { --sec: var(--accent-2); }
.block.sec-sky    { --sec: var(--sky); }

.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 14px;
}
.head-text {
  padding-left: 16px;
  border-left: 4px solid var(--sec);
}
.eyebrow {
  display: inline-block;
  color: var(--sec);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.block-head h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex; align-items: center; gap: 13px;
}
.block-sub { color: var(--muted); font-size: 0.96rem; margin-top: 8px; max-width: 600px; }

/* Bölüm başlığı ikon çipi */
.ico-chip {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--sec) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 38%, transparent);
  color: var(--sec);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--sec) 22%, transparent);
}
.ico-chip svg { width: 23px; height: 23px; }

/* Genel inline ikon boyutları */
.btn-ico { display: inline-flex; vertical-align: -3px; }
.btn-ico svg { width: 17px; height: 17px; }
.pill-ico { display: inline-flex; vertical-align: -3px; }
.pill-ico svg { width: 16px; height: 16px; }
.ns-ico { display: inline-flex; vertical-align: -3px; }
.ns-ico svg { width: 15px; height: 15px; }
.po-ico svg { width: 26px; height: 26px; }
.dp-ico { display: inline-flex; vertical-align: -2px; }
.dp-ico svg { width: 13px; height: 13px; }
.see-all { color: var(--accent); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }
.hint { color: var(--muted); font-size: 0.9rem; }

/* Belirgin panel kutusu (program & kurallar) */
.panel {
  position: relative;
  background:
    radial-gradient(140% 120% at 100% 0%, color-mix(in srgb, var(--sec) 9%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid color-mix(in srgb, var(--sec) 20%, var(--card-border));
  border-radius: 26px;
  padding: 34px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sec), transparent 70%);
}
.panel .block-head { margin-bottom: 24px; }

/* Bugün çipi */
.today-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in srgb, var(--sec) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 45%, transparent);
  color: var(--sec);
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 800;
  white-space: nowrap;
}

/* ============================================================== Videolar */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--shadow);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a24;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card:first-child .badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.05em;
}
.play-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0; transition: opacity 0.2s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay span {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}
.video-meta { padding: 16px 17px 18px; }
.video-meta h3 {
  font-size: 1.02rem; font-weight: 700;
  line-height: 1.38;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 9px;
}
.video-sub { color: var(--muted); font-size: 0.82rem; display: flex; gap: 8px; align-items: center; }
.video-sub .dot { opacity: 0.5; }

/* İskelet (yükleniyor) */
.skeleton-card {
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #15151f 30%, #1e1e2c 50%, #15151f 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.notice {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  color: #c9bdff;
  font-size: 0.9rem;
}

/* ============================================================== Program */
.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.day-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  display: grid;
  gap: 7px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.day-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }
.day-card.today {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(45, 212, 168, 0.16), rgba(16, 185, 129, 0.06));
  box-shadow: 0 12px 34px rgba(45, 212, 168, 0.18);
  transform: scale(1.035);
}
.day-card.today:hover { transform: scale(1.035) translateY(-3px); }
.day-card.today::after {
  content: "BUGÜN";
  position: absolute; top: 13px; right: 14px;
  background: var(--gold); color: #03150d;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px;
}
.day-card.off { opacity: 0.5; }
.day-name { font-weight: 800; font-size: 1.08rem; }
.day-time {
  font-size: 1.5rem; font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.day-time.empty {
  background: none; color: var(--muted);
  -webkit-text-fill-color: var(--muted); font-size: 1rem; font-weight: 700;
}
.day-title { color: var(--text); font-size: 0.94rem; font-weight: 700; }
.day-platform {
  display: inline-flex; align-items: center; gap: 5px;
  width: fit-content; margin-top: 2px;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #c9bdff;
  padding: 3px 9px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700;
}

/* ============================================================== Kurallar */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 18px;
}
.rule-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 22px 22px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.rule-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-3);
  box-shadow: 0 14px 32px rgba(0, 217, 192, 0.12);
}
.rule-badge {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 13px;
  background: color-mix(in srgb, var(--sec) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 38%, transparent);
  color: var(--sec);
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.rule-text h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: 5px; }
.rule-text p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ============================================================== Akademi */
.lessons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.lesson-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--sec) 22%, var(--card-border));
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lesson-card:hover {
  transform: translateY(-4px); border-color: var(--sec);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--sec) 16%, transparent);
}
.lesson-level {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  color: var(--sec); background: color-mix(in srgb, var(--sec) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 35%, transparent);
  padding: 3px 10px; border-radius: 999px;
}
.lesson-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.lesson-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.academy-contact {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 20px; padding: 16px 20px; border-radius: 16px;
  background: color-mix(in srgb, var(--sec) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 30%, transparent);
}
.academy-contact[hidden] { display: none; }
.contact-label { font-weight: 700; color: var(--text); }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--sec); }
.contact-mail svg { width: 18px; height: 18px; }
.contact-mail:hover { text-decoration: underline; }

/* ============================================================== Oyun sırası */
.queue-actions { display: flex; align-items: center; gap: 12px; }
.queue-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--card-border);
  white-space: nowrap;
}
.queue-status .st-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.queue-status.open { color: var(--accent-3); border-color: rgba(0, 217, 192, 0.4); background: rgba(0, 217, 192, 0.1); }
.queue-status.closed { color: var(--accent); border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.1); }

.btn-ghost.danger { color: #f87171; border-color: rgba(16, 185, 129, 0.35); }
.btn-ghost.danger:hover { background: rgba(16, 185, 129, 0.12); border-color: var(--accent); }

.mod-pin { display: flex; gap: 10px; margin-bottom: 18px; }
.mod-pin[hidden] { display: none; }
.mod-pin input {
  flex: 0 1 200px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 10px 14px; color: var(--text); font: inherit;
}
.mod-pin input:focus { outline: none; border-color: var(--sec); }

.queue-join { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.queue-join[hidden] { display: none; }
.platform-toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
}
.plat {
  border: none; background: transparent; color: var(--muted);
  font: inherit; font-weight: 700; font-size: 0.9rem;
  padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.plat.active { background: var(--sec); color: #fff; }
.queue-join input {
  flex: 1 1 200px; min-width: 0;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 11px 16px; color: var(--text); font: inherit; font-size: 0.98rem;
}
.queue-join input:focus { outline: none; border-color: var(--sec); }
.queue-join .tempo-select {
  flex: 0 0 auto;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 11px 14px; color: var(--text);
  font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  color-scheme: dark;
}
.queue-join .tempo-select:focus { outline: none; border-color: var(--sec); }
#queueSubmit { white-space: nowrap; }

.queue-mine {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 14px 18px;
  background: color-mix(in srgb, var(--sec) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 40%, transparent);
  border-radius: 14px; font-weight: 600;
}
.queue-mine[hidden] { display: none; }

.queue-msg { margin-bottom: 14px; padding: 11px 16px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; }
.queue-msg[hidden] { display: none; }
.queue-msg.err { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); color: #ffb3bd; }
.queue-msg.ok { background: rgba(0, 217, 192, 0.1); border: 1px solid rgba(0, 217, 192, 0.35); color: #9af0e6; }

.queue-list { list-style: none; display: grid; gap: 10px; }
.queue-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-border);
  transition: border-color 0.2s;
}
.queue-item:hover { border-color: color-mix(in srgb, var(--sec) 50%, transparent); }
.queue-item.first { border-color: var(--sec); background: color-mix(in srgb, var(--sec) 10%, transparent); }
.q-rank {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--card); font-weight: 800; font-size: 0.9rem; color: var(--sec);
}
.queue-item.first .q-rank { background: var(--sec); color: #fff; }
.q-user { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.q-user a { font-weight: 700; }
.q-user a:hover { text-decoration: underline; }
.q-plat {
  font-size: 0.72rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--card-border); padding: 2px 8px; border-radius: 999px;
}
.q-tempo {
  font-size: 0.74rem; font-weight: 800; color: var(--sec);
  border: 1px solid color-mix(in srgb, var(--sec) 40%, transparent);
  background: color-mix(in srgb, var(--sec) 14%, transparent);
  padding: 2px 9px; border-radius: 999px;
}
.q-remove {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(16, 185, 129, 0.35); background: transparent; color: #f87171;
  font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.q-remove svg { width: 15px; height: 15px; }
.q-remove:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Mod: oyuncu için 3 aksiyon (Beni Yendi / Yenmedi / Sil) */
.q-actions { display: inline-flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.q-act {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--card-border); background: transparent; color: var(--muted);
  font: inherit; font-size: 0.78rem; font-weight: 700;
  padding: 6px 10px; border-radius: 9px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.q-act svg { width: 14px; height: 14px; }
.q-act:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.q-act.win { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 42%, transparent); }
.q-act.win:hover { background: var(--gold); color: #03150d; border-color: var(--gold); }
.q-act.del { color: #f87171; border-color: rgba(16, 185, 129, 0.35); }
.q-act.del:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Beni Yenenler listesi */
.beaten { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--card-border); }
.beaten[hidden] { display: none; }
.beaten-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.beaten-title { font-weight: 800; font-size: 1.05rem; }
.beaten-list { display: flex; flex-wrap: wrap; gap: 10px; }
.beaten-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  font-weight: 700; font-size: 0.9rem;
}
.beaten-item a:hover { text-decoration: underline; }
.beaten-item .bi-tempo { font-size: 0.72rem; color: var(--gold); font-weight: 800; }

.queue-empty { color: var(--muted); padding: 18px 4px; text-align: center; }
.queue-empty[hidden] { display: none; }

.mod-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--card-border);
}
.mod-bar[hidden] { display: none; }
.mod-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; color: var(--sec);
}

/* ============================================================== Linkler */
.link-add { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.link-add[hidden] { display: none; }
.link-add input {
  flex: 1 1 200px; min-width: 0;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 11px 16px; color: var(--text); font: inherit; font-size: 0.96rem;
}
.link-add input:focus { outline: none; border-color: var(--sec); }
#linkAddBtn { white-space: nowrap; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.link-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--sec) 22%, var(--card-border));
  transition: transform 0.18s, border-color 0.2s, box-shadow 0.2s;
}
.link-card:hover {
  transform: translateY(-3px); border-color: var(--sec);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--sec) 18%, transparent);
}
.link-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: color-mix(in srgb, var(--sec) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec) 35%, transparent);
  color: var(--sec);
}
.link-ico svg { width: 20px; height: 20px; }
.link-main { flex: 1; min-width: 0; }
.link-main a { font-weight: 700; font-size: 1rem; display: block; }
.link-main a:hover { text-decoration: underline; }
.link-url {
  color: var(--muted); font-size: 0.8rem; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.link-go { color: var(--sec); flex-shrink: 0; display: inline-flex; }
.link-go svg { width: 18px; height: 18px; }
.link-remove {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid rgba(16, 185, 129, 0.35); background: transparent; color: #f87171;
  font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 6px 11px; border-radius: 10px; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.link-remove svg { width: 14px; height: 14px; }
.link-remove:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================== Footer */
.footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
}
.footer-credit { margin-top: 8px; font-size: 0.82rem; }
.footer-credit span {
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #ecfdf5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================== Responsive */
@media (max-width: 720px) {
  .live-spotlight { flex-direction: column; align-items: stretch; text-align: left; }
  .live-thumb-wrap { width: 100%; max-width: 100%; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 30px; }
  .hero-avatar { width: 88px; height: 88px; font-size: 2.2rem; border-radius: 24px; }
  .panel { padding: 20px; border-radius: 20px; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .block-head h2 { font-size: 1.4rem; }
}
