/* ==========================================================================
   ESOGÜ E-SPOR KULÜBÜ — Yıl Boyu Dönemsel & Milli Gün Tema Sistemi
   Ana site (index.html) ve Dijital Player Pass (pass.html) ortak stil dosyası
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Logo Kapsayıcısı & Tematik SVG Amblemler (Ana Sayfa)
   -------------------------------------------------------------------------- */
.hero-logo-wrap {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(390px, 100%);
  transition: transform 0.5s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}
.hero-logo-wrap .hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.65));
  transition: transform 0.5s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}
.hero-logo-wrap:hover .hero-logo {
  transform: scale(1.02);
}

.santa-hat {
  display: none;
  position: absolute;
  top: -16px;
  right: 20px;
  width: 39%;
  height: auto;
  z-index: 3;
  pointer-events: none;
  transform: rotate(22deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}
body.theme-winter .santa-hat,
body.theme-national .hero-emblem-tr,
body.theme-sakura .hero-emblem-sakura,
body.theme-autumn .hero-emblem-autumn,
body.theme-halloween .hero-emblem-halloween {
  display: block;
}

.hero-emblem {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}
.hero-emblem-tr {
  top: -20px;
  right: 12px;
  width: 36%;
  transform: rotate(10deg);
  animation: tr-flag-wave 4.2s ease-in-out infinite alternate;
}
@keyframes tr-flag-wave {
  0% { transform: rotate(9deg) skewY(0deg); }
  100% { transform: rotate(13deg) skewY(-2.5deg); }
}
.hero-emblem-sakura {
  top: -16px;
  right: 8px;
  width: 40%;
  transform: rotate(10deg);
  animation: sakura-sway 5s ease-in-out infinite alternate;
}
@keyframes sakura-sway {
  0% { transform: rotate(8deg); }
  100% { transform: rotate(14deg); }
}
.hero-emblem-halloween {
  top: -26px;
  right: 12px;
  width: 42%;
  transform: rotate(20deg);
}
.hero-emblem-autumn {
  top: -16px;
  right: 8px;
  width: 40%;
  transform: rotate(12deg);
  animation: sakura-sway 4.8s ease-in-out infinite alternate;
}

.santa-hat.bounce,
.hero-emblem.bounce {
  animation: santa-bounce 0.55s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}
@keyframes santa-bounce {
  0% { transform: rotate(22deg) scale(1); }
  35% { transform: rotate(12deg) translateY(-10px) scale(1.1); }
  70% { transform: rotate(26deg) translateY(2px) scale(0.97); }
  100% { transform: rotate(22deg) scale(1); }
}

body.theme-winter .hero-logo-wrap,
body.theme-national .hero-logo-wrap,
body.theme-sakura .hero-logo-wrap,
body.theme-autumn .hero-logo-wrap,
body.theme-halloween .hero-logo-wrap {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   2. Footer Kar Tepesi (Sadece Kış Temasında)
   -------------------------------------------------------------------------- */
footer {
  position: relative;
}
.footer-snow {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 2;
}
body.theme-winter .footer-snow {
  display: block;
}
body.theme-winter footer {
  border-top-color: transparent;
}

/* --------------------------------------------------------------------------
   3. Dinamik Renk Paletleri (Ana Site + Player Pass Ortak)
   -------------------------------------------------------------------------- */

/* 1) Kış / Yılbaşı: Buz Gecesi Laciverti + Sıcak Altın */
body.theme-winter {
  --bg: #070d1c;
  --bg-subtle: #0b1429;
  --teal: #7dd3fc;
  --orange: #F4A261;
  --card-bg: linear-gradient(165deg, rgba(18, 48, 98, 0.44) 0%, rgba(8, 15, 34, 0.96) 100%);
  --card-border: rgba(125, 211, 252, 0.24);
}
body.theme-winter .nav { background: rgba(7, 13, 28, 0.88); }
body.theme-winter .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(147, 210, 255, 0.4) 1.5px, transparent 1.5px),
    linear-gradient(rgba(147, 210, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 210, 255, 0.085) 1px, transparent 1px);
}
body.theme-winter .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(125, 211, 252, 0.18), transparent 55%);
}

