/* ============================================================
   WORLD CUP IPTV — Navy & Gold Theme (privatemedia style)
   ============================================================ */

:root {
  --navy:    #0d1b2a;
  --navy2:   #0f2135;
  --navy3:   #142840;
  --gold:    #f5c518;
  --gold2:   #e6b800;
  --white:   #ffffff;
  --white70: rgba(255,255,255,0.7);
  --white40: rgba(255,255,255,0.4);
  --card-bg: rgba(255,255,255,0.05);
  --border:  rgba(255,255,255,0.1);
  --font:    'Inter', sans-serif;
  --heading: 'Oswald', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--heading); font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; font-size: .9rem; }
.nav-links a { color: var(--white70); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #000; font-weight: 700;
  padding: .45rem 1.2rem; border-radius: 999px; font-size: .85rem;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold2); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: var(--navy2); padding: 1.5rem 2rem; flex-direction: column; gap: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; color: var(--white70); }
.mobile-menu a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  background:
    linear-gradient(to bottom, rgba(13,27,42,0.65) 0%, rgba(13,27,42,0.85) 60%, var(--navy) 100%),
    url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1600&q=80') center/cover no-repeat;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: .35rem 1rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -1px;
  margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white70); max-width: 560px; margin: 0 auto 2.5rem;
}

/* Countdown */
.countdown-label {
  font-size: .7rem; letter-spacing: 3px; font-weight: 600;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
}
.countdown {
  display: flex; gap: .75rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.cd-box {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(0,0,0,0.4);
  border: 2px solid var(--gold);
  border-radius: 12px;
  width: 90px; padding: 1rem .5rem .6rem;
}
.cd-num {
  font-family: var(--heading); font-size: 2.8rem; line-height: 1;
  font-weight: 700; color: var(--white);
}
.cd-lbl { font-size: .65rem; letter-spacing: 2px; color: var(--white70); margin-top: .3rem; }
.cd-sep {
  font-family: var(--heading); font-size: 2.5rem; color: var(--gold);
  align-self: center; padding-bottom: 1rem;
}

/* CTA buttons */
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold); color: #000; font-weight: 700;
  padding: .85rem 2.2rem; border-radius: 999px; font-size: 1rem;
  transition: all .2s; display: inline-block;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white); font-weight: 600;
  padding: .85rem 2.2rem; border-radius: 999px; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all .2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--white40); font-size: 1.3rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)} }

/* ---- SECTION COMMONS ---- */
section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-eyebrow {
  font-size: .72rem; letter-spacing: 3px; font-weight: 600; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.section-title {
  font-family: var(--heading); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -.5px;
  margin-bottom: .8rem;
}
.section-sub { color: var(--white70); max-width: 560px; margin-bottom: 2.5rem; }

/* ---- PRICING (ticket style) ---- */
.pricing-section { background: var(--navy2); }
.ticket-wrap {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy3);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.ticket-left { padding: 2.5rem; border-right: 1px dashed rgba(255,255,255,0.15); }
.ticket-eyebrow {
  font-size: .7rem; letter-spacing: 2px; color: var(--white40);
  text-transform: uppercase; margin-bottom: 1rem;
}
.ticket-name {
  font-family: var(--heading); font-size: 1.8rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.ticket-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .4rem; }
.ticket-price .amount {
  font-family: var(--heading); font-size: 3.5rem; font-weight: 700; color: var(--gold);
}
.ticket-price .currency { font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.ticket-period { font-size: .85rem; color: var(--white40); margin-bottom: 1.5rem; }
.ticket-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.ticket-features li { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--white70); }
.ticket-features li::before { content: '✓'; color: var(--gold); font-weight: 700; font-size: 1rem; }
.ticket-right {
  padding: 2.5rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem; text-align: center;
}
.ticket-right .btn-gold { width: 100%; text-align: center; font-size: 1.05rem; padding: 1rem; }
.ticket-secure { font-size: .78rem; color: var(--white40); }
.ticket-secure span { margin: 0 .4rem; }

/* ticket perforation on small screens */
@media (max-width: 600px) {
  .ticket-wrap { grid-template-columns: 1fr; }
  .ticket-left { border-right: none; border-bottom: 1px dashed rgba(255,255,255,0.15); }
}

/* ---- TEAMS MARQUEE ---- */
.teams-section { overflow: hidden; background: var(--navy); padding: 3rem 0; }
.teams-section .section-title { text-align: center; }
.marquee-track {
  display: flex; gap: 1.2rem; width: max-content;
  animation: marquee 35s linear infinite;
  margin-top: 2rem;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.team-pill {
  display: flex; align-items: center; gap: .6rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 999px; padding: .5rem 1.1rem; white-space: nowrap;
  font-size: .85rem; font-weight: 500;
}
.team-pill.host { border-color: rgba(245,197,24,0.5); color: var(--gold); }
.flag { font-size: 1.3rem; }

/* ---- SCHEDULE ---- */
.schedule-section { background: var(--navy2); }
.date-tabs {
  display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem;
  margin-bottom: 2rem; scrollbar-width: none;
}
.date-tabs::-webkit-scrollbar { display: none; }
.date-tab {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: .6rem 1rem; cursor: pointer;
  transition: all .2s; min-width: 60px;
}
.date-tab .day-name { font-size: .6rem; letter-spacing: 1px; color: var(--white40); text-transform: uppercase; }
.date-tab .day-num { font-family: var(--heading); font-size: 1.3rem; font-weight: 700; }
.date-tab.active {
  background: var(--gold); border-color: var(--gold);
  color: #000;
}
.date-tab.active .day-name { color: rgba(0,0,0,0.6); }
.match-day { display: none; }
.match-day.active { display: block; }
.match-day-heading {
  font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white40); margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.match-cards { display: flex; flex-direction: column; gap: .75rem; }
.match-card {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.5rem;
  transition: border-color .2s;
}
.match-card:hover { border-color: rgba(245,197,24,0.3); }
.match-team { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; }
.match-team .t-flag { font-size: 2rem; }
.match-team .t-name { font-size: .85rem; font-weight: 600; }
.match-vs { text-align: center; }
.match-time { font-family: var(--heading); font-size: 1.1rem; color: var(--gold); font-weight: 700; }
.match-venue { font-size: .7rem; color: var(--white40); margin-top: .2rem; }
.match-badge {
  font-size: .65rem; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(245,197,24,0.15); color: var(--gold);
  border-radius: 999px; padding: .25rem .6rem; display: inline-block; margin-top: .3rem;
}

/* ---- GROUP STANDINGS ---- */
.groups-section { background: var(--navy); }
.groups-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  gap: 1.5rem;
}
.group-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.group-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.2rem;
  background: rgba(245,197,24,0.08); border-bottom: 1px solid var(--border);
}
.group-letter {
  font-family: var(--heading); font-size: 1.5rem; font-weight: 700; color: var(--gold);
}
.group-count { font-size: .75rem; color: var(--white40); text-transform: uppercase; letter-spacing: 1px; }
.standings-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.standings-table th {
  padding: .5rem .8rem; text-align: center;
  font-size: .65rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white40); border-bottom: 1px solid var(--border);
}
.standings-table th:first-child { text-align: left; }
.standings-table td { padding: .6rem .8rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }
.standings-table td:first-child { text-align: left; }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr.qualify td { background: rgba(34,197,94,0.06); }
.team-cell { display: flex; align-items: center; gap: .6rem; }
.team-cell .flag { font-size: 1.1rem; }

