/* ═══════════════════════════════════════════════════════
   FOOTBALLTODAY.PRO — PAGES & RESPONSIVE CSS
   (Included after app.css)
═══════════════════════════════════════════════════════ */

/* ── Hero Image Slider ──────────────────────────────────── */
.football-hero {
  height: 100vh !important;
  min-height: 100vh !important;
}
.hero-slider {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  overflow: hidden !important;
}
.hs-slide {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.9s ease !important;
}
.hs-slide.hs-active {
  opacity: 1 !important;
}
.hs-slide img {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}
.hs-prev, .hs-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(0,0,0,0.4); color: #fff;
  border: none; cursor: pointer; font-size: 2.2rem; line-height: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-prev:hover, .hs-next:hover { background: rgba(0,230,118,0.6); }
.hs-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.hs-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hs-dot.hs-dot-active {
  background: #00e676; transform: scale(1.25);
}
@media (max-width: 480px) {
  .hs-prev, .hs-next { width: 36px; height: 36px; font-size: 1.5rem; }
  .hs-prev { left: 8px; } .hs-next { right: 8px; }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(4,13,26,0.6) 0%,
    rgba(4,13,26,0.3) 40%,
    rgba(4,13,26,0.65) 80%,
    rgba(11,18,32,0.97) 100%);
}
.football-hero .hero-content,
.football-hero .leagues-badges,
.football-hero .hero-title,
.football-hero .hero-subtitle,
.football-hero .hero-actions,
.football-hero .hero-stats { position: relative; z-index: 2; }
.pitch-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  position: relative; height: 320px;
  display: flex; align-items: flex-end;
  overflow: hidden; padding-top: 64px;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(4,13,26,0.7) 0%,
    rgba(4,13,26,0.45) 50%,
    rgba(11,18,32,0.98) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding-bottom: 2.5rem; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--gray); margin-bottom: .75rem;
}
.page-hero-breadcrumb a { color: var(--football-green); }
.page-hero-breadcrumb a:hover { text-decoration: underline; }
.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  color: var(--white); margin-bottom: .5rem; line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.page-hero-sub {
  color: rgba(255,255,255,.75);
  font-size: clamp(.9rem, 2vw, 1.1rem); max-width: 700px;
}

/* ── Filter Tabs ──────────────────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-tab {
  padding: .5rem 1.2rem; border: 1px solid var(--card-border);
  border-radius: 50px; background: var(--card-bg);
  color: var(--gray); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--football-green); color: var(--football-green);
  background: rgba(0,230,118,.1);
}

/* ── Channels Full Grid ───────────────────────────────── */
.channels-full-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; margin-bottom: 2.5rem;
}
.channel-full-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1rem 1.2rem; transition: all .25s;
}
.channel-full-card:hover {
  border-color: rgba(0,230,118,.4); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ch-card-flag { font-size: 2rem; flex-shrink: 0; }
.ch-card-body { flex: 1; min-width: 0; }
.ch-card-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.ch-card-name { font-size: .95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-card-desc { font-size: .78rem; color: var(--gray); line-height: 1.3; }
.ch-country-badge {
  display: inline-block; margin-top: .35rem;
  background: rgba(255,255,255,.07); color: var(--gray);
  font-size: .68rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 3px; letter-spacing: .5px;
}
.ch-card-live { flex-shrink: 0; }

/* ── Leagues Detail Grid ──────────────────────────────── */
.leagues-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem; margin-bottom: 2rem;
}
.league-detail-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-left: 4px solid var(--lc, var(--football-green));
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  transition: all .25s; display: flex; flex-direction: column; gap: .8rem;
}
.league-detail-card:hover {
  border-color: rgba(0,230,118,.4);
  border-left-color: var(--lc, var(--football-green));
  transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.ldc-header { display: flex; align-items: center; gap: .9rem; }
.ldc-flag { font-size: 2.4rem; flex-shrink: 0; }
.ldc-name { font-size: 1.05rem; font-weight: 800; margin-bottom: .15rem; }
.ldc-country { font-size: .78rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.ldc-body { display: flex; flex-direction: column; gap: .4rem; }
.ldc-body p { font-size: .83rem; color: rgba(255,255,255,.8); display: flex; align-items: flex-start; gap: .5rem; }
.ldc-body p i { color: var(--football-green); margin-top: .15rem; flex-shrink: 0; width: 14px; }
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; border-radius: 50px; }

/* ── Matches Live Page ────────────────────────────────── */
.matches-date-header {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
}
.live-indicator {
  margin-left: auto; display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: #ff1744;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff1744;
  animation: livePulse 1.2s ease-in-out infinite;
}
.matches-schedule { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.match-row {
  display: grid; grid-template-columns: 90px 160px 1fr 130px;
  align-items: center; gap: 1rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1rem 1.5rem; transition: all .2s;
}
.match-row:hover { border-color: rgba(0,230,118,.3); }
.match-live { border-color: rgba(255,23,68,.4) !important; background: rgba(255,23,68,.05) !important; }
.match-time { font-size: .9rem; font-weight: 700; color: var(--gray); }
.match-live-badge { font-size: .78rem; font-weight: 800; color: #ff1744; animation: livePulse 1.2s infinite; }
.match-league { display: flex; align-items: center; gap: .5rem; }
.match-flag { font-size: 1.3rem; }
.match-league-name { font-size: .8rem; font-weight: 600; color: var(--gray); }
.match-teams { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.match-team { font-size: .95rem; font-weight: 700; }
.match-team.home { text-align: right; flex: 1; }
.match-team.away { text-align: left; flex: 1; }
.match-score {
  background: rgba(255,255,255,.1); border-radius: 8px;
  padding: .3rem .9rem; font-size: 1.1rem; font-weight: 800;
  min-width: 70px; text-align: center; flex-shrink: 0;
}
.score-live { background: rgba(255,23,68,.2); color: #ff6b6b; }
.match-action { display: flex; justify-content: flex-end; }
.btn-watch { padding: .45rem 1rem; font-size: .82rem; border-radius: 50px; white-space: nowrap; }
.matches-cta-box {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0,230,118,.1), rgba(0,200,83,.05));
  border: 1px solid rgba(0,230,118,.3); border-radius: var(--radius-lg);
  padding: 2rem; margin-top: 2rem;
}
.matches-cta-icon { font-size: 3rem; flex-shrink: 0; }
.matches-cta-text { flex: 1; min-width: 200px; }
.matches-cta-text h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem; }
.matches-cta-text p { font-size: .9rem; color: var(--gray); }

/* ── FAQ Page ─────────────────────────────────────────── */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.5rem; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s;
}
.faq-item.faq-open { border-color: rgba(0,230,118,.4); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1rem; font-weight: 700; text-align: left;
}
.faq-question:hover { color: var(--football-green); }
.faq-icon { flex-shrink: 0; font-size: .85rem; color: var(--gray); transition: transform .3s; }
.faq-open .faq-icon { transform: rotate(180deg); color: var(--football-green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 1.5rem; }
.faq-answer p { padding-bottom: 1.25rem; color: rgba(255,255,255,.8); font-size: .93rem; line-height: 1.7; }
.faq-cta {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0,230,118,.1), rgba(0,200,83,.05));
  border: 1px solid rgba(0,230,118,.3); border-radius: var(--radius-lg); padding: 2rem;
}
.faq-cta-icon { font-size: 3rem; flex-shrink: 0; }
.faq-cta h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }
.faq-cta p { font-size: .9rem; color: var(--gray); }
.faq-cta .btn { margin-left: auto; }

