/* ============================================================
   WorldCupStream — "Stadium Nights" Design System
   FIFA World Cup 2026 Live Stream Finder
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #07070f;
  --bg-secondary: #0b0b18;
  --bg-tertiary: #10101f;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-card-active: rgba(255, 255, 255, 0.1);
  --bg-input: rgba(255, 255, 255, 0.05);
  --bg-nav: rgba(5, 12, 10, 0.85);

  /* Text */
  --text-primary: #f0f4f2;
  --text-secondary: #8a9b92;
  --text-muted: #5a6b62;
  --text-inverse: #050c0a;

  /* Accents */
  --accent-gold: #00FF87; /* Changed to Neon Pitch Green for football theme */
  --accent-gold-light: #5effad;
  --accent-gold-dark: #00cc6a;
  --accent-green: #00FF87;
  --accent-green-dim: #00cc6a;
  --accent-blue: #3B82F6;
  --accent-blue-light: #60a5fa;
  --accent-red: #EF4444;
  --accent-purple: #8B5CF6;
  --accent-cyan: #06b6d4;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a1b15 0%, #06121a 40%, #03140a 100%);
  --gradient-gold: linear-gradient(135deg, #00FF87, #06b6d4);
  --gradient-card-border: linear-gradient(135deg, rgba(0,255,135,0.3), rgba(59,130,246,0.1));
  --gradient-page-header: linear-gradient(180deg, #05100c 0%, var(--bg-primary) 100%);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-input: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(212, 175, 55, 0.3);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.08);
  --shadow-btn: 0 4px 16px rgba(212, 175, 55, 0.25);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
  --shadow-glow-green: 0 0 20px rgba(0, 255, 135, 0.3);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Z-index */
  --z-base: 1;
  --z-card: 10;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold);
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}


/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  padding: var(--space-3xl) 0;
  background-color: var(--bg-secondary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
}


/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-nav);
  height: var(--nav-height);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.nav-brand:hover {
  transform: scale(1.02);
  color: var(--text-primary);
}

.brand-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.brand-text {
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}

/* Hamburger (Mobile) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #0a0a0f !important; /* Enforce Solid Dark background */
    z-index: 1000 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
    font-size: 1rem;
  }
}


/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated floating particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; width: 5px; height: 5px; }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; animation-duration: 18s; animation-delay: 1s; width: 6px; height: 6px; }
.particle:nth-child(5) { left: 70%; animation-duration: 14s; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 85%; animation-duration: 11s; animation-delay: 5s; }
.particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 6s; width: 5px; height: 5px; }
.particle:nth-child(8) { left: 60%; animation-duration: 13s; animation-delay: 7s; width: 3px; height: 3px; }

.hero-content {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.6s ease-out;
}

.hero-badge .live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 55ch;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

@media (max-width: 480px) {
  .hero-stats {
    gap: var(--space-lg);
  }
  .hero-stat-value {
    font-size: 1.5rem;
  }
}


/* ---------- Page Header (non-hero pages) ---------- */
.page-header {
  background: var(--gradient-page-header);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}


/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

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

/* Broadcaster Card */
.broadcaster-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.broadcaster-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.broadcaster-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.broadcaster-card .broadcaster-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.broadcaster-card .broadcaster-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.broadcaster-card .card-badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.broadcaster-card .card-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

/* Match Card */
.match-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.match-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 255, 135, 0.08);
  border-color: rgba(0, 255, 135, 0.3);
}

.match-card .match-time {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 55px;
  text-align: center;
}

