/* =====================================================
   Futbol Libre Full HD - Official White Theme Stylesheet
   Domain: https://futbollibrefullhd.online/
   ===================================================== */

html {
  margin-top: 0 !important;
  scroll-behavior: smooth;
}

* {
  font-family: arial, Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  color: #1f2937;
}

/* Header styles - Slim single line matching original site */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.5rem;
  min-height: 48px;
  height: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-title {
  color: #16a34a;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  line-height: 1;
}

.navbar {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.navbar > a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1.2;
  transition: color 0.2s;
}

.navbar > a:hover {
  color: #16a34a;
  background-color: #f0fdf4;
}

/* Menu toggle for mobile */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #4b5563;
}

.menu-icon {
  height: 1.75rem;
  width: 1.75rem;
}

/* Modal styles for mobile navigation */
#menu-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(31, 41, 55, 0.75);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

#menu-modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 2rem 1.5rem;
  width: 85%;
  max-width: 380px;
  position: relative;
}

#menu-close {
  color: #4b5563;
  outline: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.close-icon {
  height: 1.5rem;
  width: 1.5rem;
}

.modal-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  margin-top: 1rem;
}

.modal-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.modal-nav a:hover {
  color: #16a34a;
}

/* Main content */
main {
  margin: 1.5rem auto;
  width: 90%;
  max-width: 960px;
  flex: 1;
}

h1 {
  text-align: center;
  font-size: 2.35rem;
  font-weight: bold;
  margin-top: 0.8rem;
  margin-bottom: 1.25rem;
  color: #065f46;
}

.description {
  text-align: left;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
}

.description a {
  color: #16a34a;
  text-decoration: underline;
  font-weight: 600;
}

/* =====================================================
   DEDICATED WATCH / PLAYER VIEW
   (Isolates the video player from the home page completely)
   ===================================================== */
#player-view {
  animation: fadeIn 0.25s ease-out;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

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

.player-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateX(-3px);
}

.watch-match-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin: 1.25rem 0 0.35rem 0;
  line-height: 1.25;
}

.watch-match-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* =====================================================
   STREAM PLAYER WRAPPER (Exact match to LIBREGOL_LIVE_19_SEP)
   ===================================================== */
.stream-player-wrapper {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.45);
  margin: 1.25rem auto 1.75rem auto;
  max-width: 880px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-display-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b131e;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.screen-connecting {
  position: absolute;
  inset: 0;
  background: #0b131e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  text-align: center;
  color: #ffffff;
  padding: 1.5rem;
}

.connecting-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.connecting-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
}

.connecting-desc {
  font-size: 0.95rem;
  color: #8da2ba;
  margin: 0;
  font-weight: 400;
}

.screen-playing {
  position: absolute;
  inset: 0;
  background: #222428;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.player-buffer-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 14;
}

.buffer-arc-spinner {
  width: 48px;
  height: 48px;
  border: 3.5px solid rgba(0, 0, 0, 0.18);
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: bufferSpin 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bufferSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.player-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  padding: 1.25rem 0.85rem 0.5rem 0.85rem;
  z-index: 15;
}

.controls-timeline-track {
  height: 2.5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  position: relative;
  margin-bottom: 0.45rem;
  cursor: pointer;
}

.controls-buffer-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

