/* bPredict Web3 Trading DApp Theme & Components */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --bg-dark: #070a12;
  --bg-card: #0d1322;
  --bg-card-hover: #121a2f;
  --border-card: #1a263d;
  --border-focus: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.25);
  --amber: #f59e0b;
}

/* Ensure .hidden utility strictly hides elements across Tailwind dynamic state changes */
.hidden {
  display: none !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #03081e;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* ==================== RESPONSIVE BIGFOOT MASCOT WALLPAPER LAYER ==================== */
/* Fixed viewport layer isolates background from document scroll height, eliminating mobile iOS background-attachment: fixed zoom distortion */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #03081e;
  background-image: url('assets/bigfoot_ball_cap_shorts_usa.jpg?v=3.6.0');
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  z-index: -10;
  pointer-events: none;
  transform: translateZ(0);
}

/* Tablet & medium screen framing */
@media (max-width: 1024px) and (min-width: 769px) {
  body::before {
    background-position: 80% top;
    background-size: cover;
  }
}

/* Mobile phones (portrait) - dedicated 9:16 vertical wallpaper with Bigfoot centered and scaled */
@media (max-width: 768px) {
  body::before {
    background-image: url('assets/bigfoot_ball_cap_shorts_usa_mobile.jpg?v=3.6.0');
    background-position: center top;
    background-size: cover;
  }
}

/* Small mobile phones (< 480px) */
@media (max-width: 480px) {
  body::before {
    background-image: url('assets/bigfoot_ball_cap_shorts_usa_mobile.jpg?v=3.6.0');
    background-position: center top;
    background-size: cover;
  }
}

/* Landscape mobile phone viewports */
@media (max-height: 500px) and (orientation: landscape) {
  body::before {
    background-image: url('assets/bigfoot_ball_cap_shorts_usa.jpg?v=3.6.0');
    background-position: right center;
    background-size: cover;
  }
}

