/* =========================================================
   LuckRoll — Shared Stylesheet
   Design: blue vertical gradient, silver/white accents,
   bubble-letter headlines, tactile buttons, spring animations
   ========================================================= */

/* ── Google Fonts: Nunito (rounded, bubbly) + Inter (body) ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --blue-top: rgb(128, 199, 247);
  --blue-bottom: rgb(46, 115, 199);
  --white: #ffffff;
  --near-black: #12181f;
  --silver: #c8d8e8;
  --silver-light: #e8f2fb;
  --shadow-text: 0 2px 6px rgba(0,0,0,0.45);
  --shadow-card: 0 4px 24px rgba(20,60,120,0.18);
  --shadow-btn: 0 4px 14px rgba(20,60,120,0.35);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--near-black);
  background: #e8f2fb;
  min-height: 100vh;
}

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

a {
  color: var(--blue-bottom);
  text-decoration: underline;
  transition: opacity 0.2s var(--transition-ease);
}

a:hover { opacity: 0.75; }
a:focus-visible {
  outline: 3px solid var(--blue-top);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typography ── */
.headline {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  text-shadow: var(--shadow-text);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.headline-dark {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--near-black);
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
  line-height: 1.15;
}

h1.headline { font-size: clamp(2.4rem, 7vw, 4.5rem); }
h2.headline { font-size: clamp(1.8rem, 5vw, 3rem); }
h3.headline { font-size: clamp(1.3rem, 3.5vw, 2rem); }
h2.headline-dark { font-size: clamp(1.8rem, 5vw, 3rem); }
h3.headline-dark { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-light);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.section-label-dark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bottom);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 5rem 0;
}

/* ── Gradient background ── */
.gradient-bg {
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue-bottom) 100%);
}

.white-bg {
  background: var(--white);
}

.light-bg {
  background: var(--silver-light);
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(46, 115, 199, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  text-shadow: var(--shadow-text);
  white-space: nowrap;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(20,60,120,0.35));
}

.footer-brand .nav-logo-mark {
  width: 30px;
  height: 30px;
}

.nav-logo:hover { opacity: 0.9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--transition-ease), color 0.2s;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  opacity: 1;
}

.nav-links a.active {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--transition-spring), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(36, 95, 170, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--transition-spring), opacity 0.25s var(--transition-ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
  }
}

/* ── Buttons (tactile, reusable) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s var(--transition-spring),
    box-shadow 0.25s var(--transition-spring),
    background 0.2s var(--transition-ease),
    opacity 0.2s;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: var(--shadow-btn);
  will-change: transform;
}

.btn:active {
  transform: scale(0.93);
  box-shadow: 0 1px 6px rgba(20,60,120,0.22);
}

.btn-primary {
  background: var(--white);
  color: var(--blue-bottom);
}

.btn-primary:hover {
  background: var(--silver-light);
  opacity: 1;
}

.btn-secondary {
  background: var(--blue-bottom);
  color: var(--white);
}

.btn-secondary:hover {
  background: #1e5fa8;
  opacity: 1;
}

.btn-silver {
  background: linear-gradient(135deg, #d8e8f8 0%, #b0c8e0 100%);
  color: var(--near-black);
}

.btn-silver:hover {
  background: linear-gradient(135deg, #e0eef8 0%, #c0d4ec 100%);
  opacity: 1;
}

.btn-disabled {
  background: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.65);
  cursor: not-allowed;
  box-shadow: none;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-disabled:active {
  transform: none;
  box-shadow: none;
}

.btn-lg {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.6rem 1.3rem;
}

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-blue {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--transition-ease), transform 0.7s var(--transition-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Coin Animation ── */
.coin-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 600px;
  margin: 2rem auto;
}

.coin {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  animation: coin-flip 2.6s var(--transition-spring) infinite;
}

.coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Shadow lives on the faces, not on .coin — a filter on the preserve-3d
     element flattens the 3D context and breaks backface-visibility. */
  filter: drop-shadow(0 8px 20px rgba(20,60,120,0.4));
}

/* Back face pre-rotated around the X axis so it reads right-way-up when the
   coin lands on tails (matches the iOS FlipCoin: flips top-over-bottom). */
.coin-back {
  transform: rotateX(180deg);
}

@keyframes coin-flip {
  0%   { transform: rotateX(0deg) scale(1); }
  40%  { transform: rotateX(540deg) scale(1.08); }
  60%  { transform: rotateX(540deg) scale(1.08); }
  100% { transform: rotateX(1080deg) scale(1); }
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue-bottom) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-text .tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.88);
  margin: 1rem 0 2rem;
  line-height: 1.5;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .coin { width: 90px; height: 90px; }
}

