:root {
  --primary-color: #DC2626;
  --primary-hover: #B91C1C;
  --primary-light: #FEE2E2;
  --accent-color: #EF4444;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-text span {
  color: var(--primary-color);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #16A34A;
  background: #DCFCE7;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #16A34A;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Hero Notice */
.hero-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Sports Category Bar */
.sports-nav-wrapper {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 68px;
  z-index: 40;
}

.sports-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.sports-nav::-webkit-scrollbar {
  display: none;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sport-pill:hover,
.sport-pill.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 7-Days Date Tabs */
.days-bar-wrapper {
  padding: 20px 0 10px;
}

.days-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.days-bar::-webkit-scrollbar {
  display: none;
}

.day-tab {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 12px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-tab .day-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.day-tab .day-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.day-tab:hover {
  border-color: var(--primary-color);
}

.day-tab.active {
  background: var(--primary-light);
  border-color: var(--primary-color);
}

.day-tab.active .day-label {
  color: var(--primary-color);
}

.day-tab.active .day-date {
  color: var(--primary-color);
}

/* Fixtures Grid */
.fixtures-section {
  padding: 20px 0 40px;
}

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

.section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

/* Match Card */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.match-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.league-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.match-time {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #DC2626;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

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

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.team-details-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.match-action {
  text-align: right;
}

.btn-stream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-stream:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-upcoming {
  background: #F1F5F9;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-upcoming:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Single Match Page */
.match-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  text-align: center;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--primary-color);
}

.match-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.match-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.countdown-box {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: inline-flex;
  gap: 20px;
  margin-bottom: 24px;
}

.countdown-item {
  text-align: center;
}

.countdown-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.countdown-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.player-action-box {
  background: #FFFFFF;
  border: 2px dashed var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  margin: 30px auto;
  max-width: 750px;
  text-align: center;
}

.btn-watch-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: all 0.2s ease;
}

.btn-watch-main:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

.player-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* SEO Content Section */
.seo-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
  margin-top: 40px;
}

.seo-content {
  max-width: 900px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.seo-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text-main);
}

.seo-content p {
  color: #334155;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.seo-content ul {
  margin: 10px 0 16px 24px;
  color: #334155;
}

.faq-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.faq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.faq-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 40px 0 24px;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1E293B;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }
  .brand-logo {
    font-size: 1.15rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .match-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .match-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .match-action {
    text-align: center;
  }
  .btn-stream {
    width: 100%;
    padding: 12px;
  }
  .footer-inner {
    flex-direction: column;
  }
}