/* 2) Milli Bayramlar: Asil Al-Beyaz Gece Teması */
body.theme-national {
  --bg: #12070b;
  --bg-subtle: #1c0b11;
  --navy: #5c101b;
  --teal: #ff4d5a;
  --orange: #E30A17;
  --card-bg: linear-gradient(165deg, rgba(138, 14, 28, 0.34) 0%, rgba(20, 8, 13, 0.96) 100%);
  --card-border: rgba(255, 255, 255, 0.16);
  --card-border-hover: rgba(227, 10, 23, 0.65);
}
body.theme-national .nav { background: rgba(18, 7, 11, 0.9); }
body.theme-national .scroll-progress-bar {
  background: linear-gradient(90deg, #E30A17, #ffffff);
  box-shadow: 0 0 12px rgba(227, 10, 23, 0.65);
}
body.theme-national .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(255, 90, 102, 0.34) 1.5px, transparent 1.5px),
    linear-gradient(rgba(227, 10, 23, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 10, 23, 0.085) 1px, transparent 1px);
}
body.theme-national .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(227, 10, 23, 0.2), transparent 55%);
}
body.theme-national .btn-3d.primary {
  --btn-color: #E30A17;
  --btn-shadow: #7f060d;
  --btn-border: #990810;
  --btn-text: #ffffff;
}
body.theme-national .btn-3d.secondary {
  --btn-color: #2c1018;
  --btn-shadow: #17070c;
  --btn-border: rgba(255, 255, 255, 0.45);
  --btn-text: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
body.theme-national .btn-3d.secondary:hover .btn-top {
  background: #3d1622;
  border-color: #ffffff;
}
body.theme-national .nav nav .nav-pass {
  color: #ffd7da;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(227, 10, 23, 0.16);
}
body.theme-national .nav nav .nav-pass:hover {
  background: #E30A17;
  border-color: #ffffff;
  color: #ffffff;
}
body.theme-national .footer-pass-link {
  color: #ffd7da;
  border-color: rgba(255, 110, 120, 0.38);
  background: rgba(227, 10, 23, 0.14);
}
body.theme-national .footer-pass-link:hover {
  background: rgba(227, 10, 23, 0.32);
  border-color: #ff6b76;
  color: #ffffff;
}
body.theme-national .tag,
body.theme-national .nav nav .nav-cta:hover,
body.theme-national .back-to-top:hover,
body.theme-national .arrow:hover,
body.theme-national .cal-nav:hover,
body.theme-national .cal-day.is-selected {
  color: #ffffff !important;
}
body.theme-national .tile {
  background: rgba(227, 10, 23, 0.16);
  border-color: rgba(255, 110, 120, 0.36);
}
body.theme-national .tile .icon { color: #ff6b76; }
body.theme-national footer { background: #0a0406; }

/* 3) Bahar / Kiraz Çiçeği (Sakura): Alacakaranlık Mürdüm + Pembe */
body.theme-sakura {
  --bg: #110917;
  --bg-subtle: #1a0e24;
  --navy: #3b1d4a;
  --teal: #f9a8d4;
  --orange: #f472b6;
  --card-bg: linear-gradient(165deg, rgba(96, 32, 86, 0.38) 0%, rgba(18, 10, 26, 0.96) 100%);
  --card-border: rgba(249, 168, 212, 0.24);
  --card-border-hover: rgba(244, 114, 182, 0.55);
}
body.theme-sakura .nav { background: rgba(17, 9, 23, 0.9); }
body.theme-sakura .scroll-progress-bar {
  background: linear-gradient(90deg, #f472b6, #fde68a);
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.6);
}
body.theme-sakura .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(249, 168, 212, 0.38) 1.5px, transparent 1.5px),
    linear-gradient(rgba(249, 168, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 168, 212, 0.08) 1px, transparent 1px);
}
body.theme-sakura .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(244, 114, 182, 0.18), transparent 55%);
}
body.theme-sakura .btn-3d.primary {
  --btn-color: #f472b6;
  --btn-shadow: #831843;
  --btn-border: #9d174d;
  --btn-text: #110917;
}
body.theme-sakura .btn-3d.secondary {
  --btn-color: #2e153b;
  --btn-shadow: #17091f;
  --btn-border: rgba(249, 168, 212, 0.45);
  --btn-text: #fce7f3;
  box-shadow: 0 0 0 1px rgba(249, 168, 212, 0.35);
}
body.theme-sakura .btn-3d.secondary:hover .btn-top {
  background: #3f1d50;
  border-color: #f9a8d4;
}
body.theme-sakura .nav nav .nav-pass,
body.theme-sakura .footer-pass-link {
  border-color: rgba(249, 168, 212, 0.4);
  background: rgba(244, 114, 182, 0.1);
}
body.theme-sakura .tile {
  background: rgba(244, 114, 182, 0.14);
  border-color: rgba(249, 168, 212, 0.32);
}
body.theme-sakura footer { background: #0a050e; }

/* 4) Cadılar Bayramı: Gece Moru + Balkabağı Turuncusu */
body.theme-halloween {
  --bg: #0c0716;
  --bg-subtle: #150c26;
  --navy: #2e1065;
  --teal: #a78bfa;
  --orange: #ff7a18;
  --card-bg: linear-gradient(165deg, rgba(64, 20, 118, 0.44) 0%, rgba(13, 8, 24, 0.96) 100%);
  --card-border: rgba(167, 139, 250, 0.26);
  --card-border-hover: rgba(255, 122, 24, 0.58);
}
body.theme-halloween .nav { background: rgba(12, 7, 22, 0.9); }
body.theme-halloween .scroll-progress-bar {
  background: linear-gradient(90deg, #ff7a18, #a78bfa);
  box-shadow: 0 0 12px rgba(255, 122, 24, 0.65);
}
body.theme-halloween .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(167, 139, 250, 0.38) 1.5px, transparent 1.5px),
    linear-gradient(rgba(167, 139, 250, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.085) 1px, transparent 1px);
}
body.theme-halloween .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(167, 139, 250, 0.2), transparent 55%);
}
body.theme-halloween .btn-3d.primary {
  --btn-color: #ff7a18;
  --btn-shadow: #9a3412;
  --btn-border: #9a3412;
  --btn-text: #0c0716;
}
body.theme-halloween .btn-3d.secondary {
  --btn-color: #241046;
  --btn-shadow: #120726;
  --btn-border: rgba(167, 139, 250, 0.5);
  --btn-text: #ede9fe;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4);
}
body.theme-halloween .btn-3d.secondary:hover .btn-top {
  background: #331863;
  border-color: #ff7a18;
}
body.theme-halloween .nav nav .nav-pass,
body.theme-halloween .footer-pass-link {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(167, 139, 250, 0.1);
}
body.theme-halloween footer { background: #07040e; }

/* 5) Sonbahar: Kestane Gece + Kehribar & Bakır Çınar Paleti */
body.theme-autumn {
  --bg: #120c08;
  --bg-subtle: #1c120b;
  --navy: #4a2410;
  --teal: #f59e0b;
  --orange: #e06d2c;
  --card-bg: linear-gradient(165deg, rgba(120, 53, 15, 0.36) 0%, rgba(20, 13, 9, 0.96) 100%);
  --card-border: rgba(245, 158, 11, 0.26);
  --card-border-hover: rgba(224, 109, 44, 0.6);
}
body.theme-autumn .nav { background: rgba(18, 12, 8, 0.9); }
body.theme-autumn .scroll-progress-bar {
  background: linear-gradient(90deg, #e06d2c, #fbbf24);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
body.theme-autumn .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(245, 158, 11, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(rgba(224, 109, 44, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 109, 44, 0.085) 1px, transparent 1px);
}
body.theme-autumn .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(245, 158, 11, 0.18), transparent 55%);
}
body.theme-autumn .btn-3d.primary {
  --btn-color: #e06d2c;
  --btn-shadow: #7c2d12;
  --btn-border: #9a3412;
  --btn-text: #120c08;
}
body.theme-autumn .btn-3d.secondary {
  --btn-color: #2e190c;
  --btn-shadow: #170c06;
  --btn-border: rgba(245, 158, 11, 0.45);
  --btn-text: #fef3c7;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}
body.theme-autumn .btn-3d.secondary:hover .btn-top {
  background: #402312;
  border-color: #f59e0b;
}
body.theme-autumn .nav nav .nav-pass,
body.theme-autumn .footer-pass-link {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(224, 109, 44, 0.12);
}
body.theme-autumn .tile {
  background: rgba(224, 109, 44, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
}
body.theme-autumn footer { background: #0a0705; }

/* 6) Büyük Turnuva Modu: Şampiyonluk Obsidyen + Altın */
body.theme-tournament {
  --bg: #0c0a07;
  --bg-subtle: #16120c;
  --teal: #fbbf24;
  --orange: #f59e0b;
  --card-bg: linear-gradient(165deg, rgba(120, 82, 16, 0.3) 0%, rgba(16, 13, 9, 0.96) 100%);
  --card-border: rgba(251, 191, 36, 0.28);
  --card-border-hover: rgba(254, 240, 138, 0.6);
}
body.theme-tournament .nav { background: rgba(12, 10, 7, 0.9); }
body.theme-tournament .bg-grid-parallax {
  background-image:
    radial-gradient(rgba(251, 191, 36, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(rgba(251, 191, 36, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.08) 1px, transparent 1px);
}
body.theme-tournament .spotlight-card::before {
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(251, 191, 36, 0.18), transparent 55%);
}
body.theme-tournament .btn-3d.primary {
  --btn-color: #fbbf24;
  --btn-shadow: #92400e;
  --btn-border: #92400e;
  --btn-text: #0c0a07;
}
body.theme-tournament .btn-3d.secondary {
  --btn-color: #241c10;
  --btn-shadow: #140f08;
  --btn-border: rgba(251, 191, 36, 0.45);
  --btn-text: #fef3c7;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35);
}
body.theme-tournament .nav nav .nav-pass,
body.theme-tournament .footer-pass-link {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.1);
}
body.theme-tournament footer { background: #070604; }

/* 7) Hoş Geldin Kampüs & Final Haftası İnce Ton Ayarları */
body.theme-campus {
  --teal: #5eead4;
  --orange: #fb923c;
}
body.theme-finals {
  --bg: #0b0d17;
  --teal: #8ec5c8;
  --orange: #e6a96b;
}

/* Mobil menü arka planı aktif tema ile uyumlu */
@media (max-width: 860px) {
  body.has-season .nav nav {
    background: var(--bg);
  }
}

/* --------------------------------------------------------------------------
   4. Canvas Katmanı, 10 Kasım Monokrom & Üst Atmosfer Parıltısı
   -------------------------------------------------------------------------- */
.season-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}
/* Player Pass sayfasında QR kodun ve kart metinlerinin okunurluğunu korumak için kartın arkasında kalır */
body.pass-page .season-canvas {
  z-index: 3;
}

/* 10 Kasım: Saygın Monokrom Anma Görünümü */
body.theme-nov10 header,
body.theme-nov10 main,
body.theme-nov10 footer {
  filter: grayscale(100%) contrast(1.04);
}
body.theme-nov10 .scroll-progress-bar {
  background: linear-gradient(90deg, #e5e7eb, #9ca3af);
  box-shadow: none;
}

/* Üst Atmosfer Parıltısı (Tüm Aktif Temalar) */
body.has-season::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  pointer-events: none;
  z-index: 0;
}
body.theme-winter::before {
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(125, 211, 252, 0.14), rgba(104, 182, 186, 0.05) 55%, transparent 80%);
}
body.theme-national::before {
  background: radial-gradient(ellipse 72% 55% at 50% -10%, rgba(227, 10, 23, 0.16), rgba(255, 255, 255, 0.04) 55%, transparent 80%);
}
body.theme-sakura::before {
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(249, 168, 212, 0.14), rgba(104, 182, 186, 0.05) 55%, transparent 80%);
}
body.theme-autumn::before {
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(234, 88, 12, 0.17), rgba(245, 158, 11, 0.06) 55%, transparent 80%);
}
body.theme-campus::before {
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(244, 162, 97, 0.15), rgba(104, 182, 186, 0.07) 55%, transparent 80%);
}
body.theme-halloween::before {
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(244, 162, 97, 0.14), rgba(167, 139, 250, 0.07) 55%, transparent 80%);
}
body.theme-finals::before {
  background: radial-gradient(ellipse 68% 50% at 50% -10%, rgba(217, 165, 102, 0.1), transparent 78%);
}
body.theme-tournament::before {
  background: radial-gradient(ellipse 72% 58% at 50% -10%, rgba(251, 191, 36, 0.16), rgba(244, 162, 97, 0.06) 55%, transparent 80%);
}

