/* ============================================================
   YaseenTV — World Cup 2026 Landing Page
   Premium dark + pitch-green / gold theme
   ============================================================ */

:root {
  --navy-900: #061427;
  --navy-800: #0a1f3c;
  --navy-700: #0f2a4f;
  --navy-600: #163864;
  --ink: #e8eefc;
  --muted: #9fb2cf;
  --line: rgba(255, 255, 255, 0.09);
  --green: #19d27c;
  --green-dark: #0fae64;
  --gold: #ffd34e;
  --gold-2: #ffb22e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1140px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; }

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

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.grad {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-2) 60%, var(--green) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-primary {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #04261a; box-shadow: 0 12px 30px -8px rgba(25, 210, 124, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(25, 210, 124, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--ink);
  border-color: var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 20, 39, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--gold)); font-size: 1.1rem;
}
.brand-name span { color: var(--gold); }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color .15s; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu .btn { color: #04261a; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(25, 210, 124, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(255, 178, 46, 0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  z-index: -2;
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: 40px;
  background: radial-gradient(circle, rgba(25, 210, 124, 0.35), transparent 65%);
  filter: blur(40px); z-index: -1; animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 18px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255,77,77,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,.7); } 70% { box-shadow: 0 0 0 12px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }

.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

.trust-row { list-style: none; display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.trust-row li { color: var(--muted); font-size: 0.9rem; }
.trust-row strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }

/* ---------------- Phone mockup ---------------- */
.hero-card { display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; padding: 14px; border-radius: 42px;
  background: linear-gradient(160deg, #11243f, #0a1830);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: float 7s ease-in-out infinite;
}
.phone-notch { width: 120px; height: 22px; background: #060f1e; border-radius: 0 0 14px 14px; margin: -2px auto 12px; }
.phone-screen {
  background: linear-gradient(180deg, #0c1d36, #081428); border-radius: 28px; padding: 16px; display: grid; gap: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.score-card {
  position: relative; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 14px 12px; display: grid; gap: 8px;
}
.score-card.live { border-color: rgba(25,210,124,0.45); box-shadow: 0 0 0 1px rgba(25,210,124,0.2); }
.badge-live { font-size: 0.62rem; font-weight: 800; color: #ff5c5c; letter-spacing: 0.08em; }
.teams { display: grid; gap: 6px; }
.team { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.team .flag { font-size: 1.2rem; }
.team b { margin-left: auto; font-family: var(--font-head); font-size: 1.15rem; }
.minute { position: absolute; top: 14px; right: 14px; font-size: 0.78rem; font-weight: 700; color: var(--green); }
.minute.soon { color: var(--muted); }

/* ---------------- Strip ---------------- */
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 22px; text-align: center; }
.strip-grid b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--gold); }
.strip-grid span { font-size: 0.82rem; color: var(--muted); }

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------------- Features ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(25,210,124,0.4); background: rgba(25,210,124,0.05); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(25,210,124,0.22), rgba(255,178,46,0.18)); margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ---------------- Fixtures table ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.fixtures { width: 100%; border-collapse: collapse; min-width: 620px; }
.fixtures thead th {
  text-align: left; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); padding: 16px 20px; background: rgba(255,255,255,0.03);
}
.fixtures td { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 0.96rem; }
.fixtures tbody tr { transition: background .15s; }
.fixtures tbody tr:hover { background: rgba(255,255,255,0.03); }
.link { color: var(--green); font-weight: 700; }
.link:hover { color: var(--gold); }
.note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 16px; }

/* ---------------- Groups ---------------- */
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.group-card { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.group-card h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.group-card ol { list-style: none; counter-reset: rank; display: grid; gap: 10px; }
.group-card li { counter-increment: rank; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.96rem; }
.group-card li::before { content: counter(rank); width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.06); display: grid; place-items: center; font-size: 0.78rem; color: var(--muted); }
.group-card .flag { font-size: 1.2rem; }
.group-card b { margin-left: auto; color: var(--green); }

/* ---------------- Download CTA ---------------- */
.download { text-align: center; }
.download-inner {
  background: linear-gradient(135deg, rgba(25,210,124,0.14), rgba(255,178,46,0.1));
  border: 1px solid rgba(25,210,124,0.3); border-radius: 28px; padding: 56px 28px;
}
.download h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.download p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.06rem; }
.download strong { color: var(--ink); }

/* ---------------- Prose / SEO ---------------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 20px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; color: var(--gold); }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose strong { color: var(--ink); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
  padding: 4px 20px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(25,210,124,0.4); }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-900); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-tag { color: var(--muted); font-size: 0.94rem; margin: 14px 0 18px; max-width: 320px; }
.site-footer h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--ink); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: 0.92rem; transition: color .15s; }
.site-footer ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; }
  .features-grid, .groups-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 14px 22px 22px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 10px 0; }
  .nav-menu .btn { text-align: center; justify-content: center; margin-top: 8px; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .features-grid, .groups-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */
.page-hero {
  padding: 56px 0 30px; text-align: center; position: relative;
  background: radial-gradient(700px 320px at 50% -20%, rgba(25,210,124,0.16), transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; max-width: 820px; margin: 12px auto 14px; }
.page-hero p { color: var(--muted); max-width: 620px; margin-inline: auto; font-size: 1.06rem; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* Blog index grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: rgba(255,255,255,0.035);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(25,210,124,0.4); }
.post-thumb {
  aspect-ratio: 16/9; display: grid; place-items: center; font-size: 3rem;
  background: linear-gradient(135deg, rgba(25,210,124,0.22), rgba(255,178,46,0.16));
}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-meta { margin-top: 14px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 12px; }
.post-readmore { margin-top: 12px; color: var(--green); font-weight: 700; font-size: 0.9rem; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 50px 22px 70px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 0.88rem; margin-bottom: 26px; }
.article-meta .cat { color: var(--gold); font-weight: 700; }
.article h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 10px 0 18px; }
.article .lead { font-size: 1.16rem; color: var(--ink); margin-bottom: 28px; }
.article h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--gold); }
.article p { color: #c3d2ea; margin-bottom: 16px; }
.article ul, .article ol { color: #c3d2ea; margin: 0 0 18px 22px; display: grid; gap: 8px; }
.article a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article a:not(.btn):hover { color: var(--gold); }
.article strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.94rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
.article th { background: rgba(255,255,255,0.04); font-family: var(--font-head); }

.toc { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px; margin: 0 0 30px; }
.toc h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0 0 0 18px; display: grid; gap: 6px; color: var(--muted); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--green); }

.cta-box {
  background: linear-gradient(135deg, rgba(25,210,124,0.14), rgba(255,178,46,0.1));
  border: 1px solid rgba(25,210,124,0.3); border-radius: var(--radius); padding: 26px;
  text-align: center; margin: 32px 0;
}
.cta-box h3 { color: var(--ink); margin-bottom: 8px; }
.cta-box p { color: var(--muted); margin-bottom: 16px; }

.related { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 34px; }
.related h2 { font-size: 1.4rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.related-grid a { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; transition: border-color .2s; }
.related-grid a:hover { border-color: rgba(25,210,124,0.4); }
.related-grid .post-cat { display: block; }
.related-grid strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } .related-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }
