:root {
  --bg-primary: #07080b;
  --bg-secondary: #0d0f15;
  --bg-tertiary: #131620;
  --bg-card: rgba(18, 21, 30, 0.75);
  --bg-card-hover: rgba(26, 30, 44, 0.85);
  --bg-glass: rgba(13, 15, 21, 0.82);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 30, 56, 0.45);
  --border-glow: rgba(255, 30, 56, 0.6);

  --red-primary: #ff1e38;
  --red-hover: #e01129;
  --red-dark: #b80d21;
  --red-glow: rgba(255, 30, 56, 0.35);
  --red-gradient: linear-gradient(135deg, #ff2a44 0%, #d80b22 100%);
  --red-gradient-subtle: linear-gradient(135deg, rgba(255, 30, 56, 0.15) 0%, rgba(216, 11, 34, 0.05) 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #9aa3b5;
  --text-muted: #647087;
  --text-accent: #ff3b53;

  --accent-gold: #ffb703;
  --accent-green: #10b981;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(255, 30, 56, 0.28);
  --shadow-glow-strong: 0 0 45px rgba(255, 30, 56, 0.55);

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% -15%, rgba(255, 30, 56, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255, 30, 56, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(255, 30, 56, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, #07080b 0%, #0a0c12 50%, #06070a 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #b80516 0%, #db0b22 50%, #9e0312 100%);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 25px rgba(184, 5, 22, 0.45);
  transition: all var(--transition-normal);
}

.top-nav.scrolled {
  background: linear-gradient(90deg, #9e0312 0%, #bd081c 50%, #88000d 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 2px 0 #ff2b43;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  user-select: none;
  position: relative;
}

.brand-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.brand-logo:hover .brand-icon-wrap {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.brand-ball-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text {
  font-weight: 900;
  display: inline-flex;
  align-items: baseline;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-text-accent {
  color: #ffffff;
  margin-left: 3px;
  opacity: 0.95;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  opacity: 0.92;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  opacity: 1;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 30, 56, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 9px rgba(255, 30, 56, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 30, 56, 0);
  }
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-refresh:hover {
  color: #ffffff;
  border-color: rgba(255, 30, 56, 0.4);
  transform: rotate(180deg);
}

.btn-refresh svg {
  width: 17px;
  height: 17px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 0.3rem;
}

.hero-section {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  color: #f5a623; 
  text-shadow: 0 0 25px rgba(245, 166, 35, 0.35);
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.matches-section {
  padding: 0.5rem 0 3.5rem;
  flex: 1;
}

.agenda-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.75rem;
  background: #cc0000;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
}

.agenda-banner-btn:hover {
  background: #e00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(204, 0, 0, 0.7);
}

.agenda-banner-btn svg {
  width: 20px;
  height: 20px;
}

.agenda-controls-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}

.search-box-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.75rem;
  background: #14161e;
  border: 1px solid #262936;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #ffffff;
  transition: all var(--transition-normal);
}

.search-input::placeholder {
  color: #7b8599;
}

.search-input:focus {
  border-color: #ff1e38;
  background: #181a24;
  box-shadow: 0 0 0 3px rgba(255, 30, 56, 0.18);
}

.clear-search-btn {
  position: absolute;
  right: 0.85rem;
  background: none;
  color: var(--text-muted);
  display: none;
  font-size: 1.1rem;
  padding: 0.2rem;
}

.clear-search-btn.show {
  display: block;
}

.category-select-wrap {
  min-width: 220px;
}

.custom-select {
  width: 100%;
  padding: 0.85rem 2.25rem 0.85rem 1rem;
  background: #14161e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aa3b5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid #262936;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.custom-select:focus {
  border-color: #ff1e38;
  box-shadow: 0 0 0 3px rgba(255, 30, 56, 0.18);
}

.league-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  max-width: 820px;
  margin: 0 auto 1.15rem;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}

.league-pills-bar::-webkit-scrollbar {
  display: none;
}

.agenda-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 820px;
  margin: 0 auto 0.75rem;
  padding: 0 0.25rem;
  font-size: 0.85rem;
  color: #8f9bb0;
}

.agenda-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #262936;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.agenda-refresh-btn:hover {
  background: #cc0000;
  color: #ffffff;
}

.agenda-refresh-btn svg {
  width: 14px;
  height: 14px;
}

.custom-select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(255, 30, 56, 0.15);
}