/* --------------------------------------------------------------------------
   5. Kart Üst Kenarı Tematik Parıltıları (.spotlight-card + Player Pass .panel-box)
   -------------------------------------------------------------------------- */
body.pass-page .panel-box {
  position: relative;
  overflow: hidden;
}

body.theme-winter .spotlight-card,
body.theme-winter .panel-box {
  border-color: rgba(165, 224, 255, 0.34);
  box-shadow:
    inset 0 2px 0 0 rgba(224, 245, 255, 0.55),
    inset 0 22px 32px -18px rgba(125, 211, 252, 0.42);
}
body.theme-winter .spotlight-card::after,
body.theme-national .spotlight-card::after,
body.theme-sakura .spotlight-card::after,
body.theme-autumn .spotlight-card::after,
body.theme-halloween .spotlight-card::after,
body.theme-tournament .spotlight-card::after,
body.theme-winter .panel-box::after,
body.theme-national .panel-box::after,
body.theme-sakura .panel-box::after,
body.theme-autumn .panel-box::after,
body.theme-halloween .panel-box::after,
body.theme-tournament .panel-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 3;
}
body.theme-winter .spotlight-card::after,
body.theme-winter .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(165, 224, 255, 0.65) 22%, rgba(240, 249, 255, 0.95) 50%, rgba(165, 224, 255, 0.65) 78%, transparent 96%);
  box-shadow: 0 0 12px rgba(165, 224, 255, 0.6);
}
body.theme-winter .spotlight-card:hover {
  border-color: rgba(244, 162, 97, 0.5);
  box-shadow:
    inset 0 2px 0 0 rgba(240, 249, 255, 0.7),
    inset 0 24px 36px -16px rgba(125, 211, 252, 0.48),
    0 16px 36px rgba(0, 0, 0, 0.45);
}
body.theme-national .spotlight-card,
body.theme-national .panel-box {
  border-color: rgba(227, 10, 23, 0.42);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 255, 255, 0.35),
    inset 0 22px 34px -18px rgba(227, 10, 23, 0.45);
}
body.theme-national .spotlight-card::after,
body.theme-national .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(227, 10, 23, 0.9) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(227, 10, 23, 0.9) 76%, transparent 96%);
  box-shadow: 0 0 14px rgba(227, 10, 23, 0.55);
}
body.theme-sakura .spotlight-card,
body.theme-sakura .panel-box {
  border-color: rgba(249, 168, 212, 0.36);
  box-shadow:
    inset 0 2px 0 0 rgba(255, 228, 242, 0.5),
    inset 0 22px 34px -18px rgba(244, 114, 182, 0.38);
}
body.theme-sakura .spotlight-card::after,
body.theme-sakura .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(244, 114, 182, 0.75) 24%, rgba(255, 241, 248, 0.96) 50%, rgba(244, 114, 182, 0.75) 76%, transparent 96%);
  box-shadow: 0 0 12px rgba(249, 168, 212, 0.55);
}
body.theme-autumn .spotlight-card,
body.theme-autumn .panel-box {
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow:
    inset 0 2px 0 0 rgba(254, 243, 199, 0.45),
    inset 0 22px 34px -18px rgba(234, 88, 12, 0.42);
}
body.theme-autumn .spotlight-card::after,
body.theme-autumn .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(224, 109, 44, 0.85) 24%, rgba(251, 191, 36, 0.96) 50%, rgba(224, 109, 44, 0.85) 76%, transparent 96%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}
body.theme-halloween .spotlight-card,
body.theme-halloween .panel-box {
  border-color: rgba(167, 139, 250, 0.38);
  box-shadow:
    inset 0 2px 0 0 rgba(244, 162, 97, 0.45),
    inset 0 24px 34px -18px rgba(139, 92, 246, 0.44);
}
body.theme-halloween .spotlight-card::after,
body.theme-halloween .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(244, 162, 97, 0.85) 26%, rgba(167, 139, 250, 0.95) 50%, rgba(244, 162, 97, 0.85) 74%, transparent 96%);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
}
body.theme-tournament .spotlight-card,
body.theme-tournament .panel-box {
  border-color: rgba(251, 191, 36, 0.36);
  box-shadow: inset 0 18px 28px -20px rgba(251, 191, 36, 0.28);
}
body.theme-tournament .spotlight-card::after,
body.theme-tournament .panel-box::after {
  background: linear-gradient(90deg, transparent 4%, rgba(251, 191, 36, 0.75) 25%, rgba(254, 243, 199, 0.96) 50%, rgba(251, 191, 36, 0.75) 75%, transparent 96%);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

/* --------------------------------------------------------------------------
   6. Navbar & Player Pass Topbar Altı Kavisli Süsleme Şeridi
   -------------------------------------------------------------------------- */
.season-flag {
  position: relative;
  width: 22px;
  height: 15px;
  margin-top: var(--bulb-drop, 7px);
  filter: drop-shadow(0 3px 8px rgba(227, 10, 23, 0.55));
  transform-origin: top center;
  animation: pennant-sway var(--bulb-dur, 3.8s) ease-in-out var(--bulb-delay, 0s) infinite alternate;
}
.season-blossom {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: var(--bulb-drop, 7px);
  filter: drop-shadow(0 0 8px rgba(249, 168, 212, 0.65));
  transform-origin: top center;
  animation: pennant-sway var(--bulb-dur, 4.2s) ease-in-out var(--bulb-delay, 0s) infinite alternate;
}
@keyframes pennant-sway {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(6deg); }
}