.match-card .match-teams {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

.match-card .team {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  min-width: 0;
}

.match-card .team-flag {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.match-card .team-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-card .match-vs {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.match-card .match-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.match-card .match-venue {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.match-card.live {
  border-color: rgba(0, 255, 135, 0.2);
  background: rgba(0, 255, 135, 0.03);
}

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

/* Match Card Expanded */
.match-expanded {
  display: none;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.match-expanded.open {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.match-expanded .watch-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: var(--space-md);
}

.match-expanded .watch-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Country Card */
.country-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.country-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.country-card .country-flag {
  font-size: 2rem;
  flex-shrink: 0;
}

.country-card .country-info {
  flex: 1;
  min-width: 0;
}

.country-card .country-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.country-card .country-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.country-card .country-badges {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

/* Date header for match groups */
.date-header {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  padding: var(--space-md) 0 var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Detect section card */
.detect-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(59,130,246,0.05));
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detect-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, transparent 50%);
  animation: slow-rotate 20s linear infinite;
}

.detect-card .detect-flag {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.detect-card .detect-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.detect-card .detect-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.detect-broadcasters {
  position: relative;
  z-index: 1;
}

.country-select-wrapper {
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.country-select {
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 200px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.country-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

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


/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-free {
  background: rgba(0, 255, 135, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 135, 0.2);
}

.badge-paid {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-tv {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-streaming {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-live {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.25);
  animation: pulse-badge 2s ease-in-out infinite;
}

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

.badge-group {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--text-inverse);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
  color: var(--text-inverse);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
  color: var(--accent-gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  padding: 8px;
  border-radius: var(--radius-md);
}


/* ---------- Search & Filters ---------- */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: var(--bg-card-hover);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.filter-btn.active {
  color: var(--text-inverse);
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
}


/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Ad Containers ---------- */
.ad-container {
  margin: var(--space-xl) auto;
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.ad-container.ad-loaded {
  border: none;
  background: none;
  min-height: auto;
}

.ad-container.ad-leaderboard {
  max-width: 728px;
}

.ad-container.ad-sidebar {
  max-width: 300px;
}

.ad-container.ad-infeed {
  max-width: 100%;
}

.ad-label {
  position: absolute;
  top: 4px;
  left: 8px;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.empty-state .empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.empty-state .empty-desc {
  color: var(--text-muted);
  margin: 0 auto;
}


/* ---------- Region Section ---------- */
.region-section {
  margin-bottom: var(--space-2xl);
}

.region-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.region-emoji {
  font-size: 1.3rem;
}


/* ---------- Quick Links Grid ---------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.quick-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

.quick-link .flag {
  font-size: 1.3rem;
}


/* ---------- Upcoming Matches Widget ---------- */
.matches-widget {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.match-widget-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.match-widget-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.match-widget-card .mw-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-width: 50px;
}

.match-widget-card .mw-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.match-widget-card .mw-vs {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.match-widget-card .mw-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

.match-widget-card.is-live {
  border-color: rgba(0, 255, 135, 0.2);
  background: rgba(0, 255, 135, 0.03);
}

.match-widget-card.is-live .mw-time {
  color: var(--accent-green);
}


/* ---------- Content Sections ---------- */
.content-section {
  max-width: 700px;
  margin: 0 auto;
}

.content-section h2 {
  margin-bottom: var(--space-md);
}

.content-section h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.content-section p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.content-section ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.content-section ul li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.content-section a {
  color: var(--accent-gold);
}


/* ---------- Utility Classes ---------- */
.text-gold { color: var(--accent-gold) !important; }
.text-green { color: var(--accent-green) !important; }
.text-red { color: var(--accent-red) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.mt-1 { margin-top: var(--space-md) !important; }
.mt-2 { margin-top: var(--space-xl) !important; }
.mt-3 { margin-top: var(--space-2xl) !important; }
.mt-4 { margin-top: var(--space-3xl) !important; }
.mb-1 { margin-bottom: var(--space-md) !important; }
.mb-2 { margin-bottom: var(--space-xl) !important; }
.mb-3 { margin-bottom: var(--space-2xl) !important; }
.mb-4 { margin-bottom: var(--space-3xl) !important; }

.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-sm { gap: var(--space-sm) !important; }
.gap-md { gap: var(--space-md) !important; }
.gap-lg { gap: var(--space-lg) !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }


/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

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

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

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}


/* ---------- Responsive Mobile Adjustments ---------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section, .section-alt {
    padding: var(--space-2xl) 0;
  }

  .hero {
    min-height: calc(100vh - 56px);
    min-height: calc(100svh - 56px);
  }

  .hero-content {
    padding: var(--space-md);
  }

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

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #0a0a0f; /* Solid background to prevent overlap */
    z-index: 1000;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
    font-size: 1.1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .card {
    padding: var(--space-md);
  }

  .match-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .match-card .match-teams {
    width: 100%;
    justify-content: space-between;
  }

  .match-card .match-info {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border-subtle);
  }

  .match-widget-card {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .match-widget-card .mw-teams {
    width: 100%;
    justify-content: space-between;
  }

  .match-widget-card .mw-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-xs);
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-sm);
    justify-content: flex-start;
  }
  
  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
  }

  .match-card .team-name {
    font-size: 0.9rem;
    white-space: normal; /* Allow names to wrap cleanly on mobile */
  }

  .page-header {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
  }

  .match-card .team-name {
    font-size: 0.85rem;
  }
}

/* Touch target sizes for mobile */
@media (pointer: coarse) {
  .btn, .filter-btn, .nav-link, .quick-link, .country-card {
    min-height: 48px;
  }

  .badge {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ---------- Print Styles ---------- */
@media print {
  .navbar, .footer, .ad-container, .hero-particles, .filter-bar, .search-container {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ccc;
    background: white;
    break-inside: avoid;
  }

  .hero {
    min-height: auto;
    background: none;
    padding: 20px 0;
  }
}


/* ==========================================================================
   FOOTBALL THEME ENHANCEMENTS
   ========================================================================== */

/* ---------- Football Pitch Theme ---------- */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    /* Center circle */
    radial-gradient(circle 120px at 50% 85%, transparent 118px, rgba(255,255,255,0.02) 119px, rgba(255,255,255,0.02) 121px, transparent 122px),
    /* Center line */
    linear-gradient(0deg, transparent calc(85% - 1px), rgba(255,255,255,0.015) calc(85% - 1px), rgba(255,255,255,0.015) calc(85% + 1px), transparent calc(85% + 1px)),
    /* Grass stripes */
    repeating-linear-gradient(90deg, rgba(0,120,50,0.015) 0px, rgba(0,120,50,0.015) 60px, transparent 60px, transparent 120px);
  pointer-events: none;
  z-index: 0;
}


/* ---------- Soccer Ball Floating Elements ---------- */
.soccer-ball {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.12;
  animation: soccer-float linear infinite;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.2));
}

.soccer-ball:nth-child(1) { left: 5%; font-size: 1.2rem; animation-duration: 20s; animation-delay: 0s; }
.soccer-ball:nth-child(2) { left: 20%; font-size: 2rem; animation-duration: 25s; animation-delay: 3s; opacity: 0.08; }
.soccer-ball:nth-child(3) { left: 35%; font-size: 1rem; animation-duration: 18s; animation-delay: 7s; }
.soccer-ball:nth-child(4) { left: 50%; font-size: 1.8rem; animation-duration: 22s; animation-delay: 2s; opacity: 0.06; }
.soccer-ball:nth-child(5) { left: 65%; font-size: 1.3rem; animation-duration: 28s; animation-delay: 5s; }
.soccer-ball:nth-child(6) { left: 80%; font-size: 1.6rem; animation-duration: 19s; animation-delay: 10s; opacity: 0.1; }
.soccer-ball:nth-child(7) { left: 92%; font-size: 1.1rem; animation-duration: 24s; animation-delay: 8s; opacity: 0.07; }

@keyframes soccer-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: var(--ball-opacity, 0.1); }
  50% {
    transform: translateY(50vh) rotate(360deg) translateX(30px);
  }
  95% { opacity: 0.02; }
  100% {
    transform: translateY(-20vh) rotate(720deg) translateX(-20px);
    opacity: 0;
  }
}


/* ---------- Confetti / Paper Burst ---------- */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  opacity: 0;
  animation: confetti-fall linear forwards;
}

.confetti-piece:nth-child(odd) {
  border-radius: 50%;
}

.confetti-piece:nth-child(even) {
  border-radius: 2px;
  transform: rotate(45deg);
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}


/* ---------- Auto-Detect Button ---------- */
.detect-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.detect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0,255,135,0.12), rgba(0,255,135,0.05));
  border: 1px solid rgba(0,255,135,0.25);
  border-radius: 9999px;
  color: #00FF87;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.detect-btn:hover {
  background: linear-gradient(135deg, rgba(0,255,135,0.2), rgba(0,255,135,0.1));
  border-color: rgba(0,255,135,0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,255,135,0.15);
}