/* Neutralized Floodlights (Harsh Stadium Lights Removed) */
.stadium-light-left,
.stadium-light-right {
  display: none !important;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.font-outfit {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.brand-name {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-b {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.brand-predict {
  background: linear-gradient(135deg, #22d3ee 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(13, 19, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
}

.glass-panel-glow {
  background: rgba(13, 19, 34, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.12);
  border-radius: 14px;
}

/* Order Book Depth Bars */
.depth-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
  overflow: hidden;
}

.depth-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.depth-bar-bid {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(16, 185, 129, 0.18);
  pointer-events: none;
  transition: width 0.25s ease;
  border-left: 2px solid rgba(16, 185, 129, 0.4);
}

.depth-bar-ask {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(244, 63, 94, 0.18);
  pointer-events: none;
  transition: width 0.25s ease;
  border-left: 2px solid rgba(244, 63, 94, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Tab Active Styles */
.tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.35);
}

/* Pulse indicator */
.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slide-in 0.25s ease forwards;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Tournament Match Card Selector */
.tournament-pill {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  height: 74px;
  box-sizing: border-box;
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.tournament-pill:hover {
  background: rgba(18, 26, 47, 0.9);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.tournament-pill.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: #06b6d4;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

/* Mode Switcher Tabs */
.mode-toggle-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.mode-toggle-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.mode-toggle-btn:not(.active) {
  background: transparent;
  color: #94a3b8;
  border: 1px solid transparent;
}

.mode-toggle-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

/* Victory & Settlement Modal Animations */
.victory-card-glow {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.15), 0 0 10px rgba(16, 185, 129, 0.1);
}

@keyframes gold-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.shimmer-gold {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #10b981, #06b6d4, #f59e0b);
  background-size: 300% 300%;
  animation: gold-shimmer 4s ease infinite;
}

/* ==================== 16-BIT SEGA ARCADE FACE-OFF THEME ==================== */
.sega-panel {
  background: radial-gradient(circle at 50% 0%, #111a33 0%, #070a14 100%);
  border: 1px solid #1e2d4d;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sega-crt-overlay {
  position: relative;
}

.sega-crt-overlay::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.28) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 2;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  opacity: 0.65;
  border-radius: inherit;
}

.arcade-flash {
  animation: arcade-pulse 2s infinite ease-in-out;
}

@keyframes arcade-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 14px rgba(239, 68, 68, 0.9)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
  }
}

.arcade-stat-bar {
  background: #0d1424;
  border: 1px solid #1a263d;
  height: 8px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
}

.arcade-stat-fill {
  background: linear-gradient(90deg, #f59e0b, #10b981);
  height: 100%;
  transition: width 0.4s ease;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* ==================== SAFE AREA & MOBILE VIEWPORT HARDENING ==================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

.safe-top {
  padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important;
  padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
  padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
}

@media (max-width: 768px) {
  .safe-top {
    padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important;
    padding-left: calc(10px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(10px + env(safe-area-inset-right, 0px)) !important;
    padding-bottom: 10px !important;
  }
}

/* Top Navigation Bar: Strict uniform 36px entity height */
.nav-uniform-h {
  height: 36px !important;
  max-height: 36px !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

/* ==================== GAMES HUB & LEAGUE DIRECTORY THEME ==================== */
#gamesHubView {
  position: relative;
  background: transparent !important;
  color: #f8fafc;
  min-height: 100vh;
}

#gamesHubView::before {
  display: none !important;
}

.game-hub-card {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 14px 16px;
  width: 330px;
  min-width: 330px;
  max-width: 330px;
  height: 295px;
  min-height: 295px;
  max-height: 295px;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  .game-hub-card {
    width: 290px;
    min-width: 290px;
    max-width: 290px;
  }
}

.game-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--team1-color, #00f0ff), var(--team2-color, #f59e0b), transparent);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.game-hub-card:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(34, 211, 238, 0.75);
  transform: translateY(-5px);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(6, 182, 212, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.game-hub-card:hover::before {
  opacity: 1;
}

@keyframes liveMatchCardGlow {
  0%, 100% {
    border-color: rgba(244, 63, 94, 0.55);
    box-shadow: 0 0 14px rgba(244, 63, 94, 0.2), 0 4px 14px rgba(0,0,0,0.5);
  }
  50% {
    border-color: rgba(244, 63, 94, 0.9);
    box-shadow: 0 0 24px rgba(244, 63, 94, 0.4), 0 4px 18px rgba(0,0,0,0.6);
  }
}

.game-hub-card.border-rose-500\/40 {
  animation: liveMatchCardGlow 2.2s infinite ease-in-out;
}

.hub-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  padding-top: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hub-scroll-row.layout-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  overflow-x: visible !important;
  padding-bottom: 24px !important;
}

.hub-scroll-row::-webkit-scrollbar {
  height: 6px;
}
.hub-scroll-row::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 3px;
}
.hub-scroll-row::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
.hub-scroll-row::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}

.vs-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #24344d, #0c1220);
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  color: #00f0ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.25);
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-hub-card:hover .vs-badge {
  transform: scale(1.15);
  border-color: #00f0ff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.6);
}

/* ==================== MARQUEE HERO MATCHUP SPOTLIGHT ==================== */
.marquee-spotlight-card {
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 0 32px rgba(6, 182, 212, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  padding: 22px 26px;
  transition: all 0.3s ease;
}

.marquee-spotlight-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(34, 211, 238, 0.85);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3), 0 0 42px rgba(6, 182, 212, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* ==================== LEAGUE FILTER TABS ==================== */
.hub-league-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-league-tab:hover {
  color: #ffffff;
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(20, 32, 58, 0.9);
  transform: translateY(-1px);
}

.hub-league-tab.active {
  color: #000000;
  background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
  border-color: #00f0ff;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
  font-weight: 900;
}

.hub-league-tab .tab-count-badge {
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 1.5px 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

.back-to-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #06b6d4;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-to-hub-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
  transform: translateX(-1px);
}

.league-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.conf-filter-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.conf-filter-btn.active {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.5);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.conf-filter-btn:not(.active) {
  background: #0f172a;
  border-color: #1e293b;
  color: #94a3b8;
}

.conf-filter-btn:not(.active):hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.team-flag-badge,
.team-logo-badge {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.game-hub-card:hover .team-flag-badge,
.game-hub-card:hover .team-logo-badge {
  transform: scale(1.05);
}

/* 6-Digit Verification Code Individual Underline Boxes */
.otp-digit-box {
  width: 44px;
  height: 56px;
  background: #070b16;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-bottom: 3px solid #22d3ee;
  border-radius: 8px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 1.75rem;
  text-align: center;
  outline: none;
  transition: all 0.15s ease-in-out;
}
.otp-digit-box:focus {
  border-color: #22d3ee;
  border-bottom: 4px solid #38bdf8;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
  background: #0d1527;
  transform: translateY(-2px);
}
.otp-digit-box::placeholder {
  color: #475569;
  font-weight: 400;
}

@media (max-width: 400px) {
  .otp-digit-box {
    width: 38px;
    height: 50px;
    font-size: 1.4rem;
  }
}

/* ==================== BIGFOOT WAVING STORY TAB ==================== */
.story-tab-mascot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px !important;
  max-height: 36px !important;
  padding: 0 11px 0 4px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(8, 18, 38, 0.95) 0%, rgba(13, 27, 56, 0.9) 50%, rgba(6, 182, 212, 0.16) 100%);
  border: 1px solid rgba(6, 182, 212, 0.38);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}

.story-tab-mascot:hover {
  border-color: rgba(34, 211, 238, 0.85);
  background: linear-gradient(135deg, rgba(12, 28, 62, 0.98) 0%, rgba(18, 42, 85, 0.92) 50%, rgba(6, 182, 212, 0.28) 100%);
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.42), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.story-tab-mascot .mascot-badge {
  position: relative;
  width: 27px;
  height: 27px;
  border-radius: 9999px;
  border: 1.5px solid #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
  background: #040914;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.story-tab-mascot:hover .mascot-badge {
  transform: scale(1.14);
  border-color: #67e8f9;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.85);
}

.story-tab-mascot .mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 30% 70%;
  animation: squatchPeriodicWave 5s ease-in-out infinite;
}

.story-tab-mascot:hover .mascot-img {
  animation: squatchFastWave 0.65s ease-in-out infinite alternate;
}

@keyframes squatchPeriodicWave {
  0%, 80%, 100% {
    transform: rotate(0deg) scale(1);
  }
  84% {
    transform: rotate(-10deg) scale(1.08);
  }
  88% {
    transform: rotate(12deg) scale(1.12);
  }
  92% {
    transform: rotate(-8deg) scale(1.08);
  }
  96% {
    transform: rotate(6deg) scale(1.04);
  }
}

@keyframes squatchFastWave {
  0% {
    transform: rotate(-10deg) scale(1.1);
  }
  100% {
    transform: rotate(12deg) scale(1.16);
  }
}

/* ==================== VIBRANT MULTI-LEAGUE THEMES & IDENTITY ==================== */
#rowNflSlate .league-section-header {
  border-bottom: 1.5px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.08);
}