/* Milli Bayramlar İçin Navbar & Pass Topbar Altı İnce Al-Beyaz Şerit */
body.theme-national .nav::after,
body.theme-national .pass-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E30A17 22%, #ffffff 50%, #E30A17 78%, transparent);
  pointer-events: none;
  z-index: 24;
}

.season-lights {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  pointer-events: none;
  overflow: visible;
  padding: 0 12px;
}
.season-lights-wire {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 16px;
  overflow: visible;
}
.season-bulb {
  position: relative;
  width: 6px;
  height: 9px;
  margin-top: var(--bulb-drop, 7px);
  border-radius: 50% 50% 60% 60%;
  background: var(--bulb-color, #F4A261);
  box-shadow:
    0 0 10px 2px var(--bulb-glow, rgba(244, 162, 97, 0.65)),
    0 0 22px 4px var(--bulb-glow-soft, rgba(244, 162, 97, 0.24));
  opacity: 0.85;
  animation: season-breathe var(--bulb-dur, 4s) ease-in-out var(--bulb-delay, 0s) infinite alternate;
}
.season-bulb::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 3px;
  border-radius: 1px;
  background: rgba(220, 238, 255, 0.48);
}
@keyframes season-breathe {
  0% { opacity: 0.45; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.08); }
}

/* --------------------------------------------------------------------------
   7. Dönem / Bayram Rozeti (.season-badge)
   -------------------------------------------------------------------------- */
