/* ==========================================================================
   CASINO ARENA ULTRA - LUXURY CYBER-CASINO DESIGN SYSTEM (V5 PRO)
   ========================================================================== */

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

:root {
  /* Core Color Palette */
  --bg-primary: #06070a;
  --bg-surface-1: #0c0e14;
  --bg-surface-2: #12151f;
  --bg-surface-3: #181c2a;
  --bg-glass: rgba(14, 17, 26, 0.72);
  --bg-glass-card: rgba(18, 22, 33, 0.65);
  --bg-glass-hover: rgba(26, 31, 48, 0.85);

  /* Borders & Glows */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 45, 85, 0.35);

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #949db2;
  --text-muted: #5e6678;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Accent Colors */
  --red-neon: #ff2a51;
  --red-deep: #b30f2f;
  --red-glow: rgba(255, 42, 81, 0.45);
  --gold-neon: #ffb82e;
  --gold-glow: rgba(255, 184, 46, 0.4);
  --blue-neon: #00d2ff;
  --blue-bright: #0088ff;
  --violet-neon: #8b5cf6;
  --emerald-neon: #10b981;
  --pink-neon: #f43f5e;

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(255, 42, 81, 0.15), transparent 70%),
    radial-gradient(circle 800px at 85% 25%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(circle 700px at 15% 65%, rgba(0, 210, 255, 0.06), transparent),
    linear-gradient(180deg, #07080d 0%, #050608 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #202636;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-neon);
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
  user-select: none;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* TOP STRIP */
.top-strip {
  background: linear-gradient(90deg, rgba(16, 7, 10, 0.95), rgba(20, 10, 16, 0.95), rgba(12, 14, 20, 0.95));
  border-bottom: 1px solid rgba(255, 42, 81, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  position: relative;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.top-strip__inner {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--red-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-neon);
  margin-right: 6px;
  animation: pulse-live 1.6s infinite ease-in-out;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.top-strip__message {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-pill {
  background: rgba(255, 42, 81, 0.15);
  color: var(--red-neon);
  border: 1px solid rgba(255, 42, 81, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: background var(--transition-smooth);
}

.header-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  transition: transform var(--transition-smooth);
}

.brand:hover {
  transform: scale(1.03);
}

.brand-crown {
  font-size: 1.75rem;
  background: linear-gradient(135deg, #ffe066 0%, #ffae19 50%, #f27011 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 174, 25, 0.6));
  animation: crown-shimmer 4s infinite ease-in-out;
}

@keyframes crown-shimmer {
  0%, 100% { filter: drop-shadow(0 2px 8px rgba(255, 174, 25, 0.6)); }
  50% { filter: drop-shadow(0 2px 16px rgba(255, 42, 81, 0.8)); }
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand small {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red-neon);
  background: rgba(255, 42, 81, 0.12);
  border: 1px solid rgba(255, 42, 81, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-left: 2px;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.header-nav a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.header-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 42, 81, 0.85), rgba(179, 15, 47, 0.95));
  box-shadow: 0 4px 15px var(--red-glow);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 700;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff2a51 0%, #d80b33 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 42, 81, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 42, 81, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  border-radius: var(--radius-md);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

/* ==========================================================================
   TOP SPONSOR MARQUEE / TICKER BAR (KAYAN YAZI ALANI)
   ========================================================================== */
.sponsor-ticker-wrap {
  width: 100%;
  background: linear-gradient(90deg, #090c13 0%, #101420 50%, #090c13 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 35;
}

.sponsor-ticker-badge {
  flex-shrink: 0;
  height: 100%;
  padding: 0 20px 0 24px;
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.25), rgba(179, 15, 47, 0.15));
  border-right: 1px solid rgba(255, 42, 81, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.ticker-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-neon);
  box-shadow: 0 0 10px var(--red-neon);
  animation: pulse-live 1.5s infinite;
}

.ticker-badge-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}

.sponsor-ticker-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.sponsor-ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marqueeScroll 26s linear infinite;
}

.sponsor-ticker-viewport:hover .sponsor-ticker-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  color: #fff;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.marquee-item:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
  transform: translateY(-1px);
}

.marquee-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1f2536, #121520);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--blue-neon);
  overflow: hidden;
}

.marquee-logo img, .marquee-logo video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marquee-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f1f5f9;
}