/* ---- KNOCKOUT BRACKET ---- */
.bracket-section { background: var(--navy2); }
.bracket-scroll { overflow-x: auto; padding-bottom: 1rem; }
.bracket-grid {
  display: flex; gap: 0; min-width: 900px;
}
.bracket-round {
  flex: 1; display: flex; flex-direction: column; justify-content: space-around;
  padding: 0 .5rem;
}
.bracket-round-label {
  font-size: .65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 1rem; font-weight: 600;
}
.bracket-match {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem .8rem; margin: .3rem 0;
  font-size: .75rem;
}
.bracket-match .bm-date { font-size: .6rem; color: var(--white40); margin-bottom: .3rem; }
.bracket-match .bm-team {
  padding: .25rem 0; border-bottom: 1px solid var(--border);
  color: var(--white70);
}
.bracket-match .bm-team:last-child { border-bottom: none; }
.bracket-match .bm-team.tbd { color: var(--white40); font-style: italic; }

/* ---- BOTTOM CTA ---- */
.bottom-cta {
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  border-top: 1px solid rgba(245,197,24,0.2);
  text-align: center; padding: 5rem 1.5rem;
}
.bottom-cta .section-eyebrow { justify-content: center; display: block; }
.bottom-cta .section-title { margin: 0 auto 1rem; }
.bottom-cta .section-sub { margin: 0 auto 2rem; }
.cta-price {
  display: flex; align-items: baseline; justify-content: center; gap: .5rem;
  margin-bottom: 1.5rem;
}
.cta-price .amount { font-family: var(--heading); font-size: 3rem; color: var(--gold); font-weight: 700; }
.cta-price .orig { font-size: 1.1rem; color: var(--white40); text-decoration: line-through; }
.cta-price .save-badge {
  background: rgba(245,197,24,0.15); color: var(--gold);
  border-radius: 999px; font-size: .75rem; padding: .2rem .7rem; font-weight: 600;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-logo { font-family: var(--heading); font-size: 1.3rem; font-weight: 700; margin-bottom: .7rem; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: .85rem; color: var(--white40); line-height: 1.7; }
.footer-col h4 { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--white40); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { font-size: .85rem; color: var(--white70); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: .78rem; color: var(--white40);
  flex-wrap: wrap; gap: .5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-size: 1.5rem; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ---- FAQ ---- */
.faq-section { background: var(--navy); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--white); font-size: .95rem; font-weight: 600;
  padding: 1.1rem 1.3rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .faq-icon { color: var(--gold); font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.3rem 1.1rem; font-size: .88rem; color: var(--white70); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.gold { color: var(--gold); }