.season-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  transition: transform .2s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), border-color .2s ease, box-shadow .2s ease;
}

body.theme-winter .season-badge {
  color: #dcefff;
  background: linear-gradient(135deg, rgba(104, 182, 186, 0.16), rgba(147, 197, 253, 0.1));
  border: 1px solid rgba(186, 230, 253, 0.34);
  box-shadow: 0 4px 18px rgba(104, 182, 186, 0.14);
  cursor: pointer;
  user-select: none;
}
body.theme-winter .season-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 162, 97, 0.65);
  box-shadow: 0 6px 22px rgba(244, 162, 97, 0.22);
}
body.theme-winter .season-badge .season-accent { color: var(--orange); }

body.theme-national .season-badge,
body.theme-sakura .season-badge,
body.theme-autumn .season-badge,
body.theme-halloween .season-badge {
  cursor: pointer;
  user-select: none;
}

body.theme-national .season-badge {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(227, 10, 23, 0.28), rgba(227, 10, 23, 0.1));
  border: 1px solid rgba(255, 110, 120, 0.48);
  box-shadow: 0 4px 18px rgba(227, 10, 23, 0.18);
}
body.theme-national .season-badge .season-accent { color: #fecaca; }
body.theme-national .season-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 22px rgba(227, 10, 23, 0.35);
}

