/* ==========================================================================
   7lotus.org — Zen Lotus Garden Theme
   Calm, peaceful, nature-inspired. Sage green + dark teal.
   Fonts: Maven Pro (headings) + Mukta (body, Devanagari support)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #67af7e;          /* sage green */
  --primary-dark: #4f9366;     /* darker sage (hover) */
  --primary-darker: #3d7a51;
  --primary-light: #e3f0e8;    /* light sage tint */
  --primary-soft: #f0f7f2;     /* softest sage wash */
  --secondary: #2c4f58;        /* dark teal */
  --secondary-light: #3d6875;
  --secondary-dark: #223e45;
  --accent: #d4b05b;           /* gold (from logo lotus) */
  --accent-dark: #b8954a;
  --accent-light: #f3e7c4;

  --bg-body: #fafcfa;
  --bg-dark: #2c4f58;
  --bg-card: #ffffff;
  --bg-soft: #f0f6f2;
  --bg-teal-soft: #eef3f4;

  --text: #333333;
  --text-heading: #23414a;
  --muted: #666666;
  --muted-light: #8a9a95;
  --border: #e2ebe5;
  --border-teal: #d5e0e2;

  --shadow-sm: 0 1px 3px rgba(44, 79, 88, 0.06), 0 1px 2px rgba(44, 79, 88, 0.04);
  --shadow-md: 0 4px 16px rgba(44, 79, 88, 0.08), 0 2px 6px rgba(44, 79, 88, 0.05);
  --shadow-lg: 0 12px 32px rgba(44, 79, 88, 0.12), 0 4px 12px rgba(44, 79, 88, 0.06);
  --shadow-green: 0 8px 24px rgba(103, 175, 126, 0.28);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font-head: 'Maven Pro', 'Segoe UI', sans-serif;
  --font-body: 'Mukta', 'Segoe UI', system-ui, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-darker); }

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

ul, ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.5rem; }

strong { font-weight: 700; color: var(--text-heading); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--teal { background: var(--bg-teal-soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.25rem);
}
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.text-center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(103, 175, 126, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--border-teal);
}
.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--secondary);
}
.btn-light:hover { background: var(--primary-light); color: var(--secondary); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1eb658; color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  box-shadow: 0 2px 14px rgba(44, 79, 88, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.primary-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: #dbe6e4;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.primary-nav a:not(.btn-nav):hover { color: #fff; background: rgba(255,255,255,0.08); }
.primary-nav a[aria-current="page"]:not(.btn-nav) { color: #fff; background: rgba(255,255,255,0.1); }
.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1.3rem !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(103, 175, 126, 0.35);
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(103,175,126,0.22), transparent 60%),
    linear-gradient(160deg, var(--secondary) 0%, var(--secondary-dark) 55%, #1c353b 100%);
  color: #eef5f2;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 8c4 6 4 12 0 18-4-6-4-12 0-18z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--accent); }
.hero p { color: #cfe0dc; font-size: 1.15rem; max-width: 46ch; margin-bottom: 1.8rem; }
.hero .eyebrow { color: var(--accent-light); }
.hero .eyebrow::before { background: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .lbl { font-size: 0.9rem; color: #b7cbc6; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-card img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-card .cap {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; font-family: var(--font-head); font-weight: 600; color: #fff;
}
.hero-card .cap span { color: var(--accent); font-size: 0.9rem; }

/* ---------- Lotus divider ---------- */
.lotus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  color: var(--primary);
  max-width: 320px;
}
.lotus-divider::before, .lotus-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-teal), transparent);
}
.lotus-divider svg { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }

.icon-badge {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 1.1rem;
}
.icon-badge svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 1rem; }