.view-toggle-wrap {
  display: flex;
  background: var(--bg-secondary);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.view-btn svg {
  width: 16px;
  height: 16px;
}

.view-btn.active {
  background: var(--red-gradient);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 30, 56, 0.4);
}

/* Category Pills Bar */
.league-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 0 0.25rem;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
  scrollbar-color: var(--border-card) transparent;
}

.league-pills-bar::-webkit-scrollbar {
  height: 4px;
}
.league-pills-bar::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 4px;
}

.pill-btn {
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-btn.active {
  background: rgba(255, 30, 56, 0.18);
  color: #ffffff;
  border-color: var(--red-primary);
  box-shadow: 0 0 15px rgba(255, 30, 56, 0.25);
}

/* Match Section Header Info */
.matches-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.matches-count-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.matches-count-text strong {
  color: #ffffff;
}

.timezone-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.timezone-info-badge svg {
  width: 14px;
  height: 14px;
  color: var(--red-primary);
}

/* ==========================================================================
   MATCH CARDS (GRID VIEW)
   ========================================================================== */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.25rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.match-card:hover::before {
  background: var(--red-gradient);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.card-league-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-league-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff5268;
  background: rgba(255, 30, 56, 0.1);
  border: 1px solid rgba(255, 30, 56, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Teams Layout */
.card-teams-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}

.card-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.team-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.match-card:hover .team-logo-wrap {
  transform: scale(1.05);
}

.team-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.team-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #1f2433 0%, #11131a 100%);
  border: 1px solid rgba(255, 30, 56, 0.3);
}

.team-name-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 110px;
}

.card-vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.vs-pill {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
}

/* Card Button */
.card-watch-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  background: var(--red-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(255, 30, 56, 0.35);
  transition: all var(--transition-normal);
  letter-spacing: 0.01em;
}

.card-watch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 30, 56, 0.6);
  background: linear-gradient(135deg, #ff3b53 0%, #e01129 100%);
}

.card-watch-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   AGENDA DE PARTIDOS - HERO BANNER & PERMANENT AGENDA STYLING
   ========================================================================== */
.agenda-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1.5rem;
  background: var(--red-gradient);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 30, 56, 0.45);
  text-transform: uppercase;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.agenda-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 30, 56, 0.7);
}

.agenda-banner-btn svg {
  width: 20px;
  height: 20px;
}

/* Agenda Matches List - Compact, High-Speed & Sleek */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 1220px;
  margin: 0 auto;
}

.match-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem 1rem;
  gap: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.match-row-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: transparent;
  transition: background 0.2s;
}

.match-row-item:hover {
  background: #171b28;
  border-color: rgba(255, 30, 56, 0.4);
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 15px rgba(255, 30, 56, 0.18);
}

.match-row-item:hover::before {
  background: #ff1e38;
}

/* 1. Time Box: NO border, clean solid background as requested */
.row-time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0.38rem 0.7rem;
  background: #1c202e;
  border: none !important;
  border-radius: 6px;
  font-family: var(--font-heading);
  line-height: 1.15;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.match-row-item:hover .row-time-box {
  background: #252b3e;
}

.row-time-hour {
  font-size: 0.96rem;
  font-weight: 800;
  color: #f5a623; /* Classic Tarjeta Roja Gold */
  letter-spacing: 0.02em;
}