body.theme-nov10 .season-badge {
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
body.theme-nov10 .season-badge .season-accent { color: #d1d5db; }

body.theme-sakura .season-badge {
  color: #fce7f3;
  background: linear-gradient(135deg, rgba(249, 168, 212, 0.18), rgba(104, 182, 186, 0.12));
  border: 1px solid rgba(249, 168, 212, 0.4);
}
body.theme-sakura .season-badge .season-accent { color: #f9a8d4; }
body.theme-sakura .season-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 168, 212, 0.75);
  box-shadow: 0 6px 22px rgba(244, 114, 182, 0.28);
}

body.theme-autumn .season-badge {
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(224, 109, 44, 0.24), rgba(245, 158, 11, 0.14));
  border: 1px solid rgba(245, 158, 11, 0.45);
}
body.theme-autumn .season-badge .season-accent { color: #fbbf24; }
body.theme-autumn .season-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 6px 22px rgba(224, 109, 44, 0.3);
}

body.theme-campus .season-badge {
  color: #fff3e6;
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.2), rgba(104, 182, 186, 0.14));
  border: 1px solid rgba(244, 162, 97, 0.45);
}
body.theme-campus .season-badge .season-accent { color: var(--teal); }

body.theme-halloween .season-badge {
  color: #fde68a;
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.16), rgba(167, 139, 250, 0.14));
  border: 1px solid rgba(244, 162, 97, 0.38);
}
body.theme-halloween .season-badge .season-accent { color: #c4b5fd; }
body.theme-halloween .season-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 162, 97, 0.75);
  box-shadow: 0 6px 22px rgba(167, 139, 250, 0.32);
}

