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

:root {
  --bg: #410061;
  --surface: #0D0320;
  --accent: #C5FF4F;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --radius-card: 6px;
  --radius-pill: 24px;
  --max-content: 1120px;
  --max-prose: 720px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}

.container--prose {
  max-width: var(--max-prose);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn:hover {
  opacity: 0.88;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #0D0320;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(65, 0, 97, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.header-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Section base ===== */
.section {
  padding: 80px 0;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 48px;
}

/* ===== How It Works — 3-col grid ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== Why Giin — 2-col grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.why-card h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.why-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== World Cup Banner ===== */
.worldcup-banner {
  background: var(--surface);
  border-top: 1px solid rgba(197, 255, 79, 0.2);
  border-bottom: 1px solid rgba(197, 255, 79, 0.2);
  padding: 72px 0;
  text-align: center;
}

.worldcup-banner .eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.worldcup-banner h2 {
  max-width: 740px;
  margin: 0 auto 20px;
}

.worldcup-banner p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

.worldcup-dates {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 24px;
  border: 1px solid rgba(197, 255, 79, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 36px;
}

.cta-email-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.cta-email-note a {
  color: var(--text-muted);
  text-decoration: underline;
}

.cta-email-note a:hover {
  color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.875rem;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-contact a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-address {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* ===== Prose pages (privacy / terms) ===== */
.prose-page {
  padding: 64px 0 100px;
}

.prose-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.prose-page .last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.prose-page h2 {
  font-size: 1.25rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prose-page h3 {
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--accent);
}

.prose-page p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.prose-page ul,
.prose-page ol {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.prose-page li {
  margin-bottom: 6px;
}

.prose-page strong {
  color: var(--text);
  font-weight: 600;
}

.prose-page a {
  color: var(--accent);
  text-decoration: underline;
}

.prose-page a:hover {
  opacity: 0.85;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-links,
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}