/* Game cards */
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--secondary);
}
.game-card img { width: 100%; aspect-ratio: 2/1; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover img { transform: scale(1.06); }
.game-card .game-info {
  position: absolute; inset: auto 0 0 0;
  padding: 1.3rem;
  background: linear-gradient(0deg, rgba(28,53,59,0.92) 10%, rgba(28,53,59,0.4) 70%, transparent);
  color: #fff;
}
.game-card .game-info h3 { color: #fff; margin-bottom: 0.2rem; }
.game-card .game-info p { color: #cfe0dc; font-size: 0.92rem; margin: 0; }
.game-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--accent); color: var(--secondary-dark);
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}

/* Feature list w/ lotus bullets */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 15px; height: 15px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c2.5 3.5 2.5 7 0 10.5C9.5 9 9.5 5.5 12 2zM3.5 8.5c4 .8 6.4 3.3 7.4 7.2-4-.8-6.4-3.3-7.4-7.2zm17 0c-1 3.9-3.4 6.4-7.4 7.2 1-3.9 3.4-6.4 7.4-7.2zM6 16c3.2-.6 5.6.2 7.3 2.6C10 19.2 7.6 18.4 6 16zm12 0c-1.6 2.4-4 3.2-7.3 2.6C12.4 16.2 14.8 15.4 18 16z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c2.5 3.5 2.5 7 0 10.5C9.5 9 9.5 5.5 12 2zM3.5 8.5c4 .8 6.4 3.3 7.4 7.2-4-.8-6.4-3.3-7.4-7.2zm17 0c-1 3.9-3.4 6.4-7.4 7.2 1-3.9 3.4-6.4 7.4-7.2zM6 16c3.2-.6 5.6.2 7.3 2.6C10 19.2 7.6 18.4 6 16zm12 0c-1.6 2.4-4 3.2-7.3 2.6C12.4 16.2 14.8 15.4 18 16z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--secondary); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Tools ---------- */
.tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tool-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(120deg, var(--primary-soft), var(--bg-teal-soft));
  border-bottom: 1px solid var(--border);
}
.tool-head .icon-badge { margin: 0; flex-shrink: 0; }
.tool-head h3 { margin: 0; }
.tool-head p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.tool-body { padding: 1.8rem; }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}
.field .hint { font-weight: 400; color: var(--muted-light); font-size: 0.85rem; }
.input-wrap { position: relative; }
.input-prefix {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 600; pointer-events: none;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid var(--border-teal);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-wrap input { padding-left: 2.1rem; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(103, 175, 126, 0.18);
}
textarea { resize: vertical; min-height: 130px; }

.result-box {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  border: 1px dashed var(--primary);
}
.result-box.hidden { display: none; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.result-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem; text-align: center;
}
.result-item .val {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.55rem; color: var(--secondary); line-height: 1.1;
}
.result-item .val.green { color: var(--primary-dark); }
.result-item .val.gold { color: var(--accent-dark); }
.result-item .val.danger { color: #c0563e; }
.result-item .cap { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.result-note {
  margin-top: 1rem; font-size: 0.92rem; color: var(--secondary);
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.result-note svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--primary-dark); margin-top: 3px; }

/* ---------- Lucky 7 Spinner ---------- */
.spinner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.wheel-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.wheel {
  width: 100%; height: 100%;
  border-radius: 50%;
  transition: transform 5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(44,79,88,0.25), inset 0 0 0 8px #fff, inset 0 0 0 10px var(--border);
}
.wheel-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 26px solid var(--accent);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.25));
  z-index: 3;
}
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; z-index: 2;
}
.wheel-hub svg { width: 30px; height: 30px; color: var(--accent); }
.spinner-side { text-align: center; }
.spin-result {
  min-height: 3.2rem;
  margin: 1rem 0 1.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--secondary);
}
.spin-result .prize { color: var(--primary-dark); display: block; font-size: 1.6rem; }
.spin-result .muted { font-size: 0.95rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.prize-legend { list-style: none; padding: 0; margin: 1.2rem 0 0; text-align: left; font-size: 0.9rem; columns: 2; column-gap: 1.2rem; }
.prize-legend li { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); margin-bottom: 0.4rem; break-inside: avoid; }
.prize-legend .dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }

/* ---------- Rank / Points ---------- */
.rank-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  color: var(--secondary);
  padding: 0.5rem 1.2rem; border-radius: var(--radius-pill);
  background: var(--accent-light);
}
.rank-badge svg { width: 28px; height: 28px; color: var(--accent-dark); }
.rank-track { display: flex; gap: 0.4rem; margin: 1.2rem 0; }
.rank-step {
  flex: 1; text-align: center; font-size: 0.78rem; color: var(--muted-light);
  padding-top: 0.5rem; border-top: 3px solid var(--border);
  font-family: var(--font-head); font-weight: 600;
}
.rank-step.active { color: var(--primary-dark); border-top-color: var(--primary); }
.rank-step.current { color: var(--secondary); border-top-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-heading);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--primary-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat;
  background-color: var(--primary-dark);
  border-radius: 50%;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq-body p { color: var(--muted); }

/* ---------- Auth pages ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: clamp(2rem,5vw,4rem) auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-aside {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(103,175,126,0.25), transparent 60%),
    linear-gradient(160deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-aside h2 { color: #fff; margin-bottom: 1rem; }
.auth-aside p { color: #cfe0dc; }
.auth-aside .feature-list li { color: #d7e6e1; }
.auth-aside .feature-list li::before { background-color: var(--accent); }
.auth-aside .lotus-bg {
  position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: 0.12; color: #fff;
}
.auth-form { padding: clamp(2rem, 4vw, 3rem); }
.auth-form h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 0.4rem; }
.auth-form .sub { color: var(--muted); margin-bottom: 1.8rem; }
.auth-alt { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.2rem; font-size: 0.92rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 0.3rem; }
.form-note {
  background: var(--primary-soft); border: 1px solid var(--primary-light);
  border-radius: var(--radius-sm); padding: 0.9rem 1.1rem;
  font-size: 0.9rem; color: var(--secondary); margin-top: 1.4rem;
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.form-note svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary-dark); margin-top: 2px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(103,175,126,0.18), transparent 60%),
    linear-gradient(160deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe0dc; max-width: 60ch; margin-top: 0.7rem; font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero .eyebrow::before { background: var(--accent); }
.breadcrumb { font-size: 0.88rem; color: #a9c1bc; margin-bottom: 0.6rem; }
.breadcrumb a { color: #cfe0dc; }
.breadcrumb a:hover { color: #fff; }

/* Article / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.7rem; color: var(--secondary); }
.prose ul, .prose ol { margin-bottom: 1.3rem; }
.prose li { color: var(--text); }
.prose .toc {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.8rem; margin-bottom: 2.5rem;
}
.prose .toc h4 { margin-bottom: 0.8rem; color: var(--secondary); }
.prose .toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.prose .toc li { margin-bottom: 0.5rem; }

.callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
}
.callout.warn { background: #fdf6e9; border-left-color: var(--accent); }
.callout h4 { margin-bottom: 0.4rem; color: var(--secondary); }
.callout p { margin: 0; color: var(--muted); }

/* Data table */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.98rem; }
th, td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--secondary); color: #fff; font-family: var(--font-head); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-method {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1rem;
}
.contact-method .icon-badge { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.contact-method h4 { margin-bottom: 0.2rem; }
.contact-method p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 15% 120%, rgba(212,176,91,0.2), transparent 60%),
    linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta-band .btn-light { color: var(--primary-dark); }
.cta-band .cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* Trust / stats band */
.trust-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.trust-item .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--primary-dark); line-height: 1; }
.trust-item .lbl { color: var(--muted); font-size: 0.95rem; margin-top: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--secondary-dark);
  color: #c3d3d0;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { height: 38px; margin-bottom: 1.1rem; }
.footer-brand p { color: #a9c1bc; font-size: 0.96rem; max-width: 38ch; margin-bottom: 1.3rem; }
.footer-links h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #b7cbc6; font-size: 0.96rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-bottom p { margin: 0; font-size: 0.9rem; color: #93a9a4; }
.age-warning {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,176,91,0.14); color: var(--accent-light) !important;
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.85rem !important;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-band { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: var(--secondary);
    padding: 1rem var(--gutter) 1.5rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .btn-nav { text-align: center; margin-top: 0.4rem; }
  .spinner-layout { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .prose .toc ul { columns: 1; }
  .prize-legend { columns: 1; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.3rem; }
  .btn-block-mobile { display: flex; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .wheel { transition: transform 0.3s ease !important; }
}