body.theme-finals .season-badge {
  color: #f5e6d3;
  background: rgba(217, 165, 102, 0.12);
  border: 1px solid rgba(217, 165, 102, 0.34);
}
body.theme-finals .season-badge .season-accent { color: var(--orange); }

body.theme-tournament .season-badge {
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(244, 162, 97, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.2);
}
body.theme-tournament .season-badge .season-accent { color: #fbbf24; }

/* --------------------------------------------------------------------------
   8. Okunaklı 4 Kutulu Canlı Yılbaşı Geri Sayım Kartı (Ana Sayfa - Kış)
   -------------------------------------------------------------------------- */
.countdown-card {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(13, 18, 38, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(165, 224, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(224, 245, 255, 0.4),
    0 12px 28px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  user-select: none;
  transition: transform .2s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), border-color .2s ease;
}
.countdown-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 162, 97, 0.55);
}
.countdown-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfeaff;
}
.countdown-units {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cd-box {
  min-width: 60px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(25, 37, 110, 0.5);
  border: 1px solid rgba(104, 182, 186, 0.28);
  text-align: center;
}
.cd-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.cd-sep {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.85;
  padding-bottom: 12px;
}
.countdown-done {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   9. Player Pass (/pass) Özel Tema Uyumu
      (3 kademeli kart kimliği, AKTİF/PASİF doğrulama şeridi ve QR kontrastı korunur)
   -------------------------------------------------------------------------- */
body.pass-page.has-season .pass-main {
  padding-top: 26px;
}
body.pass-page .pass-topbar .season-lights {
  left: 14px;
  right: 14px;
  top: calc(100% - 6px);
}
body.pass-page .pass-season-badge {
  margin-bottom: 2px;
  font-size: 0.72rem;
  padding: 5px 13px;
  justify-content: center;
  text-align: center;
  max-width: 430px;
}

/* Player Pass Panel Arka Planları (Sorgu / Yükleniyor / Hata kutuları) */
body.pass-page.has-season .panel-box {
  background: var(--card-bg, linear-gradient(165deg, rgba(25, 37, 110, 0.44) 0%, rgba(12, 16, 36, 0.96) 100%));
}

/* Player Pass Üst Etiket, Giriş Alanları ve Buton Uyumu */
body.pass-page.theme-winter .topbar-tag {
  border-color: rgba(125, 211, 252, 0.36);
  background: rgba(125, 211, 252, 0.12);
}

body.pass-page.theme-national .topbar-tag {
  color: #ffd7da;
  border-color: rgba(255, 110, 120, 0.42);
  background: rgba(227, 10, 23, 0.18);
}
body.pass-page.theme-national .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #f21b28 0%, #E30A17 60%, #b80712 100%);
  box-shadow: 0 5px 0 #7f060d, 0 12px 26px rgba(227, 10, 23, 0.34);
}
body.pass-page.theme-national .btn-primary:active {
  box-shadow: 0 2px 0 #7f060d, 0 6px 14px rgba(227, 10, 23, 0.24);
}
body.pass-page.theme-national .lookup-input {
  border-color: rgba(255, 110, 120, 0.34);
  background: rgba(18, 7, 11, 0.85);
}
body.pass-page.theme-national .lookup-input:focus {
  border-color: #E30A17;
  box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.24);
}
body.pass-page.theme-national .btn-ghost {
  border-color: rgba(255, 110, 120, 0.32);
  background: rgba(28, 11, 17, 0.86);
}
body.pass-page.theme-national .btn-ghost:hover {
  border-color: #ff4d5a;
  background: rgba(138, 14, 28, 0.42);
}
body.pass-page.theme-national .join-promo a { color: #ff8a93; }
body.pass-page.theme-national .join-promo a:hover { color: #ffffff; }

body.pass-page.theme-sakura .topbar-tag {
  border-color: rgba(249, 168, 212, 0.4);
  background: rgba(244, 114, 182, 0.14);
}
body.pass-page.theme-sakura .btn-primary {
  color: #110917;
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 60%, #db2777 100%);
  box-shadow: 0 5px 0 #831843, 0 12px 26px rgba(244, 114, 182, 0.3);
}
body.pass-page.theme-sakura .btn-primary:active {
  box-shadow: 0 2px 0 #831843, 0 6px 14px rgba(244, 114, 182, 0.22);
}
body.pass-page.theme-sakura .lookup-input {
  border-color: rgba(249, 168, 212, 0.34);
  background: rgba(17, 9, 23, 0.85);
}
body.pass-page.theme-sakura .lookup-input:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.24);
}
body.pass-page.theme-sakura .btn-ghost {
  border-color: rgba(249, 168, 212, 0.3);
  background: rgba(26, 14, 36, 0.86);
}
body.pass-page.theme-sakura .btn-ghost:hover {
  border-color: #f9a8d4;
  background: rgba(96, 32, 86, 0.45);
}