.controls-playhead-dot {
  position: absolute;
  left: 0;
  top: -3.5px;
  width: 9.5px;
  height: 9.5px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.controls-buttons-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-ctrl {
  background: none;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  line-height: 1;
}

.btn-ctrl:hover {
  color: #ffffff;
}

.ctrl-time {
  font-size: 0.825rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.05em;
  font-family: monospace, system-ui;
}



/* Under player bar */
.stream-under-bar {
  background: #0b111a;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stream-status-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.stream-status-dot {
  display: inline-block;
  width: 8.5px;
  height: 8.5px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-stream-reload {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-stream-reload:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-stream-reload.spinning svg {
  animation: spinReload 0.8s linear infinite;
}

@keyframes spinReload {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Source switcher row */
.stream-sources-row {
  background: #0b111a;
  padding: 0.25rem 1.15rem 1rem 1.15rem;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.stream-sources-row::-webkit-scrollbar {
  display: none;
}

.source-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid #28374d;
  background: #182232;
  color: #cbd5e1;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease-in-out;
}

.source-pill-btn:hover {
  background: #253347;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.source-pill-btn.active {
  background: #22c55e !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .connecting-title { font-size: 1.25rem; }
  .connecting-desc { font-size: 0.85rem; }
  .stream-under-bar { padding: 0.65rem 0.85rem; }
  .stream-sources-row { padding: 0.65rem 0.85rem 0.85rem 0.85rem; }
  .source-pill-btn { padding: 0.4rem 0.85rem; font-size: 0.775rem; }
}

/* Channel SEO information block */
.channel-seo-info {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.channel-seo-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 0.5rem 0;
}

.channel-seo-info p {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Other channels selector within player view */
.watch-other-channels {
  margin-top: 2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.watch-other-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.85rem 0;
}

.watch-channels-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch-ch-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #374151;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.watch-ch-pill:hover {
  border-color: #16a34a;
  color: #16a34a;
  background: #f0fdf4;
}

.watch-ch-pill.active {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.watch-info-note {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #16a34a;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}


/* Fan Prediction Voting Poll Styles */
.row-voting {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-top: 0.75rem;
}

.voting-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: #64748b;
}

.vote-pills-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin: 0.35rem 0;
}

.vote-pill {
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: all 0.15s ease;
}

.vote-pill:hover {
  background: #f0fdf4;
  border-color: #16a34a;
}

.vote-pill.voted {
  background: #dcfce7 !important;
  border-color: #16a34a !important;
  color: #15803d !important;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.vote-bar-container {
  display: flex;
  height: 6px;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
  background: #e2e8f0;
}

.vote-bar-team1 {
  background: #16a34a;
  transition: width 0.4s ease;
}

.vote-bar-draw {
  background: #94a3b8;
  transition: width 0.4s ease;
}

.vote-bar-team2 {
  background: #2563eb;
  transition: width 0.4s ease;
}

.vote-feedback-msg {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 700;
  margin-top: 0.35rem;
  text-align: center;
}

#wraper {
  width: 100%;
  margin: 1.5rem auto 1rem auto;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
}

.agenda-header {
  background: linear-gradient(to right, #16a34a, #15803d);
  color: white;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

#title-agenda {
  font-size: 1.15rem;
  font-weight: bold;
  margin: 0;
}

.agenda-tz-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
}

.tz-live-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #4ade80;
}

/* Menu list styles */
#menu {
  margin: 0;
  padding: 0.75rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* Agenda Universal Item styles */
.agenda-item {
  background: #ffffff;
  border-radius: 0.65rem;
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  list-style: none;
}

.agenda-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.agenda-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.agenda-time {
  min-width: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #15803d;
  white-space: nowrap;
}

.agenda-time.live {
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
}

.pulse-live-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}


.agenda-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.agenda-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  flex-grow: 1;
}

.agenda-arrow {
  color: #9ca3af;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.agenda-item.open .agenda-arrow {
  transform: rotate(180deg);
}

/* Submenu */
.agenda-submenu {
  display: none;
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid #16a34a;
}

.agenda-item.open .agenda-submenu {
  display: block;
}

.agenda-option {
  list-style: none;
  margin: 0.4rem 0;
}

.agenda-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.agenda-link:hover {
  background: #dcfce7;
  color: #15803d;
  transform: translateX(4px);
}

.play-icon {
  font-size: 0.75rem;
  color: #16a34a;
}

/* Channel cards section */
.channels-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.75rem;
  margin-top: 3rem;
  font-weight: 700;
  color: #065f46;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 2.5rem;
}