.marquee-tag {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--blue-neon);
  background: rgba(0, 210, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* ==========================================================================
   PAGE FRAME (SIDEBAR + MAIN CONTENT)
   ========================================================================== */
.page-frame {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
  flex: 1;
}

/* Quick Panel (Sidebar) */
.quick-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.quick-panel__mobile-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-weight: 700;
}

.menu-close {
  font-size: 1.5rem;
  color: var(--text-secondary);
  padding: 4px;
}

.quick-title {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.quick-panel nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-panel nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.quick-panel nav a .nav-icon {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  color: var(--text-muted);
}

.quick-panel nav a .nav-arrow {
  margin-left: auto;
  opacity: 0.3;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.quick-panel nav a:hover {
  color: #fff;
  background: var(--bg-surface-2);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.quick-panel nav a:hover .nav-icon {
  color: var(--red-neon);
}

.quick-panel nav a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--red-neon);
}

.quick-panel nav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 42, 81, 0.2), rgba(179, 15, 47, 0.1));
  border-color: rgba(255, 42, 81, 0.4);
  box-shadow: 0 4px 16px rgba(255, 42, 81, 0.15);
}

.quick-panel nav a.active .nav-icon {
  color: var(--red-neon);
}

.quick-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

/* Telegram Card */
.community-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.12), rgba(0, 198, 255, 0.05));
  border: 1px solid rgba(0, 136, 204, 0.3);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.community-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 136, 204, 0.6);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.2);
}

.community-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0088cc, #00c6ff);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
}

.community-card span b {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.community-card span small {
  font-size: 0.775rem;
  color: var(--text-secondary);
}

/* Points Card */
.points-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 184, 46, 0.1), rgba(255, 140, 0, 0.04));
  border: 1px solid rgba(255, 184, 46, 0.25);
  border-radius: var(--radius-md);
}

.points-card__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ffb82e, #ff8c00);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #120c02;
  font-weight: 900;
  font-size: 1.1rem;
}

.points-card span { flex: 1; }
.points-card span small { display: block; font-size: 0.6875rem; font-weight: 800; letter-spacing: 1px; color: var(--gold-neon); }
.points-card span b { font-size: 1rem; font-family: var(--font-heading); }
.points-card button {
  background: var(--bg-surface-3);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}
.points-card button:hover {
  background: var(--gold-neon);
  color: #000;
}