/* ── Prize badge ── */
.prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

/* ── Games Grid ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.game-card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s var(--transition-ease);
}

.game-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(20,60,120,0.22);
}

.game-icon {
  margin: 0 auto 1.25rem;
  width: 96px;
  height: 96px;
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.game-card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

.game-pill {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--blue-top), var(--blue-bottom));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: var(--white);
  transition: background 0.3s var(--transition-ease), transform 0.3s var(--transition-spring);
}

.step-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-shadow: var(--shadow-text);
}

.step-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.55;
}

/* ── Prize Section ── */
.prize-section {
  text-align: center;
  padding: 5rem 0;
}

.prize-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--white);
  text-shadow:
    0 4px 12px rgba(0,0,0,0.4),
    0 0 60px rgba(200,230,255,0.4);
  line-height: 1;
  margin: 0.5rem 0;
  display: inline-block;
  animation: prize-pulse 3s ease-in-out infinite;
}

@keyframes prize-pulse {
  0%, 100% { text-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 60px rgba(200,230,255,0.3); }
  50%       { text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 80px rgba(200,230,255,0.6); }
}

.prize-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-top: 0.5rem;
}

/* ── Fair & Free ── */
.fair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.fair-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(20,60,120,0.1);
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s;
}

.fair-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(20,60,120,0.16);
}

.fair-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.fair-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--near-black);
  margin-bottom: 0.4rem;
}

.fair-item p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.55;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 6rem 0;
}

.coming-soon-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ── Footer ── */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.4rem;
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-bottom p { color: rgba(255,255,255,0.4); }

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Inner page hero ── */
.page-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue-bottom) 100%);
  text-align: center;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Draft banner (legal pages) ── */
.draft-banner {
  background: #fff3cd;
  border: 2px solid #e6ac00;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.draft-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.draft-banner strong {
  display: block;
  color: #7a5800;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.draft-banner p {
  color: #7a5800;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Prose content ── */
.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--near-black);
  margin: 2.5rem 0 0.75rem;
  border-bottom: 2px solid var(--silver-light);
  padding-bottom: 0.4rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--near-black);
  margin: 1.75rem 0 0.5rem;
}

.prose p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.prose strong {
  font-weight: 600;
  color: var(--near-black);
}

.prose a {
  color: var(--blue-bottom);
}

.prose .last-updated {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* ── FAQ ── */
.faq-list {
  max-width: 780px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(20,60,120,0.09);
  overflow: hidden;
  transition: box-shadow 0.2s var(--transition-ease);
}

.faq-item:hover { box-shadow: 0 4px 18px rgba(20,60,120,0.14); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--near-black);
  transition: background 0.2s var(--transition-ease);
}

.faq-question:hover { background: var(--silver-light); }

.faq-question:focus-visible {
  outline: 3px solid var(--blue-top);
  outline-offset: -3px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue-bottom);
  transition: transform 0.35s var(--transition-spring);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--transition-ease), padding 0.3s var(--transition-ease);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.7;
}

.faq-answer-inner p { margin-bottom: 0.5rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: var(--near-black); }

/* ── About page ── */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--transition-spring);
}

.mission-card:hover { transform: translateY(-4px); }

.mission-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-top), var(--blue-bottom));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.4rem;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.mission-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
}

/* ── Support page ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s var(--transition-spring);
}

.support-card:hover { transform: translateY(-4px); }

.support-card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.support-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.support-card p, .support-card a {
  font-size: 0.93rem;
  color: #4a5568;
  line-height: 1.6;
}

/* ── App Store badge (disabled) ── */
.appstore-wrap {
  display: inline-block;
  position: relative;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: default;
  opacity: 0.55;
  border: 1.5px solid rgba(255,255,255,0.2);
  user-select: none;
}

.appstore-badge-icon { font-size: 1.6rem; }

.appstore-badge-text small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.appstore-badge-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ── Streak counter demo ── */
.streak-demo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.streak-demo-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5rem;
  color: var(--white);
  text-shadow:
    0 3px 8px rgba(0,0,0,0.4),
    0 0 40px rgba(200,230,255,0.5);
  line-height: 1;
  animation: streak-bounce 2s var(--transition-spring) infinite;
}

@keyframes streak-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

.streak-demo-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Divider ── */
.wave-divider {
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── Responsive tweaks ── */
@media (max-width: 900px) {
  section { padding: 4rem 0; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 3rem 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .prize-section { padding: 3.5rem 0; }
  .card { padding: 1.5rem; }
  .card-blue { padding: 1.5rem; }
}

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