#rowCfbNextWeek .league-section-header {
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

#rowUclNextWeek .league-section-header {
  border-bottom: 1.5px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

#rowEplNextWeek .league-section-header {
  border-bottom: 1.5px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.12);
}

#rowNbaNextWeek .league-section-header {
  border-bottom: 1.5px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
}

/* Distinct League Coming Soon Variations (Dynamic Fallback Aesthetics) */
.coming-soon-cfb {
  background: linear-gradient(135deg, #1a0a0d 0%, #12080a 50%, #070304 100%) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 8px 30px rgba(186, 12, 47, 0.15) !important;
}

.coming-soon-ucl {
  background: linear-gradient(135deg, #090e29 0%, #06091c 50%, #02040e 100%) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2) !important;
}

.coming-soon-epl {
  background: linear-gradient(135deg, #170724 0%, #0e0417 50%, #050208 100%) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2) !important;
}

.coming-soon-nba {
  background: linear-gradient(135deg, #240e06 0%, #140803 50%, #080301 100%) !important;
  border-color: rgba(249, 115, 22, 0.5) !important;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.2) !important;
}

/* ==================== FLUID RESPONSIVE TYPOGRAPHY & SCALING ENGINE ==================== */
:root {
  --fluid-h1: clamp(1.35rem, 3.2vw + 0.5rem, 2.25rem);
  --fluid-h2: clamp(1.15rem, 2.4vw + 0.4rem, 1.75rem);
  --fluid-h3: clamp(1.0rem, 1.8vw + 0.35rem, 1.35rem);
  --fluid-body: clamp(0.78rem, 0.8vw + 0.55rem, 0.95rem);
  --fluid-small: clamp(0.68rem, 0.5vw + 0.5rem, 0.82rem);
}

h1, .hero-heading-fluid {
  font-size: var(--fluid-h1) !important;
  line-height: 1.25 !important;
}

h2, .section-heading-fluid {
  font-size: var(--fluid-h2) !important;
  line-height: 1.3 !important;
}

h3, .card-heading-fluid {
  font-size: var(--fluid-h3) !important;
  line-height: 1.3 !important;
}

.text-fluid-desc {
  font-size: var(--fluid-body) !important;
  line-height: 1.55 !important;
}

.hub-league-tab .tab-soon-badge {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #fde68a !important;
  border: 1px solid rgba(245, 158, 11, 0.45);
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* ==================== MOBILE & TABLET DEVICE SCALING ==================== */
@media (max-width: 768px) {
  /* Brand Navigation Scaling */
  .brand-name {
    font-size: clamp(1rem, 3.5vw, 1.25rem) !important;
  }

  /* Host Stage Card on Mobile */
  .host-stage-card-responsive {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .host-stage-card-responsive .host-avatar {
    width: 48px !important;
    height: 48px !important;
  }
  .host-stage-card-responsive p {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }

  /* Marquee Spotlight Card Scaling */
  .marquee-spotlight-card {
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }
  .marquee-logo-badge {
    width: 68px !important;
    height: 68px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }
  .marquee-team-name {
    font-size: clamp(1.1rem, 4vw, 1.45rem) !important;
  }
  .marquee-win-rate {
    font-size: clamp(0.85rem, 3vw, 1.05rem) !important;
  }

  /* Game Hub Cards on Mobile: Fluid Width with No Overflow */
  .game-hub-card {
    width: 100% !important;
    min-width: 270px !important;
    max-width: 330px !important;
    height: auto !important;
    min-height: 280px !important;
    padding: 12px 14px !important;
  }

  /* League Tabs on Mobile */
  .hub-league-tab {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
    gap: 5px !important;
  }
  .tab-count-badge {
    font-size: 0.65rem !important;
    padding: 1px 5px !important;
  }

  /* Hub Container Padding */
  .hub-hero-banner {
    padding: 12px 14px !important;
  }
}

/* Very Small Mobile Screens (< 380px) */
@media (max-width: 380px) {
  .game-hub-card {
    min-width: 240px !important;
    padding: 10px 12px !important;
  }
  .hub-league-tab {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }
}