.row-time-period {
  font-size: 0.7rem;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* 2. One Single Inline Line: League Logo + League: + Teams + vs */
.row-content-inline {
  flex: 1;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.25rem;
}

.row-league-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.row-league-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

.row-league-txt {
  color: #cbd5e1;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.row-teams-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-txt {
  color: #ffffff;
  font-weight: 700;
}

.row-vs-sep {
  color: #ff2a44;
  font-weight: 900;
  font-size: 0.85rem;
  margin: 0 0.15rem;
  text-transform: uppercase;
}

.row-mini-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 3. Action: Premium Spanish Watch Button "Ver Partido" */
.row-action-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.row-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  background: linear-gradient(135deg, #d4001a 0%, #aa0012 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(212, 0, 26, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.row-watch-btn svg {
  width: 11px;
  height: 11px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.match-row-item:hover .row-watch-btn {
  background: linear-gradient(135deg, #ff1e38 0%, #cc0015 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(255, 30, 56, 0.65), 0 0 10px rgba(255, 30, 56, 0.3);
  transform: scale(1.04);
}

.match-row-item:hover .row-watch-btn svg {
  transform: translateX(1px);
}

.skeleton-row {
  height: 48px;
  background: linear-gradient(90deg, #13151c 25%, #1e212c 50%, #13151c 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   LOADING SKELETON & EMPTY STATES
   ========================================================================== */
.skeleton-card {
  height: 220px;
  background: linear-gradient(90deg, #12151e 25%, #1a1e2b 50%, #12151e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

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

.empty-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-xl);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 450px;
  margin: 0 auto 1.25rem;
}

.empty-reset-btn {
  padding: 0.6rem 1.25rem;
  background: var(--red-gradient);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

/* ==========================================================================
   MODAL / STREAMING THEATER
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.player-modal-box {
  width: 100%;
  max-width: 960px;
  background: #0d0f15;
  border: 1px solid rgba(255, 30, 56, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), var(--shadow-glow-strong);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .player-modal-box {
  transform: translateY(0) scale(1);
}

.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #11141d;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.modal-match-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 30, 56, 0.15);
  border: 1px solid rgba(255, 30, 56, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff5268;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--red-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Server Selector Bar */
.modal-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #090b10;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.server-tabs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.server-tab {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.server-tab.active {
  background: var(--red-gradient);
  border-color: var(--red-primary);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 30, 56, 0.35);
}

.player-tools-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tool-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.tool-btn svg {
  width: 14px;
  height: 14px;
}

/* Video Frame Container */
.player-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
  overflow: hidden;
}

.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-loading-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #07080b;
  z-index: 1;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 30, 56, 0.2);
  border-top-color: var(--red-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.modal-footer-info {
  padding: 0.85rem 1.5rem;
  background: #0a0c12;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.external-stream-link {
  color: var(--red-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.external-stream-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SEO & FAQ SECTION (FOR RAPID GOOGLE RANKING)
   ========================================================================== */
.seo-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent 0%, rgba(13, 15, 21, 0.6) 100%);
}

.seo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.seo-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.seo-heading::before {
  content: '';
  width: 5px;
  height: 24px;
  background: var(--red-gradient);
  border-radius: 4px;
}

.seo-para {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.seo-feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.seo-feature-box:hover {
  border-color: rgba(255, 30, 56, 0.3);
  transform: translateY(-2px);
}

.seo-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-feature-title svg {
  width: 18px;
  height: 18px;
  color: var(--red-primary);
}

/* FAQ Accordion */
.faq-section {
  margin-top: 2rem;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-active);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  gap: 1rem;
}

.faq-question-btn:hover {
  color: var(--text-accent);
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--red-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer-content {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   SUPPORT PAGES (CONTACTO & DMCA STYLES)
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 2.5rem 0 4rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

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

.description-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 820px;
  line-height: 1.65;
}

.page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(255, 30, 56, 0.15);
  background: #11141e;
}

.submit-btn {
  align-self: flex-start;
  padding: 0.85rem 2rem;
  background: var(--red-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(255, 30, 56, 0.35);
  transition: all var(--transition-normal);
  margin-top: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 30, 56, 0.55);
}

.contact-info-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-subtitle {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

/* Legal text & articles */
.article-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 1rem;
}

.article-para {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-list {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-list li::marker {
  color: var(--red-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-brand-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--red-primary);
}

.footer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 868px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #090b10;
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .match-row-item {
    padding: 0.55rem 0.75rem;
    gap: 0.65rem;
  }

  .row-time-box {
    min-width: 68px;
    padding: 0.3rem 0.5rem;
  }

  .row-time-hour {
    font-size: 0.88rem;
  }

  .row-time-period {
    font-size: 0.65rem;
  }

  .row-watch-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
  }

  .hero-stats-bar {
    gap: 0.75rem 1.25rem;
  }
  
  .stat-divider {
    display: none;
  }
}
@media (max-width: 540px) {
  .hero-section {
    padding: 1.75rem 0 1.25rem;
  }
}

/* ==========================================================================
   WATCH MATCH PAGE (WATCH.HTML) - SHOWCASE & LIVE STREAM CHAT THEATER
   ========================================================================== */
.match-page-main {
  flex: 1;
  padding: 1.5rem 0 3.5rem;
}

.match-page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.back-agenda-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
  margin-bottom: 1.25rem;
}

.back-agenda-btn:hover {
  background: #cc0000;
  border-color: #ff1e38;
  color: #ffffff;
  transform: translateX(-3px);
}

.back-agenda-btn svg {
  width: 16px;
  height: 16px;
}

/* Match Showcase Banner */
.match-showcase-card {
  background: #11141d;
  border: 1px solid rgba(255, 30, 56, 0.35);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 30, 56, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.showcase-team-side {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.showcase-team-side.away-side {
  justify-content: flex-end;
}

.showcase-team-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.showcase-logo-fallback {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1d212f;
  border: 2px solid rgba(255, 30, 56, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.showcase-team-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
}

.showcase-center-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.showcase-league-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-vs-badge {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ff1e38;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 30, 56, 0.6);
}

.showcase-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* 2-Column Theater Layout: Video Player + Live Chat */
.theater-stream-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.25rem;
  align-items: start;
}

.video-theater-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #0d0f15;
  border: 1px solid #232734;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.theater-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #131620;
  border-bottom: 1px solid #232734;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.player-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
  overflow: hidden;
}

.theater-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.theater-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #11141e;
  border-top: 1px solid #232734;
  font-size: 0.84rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   LIVE STREAM CHAT BOX
   ========================================================================== */
.live-chat-card {
  background: #0f121a;
  border: 1px solid #232734;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.chat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #141824;
  border-bottom: 1px solid #232734;
}

.chat-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.chat-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}

.chat-online-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.chat-messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: #2b3042 transparent;
}

