/* ============================================
   BursaSkor — Premium Football Website Styles
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #080a0e;
  --bg-secondary: #0f121a;
  --bg-card: #131722;
  --bg-card-hover: #191f2e;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --accent-green: #10b981;
  --accent-gold: #fbbf24;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --glass-bg: #131722;
  --glass-border: #1e293b;
  --gradient-primary: linear-gradient(135deg, #ef4444 0%, #ff8c00 100%);
  --gradient-hero: linear-gradient(135deg, #0d1017 0%, #080a0e 100%);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: none;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: all 0.2s ease-in-out;
  --navbar-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

::selection {
  background: rgba(0, 230, 118, 0.3);
  color: #fff;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

select {
  font-family: inherit;
  font-size: inherit;
}

select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ANIMATIONS / KEYFRAMES ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(10px); }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseLive {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 71, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-10px, -40px) scale(0.95); }
  75% { transform: translate(-30px, -10px) scale(1.02); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-20px, 30px) scale(0.95); }
  50% { transform: translate(30px, 10px) scale(1.05); }
  75% { transform: translate(10px, -20px) scale(0.98); }
}

@keyframes particleDrift {
  0% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) scale(0.5);
    opacity: 0;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo .logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--accent-green);
}

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

.nav-link.active {
  color: var(--accent-green);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: calc(85vh - var(--navbar-height));
  padding-top: calc(var(--navbar-height) + 50px);
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090d16;
  border-bottom: 1px solid #1e293b;
  transition: background-image 0.8s ease-in-out;
}

.hero::before,
.hero::after {
  display: none !important;
}

.hero-stadium-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-stadium-glow.glow-left {
  left: -120px;
  top: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.16) 0%, rgba(0, 230, 118, 0) 70%);
  filter: blur(70px);
}

.hero-stadium-glow.glow-right {
  right: -120px;
  top: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.18) 0%, rgba(255, 123, 0, 0) 70%);
  filter: blur(70px);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(0, 230, 118, 0.08);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

.hero-glass-card:hover {
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(0, 230, 118, 0.15);
}

.badge-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.btn-glow {
  background: linear-gradient(135deg, #ff7b00 0%, #ff5200 100%) !important;
  box-shadow: 0 4px 20px rgba(255, 100, 0, 0.45) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(255, 100, 0, 0.65) !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  transition: transform 0.3s ease, background 0.3s ease !important;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

.hero-main-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
  justify-content: center;
}

.featured-matches-wrapper {
  width: 100%;
  overflow: hidden;
}

.featured-matches-container {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 6px 20px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 230, 118, 0.3) transparent;
}

.featured-matches-container::-webkit-scrollbar {
  height: 6px;
}

.featured-matches-container::-webkit-scrollbar-thumb {
  background: rgba(0, 230, 118, 0.3);
  border-radius: 4px;
}

.hero-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.recommendation-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.recommendation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.recommendation-title {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 700;
}

.recommendation-see-all {
  color: #0ea5e9;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.recommendation-see-all:hover {
  color: var(--accent-green);
}

.recommendation-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}

.rec-link-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.rec-link-icon {
  font-size: 1.2rem;
  margin-right: 12px;
}

.rec-link-text {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  flex: 1;
}

.rec-link-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: bold;
  transition: var(--transition);
}
.rec-link-item:hover .rec-link-arrow {
  color: var(--accent-green);
}

.featured-matches-wrapper {
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.5);
  color: #00e676;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-match-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  min-height: 120px;
  transition: var(--transition);
}

.hero-match-card:hover {
  border-color: rgba(0, 230, 118, 0.2);
  box-shadow: var(--shadow-glow);
}

.hero-match-league {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  width: 100%;
}

.hero-team-name {
  font-size: 1.05rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-team-name.home {
  text-align: right;
}

.hero-team-name.away {
  text-align: left;
}

.hero-match-score {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 0 0 80px;
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
}

.hero-match-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  width: 100%;
}

.hero-match-preview-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  font-weight: 500;
  transition: var(--transition);
}

.hero-match-card:hover .hero-match-preview-label {
  color: var(--accent-green);
  opacity: 1;
}

.hero-match-status .live-indicator {
  color: var(--accent-red);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0a0e17;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.05);
  transform: translateY(-2px);
}

/* Hero Orbs */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.3), transparent 70%);
  top: 10%;
  left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  bottom: 10%;
  right: -10%;
  animation: orbFloat2 18s ease-in-out infinite;
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 230, 118, 0.4);
  border-radius: 50%;
  animation: particleDrift linear infinite;
}