.detect-btn:active {
  transform: translateY(0);
}

.detect-btn .detect-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,255,135,0.3);
  border-top-color: #00FF87;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.detect-btn.loading .detect-spinner {
  display: block;
}

.detect-btn.loading .detect-icon {
  display: none;
}

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

.detect-result {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 14px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #D4AF37;
  font-weight: 600;
  animation: fadeInUp 0.4s ease-out;
}


/* ---------- Goal Celebration Pulse ---------- */
.goal-celebration {
  animation: goal-pulse 0.6s ease-out;
}

@keyframes goal-pulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.05); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* Kick animation for soccer balls */
.kick-anim {
  animation: kick 0.5s ease-out;
}

@keyframes kick {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.3) rotate(-15deg); }
  60% { transform: scale(0.9) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}


/* ---------- Football Pitch Lines on Page Headers ---------- */
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    /* Side lines */
    linear-gradient(90deg, rgba(255,255,255,0.02) 0px, transparent 2px, transparent calc(100% - 2px), rgba(255,255,255,0.02) calc(100% - 2px)),
    /* Grass pattern */
    repeating-linear-gradient(90deg, rgba(0,100,50,0.01) 0, rgba(0,100,50,0.01) 80px, transparent 80px, transparent 160px);
  pointer-events: none;
  z-index: 0;
}

.page-header > .container {
  position: relative;
  z-index: 1;
}