/* ── Section CTA (shared) ─────────────────────────────── */
.section-cta {
  text-align: center; margin-top: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.section-cta p { color: var(--gray); font-size: .95rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Full Mobile Support
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .match-row { grid-template-columns: 80px 130px 1fr 110px; gap: .75rem; padding: .9rem 1rem; }
  .leagues-detail-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
  .page-hero { height: 240px; }

  /* Hero home */
  .hero-title { font-size: clamp(1.5rem, 6vw, 2.4rem) !important; }
  .hero-subtitle { font-size: .88rem !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }

  /* Leagues badges */
  .leagues-badges { gap: .35rem; }
  .league-badge { font-size: .72rem; padding: .25rem .65rem; }

  /* Matches */
  .match-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto; gap: .5rem;
  }
  .match-time { grid-column: 1; }
  .match-league { grid-column: 2; justify-content: flex-end; }
  .match-teams { grid-column: 1 / -1; }
  .match-action { grid-column: 1 / -1; justify-content: center; }

  /* CTA boxes */
  .faq-cta { flex-direction: column; text-align: center; }
  .faq-cta .btn { margin-left: 0; }
  .matches-cta-box { flex-direction: column; text-align: center; }

  /* Grids */
  .channels-full-grid { grid-template-columns: 1fr; }
  .leagues-detail-grid { grid-template-columns: 1fr; }
  .filter-tabs { justify-content: center; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-5px); }

  /* Leagues section home */
  .leagues-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  /* Hero stats */
  .hero-stats .stat-number { font-size: 1.5rem; }
  .hero-stats .stat-label { font-size: .72rem; }

  /* Match teams */
  .match-teams { flex-wrap: wrap; gap: .4rem; }
  .match-team { font-size: .82rem; }
  .match-score { font-size: .9rem; padding: .2rem .55rem; min-width: 58px; }

  /* Page hero */
  .page-hero-title { font-size: 1.5rem; }
  .page-hero { height: 200px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Navbar */
  .navbar-brand svg { width: 140px !important; height: 34px !important; }
}

/* ── Navbar mobile menu ───────────────────────────────── */
@media (max-width: 900px) {
  .navbar-toggle { display: flex !important; }
  .navbar-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(11,18,32,0.98); backdrop-filter: blur(20px);
    padding: 1.5rem 1.25rem 2rem; gap: .25rem;
    border-bottom: 1px solid var(--card-border);
    z-index: 999;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu .btn { width: 100%; justify-content: center; margin-top: .5rem; }
  .navbar-menu .lang-switch { margin: .5rem 0; }
  .nav-link { width: 100%; padding: .75rem 1rem; font-size: 1rem; }
}