.particle:nth-child(1) { left: 10%; bottom: 0; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; bottom: 0; animation-duration: 15s; animation-delay: 2s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 40%; bottom: 0; animation-duration: 18s; animation-delay: 4s; background: rgba(59, 130, 246, 0.4); }
.particle:nth-child(4) { left: 55%; bottom: 0; animation-duration: 13s; animation-delay: 1s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 70%; bottom: 0; animation-duration: 16s; animation-delay: 3s; background: rgba(255, 213, 79, 0.3); }
.particle:nth-child(6) { left: 85%; bottom: 0; animation-duration: 14s; animation-delay: 5s; width: 3px; height: 3px; }
.particle:nth-child(7) { left: 15%; bottom: 0; animation-duration: 20s; animation-delay: 6s; background: rgba(59, 130, 246, 0.3); }
.particle:nth-child(8) { left: 60%; bottom: 0; animation-duration: 17s; animation-delay: 7s; width: 3px; height: 3px; }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* ===== ANIMATE ON SCROLL ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LEAGUE FILTERS (Live Score) ===== */
.league-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.league-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
}

.filter-btn.active {
  background: var(--accent-green);
  color: #0a0e17;
  border-color: var(--accent-green);
  font-weight: 600;
}

/* ===== LIVE SCORE CARDS ===== */
.livescore-scroll-wrapper {
  position: relative;
}

.livescore-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.livescore-container::-webkit-scrollbar {
  display: none;
}

.match-card {
  flex: 0 0 auto;
  min-width: 280px;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.match-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-glow);
}

.match-card:hover::before {
  opacity: 1;
}

.match-card-league {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 500;
}

.match-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.match-team {
  flex: 1;
  text-align: center;
}

.match-team-crest {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}

.match-team-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-team-name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.match-score-center {
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}

.match-score {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.match-score.live {
  color: var(--accent-green);
}

.match-minute {
  font-size: 0.7rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-top: 4px;
}

.match-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

.match-goals {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.match-goals .goal-event {
  color: var(--text-secondary);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-live {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-red);
}

.badge-live .live-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulseLive 1.5s ease-in-out infinite;
}

.badge-ht {
  background: rgba(255, 213, 79, 0.15);
  color: var(--accent-gold);
}

.badge-ft {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.badge-ns {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}

.badge-timed {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

.news-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.95), transparent);
  pointer-events: none;
}

