/* 
 * STATE OF ORIGIN 2026 - GAME III landing Page
 * Theme: Luxury Sports Live Streaming Platform
 * Style: Glassmorphic Dark UI
 */

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

:root {
  --bg-color: #050816;
  --color-blue: #1E40AF;
  --color-blue-light: #38BDF8;
  --color-maroon: #800020;
  --color-maroon-light: #B91C1C;
  --color-white: #FFFFFF;
  --color-gold: #FACC15;
  --color-orange: #FF6B00;
  --color-orange-glow: rgba(255, 107, 0, 0.4);
  
  --font-primary: 'Poppins', sans-serif;
  
  --glass-bg: rgba(10, 15, 36, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --glow-blue: 0 0 25px rgba(30, 64, 175, 0.35);
  --glow-maroon: 0 0 25px rgba(128, 0, 32, 0.35);
  --glow-gold: 0 0 20px rgba(250, 204, 21, 0.3);
  --glow-dual: 0 0 35px rgba(30, 64, 175, 0.25), 0 0 35px rgba(128, 0, 32, 0.25);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--color-white);
  font-family: var(--font-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Particle Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.glass-card:hover::before {
  left: 125%;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Glass border colors for team highlights */
.border-blue-glow {
  box-shadow: var(--glow-blue);
  border-color: rgba(30, 64, 175, 0.4);
}
.border-maroon-glow {
  box-shadow: var(--glow-maroon);
  border-color: rgba(128, 0, 32, 0.4);
}
.border-dual-glow {
  box-shadow: var(--glow-dual);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Custom Text Gradients */
.text-gradient-blue {
  background: linear-gradient(to right, #60A5FA, #1E40AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-maroon {
  background: linear-gradient(to right, #F87171, #800020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(to right, #FFE082, #FACC15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar Styling */
.navbar-custom {
  transition: all 0.4s ease;
  z-index: 1000;
  border-bottom: 1px solid transparent;
}

.navbar-custom.scrolled {
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: linear-gradient(to right, var(--color-blue-light), var(--color-maroon));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

.navbar-brand img {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

/* Mobile Menu Animation */
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse-mobile {
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}

.navbar-collapse-mobile.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background-image: linear-gradient(to bottom, rgba(5, 8, 22, 0.3) 0%, var(--bg-color) 95%), url('hero_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(30, 64, 175, 0.12), transparent 50%),
              radial-gradient(circle at 80% 60%, rgba(128, 0, 32, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.live-badge {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: var(--color-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  animation: pulse-live 1.8s infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: inline-block;
  animation: blink-live 1s infinite alternate;
}

/* Streaming Premium Card */
.streaming-card {
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 36, 0.55) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}

/* Video Player */
.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-player-container:hover .video-poster-img {
  transform: scale(1.03);
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Play Button Overlay */
.video-play-btn-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange) 0%, #B91C1C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2.2rem;
  border: 4px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 30px var(--color-orange-glow);
}

.video-play-btn-large i {
  margin-left: 6px; /* Offset to center the play icon perfectly */
}

.video-play-btn-large:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 45px rgba(255, 107, 0, 0.7);
  border-color: var(--color-white);
}

.video-play-btn-large::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.4);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Video Player Header Controls */
.video-player-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s ease;
}

.video-badge-item {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.video-badge-item.badge-red {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-view-count {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Video Player Bottom Controls */
.video-player-controls-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px 10px 20px;
  z-index: 5;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

/* Progress/Timeline Slider */
.video-timeline-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  transition: height 0.15s ease;
}

.video-timeline-container:hover {
  height: 6px;
}

.video-timeline-progress {
  height: 100%;
  width: 78%; /* Simulated progress */
  background: linear-gradient(to right, var(--color-blue-light), var(--color-maroon));
  border-radius: 2px;
  position: relative;
}

.video-timeline-handle {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.video-timeline-container:hover .video-timeline-handle {
  opacity: 1;
}

/* Control Buttons Row */
.video-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-controls-left, .video-controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.video-control-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.1s ease;
}

.video-control-btn:hover {
  color: var(--color-white);
  transform: scale(1.08);
}

.video-time-display {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.video-time-display span.live-indicator {
  color: #EF4444;
  font-weight: 600;
  text-transform: uppercase;
}

/* Volume Slider */
.volume-slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Watch Live Button */
.btn-watch-live {
  background: linear-gradient(135deg, var(--color-orange) 0%, #EF4444 50%, var(--color-blue) 100%);
  background-size: 200% auto;
  border: none;
  border-radius: 50px;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 16px 40px;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: glow-btn 3s infinite alternate;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.btn-watch-live::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg) translateX(-100%);
  transition: all 0.6s ease;
}

.btn-watch-live:hover::before {
  transform: skewX(-20deg) translateX(150%);
}

.btn-watch-live:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.6), 0 0 25px rgba(30, 64, 175, 0.5);
  background-position: right center;
}

.btn-watch-live:active {
  transform: scale(0.98);
}

/* Match Info Cards */
.match-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 35px;
}

.match-info-card {
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.match-info-card i {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--color-blue-light);
}

.match-info-card:nth-child(even) i {
  color: var(--color-gold);
}

.match-info-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.match-info-card p {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(128, 0, 32, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-blue-light);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.glass-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-maroon) 100%);
  color: var(--color-white);
  transform: rotate(6deg) scale(1.05);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Statistics Section */
.stats-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 36, 0.5) 50%, transparent 100%);
}

.stat-card {
  padding: 30px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

/* Team Rosters or Rivalry Section */
.rivalry-section {
  padding: 80px 0;
  position: relative;
}

.rivalry-card {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
}

.rivalry-card.blues {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.25) 0%, rgba(5, 8, 22, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.rivalry-card.maroons {
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.25) 0%, rgba(5, 8, 22, 0.7) 100%);
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.team-badge-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-weight: 800;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.rivalry-card.blues .team-badge-large {
  border-color: var(--color-blue-light);
  color: var(--color-blue-light);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.rivalry-card.maroons .team-badge-large {
  border-color: #EF4444;
  color: #EF4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.rivalry-team-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.rivalry-list {
  list-style: none;
  margin-top: 20px;
}

.rivalry-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.rivalry-list li i {
  color: var(--color-gold);
}

/* Fullscreen Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #03050c;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Circular countdown */
.countdown-svg-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 30px;
}

.countdown-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.countdown-circle-progress {
  fill: none;
  stroke: url(#countdown-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1s linear;
}

.countdown-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.loading-status-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
  color: var(--color-white);
  text-transform: uppercase;
}

.loading-subtext {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 25px;
}

/* Spinner */
.loading-spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border-top-color: var(--color-orange);
  border-right-color: var(--color-blue-light);
  animation: spin 1s infinite linear;
}

/* Footer styling */
.footer-custom {
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 500px;
  margin: 15px auto 0 auto;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  margin: 0 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Sticky Bottom Bar for Mobile */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 36, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  z-index: 990;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: none;
}

.mobile-sticky-bar.visible {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Safe Area Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-sticky-bar {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

.sticky-bar-text {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.sticky-bar-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.btn-sticky-watch {
  background: linear-gradient(135deg, var(--color-orange) 0%, #EF4444 100%);
  border: none;
  border-radius: 50px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 18px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* KEYFRAME ANIMATIONS */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-live {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes blink-live {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes glow-btn {
  0% {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4), 0 0 10px rgba(30, 64, 175, 0.2);
  }
  50% {
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.6), 0 0 20px rgba(30, 64, 175, 0.4);
  }
  100% {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4), 0 0 10px rgba(30, 64, 175, 0.2);
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-wrapper {
    padding-top: 90px;
    min-height: auto;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .mobile-sticky-bar.visible {
    display: flex;
  }
  .video-play-btn-large {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }
  .video-view-count {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  .video-player-header {
    padding: 10px;
  }
  .video-player-controls-bottom {
    padding: 10px;
  }
  .video-controls-row {
    font-size: 0.95rem;
  }
  .volume-slider-container {
    display: none; /* Hide volume controls on small mobile devices to save space */
  }
  .match-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .match-info-card:last-child {
    grid-column: span 2;
  }
  body {
    padding-bottom: 70px; /* Space for mobile sticky footer */
  }
  .navbar-collapse-mobile {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .match-info-grid {
    grid-template-columns: 1fr;
  }
  .match-info-card:last-child {
    grid-column: auto;
  }
  .hero-wrapper {
    padding-bottom: 40px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .btn-watch-live {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.1rem;
  }
  .countdown-svg-container {
    width: 130px;
    height: 130px;
  }
  .countdown-number {
    font-size: 2.8rem;
  }
}

/* Fold and smaller devices */
@media (max-width: 350px) {
  .hero-title-small {
    font-size: 1.25rem !important;
  }
  .section-title {
    font-size: 1.5rem;
  }
}