.card {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.card-image img {
  max-height: 4.5rem;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

.card-content {
  padding: 1.25rem;
  text-align: center;
}

.card-content h3 {
  color: #1f2937;
  font-weight: bold;
  font-size: 1.15rem;
  margin: 0 0 0.5rem 0;
}

.card-content p {
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.btn-watch {
  background-color: #15803d;
  color: white;
  font-weight: bold;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
}

.btn-watch:hover {
  background-color: #16a34a;
}

/* =====================================================
   PREGUNTAS FRECUENTES (FAQ) SECTION
   ===================================================== */
.faq-section {
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: #16a34a;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 600;
  color: #16a34a;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.faq-answer p {
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* SEO Content Info Section */
.content-info {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.content-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #065f46;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.content-info p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.content-info p strong {
  color: #1f2937;
}

/* =====================================================
   FOOTER (Clean & Elegant: Without Telegram / Facebook)
   ===================================================== */
footer {
  min-height: 2.75rem;
  background-color: #1f2937;
  color: #94a3b8;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid #374151;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-sep {
  color: #64748b;
  font-size: 0.8rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 400;
}

/* =====================================================
   LEGAL / INFO POPUP MODAL
   ===================================================== */
.info-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.75);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.info-modal.active {
  display: flex;
}

.info-modal-card {
  background: #ffffff;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.info-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
}

.info-modal-close:hover {
  color: #111827;
}

.info-modal-title {
  color: #065f46;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.info-modal-body p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Responsive styles */
@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  main {
    max-width: 94%;
    width: 94%;
  }

  .navbar {
    display: none;
  }

  #menu-toggle {
    display: flex;
  }

  h1 {
    font-size: 1.85rem;
  }

  .channels-title, .faq-title {
    font-size: 1.6rem;
  }

  .footer-nav {
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .match-banner-card {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
  }

  .banner-team-crest {
    width: 44px;
    height: 44px;
  }

  .banner-team-name {
    font-size: 0.95rem;
  }

  .banner-vs-badge {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .banner-tournament-tag {
    font-size: 0.7rem;
    padding: 2px 7px;
  }

  .agenda-time {
    min-width: 44px;
    font-size: 0.8rem;
  }

  .agenda-title {
    font-size: 0.88rem;
  }

  footer {
    flex-direction: row;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
}




/* Fake Broadcast Match Player Overlay (Matching User Screenshot 2) */
.play-smart-overlay {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url('/img/players/frame_match_campnou.jpg');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  user-select: none;
  padding: 0.85rem 1.15rem;
  overflow: hidden;
}
.broadcast-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.broadcast-live-badge {
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.live-dot-pulse {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
.broadcast-cc-badge {
  background: #000000;
  color: #ffffff;
  font-family: monospace, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}
.broadcast-play-triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease, filter 0.2s;
  z-index: 2;
}
.play-smart-overlay:hover .broadcast-play-triangle {
  transform: translate(-50%, -50%) scale(1.15);
  filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.5));
}
.triangle-svg polygon {
  transition: fill 0.2s ease;
}
.play-smart-overlay:hover .triangle-svg polygon {
  fill: rgba(255, 255, 255, 0.98);
}
.broadcast-match-bar {
  width: 92%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.25rem;
  z-index: 2;
}
.bm-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.bm-home {
  justify-content: flex-start;
}
.bm-away {
  justify-content: flex-end;
}
.bm-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.bm-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.bm-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}
.bm-league-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bm-venue {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .play-smart-overlay {
    padding: 6px 10px;
  }
  .broadcast-live-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    gap: 4px;
  }
  .live-dot-pulse {
    width: 5px;
    height: 5px;
  }
  .broadcast-cc-badge {
    font-size: 0.72rem;
    padding: 1px 5px;
  }
  .broadcast-play-triangle svg {
    width: 50px;
    height: 50px;
  }
  .broadcast-match-bar {
    width: 96%;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
  .bm-team {
    gap: 5px;
  }
  .bm-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .bm-name {
    max-width: 75px;
    font-size: 0.68rem;
    font-weight: 700;
  }
  .bm-center {
    padding: 0 6px;
  }
  .bm-league-badge {
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
  }
  .bm-venue {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .bm-name {
    max-width: 58px;
    font-size: 0.62rem;
  }
  .broadcast-play-triangle svg {
    width: 42px;
    height: 42px;
  }
  .broadcast-match-bar {
    padding: 2px 6px;
  }
}