.news-card-image .news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-category-badge.transfer { background: rgba(0, 230, 118, 0.8); color: #0a0e17; }
.news-category-badge.match { background: rgba(255, 71, 87, 0.8); color: #fff; }
.news-category-badge.liga { background: rgba(59, 130, 246, 0.8); color: #fff; }
.news-category-badge.nasional { background: rgba(255, 213, 79, 0.8); color: #0a0e17; }
.news-category-badge.internasional { background: rgba(168, 85, 247, 0.8); color: #fff; }
.news-category-badge.default { background: rgba(255, 255, 255, 0.15); color: #fff; }

.news-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.news-card-body {
  padding: 20px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover .news-card-title {
  color: var(--accent-green);
}

.news-card-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.news-source {
  font-weight: 500;
}

/* ===== STANDINGS TABLE ===== */
.league-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.league-tabs::-webkit-scrollbar {
  display: none;
}

.league-tab {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.league-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
}

.league-tab.active {
  background: var(--accent-green);
  color: #0a0e17;
  border-color: var(--accent-green);
  font-weight: 600;
}

/* Season Selector Dropdown Styling */
.season-select option {
  background-color: #111827; /* Dark background matching --bg-secondary */
  color: #f0f0f0; /* Light text matching --text-primary */
}
.standings-tabs {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
  gap: 24px;
  overflow-x: auto;
  padding: 0 4px;
}

.standings-tab {
  padding: 12px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.standings-tab:hover {
  color: var(--text-primary);
}

.standings-tab.active {
  color: var(--accent-green) !important;
  font-weight: 700;
}

.standings-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-green);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

.standings-group-panel {
  display: none;
}

.standings-group-panel.active {
  display: block;
}

/* ===== PLAYER STATS (TOP SKOR & ASSIST) ===== */
.player-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.ps-section-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.ps-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ps-season-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.ps-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ps-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.ps-card-header .ps-card-icon {
  font-size: 1.2rem;
}

.ps-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ps-card-body {
  padding: 8px 0;
}

.ps-player-row {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 12px;
  transition: background 0.2s ease;
  border-left: 3px solid transparent;
}

.ps-player-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ps-player-row.medal-gold {
  border-left-color: #ffd700;
  background: rgba(255, 215, 0, 0.04);
}

.ps-player-row.medal-silver {
  border-left-color: #c0c0c0;
  background: rgba(192, 192, 192, 0.03);
}

.ps-player-row.medal-bronze {
  border-left-color: #cd7f32;
  background: rgba(205, 127, 50, 0.03);
}

.ps-rank {
  width: 22px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}

.medal-gold .ps-rank { color: #ffd700; }
.medal-silver .ps-rank { color: #c0c0c0; }
.medal-bronze .ps-rank { color: #cd7f32; }

.ps-player-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.ps-player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-player-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.ps-player-info {
  flex: 1;
  min-width: 0;
}

.ps-player-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-player-team {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-stat-col {
  text-align: right;
  flex-shrink: 0;
}

.ps-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.2;
}

.ps-stat-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .player-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .ps-player-row {
    padding: 8px 14px;
    gap: 10px;
  }

  .ps-player-name {
    font-size: 0.78rem;
  }

  .ps-player-photo {
    width: 30px;
    height: 30px;
  }
}

.standings-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table thead th {
  padding: 14px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 5;
}

.standings-table thead th:nth-child(2) {
  text-align: left;
}

.standings-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.standings-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

.standings-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.standings-table tbody td {
  padding: 12px;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
}

.standings-table tbody td:nth-child(2) {
  text-align: left;
  font-weight: 600;
}

/* Zone indicators */
.standings-table tbody tr.zone-ucl td:first-child {
  border-left: 3px solid var(--accent-green);
}

.standings-table tbody tr.zone-uel td:first-child {
  border-left: 3px solid var(--accent-blue);
}

.standings-table tbody tr.zone-relegation td:first-child {
  border-left: 3px solid var(--accent-red);
}

.standings-table .col-pos {
  font-weight: 700;
  width: 40px;
  color: var(--text-secondary);
}

.standings-table .col-team {
  min-width: 140px;
}

.standings-table .col-team .team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.standings-table .team-crest-small {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card-hover);
}

.standings-table .team-crest-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.standings-table .col-pts {
  font-weight: 700;
  color: var(--accent-green);
}

.standings-table .col-gd {
  font-weight: 500;
}

.standings-table .col-gd.positive {
  color: var(--accent-green);
}

.standings-table .col-gd.negative {
  color: var(--accent-red);
}

.standings-table .col-hide-mobile {
  /* hidden on mobile */
}

/* ===== PREDICTIONS ===== */
.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 213, 79, 0.05);
  border: 1px solid rgba(255, 213, 79, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.disclaimer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.5;
}

.disclaimer-box p {
  font-size: 0.85rem;
  color: var(--accent-gold);
  line-height: 1.5;
  font-weight: 500;
}

.predictions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.prediction-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.prediction-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.prediction-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.prediction-team {
  text-align: center;
  flex: 1;
}

.prediction-team-name {
  font-size: 1rem;
  font-weight: 600;
}

.prediction-vs {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.prediction-meta {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.prediction-votes {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.vote-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.vote-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.vote-btn.vote-home:hover:not(:disabled) {
  border-color: var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

.vote-btn.vote-draw:hover:not(:disabled) {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.vote-btn.vote-away:hover:not(:disabled) {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.vote-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.vote-btn.selected {
  opacity: 1;
}

.vote-btn.selected.vote-home {
  background: rgba(0, 230, 118, 0.15);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.vote-btn.selected.vote-draw {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.vote-btn.selected.vote-away {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.vote-btn .vote-check {
  margin-left: 4px;
}

.prediction-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  margin-bottom: 8px;
}

.prediction-bar-segment {
  height: 100%;
  transition: width 0.5s ease;
}

.prediction-bar-segment.home { background: var(--accent-green); }
.prediction-bar-segment.draw { background: var(--text-muted); }
.prediction-bar-segment.away { background: var(--accent-blue); }

.prediction-percentages {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.prediction-percentages .pct-home { color: var(--accent-green); }
.prediction-percentages .pct-away { color: var(--accent-blue); }

.prediction-total-votes {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-green);
  transform: translateX(4px);
  display: inline-block;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-green);
  color: #0a0e17;
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== LOADING SKELETONS ===== */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  border-radius: 4px;
}

.skeleton-rect {
  border-radius: var(--radius-md);
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 280px;
}

/* ===== ERROR STATE ===== */
.error-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.error-state-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.error-state-message {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.error-state .btn {
  margin: 0 auto;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-state-text {
  font-size: 0.95rem;
}

/* ===== UTILITY CLASSES ===== */
.text-live { color: var(--accent-red); }
.text-green { color: var(--accent-green); }
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-muted { color: var(--text-muted); }

/* ===== RESPONSIVE ===== */

/* Tablet: >= 640px */
@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .predictions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: >= 1024px */
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: < 640px */
@media (max-width: 639px) {
  :root {
    --navbar-height: 56px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(0, 230, 118, 0.05);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-match-card {
    padding: 16px;
  }

  .hero-team-name {
    font-size: 0.9rem;
  }

  .hero-match-score {
    font-size: 1.5rem;
  }

  .section {
    padding: 50px 0;
  }

  .match-card {
    min-width: 260px;
  }

  /* Hide some standings columns on mobile */
  .standings-table .col-hide-mobile {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-tagline {
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .prediction-votes {
    flex-direction: column;
  }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



/* ===== ADMIN NAV LINK ===== */
.nav-link-admin {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  border: 1px solid rgba(245, 87, 108, 0.3) !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
}
.nav-link-admin:hover {
  background: rgba(245, 87, 108, 0.1) !important;
  border-color: rgba(245, 87, 108, 0.6) !important;
}

@media (max-width: 768px) {
  .hero-container {
    padding: 15px 10px;
    gap: 20px;
  }
  .hero-glass-card {
    padding: 24px 16px;
    border-radius: 20px;
    margin: 0 2px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .hero-cta {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }
  .btn-glow, .btn-glass {
    flex: 1;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    justify-content: center;
  }
  .featured-matches-container {
    padding-left: 4px;
    padding-right: 4px;
    gap: 12px;
  }
  .hero-match-card {
    flex: 0 0 85%;
    min-width: 250px;
    padding: 16px;
    border-radius: 16px;
  }
  .hero-main-layout {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .hero-sidebar {
    width: 100% !important;
    max-width: 450px;
    order: 2; /* Sidebar dipindah ke bawah konten hero di HP */
  }
  .featured-matches-wrapper {
    width: 100% !important;
    order: 1; /* Laga unggulan diposisikan di atas sidebar di HP */
  }
  .player-pitch-name {
    max-width: 52px !important;
    font-size: 0.58rem !important;
    line-height: 1.1 !important;
  }
}

/* ===== FLASHSCORE STYLE LIVESCORE ===== */
.fs-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}
.fs-filter-btn {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.fs-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.fs-filter-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}
.fs-filter-btn.live-btn.active {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}
.badge-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
}
.live-dot-pulse {
  animation: livePulse 1.5s infinite;
  display: inline-block;
}
@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.fs-cal-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.fs-cal-btn:hover { background: rgba(255,255,255,0.1); }
.fs-cal-btn svg { width: 16px; height: 16px; }
.fs-cal-center {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
  flex: 1; font-weight: 700; color: var(--text-primary); font-size: 0.95rem; cursor: pointer;
  padding: 6px 12px; border-radius: 6px; position: relative;
}
.fs-cal-center:hover { background: rgba(255,255,255,0.05); }
.fs-cal-icon { width: 18px; height: 18px; color: var(--text-muted); }
.fs-date-picker-hidden {
  position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; overflow: hidden;
}

/* ===== USER ACCESS LOCATION BADGE ===== */
.user-access-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  user-select: none;
}
.user-access-loc-badge:hover {
  border-color: rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.7));
}
.user-loc-tz-tag {
  font-size: 0.68rem;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* ===== SEARCH BOX IN NAV BAR ===== */
.fs-nav-search-box {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2px 10px;
  height: 36px;
  transition: all 0.25s ease;
  max-width: 240px;
}
.fs-nav-search-box:focus-within,
.fs-nav-search-box:hover {
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
.fs-search-btn {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
}
.fs-nav-search-box:focus-within .fs-search-btn,
.fs-search-btn:hover {
  color: #60a5fa;
}
.fs-search-btn svg {
  width: 16px;
  height: 16px;
}
.fs-search-input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.82rem;
  padding: 4px 8px;
  width: 150px;
  font-family: inherit;
}
.fs-search-input::placeholder {
  color: #64748b;
  font-size: 0.8rem;
}
.fs-search-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.2s ease;
}
.fs-search-clear:hover {
  color: #ef4444;
}

/* ===== LIVE FILTER TOGGLE BUTTON ===== */
.fs-live-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 20px;
  padding: 0 12px;
  height: 36px;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.fs-live-toggle-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}
.fs-live-toggle-btn.active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(15, 23, 42, 0.9));
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}
.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
  animation: livePulseAnim 1.4s infinite ease-in-out;
}
@keyframes livePulseAnim {
  0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 4px #ef4444; }
  50% { transform: scale(1.3); opacity: 0.5; box-shadow: 0 0 10px #ef4444; }
  100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 4px #ef4444; }
}
.live-count-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.2;
}

/* ===== SOUND NOTIFICATION TOGGLE BUTTON ===== */
.fs-sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
}
.fs-sound-toggle-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.5);
}
.fs-sound-toggle-btn.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(15, 23, 42, 0.9));
  border-color: #22c55e;
  color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.fs-sound-toggle-btn.muted {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.fs-sound-toggle-btn.muted:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}
.fs-sound-svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.fs-sound-toggle-btn:active .fs-sound-svg {
  transform: scale(0.85);
}
.sound-pulse-ring {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}
.fs-sound-toggle-btn.muted .sound-pulse-ring {
  background-color: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* GOAL ALERT TOAST BANNER */
.goal-toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #092e1a 0%, #0f172a 100%);
  border: 1px solid #22c55e;
  border-left: 5px solid #22c55e;
  border-radius: 12px;
  padding: 14px 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(34, 197, 94, 0.4);
  animation: goalToastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes goalToastSlideIn {
  0% { transform: translateX(120%) scale(0.8); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}
.goal-toast-notification.fade-out {
  animation: goalToastSlideOut 0.4s ease forwards;
}
@keyframes goalToastSlideOut {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(120%) scale(0.8); opacity: 0; }
}
.goal-toast-icon {
  font-size: 2rem;
  animation: goalBallSpin 0.8s ease-in-out infinite alternate;
}
@keyframes goalBallSpin {
  0% { transform: scale(1) rotate(-10deg); }
  100% { transform: scale(1.3) rotate(20deg); }
}
.goal-toast-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.goal-toast-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.goal-toast-match {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}
.goal-toast-score {
  font-weight: 800;
  color: #fbbf24;
}

/* GOAL MATCH FLASH GLOW EFFECT */
.match-card-row.goal-flash {
  animation: goalFlashGlow 3s ease-in-out infinite alternate;
}
@keyframes goalFlashGlow {
  0% { background: rgba(34, 197, 94, 0.08); border-left-color: #22c55e; box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.2); }
  100% { background: rgba(34, 197, 94, 0.3); border-left-color: #4ade80; box-shadow: inset 0 0 25px rgba(34, 197, 94, 0.5); }
}

.fs-wrapper {
  background: var(--bg-card); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden;
}
.fs-league-header {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  padding: 10px 16px; 
  border-bottom: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-gold);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-top: 6px;
}
.fs-league-header:first-child { margin-top: 0; }
.fs-league-left { display: flex; align-items: center; gap: 12px; }
.fs-star-icon { width: 18px; height: 18px; color: var(--text-muted); cursor: pointer; transition: color 0.2s ease; }
.fs-star-icon:hover { color: var(--accent-gold); }
.fs-league-logo { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.fs-league-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fs-league-title { display: flex; flex-direction: column; gap: 1px; }
.fs-league-name { font-weight: 700; color: #f8fafc; font-size: 0.92rem; letter-spacing: 0.2px; }
.fs-league-country { font-size: 0.72rem; color: #38bdf8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.fs-league-right { display: flex; align-items: center; gap: 12px; }
.fs-icon-blue { width: 16px; height: 16px; color: var(--accent-blue); cursor: pointer; }
.fs-icon-gray { width: 18px; height: 18px; color: var(--text-muted); cursor: pointer; }
.fs-match-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.04); 
  background: rgba(13, 17, 26, 0.9); 
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.fs-match-row:hover { 
  background: rgba(30, 41, 59, 0.6); 
  border-left-color: var(--accent-blue);
  cursor: pointer; 
}
.fs-match-row:last-child { border-bottom: none; }
.fs-match-left { display: flex; align-items: center; gap: 16px; }
.fs-teams-stack { display: flex; flex-direction: column; gap: 6px; }
.fs-team { display: flex; align-items: center; gap: 8px; }
.fs-team-crest { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fs-team-crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fs-team-name { font-size: 0.9rem; color: var(--text-primary); font-weight: 600; display: flex; align-items: center; }
.team-country-tag {
  display: inline-block;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  padding: 0px 4px;
  border-radius: 3px;
  margin-left: 5px;
  letter-spacing: 0.2px;
  line-height: 1.2;
  vertical-align: middle;
}
.fs-match-right { display: flex; align-items: center; gap: 12px; }
.fs-match-time { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.fs-live-btn {
  background: #e53e3e; color: white; font-size: 0.7rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; animation: pulse-live 2s infinite;
}
@keyframes pulse-live { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* ===== FLASHSCORE COMPACT MOBILE DISPLAY ===== */
@media (max-width: 768px) {
  .livescore-layout {
    padding: 0 4px !important;
  }
  .fs-league-header {
    padding: 8px 10px !important;
    border-radius: 6px;
    margin-top: 4px;
  }
  .fs-league-name {
    font-size: 0.82rem !important;
  }
  .fs-league-country {
    font-size: 0.65rem !important;
  }
  .fs-match-row {
    padding: 8px 10px !important;
    gap: 8px !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .fs-match-left {
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .fs-star-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
  }
  .fs-teams-stack {
    gap: 5px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .fs-team {
    gap: 6px !important;
  }
  .fs-team-crest {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
  }
  .fs-team-name {
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 160px;
  }
  .fs-team-score {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #ffffff;
    min-width: 20px;
    text-align: right;
  }
  .fs-match-right {
    gap: 6px !important;
    flex-shrink: 0;
  }
  .fs-match-odds-pill {
    display: none !important;
  }
  .fs-match-time {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
  }
  .fs-live-btn {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
  }
  .fs-calendar-nav {
    padding: 8px !important;
    gap: 6px !important;
  }
  .fs-live-toggle-btn {
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 0.75rem !important;
  }
  .fs-sound-toggle-btn {
    width: 32px !important;
    height: 32px !important;
  }
  .fs-nav-search-box {
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-top: 4px;
  }
}

/* ===== MATCH DETAIL MODAL ===== */
.match-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.match-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.match-modal {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.match-modal-overlay.active .match-modal {
  transform: translateY(0);
}
.match-modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.5);
}
.match-modal-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.match-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.match-modal-close:hover {
  background: #ef4444; color: white;
}
.match-modal-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.3);
  border-bottom: 1px solid var(--glass-border);
}
.match-modal-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.match-modal-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.match-modal-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.match-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.match-modal-content-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.match-modal-content-section.active {
  display: block;
}

/* Event List */
.event-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-time { width: 50px; font-weight: bold; color: var(--accent); }
.event-icon { width: 30px; display: flex; justify-content: center; margin-right: 10px;}
.event-detail { flex: 1; color: var(--text-primary); }

/* Lineups */
.lineups-container {
  display: flex;
  gap: 20px;
}
.lineup-team {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px;
}
.lineup-title { font-weight: bold; text-align: center; margin-bottom: 15px; color: var(--text-primary); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.player-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.9rem; color: var(--text-secondary); }
.player-number { font-weight: bold; color: var(--text-muted); margin-right: 10px; width: 25px; display: inline-block; }

/* Stats */
.stat-row {
  margin-bottom: 15px;
}
.stat-label { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 5px; }
.stat-bar-container { display: flex; align-items: center; gap: 10px; }
.stat-val { width: 30px; font-weight: bold; font-size: 0.9rem; text-align: center; }
.stat-bar-bg { flex: 1; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; display: flex; }
.stat-bar-home { background: var(--accent); height: 100%; transition: width 0.5s; }
.stat-bar-away { background: #3b82f6; height: 100%; transition: width 0.5s; }

/* Community Activity styles */
.activity-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background 0.3s;
}
.activity-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.activity-user {
  width: 15%;
  min-width: 90px;
  font-weight: 600;
  color: var(--accent-green, #10b981);
}
.activity-match {
  flex: 1;
  padding-left: 10px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-pred {
  width: 25%;
  text-align: center;
  font-weight: 500;
}
.activity-points {
  width: 15%;
  min-width: 75px;
  text-align: right;
  font-family: 'Courier New', monospace;
  color: #fbbf24;
}
.activity-status-badge {
  width: 15%;
  min-width: 90px;
  text-align: right;
  padding-right: 15px;
}
.act-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}
.act-badge.win {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.act-badge.lose {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.act-badge.pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}


/* ===== FLASHSCORE STYLE MATCH DETAILS ===== */

/* Tab Styles */
.match-modal-tabs {
  display: flex;
  background: #111827; /* Dark black background */
  border-bottom: 2px solid #374151;
}
.match-modal-tab {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.match-modal-tab:hover {
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.02);
}
.match-modal-tab.active {
  color: #10b981; /* Flashscore soccer green active highlight */
  border-bottom-color: #10b981;
  background: rgba(16, 185, 129, 0.04);
}

/* Timeline/Summary Section */
.event-item-flashscore {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
}
.event-item-flashscore::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
  z-index: 1;
}
.event-item-home {
  grid-column: 1;
  text-align: right;
  padding-right: 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.event-item-center {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: var(--bg-card); /* Covers the vertical timeline line */
  padding: 4px 0;
}
.event-item-time {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 3px;
}
.event-item-icon-wrapper {
  width: 24px; height: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.event-item-icon-wrapper.event-icon-goal {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}
.event-item-icon-wrapper.event-icon-yellow {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}
.event-item-icon-wrapper.event-icon-red {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}
.event-item-icon-wrapper.event-icon-sub {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}
.event-item-away {
  grid-column: 3;
  text-align: left;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.period-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 15px;
  border-radius: 4px;
}

/* Lineups Section */
.lineups-container-flashscore {
  display: flex;
  gap: 30px;
}
@media (max-width: 768px) {
  .lineups-container-flashscore {
    flex-direction: column;
    gap: 20px;
  }
}
.lineup-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lineup-team-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}
.lineup-section-header {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.lineup-list {
  display: flex;
  flex-direction: column;
}
.lineup-player-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}
.lineup-jersey {
  font-weight: 700;
  color: var(--text-muted);
  width: 30px;
  font-size: 0.8rem;
  display: inline-block;
  text-align: center;
}
.lineup-name {
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Stats Section */
.stats-flashscore-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 0;
}
.flashscore-stat-row {
  display: flex;
  flex-direction: column;
}
.flashscore-stat-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.flashscore-stat-val {
  font-weight: 700;
  color: var(--text-primary);
  width: 45px;
}
.flashscore-stat-val.home-val {
  text-align: left;
}
.flashscore-stat-val.away-val {
  text-align: right;
}
.flashscore-stat-label {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.flashscore-stat-bars {
  display: flex;
  gap: 6px;
  align-items: center;
}
.flashscore-stat-bar-home-bg, .flashscore-stat-bar-away-bg {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.flashscore-stat-bar-home-bg {
  display: flex;
  justify-content: flex-end;
}
.flashscore-stat-bar-away-bg {
  display: flex;
  justify-content: flex-start;
}
.flashscore-stat-bar-home-fill {
  background: var(--accent-green, #10b981);
  height: 100%;
  border-radius: 3px 0 0 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.flashscore-stat-bar-away-fill {
  background: #fbbf24;
  height: 100%;
  border-radius: 0 3px 3px 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===== TACTICAL FIELD & PLAYER LABELS ala FLASHSCORE ===== */
.pitch-formations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent-green);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 8px 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.soccer-pitch-container {
  width: 100%;
  background: #1e3a27;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 25px;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.6), 0 10px 25px -5px rgba(0,0,0,0.4);
}
.pitch-field {
  width: 100%;
  height: 360px;
  border: 2px solid rgba(255,255,255,0.3);
  position: relative;
  border-radius: 6px;
  background: repeating-linear-gradient(
    90deg,
    #22442b,
    #22442b 40px,
    #1d3c26 40px,
    #1d3c26 80px
  );
  overflow: hidden;
}
.pitch-center-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.3);
  transform: translateX(-50%);
}
.pitch-center-circle {
  position: absolute;
  left: 50%; top: 50%;
  width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pitch-penalty-area {
  position: absolute;
  top: 50%;
  width: 50px; height: 150px;
  border: 2px solid rgba(255,255,255,0.3);
  transform: translateY(-50%);
}
.pitch-penalty-area.home {
  left: -2px;
  border-left: none;
}
.pitch-penalty-area.away {
  right: -2px;
  border-right: none;
}
.pitch-goal-area {
  position: absolute;
  top: 50%;
  width: 16px; height: 60px;
  border: 2px solid rgba(255,255,255,0.3);
  transform: translateY(-50%);
}
.pitch-goal-area.home {
  left: -2px;
  border-left: none;
}
.pitch-goal-area.away {
  right: -2px;
  border-right: none;
}
.pitch-player-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: all 0.3s ease;
}
.player-rating-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  padding: 1px 4px;
  border-radius: 3px;
  margin-bottom: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  line-height: 1;
}
.player-jersey-circle {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  border: 1.5px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.player-jersey-circle.home-jersey {
  background: #dc2626; /* Home jersey: Red */
}
.player-jersey-circle.away-jersey {
  background: #2563eb; /* Away jersey: Blue */
}
.player-pitch-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
  max-width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== LIVE TICKER STRIP ===== */
.live-ticker-strip {
  width: 100%;
  background: #0b0d12;
  border-bottom: 1px solid #1e293b;
  height: 48px;
  overflow: hidden;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  z-index: 999;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  user-select: none;
}

.ticker-wrapper::-webkit-scrollbar {
  display: none;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  width: max-content;
  will-change: transform;
  animation: ticker-marquee 90s linear infinite;
}

.live-ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

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

.ticker-match-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #131722;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 4px 10px;
  height: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticker-match-item:hover {
  border-color: var(--accent-red);
  background: #191f2e;
}

.ticker-league {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  border-right: 1px solid #2d3748;
  padding-right: 8px;
}

.ticker-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ticker-score {
  color: var(--accent-red);
  font-weight: 800;
  padding: 0 2px;
}

.ticker-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.ticker-status.live {
  color: var(--accent-red);
  font-weight: 800;
  position: relative;
  padding-left: 12px;
}

.ticker-status.live::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--accent-red);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: translateY(-50%) scale(0.8); opacity: 0.5; }
  50% { transform: translateY(-50%) scale(1.2); opacity: 1; }
  100% { transform: translateY(-50%) scale(0.8); opacity: 0.5; }
}

/* Adjust page padding for the fixed ticker strip */
body {
  padding-top: 48px; /* Ticker height */
}


/* ============================================
   LIVESCORE SIDEBAR LAYOUT
   ============================================ */
.livescore-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.livescore-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 0;
  position: sticky;
  top: 80px; /* Adjust according to header height */
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 0 16px;
}

.sidebar-league-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-league-list li.sidebar-category-header {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b82f6; /* Soft blue */
  background: transparent !important;
  border-left: none !important;
  cursor: default;
  padding: 18px 16px 6px 16px;
  pointer-events: none;
  opacity: 0.9;
}

.sidebar-league-list li {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-league-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.sidebar-league-list li.active {
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
  font-weight: 600;
}

.league-flag {
  font-size: 16px;
}

.livescore-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .livescore-layout {
    flex-direction: column;
  }
  .livescore-main {
    order: 1;
    width: 100%;
  }
  .livescore-sidebar {
    order: 2;
    width: 100%;
    position: static;
    margin-top: 24px;
  }
}

/* ============================================
   ODDS ENGINE STYLES
   ============================================ */
.fs-match-odds-pill {
  display: flex;
  gap: 6px;
  font-size: 0.72rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-right: 8px;
}

.odds-up {
  color: #10b981 !important;
}

.odds-down {
  color: #ef4444 !important;
}

.odds-card {
  transition: all 0.2s ease;
}

.odds-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ============================================
   FLAG IMAGE BADGES
   ============================================ */
.league-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ============================================
   MIX PARLAY CALCULATOR STYLES
   ============================================ */
.parlay-calculator-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 15px;
}

@media (max-width: 992px) {
  .parlay-calculator-grid {
    flex-direction: column;
  }
}

.parlay-left-panel {
  flex: 1.6;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.parlay-right-panel {
  flex: 1;
  width: 100%;
  position: sticky;
  top: 120px;
}

.parlay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.parlay-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.parlay-leg-count-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.btn-import-matches {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-import-matches:hover {
  background: rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.parlay-legs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.parlay-leg-card {
  background: rgba(19, 23, 34, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s ease;
  position: relative;
}

.parlay-leg-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.parlay-leg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.parlay-leg-number {
  background: #1e293b;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.parlay-match-input {
  flex: 1;
  background: #0f131d;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 8px 12px;
  font-size: 0.88rem;
  outline: none;
}

.parlay-match-input:focus {
  border-color: var(--accent-gold);
}

.btn-delete-leg {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-delete-leg:hover {
  background: #ef4444;
  color: #fff;
}

.parlay-leg-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .parlay-leg-controls {
    grid-template-columns: 1fr;
  }
}

.parlay-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parlay-field-group label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.parlay-select, .parlay-odds-input {
  background: #0f131d;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 7px 10px;
  font-size: 0.85rem;
  outline: none;
}

.parlay-select:focus, .parlay-odds-input:focus {
  border-color: var(--accent-gold);
}

.status-win {
  color: #10b981 !important;
  font-weight: 700;
}
.status-half-win {
  color: #34d399 !important;
  font-weight: 700;
}
.status-draw {
  color: #fbbf24 !important;
  font-weight: 700;
}
.status-half-lose {
  color: #f87171 !important;
  font-weight: 700;
}
.status-lose {
  color: #ef4444 !important;
  font-weight: 700;
}

.parlay-actions-row {
  display: flex;
  gap: 12px;
}

.btn-parlay-action {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-parlay-action.add-leg {
  flex: 2;
  background: var(--accent-red);
  color: #fff;
  border: none;
}

.btn-parlay-action.add-leg:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-parlay-action.reset {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.btn-parlay-action.reset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.parlay-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.summary-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.parlay-input-group {
  margin-bottom: 20px;
}

.parlay-input-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.stake-input-wrapper {
  display: flex;
  align-items: center;
  background: #0f131d;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 12px;
}

.stake-input-wrapper:focus-within {
  border-color: var(--accent-gold);
}

.currency-prefix {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-right: 6px;
}

.stake-input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 700;
  outline: none;
}

.quick-stake-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.chip-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover, .chip-btn.active {
  background: var(--accent-gold);
  color: #0b0d12;
  border-color: var(--accent-gold);
}

.parlay-results-box {
  background: #0f131d;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.result-row:last-child {
  margin-bottom: 0;
}

.result-label {
  color: var(--text-secondary);
}

.result-val {
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-gold {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.highlight-green {
  color: #10b981;
  font-size: 1.2rem;
}

.highlight-profit {
  color: #34d399;
  font-weight: 800;
}

.result-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 12px 0;
}

.btn-copy-parlay-slip {
  width: 100%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-parlay-slip:hover {
  background: #10b981;
  color: #fff;
}

/* ============================================
   NAVBAR TIMEZONE SELECTOR STYLES
   ============================================ */
.nav-tz-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 12px;
}

.nav-tz-select {
  background: #131722;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-tz-select:hover, .nav-tz-select:focus {
  border-color: var(--accent-gold);
  background: #191f2e;
}

/* ===== TEAM SCHEDULE & HISTORY MODAL ===== */
#team-schedule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.team-schedule-modal-content {
  position: relative;
  max-width: 750px;
  width: 95%;
  border-radius: 16px;
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  padding: 0;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-modal-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 23, 42, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-modal-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.team-modal-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.team-modal-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.team-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 4px;
}

.team-modal-tabs {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.team-tab-btn {
  flex: 1;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.team-tab-btn:hover {
  color: var(--text-primary, #fff);
  background: rgba(255,255,255,0.02);
}

.team-tab-btn.active {
  color: #10b981;
  border-bottom-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.team-modal-body {
  padding: 20px;
  max-height: 520px;
  overflow-y: auto;
}

.team-tab-content {
  display: none;
}

.team-tab-content.active {
  display: block;
}

.team-matches-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.team-match-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.team-match-date {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  width: 90px;
  flex-shrink: 0;
}

.team-match-teams {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.team-match-teams .home-t, .team-match-teams .away-t {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-match-teams .home-t {
  justify-content: flex-end;
  text-align: right;
}

.team-match-teams .away-t {
  justify-content: flex-start;
  text-align: left;
}

.team-match-score {
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fbbf24;
  font-family: monospace;
  font-size: 0.95rem;
}

.team-match-outcome {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.team-match-outcome.W {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.team-match-outcome.D {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.team-match-outcome.L {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.clickable-team-name {
  cursor: pointer;
  transition: color 0.15s ease;
}

.clickable-team-name:hover {
  color: #10b981 !important;
  text-decoration: underline;
}

/* Live Score Goal Flash Effect */
@keyframes scoreGoalFlash {
  0% { background: #ef4444; color: #ffffff; transform: scale(1.3); box-shadow: 0 0 14px rgba(239,68,68,0.8); border-radius: 4px; }
  50% { background: #f59e0b; color: #ffffff; transform: scale(1.15); box-shadow: 0 0 10px rgba(245,158,11,0.8); border-radius: 4px; }
  100% { background: transparent; color: inherit; transform: scale(1); box-shadow: none; }
}

.score-updated-flash {
  animation: scoreGoalFlash 3s ease-out;
  display: inline-block;
  padding: 0 4px;
}