/* ==========================================================================
   MAIN CONTENT CONTAINER
   ========================================================================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-neon);
  background: rgba(255, 42, 81, 0.12);
  border: 1px solid rgba(255, 42, 81, 0.28);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading > div {
  min-width: 0;
  flex: 1;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 4px;
}

.section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.section-heading > a:hover {
  color: #fff;
  border-color: var(--red-neon);
  background: rgba(255, 42, 81, 0.12);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  background: 
    linear-gradient(115deg, #090a12 0%, #150a14 45%, #2a0b16 100%),
    #090a12;
  border: 1px solid rgba(255, 42, 81, 0.25);
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 40px rgba(255, 42, 81, 0.12);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow--one {
  top: -20%;
  right: 10%;
  width: 380px;
  height: 380px;
  background: rgba(255, 42, 81, 0.28);
}

.hero-glow--two {
  bottom: -30%;
  left: 20%;
  width: 420px;
  height: 420px;
  background: rgba(139, 92, 246, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-neon);
  background: rgba(255, 184, 46, 0.15);
  border: 1px solid rgba(255, 184, 46, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
}

.hero-content h1 span:first-child {
  display: block;
  color: #ffffff;
}

.hero-content h1 span:last-child {
  display: block;
  background: linear-gradient(135deg, #ff3b60 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 42, 81, 0.4));
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-cta {
  padding: 14px 32px;
  font-size: 1rem;
}

.sound-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.sound-button:hover {
  color: #fff;
  border-color: var(--red-neon);
  transform: scale(1.1);
}

.hero-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.orbit--one {
  width: 280px;
  height: 280px;
  animation: spin-slow 28s linear infinite;
}

.orbit--two {
  width: 360px;
  height: 360px;
  border-color: rgba(255, 42, 81, 0.2);
  animation: spin-slow 38s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-chip {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: float-chip 4s ease-in-out infinite alternate;
}

.hero-chip--a { top: 10%; left: 15%; color: var(--gold-neon); border-color: rgba(255, 184, 46, 0.4); animation-delay: 0s; }
.hero-chip--b { bottom: 12%; left: 10%; color: var(--red-neon); border-color: rgba(255, 42, 81, 0.4); animation-delay: 1.2s; }
.hero-chip--c { top: 20%; right: 5%; color: var(--blue-neon); border-color: rgba(0, 210, 255, 0.4); animation-delay: 2.4s; }

@keyframes float-chip {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(8deg); }
}

.hero-stat {
  background: linear-gradient(135deg, rgba(22, 12, 18, 0.95), rgba(35, 10, 22, 0.95));
  border: 2px solid var(--gold-neon);
  border-radius: var(--radius-lg);
  padding: 26px 36px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 46, 0.25);
  transform: rotate(-3deg);
  transition: transform var(--transition-smooth);
}

.hero-stat:hover { transform: rotate(0deg) scale(1.06); }
.hero-stat small { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; color: var(--gold-neon); }
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin: 6px 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffde6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat span { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; color: var(--text-secondary); }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 48px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
}

.hero-dots button.active {
  width: 32px;
  background: var(--red-neon);
  box-shadow: 0 0 12px var(--red-neon);
}

/* ==========================================================================
   ANNOUNCEMENT TICKER
   ========================================================================== */
.announcement {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.12) 0%, rgba(20, 23, 34, 0.8) 100%);
  border: 1px solid rgba(255, 42, 81, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.announcement-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-neon);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px var(--red-glow);
  flex-shrink: 0;
}

.announcement b { font-size: 0.825rem; letter-spacing: 1px; color: var(--red-neon); font-weight: 800; white-space: nowrap; }
.announcement p { flex: 1; min-width: 0; font-size: 0.925rem; color: var(--text-primary); font-weight: 500; overflow-wrap: anywhere; }
.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.announcement a:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  transform: translateX(4px);
}

/* ==========================================================================
   SPONSORS GRID & CARDS (MATCHING REFERENCE IMAGE 2)
   ========================================================================== */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.sponsor-card {
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 34px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.sponsor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 180, 255, 0.15);
}

.sponsor-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-bottom: 2px;
}

.sponsor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.sponsor-logo span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffb82e;
  font-size: 1.05rem;
  font-weight: 900;
  overflow: hidden;
}

