/* ===========================================================
   TotalOver25 — Football Predictions Landing Page
   Dark theme · Glassmorphism · Green accent
   =========================================================== */

:root {
  --green: #00c853;
  --green-bright: #1aff7a;
  --green-dim: #00a847;
  --bg: #0a0e0d;
  --bg-2: #0e1413;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f2f5f4;
  --text-muted: #9aa6a2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(0, 200, 83, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(0, 200, 83, 0.06), transparent 60%);
}

h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #06231a;
  box-shadow: 0 10px 30px rgba(0, 200, 83, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 200, 83, 0.5); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--surface-border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(0, 200, 83, 0.5); color: var(--green-bright); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 14, 13, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.25rem; }
.brand-mark { font-size: 1.4rem; filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.5)); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--green-bright) !important;
}
.nav-cta:hover { border-color: rgba(0, 200, 83, 0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.08);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.18); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 13, 0.55), rgba(10, 14, 13, 0.78)),
    radial-gradient(800px 500px at 50% 30%, rgba(0, 200, 83, 0.18), transparent 70%);
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-bright);
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff, #cfeede);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--text-muted); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections shared ---------- */
section { padding: 84px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Glass utility ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ---------- Statistics ---------- */
.stats { padding-top: 30px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  padding: 34px 22px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 83, 0.45);
  box-shadow: 0 18px 40px rgba(0, 200, 83, 0.12);
}
.stat-value {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--green-bright);
  line-height: 1;
  text-shadow: 0 0 24px rgba(0, 200, 83, 0.35);
}
.stat-text { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.stat-label { margin-top: 12px; color: var(--text-muted); font-size: .95rem; font-weight: 500; }

/* ---------- Featured Predictions Card ---------- */
.predictions { padding-top: 60px; }
.featured-card {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.7), rgba(0, 200, 83, 0.05) 45%, rgba(0, 200, 83, 0.6));
  box-shadow: 0 30px 80px rgba(0, 200, 83, 0.22), var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.featured-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 200, 83, 0.4), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.featured-inner {
  background: linear-gradient(180deg, rgba(14, 20, 19, 0.96), rgba(10, 14, 13, 0.98));
  border-radius: 24px;
  padding: 46px 40px;
  text-align: center;
}
.featured-tag {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  color: #06231a;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.featured-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 14px; }
.featured-desc { color: var(--text-muted); max-width: 480px; margin: 0 auto 24px; }
.featured-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 26px;
  justify-content: center;
  margin-bottom: 30px;
  text-align: left;
}
.featured-list li { color: var(--text); font-weight: 500; font-size: .96rem; }
.btn-buy {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .04em;
  padding: 18px 56px;
  border-radius: 999px;
  color: #06231a;
  background: linear-gradient(135deg, var(--green-bright), var(--green) 60%, var(--green-dim));
  box-shadow: 0 14px 38px rgba(0, 200, 83, 0.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
  animation: buyPulse 2.4s ease-in-out infinite;
}
@keyframes buyPulse {
  0%, 100% { box-shadow: 0 14px 38px rgba(0, 200, 83, 0.45); }
  50% { box-shadow: 0 14px 48px rgba(0, 200, 83, 0.85); }
}
.btn-buy:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 55px rgba(0, 200, 83, 0.7); }
.btn-buy::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0% { left: -120%; } 55%, 100% { left: 130%; } }
.featured-note { margin-top: 16px; color: var(--text-muted); font-size: .85rem; }

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 32px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 200, 83, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.why-icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.25);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Disclaimer ---------- */
.disclaimer { padding: 50px 0 70px; }
.disclaimer-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 34px;
  border-color: rgba(255, 196, 0, 0.25);
  background: rgba(255, 196, 0, 0.05);
}
.disclaimer-title { font-size: 1.2rem; margin-bottom: 8px; color: #ffd34d; }
.disclaimer-box p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  background: var(--bg-2);
  padding: 40px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora", sans-serif; font-weight: 800; }
.footer-contact a { color: var(--green-bright); }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: var(--text-muted); font-size: .9rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }
  section { padding: 64px 0; }
  .featured-inner { padding: 38px 24px; }
  .btn-buy { padding: 16px 40px; font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .featured-list { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