.chat-messages-container::-webkit-scrollbar {
  width: 5px;
}
.chat-messages-container::-webkit-scrollbar-thumb {
  background: #2b3042;
  border-radius: 4px;
}

.chat-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.35;
  font-size: 0.85rem;
  word-break: break-word;
}

.chat-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #252a3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #cbd5e1;
  flex-shrink: 0;
}

.chat-msg-body {
  flex: 1;
}

.chat-msg-author {
  font-weight: 800;
  color: #ff5268;
  margin-right: 0.35rem;
  font-size: 0.82rem;
}

.chat-msg-author.user-highlight {
  color: #f5a623;
}

.chat-msg-time {
  font-size: 0.7rem;
  color: #64748b;
  margin-right: 0.35rem;
}

.chat-msg-text {
  color: #e2e8f0;
}

.chat-input-bar {
  padding: 0.75rem 1rem;
  background: #131622;
  border-top: 1px solid #232734;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-text-input {
  flex: 1;
  padding: 0.65rem 0.95rem;
  background: #090b10;
  border: 1px solid #282d3e;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.86rem;
  transition: all 0.2s;
}

.chat-text-input:focus {
  border-color: #ff1e38;
  box-shadow: 0 0 0 2px rgba(255, 30, 56, 0.2);
}

.chat-send-btn {
  padding: 0.65rem 1rem;
  background: #cc0000;
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: #e60000;
  transform: translateY(-1px);
}

/* Responsive adjustments for theater grid */
@media (max-width: 960px) {
  .theater-stream-grid {
    grid-template-columns: 1fr;
  }

  .live-chat-card {
    height: 480px;
  }

  .showcase-team-name {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   EXPANDED HERO CONTENT & BADGES (ABOVE AGENDA)
   ========================================================================== */
.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 30, 56, 0.12);
  border: 1px solid rgba(255, 30, 56, 0.35);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ff4d64;
  text-transform: uppercase;
}

.hero-tag-badge.gold {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
  color: #f5a623;
}

.hero-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-intro-text .hero-subtitle {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #94a3b8;
  text-align: center;
}

.hero-intro-text strong {
  color: #ffffff;
}