body.pass-page.theme-autumn .topbar-tag {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(224, 109, 44, 0.15);
}
body.pass-page.theme-autumn .btn-primary {
  color: #120c08;
  background: linear-gradient(135deg, #fbbf24 0%, #e06d2c 62%, #c2410c 100%);
  box-shadow: 0 5px 0 #7c2d12, 0 12px 26px rgba(224, 109, 44, 0.32);
}
body.pass-page.theme-autumn .btn-primary:active {
  box-shadow: 0 2px 0 #7c2d12, 0 6px 14px rgba(224, 109, 44, 0.22);
}
body.pass-page.theme-autumn .lookup-input {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(18, 12, 8, 0.86);
}
body.pass-page.theme-autumn .lookup-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.24);
}
body.pass-page.theme-autumn .btn-ghost {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(28, 18, 11, 0.86);
}
body.pass-page.theme-autumn .btn-ghost:hover {
  border-color: #f59e0b;
  background: rgba(120, 53, 15, 0.45);
}

body.pass-page.theme-halloween .topbar-tag {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(139, 92, 246, 0.15);
}
body.pass-page.theme-halloween .btn-primary {
  color: #0c0716;
  background: linear-gradient(135deg, #fb923c 0%, #ff7a18 60%, #ea580c 100%);
  box-shadow: 0 5px 0 #9a3412, 0 12px 26px rgba(255, 122, 24, 0.32);
}
body.pass-page.theme-halloween .btn-primary:active {
  box-shadow: 0 2px 0 #9a3412, 0 6px 14px rgba(255, 122, 24, 0.22);
}
body.pass-page.theme-halloween .lookup-input {
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(12, 7, 22, 0.86);
}
body.pass-page.theme-halloween .lookup-input:focus {
  border-color: #ff7a18;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.24);
}
body.pass-page.theme-halloween .btn-ghost {
  border-color: rgba(167, 139, 250, 0.32);
  background: rgba(21, 12, 38, 0.86);
}
body.pass-page.theme-halloween .btn-ghost:hover {
  border-color: #a78bfa;
  background: rgba(64, 20, 118, 0.45);
}

body.pass-page.theme-tournament .topbar-tag {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.14);
}
body.pass-page.theme-tournament .btn-primary {
  color: #0c0a07;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 60%, #d97706 100%);
  box-shadow: 0 5px 0 #92400e, 0 12px 26px rgba(251, 191, 36, 0.3);
}
body.pass-page.theme-tournament .lookup-input {
  border-color: rgba(251, 191, 36, 0.34);
  background: rgba(12, 10, 7, 0.86);
}
body.pass-page.theme-tournament .btn-ghost {
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(22, 18, 12, 0.86);
}

/* Player Pass Sayfası Toast Bildirimi */
body.pass-page .toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(13, 18, 38, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(104, 182, 186, 0.45);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100vw - 32px);
}
body.pass-page .toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.pass-page .toast .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* --------------------------------------------------------------------------
   10. Duyarlı (Responsive) & Azaltılmış Hareket Ayarları
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-logo-wrap { order: -1; width: min(240px, 60vw); }
  .santa-hat { top: -12px; right: 12px; }
  .hero-emblem-tr { top: -14px; right: 6px; }
  .hero-emblem-sakura { top: -12px; right: 4px; }
  .hero-emblem-autumn { top: -12px; right: 4px; }
  .hero-emblem-halloween { top: -18px; right: 6px; }
  .countdown-card { margin-inline: auto; }
}
@media (max-width: 480px) {
  .countdown-card { width: 100%; padding: 12px; }
  .countdown-units { justify-content: center; gap: 5px; }
  .cd-box { min-width: 52px; padding: 7px 6px; }
  .cd-val { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .season-bulb,
  .season-flag,
  .season-blossom,
  .hero-emblem-tr,
  .hero-emblem-sakura,
  .hero-emblem-autumn {
    animation: none;
  }
  .season-bulb { opacity: 0.65; }
}