.sponsor-logo span img, .sponsor-logo span video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-logo b {
  background: linear-gradient(180deg, #ffffff 0%, #d8e2ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sponsor-bonus-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #00b4ff;
  letter-spacing: -0.3px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sponsor-note-pill {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: all 0.2s ease;
}

.sponsor-card:hover .sponsor-note-pill {
  background: rgba(0, 210, 255, 0.06);
  border-color: rgba(0, 210, 255, 0.25);
}

.sponsor-action-wrap {
  width: 100%;
  margin-top: 4px;
}

.sponsor-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff !important;
  background: linear-gradient(180deg, #0099ff 0%, #0066ee 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 22px rgba(0, 110, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.sponsor-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(180deg, #1ab0ff 0%, #0077ff 100%);
  box-shadow: 0 10px 28px rgba(0, 110, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   EVENTS & CONTENT SECTION
   ========================================================================== */
.content-section .section-heading--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.content-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.content-filters button {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.content-filters button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.content-filters button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--red-neon), var(--red-deep));
  box-shadow: 0 4px 16px var(--red-glow);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}

.content-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.content-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px var(--card-glow, rgba(255, 42, 81, 0.25));
}

.content-card--crimson { --card-accent: #ff2a51; --card-glow: rgba(255, 42, 81, 0.3); }
.content-card--violet  { --card-accent: #8b5cf6; --card-glow: rgba(139, 92, 246, 0.3); }
.content-card--amber   { --card-accent: #f59e0b; --card-glow: rgba(245, 158, 11, 0.3); }
.content-card--blue    { --card-accent: #00d2ff; --card-glow: rgba(0, 210, 255, 0.3); }
.content-card--pink    { --card-accent: #f43f5e; --card-glow: rgba(244, 63, 94, 0.3); }
.content-card--green   { --card-accent: #10b981; --card-glow: rgba(16, 185, 129, 0.3); }

.content-card__art {
  height: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.content-card__art span {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--card-accent, #fff);
  filter: drop-shadow(0 4px 20px var(--card-glow));
  transition: transform var(--transition-smooth);
}

.content-card:hover .content-card__art:not(.has-media) span {
  transform: scale(1.15) rotate(4deg);
}

.content-card__art.has-media {
  height: auto;
  display: block;
  background: #0a0c12;
}

.content-card__art.has-media > i {
  display: none;
}

.content-card__art.has-media span,
.content-card__art.has-media .media-placeholder {
  display: block;
  width: 100%;
  font-size: 0;
  line-height: 0;
  filter: none;
  color: transparent;
}

.content-card__art.has-media img,
.content-card__art.has-media video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.content-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--card-accent, var(--text-muted));
  margin-bottom: 6px;
}

.content-card__body small { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }
.content-card__body h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: #fff; margin: 4px 0 8px; overflow-wrap: anywhere; }
.content-card__body p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 20px; flex: 1; overflow-wrap: anywhere; }
.content-card__body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--card-accent, var(--red-neon));
  transition: transform var(--transition-fast);
}
.content-card__body a:hover { transform: translateX(4px); }

/* ==========================================================================
   TODAY'S MATCHES (GÜNÜN MAÇLARI)
   ========================================================================== */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.match-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--transition-smooth);
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 42, 81, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 42, 81, 0.2);
}

.match-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.match-card__top span { color: var(--text-secondary); }
.match-card__top small {
  background: rgba(255, 42, 81, 0.15);
  color: var(--red-neon);
  border: 1px solid rgba(255, 42, 81, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.match-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.match-card__teams > div:not(.match-time) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.match-card__teams span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c2233, #0f121d);
  border: 1px solid var(--border-card);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.match-card__teams b {
  font-size: 0.925rem;
  font-weight: 700;
  color: #fff;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-time { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.match-time small { font-size: 0.6875rem; font-weight: 800; letter-spacing: 1px; color: var(--gold-neon); }
.match-time strong { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 900; color: #fff; }
.match-time span { font-size: 0.75rem; font-weight: 800; color: var(--text-muted); width: auto !important; height: auto !important; background: none !important; border: none !important; }

.match-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: #fff;
  transition: all var(--transition-fast);
}

.match-card button:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--red-glow);
}

/* ==========================================================================
   TASKS & POINTS REWARDS SECTION
   ========================================================================== */
.tasks-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(17, 21, 32, 0.8) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  align-items: center;
}