/* ==========================================================================
   LONG-FORM SEO ARTICLE & AUTHORITY CONTENT (BELOW AGENDA)
   ========================================================================== */
.seo-section {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0) 0%, rgba(13, 15, 21, 0.9) 25%, #07080b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-article-card {
  background: #0f121a;
  border: 1px solid #232734;
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.seo-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff1e38 0%, #f5a623 50%, #b80516 100%);
}

.article-header {
  margin-bottom: 2.25rem;
  border-bottom: 1px solid #232734;
  padding-bottom: 1.75rem;
}

.article-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 30, 56, 0.15);
  border: 1px solid rgba(255, 30, 56, 0.3);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ff3b53;
  margin-bottom: 0.85rem;
}

.seo-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.95rem;
}

.seo-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.article-block {
  margin-bottom: 2.5rem;
}

.seo-subheading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.heading-num {
  font-size: 0.85rem;
  font-weight: 900;
  color: #ff1e38;
  background: rgba(255, 30, 56, 0.12);
  border: 1px solid rgba(255, 30, 56, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0;
}

.seo-para {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 1.15rem;
}

.seo-para strong {
  color: #f1f5f9;
}

/* Feature Grid Highlights */
.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.seo-feature-box {
  background: #141722;
  border: 1px solid #252a3b;
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  transition: all 0.25s ease;
}

.seo-feature-box:hover {
  border-color: rgba(255, 30, 56, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 30, 56, 0.15);
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 30, 56, 0.15);
  border: 1px solid rgba(255, 30, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff1e38;
  margin-bottom: 0.85rem;
}

.feature-icon-circle svg {
  width: 20px;
  height: 20px;
}

.seo-feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.seo-feature-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #8b98b0;
  margin: 0;
}

/* Competitions Grid */
.competitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.competition-item {
  background: #131620;
  border: 1px solid #202433;
  border-left: 3px solid #cc0000;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.comp-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #8fa0b5;
  margin: 0;
}

/* Steps List */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: #131620;
  border: 1px solid #232737;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cc0000;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(204, 0, 0, 0.4);
}

.step-content {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94a3b8;
}

.step-content strong {
  color: #ffffff;
  display: inline;
}

/* Tips List */
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 0;
}

.tips-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
}

.tips-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
}

.tips-list li strong {
  color: #f1f5f9;
}

/* ==========================================================================
   EXPANDED FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  background: #0f121a;
  border: 1px solid #232734;
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  margin-bottom: 3rem;
}

.faq-header-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.faq-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f5a623;
  margin-bottom: 0.75rem;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-size: 0.94rem;
  color: #8b98b0;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #141722;
  border: 1px solid #252a3b;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: rgba(255, 30, 56, 0.45);
  background: #171b28;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question-btn:hover {
  color: #ff3b53;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: #ff1e38;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.85rem;
}

.faq-answer-content strong {
  color: #ffffff;
}

/* ==========================================================================
   END CONCLUSION SECTION
   ========================================================================== */
.seo-conclusion-section {
  margin-bottom: 2rem;
}

.conclusion-card {
  background: linear-gradient(135deg, #131722 0%, #0d0f16 100%);
  border: 1px solid #2a2f42;
  border-left: 4px solid #ff1e38;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.conclusion-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.conclusion-icon-badge {
  font-size: 2rem;
  background: rgba(255, 30, 56, 0.15);
  border: 1px solid rgba(255, 30, 56, 0.3);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conclusion-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.conclusion-subtitle {
  font-size: 0.92rem;
  color: #f5a623;
  font-weight: 600;
}

.conclusion-body {
  margin-bottom: 1.75rem;
}

.conclusion-body code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #f5a623;
  font-family: monospace;
  font-size: 0.88rem;
}

.conclusion-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #232734;
  padding-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.conclusion-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.conclusion-status strong {
  color: #cbd5e1;
}

.conclusion-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #cc0000;
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.conclusion-cta-btn:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

.conclusion-cta-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .seo-article-card,
  .faq-section,
  .conclusion-card {
    padding: 1.5rem 1.25rem;
  }

  .conclusion-footer-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .conclusion-cta-btn {
    justify-content: center;
  }
}