.tasks-intro { display: flex; flex-direction: column; gap: 16px; position: relative; }
.tasks-intro h2 { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 900; line-height: 1.15; color: #fff; }
.tasks-intro p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.tasks-orbit {
  position: absolute;
  top: -10px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 46, 0.15);
  border: 1px solid rgba(255, 184, 46, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.tasks-orbit span { color: var(--gold-neon); font-size: 1.1rem; }
.tasks-orbit i { font-style: normal; font-family: var(--font-heading); font-weight: 800; color: #fff; }

.task-list { display: flex; flex-direction: column; gap: 14px; }
.task-list article {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.task-list article:hover { transform: translateX(6px); border-color: var(--border-card-hover); background: var(--bg-surface-3); }
.task-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; flex-shrink: 0; }
.task-icon--red  { background: rgba(255, 42, 81, 0.15); color: var(--red-neon); border: 1px solid rgba(255, 42, 81, 0.3); }
.task-icon--gold { background: rgba(255, 184, 46, 0.15); color: var(--gold-neon); border: 1px solid rgba(255, 184, 46, 0.3); }
.task-icon--blue { background: rgba(0, 210, 255, 0.15); color: var(--blue-neon); border: 1px solid rgba(0, 210, 255, 0.3); }
.task-list article div { flex: 1; }
.task-list article small { font-size: 0.6875rem; font-weight: 800; letter-spacing: 1px; color: var(--text-muted); }
.task-list article h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.task-list article p { font-size: 0.825rem; color: var(--text-secondary); }
.task-list article.is-done { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.08); }
.task-progress { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 700; color: var(--gold-neon); }
.invite-box {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.invite-box[hidden] { display: none !important; }
.invite-box input {
  flex: 1;
  min-width: 0;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: #fff;
}
.invite-box button {
  flex-shrink: 0;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--blue-neon);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 800;
}
.member-chip {
  display: inline-flex;
  align-items: center;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  font-size: 0.8rem;
  font-weight: 700;
}
.auth-error {
  background: rgba(255, 42, 81, 0.12);
  border: 1px solid rgba(255, 42, 81, 0.35);
  color: #ff8da3;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.member-toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(16px);
  background: #111622;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(420px, calc(100vw - 24px));
  text-align: center;
}
.member-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.task-list article b {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-neon);
  background: rgba(255, 184, 46, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 184, 46, 0.25);
}

/* ==========================================================================
   COMMUNITY BANNER
   ========================================================================== */
.community-banner {
  background: linear-gradient(135deg, #005f9e 0%, #0088cc 50%, #00b4d8 100%);
  border-radius: var(--radius-xl);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0, 136, 204, 0.35);
  position: relative;
  overflow: hidden;
}

.community-banner__icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: #fff;
  flex-shrink: 0;
}

.community-banner div { flex: 1; }
.community-banner .section-kicker { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.community-banner h2 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; color: #fff; margin-top: 4px; }
.community-banner p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-top: 4px; }
.community-cta { background: #ffffff; color: #0088cc; font-weight: 800; padding: 14px 28px; border-radius: var(--radius-full); white-space: nowrap; }
.community-cta:hover { background: #f8fafc; transform: translateY(-2px) scale(1.03); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { margin-top: 60px; background: #050608; border-top: 1px solid var(--border-subtle); padding: 60px 24px 30px; }
.footer-inner { max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.925rem; max-width: 360px; line-height: 1.6; }
.responsible-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-card); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); width: fit-content; }
.site-footer h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 18px; }
.site-footer a { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; transition: all var(--transition-fast); }
.site-footer a:hover { color: var(--red-neon); transform: translateX(4px); }
.footer-note { max-width: 1560px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.8125rem; color: var(--text-muted); }
.footer-note p { max-width: 800px; }

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION & MODAL
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-card);
  z-index: 50;
  padding: 0 12px;
  align-items: center;
  justify-content: space-around;
}

.mobile-bottom-nav a, .mobile-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}
.mobile-bottom-nav span { font-size: 1.25rem; }
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover, .mobile-bottom-nav button:hover { color: var(--red-neon); }

.modal-layer { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-layer[hidden] { display: none !important; }
.auth-modal { background: var(--bg-surface-1); border: 1px solid var(--border-card-hover); border-radius: var(--radius-xl); padding: 40px; max-width: 440px; width: 100%; position: relative; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7); }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; color: var(--text-muted); padding: 4px; }
.modal-close:hover { color: #fff; }
.modal-logo { font-size: 2.2rem; color: var(--gold-neon); margin-bottom: 12px; }
.auth-modal h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: #fff; margin: 6px 0; }
.auth-modal p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.auth-modal form { display: flex; flex-direction: column; gap: 16px; }
.auth-modal label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.auth-modal input { background: var(--bg-surface-2); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 12px 16px; font-size: 0.95rem; color: #fff; }
.auth-modal input:focus { border-color: var(--red-neon); box-shadow: 0 0 0 3px rgba(255, 42, 81, 0.2); }
.auth-submit { margin-top: 8px; width: 100%; padding: 13px; font-size: 1rem; }
.modal-switch { margin-top: 18px; font-size: 0.875rem; color: var(--text-secondary); text-align: center; display: block; width: 100%; }
.modal-switch:hover { color: var(--red-neon); text-decoration: underline; }

.promo-layer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
}
.promo-layer[hidden] { display: none !important; }
body.promo-open { overflow: hidden; }
.promo-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 28px 24px 24px;
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-xl);
  background: var(--bg-surface-1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}
.promo-modal .modal-close { z-index: 2; }
.promo-media {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 16px;
  background: #0b0e15;
}
.promo-media[hidden] { display: none !important; }
.promo-uploaded-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}
.promo-modal .section-kicker { margin-bottom: 10px; }
.promo-modal h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.promo-modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.promo-modal p[hidden], .promo-modal .section-kicker[hidden], #promo-cta[hidden] { display: none !important; }
#promo-cta { width: 100%; justify-content: center; }

.menu-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 45; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1180px) {
  .page-frame { grid-template-columns: 240px 1fr; gap: 20px; }
  .hero { grid-template-columns: 1fr; padding: 36px 32px 56px; min-height: 0; }
  .hero-art { display: none; }
  .tasks-section { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body { background-attachment: scroll; }
  .header-nav { display: none; }
  .mobile-menu-button { display: flex; flex-shrink: 0; }
  .header-inner { padding: 10px 14px; gap: 10px; }
  .header-actions { gap: 8px; flex-shrink: 0; }
  .header-actions .btn { padding: 8px 14px; font-size: 0.8rem; white-space: nowrap; }
  .brand { min-width: 0; flex: 1; }
  .brand-name { font-size: 1.3rem; }
  .page-frame {
    grid-template-columns: 1fr;
    padding: 16px 14px calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .quick-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    z-index: 60;
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .quick-panel.is-open { left: 0; }
  .quick-panel__mobile-head { display: flex; }
  .menu-backdrop.is-open { display: block; }
  .mobile-bottom-nav { display: flex; }
  .main-content { gap: 28px; }
  .section-heading,
  .bets-subheading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading h2 { font-size: 1.5rem; }
  .section-heading p { font-size: 0.875rem; }
  .section-heading > a,
  .view-all-link { display: none; }
  .announcement {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px 14px;
  }
  .announcement p {
    flex: 1 1 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .content-filters {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .content-filters::-webkit-scrollbar { display: none; }
  .content-filters button { flex-shrink: 0; padding: 8px 14px; font-size: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .community-banner { flex-direction: column; text-align: center; padding: 28px 18px; gap: 16px; }
  .community-banner .section-kicker { margin: 0 auto 8px; }
  .community-banner h2 { font-size: 1.4rem; overflow-wrap: anywhere; }
  .community-cta { width: 100%; }
  .site-footer { padding: 40px 16px calc(40px + env(safe-area-inset-bottom, 0px)); margin-top: 36px; }
  .mobile-bottom-nav {
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 8px 8px env(safe-area-inset-bottom, 0px);
  }
}

@media (max-width: 640px) {
  .top-strip { padding: 6px 12px; font-size: 0.72rem; }
  .top-strip__inner { gap: 8px; }
  .top-strip__inner > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-strip__message { display: none; }
  .header-inner { padding: 8px 12px; gap: 8px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary { padding: 8px 12px; font-size: 0.78rem; }
  .brand-crown { font-size: 1.35rem; }
  .brand-name { font-size: 1.15rem; }
  .brand small { font-size: 0.55rem; letter-spacing: 1px; padding: 2px 5px; }
  .sponsor-ticker-wrap { height: 44px; }
  .sponsor-ticker-badge { padding: 0 10px; gap: 6px; }
  .ticker-badge-text { font-size: 0.6rem; letter-spacing: 1px; }
  .marquee-tag { display: none; }
  .marquee-item { padding: 4px 10px; gap: 8px; }
  .hero {
    padding: 22px 16px 46px;
    border-radius: 18px;
    min-height: 0;
  }
  .hero-content { gap: 12px; }
  .hero-content h1 {
    font-size: 1.55rem;
    letter-spacing: -0.4px;
    line-height: 1.12;
  }
  .hero-content p { font-size: 0.9rem; }
  .hero-eyebrow { font-size: 0.68rem; padding: 4px 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta { width: 100%; padding: 12px 18px; }
  .sound-button { display: none; }
  .hero-dots { left: 16px; bottom: 14px; }
  .section-heading h2,
  .bets-subheading h3 { font-size: 1.28rem; }
  .section-kicker { font-size: 0.68rem; padding: 3px 10px; letter-spacing: 1px; }
  .sponsor-card { padding: 22px 16px 18px; border-radius: 18px; gap: 12px; }
  .sponsor-logo { font-size: 1.2rem; flex-wrap: wrap; }
  .sponsor-bonus-title { font-size: 1.1rem; }
  .sponsor-note-pill { font-size: 0.82rem; padding: 10px 12px; }
  .content-card__body { padding: 16px; }
  .content-card__body h3 { font-size: 1.1rem; }
  .tasks-section { padding: 20px 16px; border-radius: 18px; gap: 18px; }
  .tasks-intro h2 { font-size: 1.4rem; }
  .tasks-orbit { position: static; align-self: flex-start; }
  .task-list article { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .invite-box { flex-direction: column; align-items: stretch; }
  .task-list article h3 { font-size: 0.95rem; }
  .task-list article p { font-size: 0.78rem; overflow-wrap: anywhere; }
  .task-list article b { font-size: 0.9rem; padding: 4px 10px; white-space: nowrap; }
  .auth-modal { padding: 28px 18px; border-radius: 20px; }
  .auth-modal h2 { font-size: 1.3rem; }
  .promo-layer { padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .promo-modal { padding: 22px 16px 18px; border-radius: 20px; max-height: 86vh; }
  .promo-modal h2 { font-size: 1.3rem; }
  .promo-uploaded-media { max-height: 180px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-note { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   SPORTSBOOK CAROUSEL & EXACT SCREENSHOT CARD STYLES (V7 ULTRA PRO)
   ========================================================================== */

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-arrows {
  display: flex;
  gap: 6px;
}

.slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.slider-arrow:hover {
  background: rgba(0, 180, 255, 0.2);
  border-color: rgba(0, 180, 255, 0.5);
  color: #00d2ff;
  transform: translateY(-2px);
}

.slider-arrow:active {
  transform: translateY(0);
}

/* Match & Bet Carousels (Smooth Horizontal Drag / Scroll) */
.match-carousel-wrapper,
.bets-carousel-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 14px;
}

.match-carousel,
.bets-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 18px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 180, 255, 0.3) transparent;
}

.match-carousel::-webkit-scrollbar,
.bets-carousel::-webkit-scrollbar {
  height: 6px;
}

.match-carousel::-webkit-scrollbar-thumb,
.bets-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.match-carousel::-webkit-scrollbar-thumb:hover,
.bets-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--blue-neon);
}

/* MATCH CARD (Exact Dark Sleek Style) */
.match-card {
  flex: 0 0 310px;
  max-width: 310px;
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 180, 255, 0.1);
}

.match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.match-league-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  max-width: none;
}

.match-time-pill {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.match-time-pill.live {
  background: rgba(255, 42, 81, 0.15);
  border-color: rgba(255, 42, 81, 0.35);
  color: var(--red-neon);
}

.match-teams-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.match-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-team-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.match-team-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #cbd5e1;
  flex-shrink: 0;
}

.match-team-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-team-score {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--emerald-neon);
}

/* Odds Row: 1 - X - 2 */
.match-odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.odd-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.odd-cell:hover:not(.locked) {
  background: rgba(0, 180, 255, 0.1);
  border-color: rgba(0, 180, 255, 0.4);
}

.odd-cell.locked {
  opacity: 0.35;
  cursor: not-allowed;
}

.odd-cell__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.odd-cell__value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff3b60;
}

/* BET SLIP CARDS (High-Stake Bets Feed Matching Screenshot) */
.bets-subheading {
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.bets-subheading > div {
  min-width: 0;
  flex: 1;
}

.bets-subheading h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.bet-slip-card {
  flex: 0 0 320px;
  max-width: 320px;
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bet-slip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.bet-slip-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.bet-player-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.bet-player-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 42, 81, 0.2);
  color: var(--red-neon);
  display: grid;
  place-items: center;
  font-size: 0.725rem;
  font-weight: 900;
}

.bet-player-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bet-player-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bet-total-odd-pill {
  padding: 4px 10px;
  background: rgba(255, 42, 81, 0.15);
  border: 1px solid rgba(255, 42, 81, 0.3);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  color: #ff3b60;
  flex-shrink: 0;
}

/* Slip Leg Body */
.bet-slip-leg {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bet-leg-fixture-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bet-leg-pick-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.bet-leg-pick-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bet-leg-pick-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  overflow-wrap: anywhere;
}

.bet-leg-market-name {
  font-size: 0.725rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.bet-leg-odd {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* Status Badge */
.bet-outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  width: fit-content;
}

.bet-outcome-badge.kazandi {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bet-outcome-badge.kaybetti {
  background: rgba(255, 42, 81, 0.15);
  color: #ff2a51;
  border: 1px solid rgba(255, 42, 81, 0.3);
}

.bet-outcome-badge.active {
  background: rgba(0, 180, 255, 0.15);
  color: #00d2ff;
  border: 1px solid rgba(0, 180, 255, 0.3);
}

/* Slip Footer Breakdown */
.bet-slip-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 10px;
}

.bet-breakdown-col small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.bet-breakdown-col strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}

.bet-breakdown-col.win strong {
  color: var(--emerald-neon);
}

/* Carousel / card mobile overrides must live here — these rules are defined after the earlier breakpoints. */
@media (max-width: 900px) {
  .slider-controls { gap: 8px; margin-left: auto; }
  .slider-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .bets-subheading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }
  .bets-subheading h3 { font-size: 1.35rem; }
  .match-carousel,
  .bets-carousel {
    gap: 12px;
    padding: 4px 2px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .match-card,
  .bet-slip-card {
    flex: 0 0 min(292px, calc(100vw - 52px));
    max-width: min(292px, calc(100vw - 52px));
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .bets-subheading { margin-top: 24px; }
  .bets-subheading h3 { font-size: 1.22rem; }
  .match-card,
  .bet-slip-card {
    flex: 0 0 min(270px, calc(100vw - 40px));
    max-width: min(270px, calc(100vw - 40px));
    padding: 14px;
    gap: 12px;
    border-radius: 16px;
  }
  .match-league-title,
  .match-time-pill { font-size: 0.72rem; }
  .match-team-name { font-size: 0.82rem; }
  .bet-leg-fixture-title { font-size: 0.7rem; }
  .bet-leg-pick-name { font-size: 0.8rem; }
  .bet-slip-breakdown { gap: 4px; }
  .bet-breakdown-col small { font-size: 0.62rem; }
  .bet-breakdown-col strong { font-size: 0.7rem; }
  .odd-cell { padding: 7px 2px; }
  .odd-cell__value { font-size: 0.85rem; }
}

@media (max-width: 400px) {
  .header-actions .btn-primary { padding: 8px 10px; font-size: 0.74rem; }
  .hero-content h1 { font-size: 1.38rem; }
  .match-card,
  .bet-slip-card {
    flex: 0 0 calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
}

@media (hover: none) {
  .match-card:hover,
  .bet-slip-card:hover,
  .sponsor-card:hover,
  .content-card:hover,
  .task-list article:hover,
  .btn-primary:hover,
  .sponsor-btn:hover {
    transform: none;
  }
}
