/* ============================================================
   Primebook — Forest Canopy Premium
   Brand: Primebook  |  Domain: primbook.live
   Fonts: Urbanist (headings) + Work Sans (body)
   ============================================================ */

:root {
  --primary: #7fba42;
  --primary-dark: #6a9e38;
  --bg-body: #0f2326;
  --bg-section: #132a2e;
  --bg-card: #1a3538;
  --bg-light: #f4f9f0;
  --border: #234548;
  --text-primary: #ffffff;
  --text-secondary: #8aab9a;
  --accent: #c8e66e;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --maxw: 1200px;
  --gap: 24px;

  --grad-btn: linear-gradient(135deg, #6a9e38 0%, #7fba42 45%, #c8e66e 100%);
  --grad-panel: linear-gradient(160deg, #1a3538 0%, #132a2e 100%);
  --shadow-glow: 0 0 0 1px rgba(127,186,66,0.18), 0 18px 50px -18px rgba(127,186,66,0.35);
  --shadow-soft: 0 20px 50px -25px rgba(0,0,0,0.6);

  --font-head: 'Urbanist', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Subtle organic leaf/dot texture over body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(127,186,66,0.08), transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(200,230,110,0.06), transparent 30%);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.lime { color: var(--primary); }
.accent { color: var(--accent); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .3s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--grad-btn);
  color: #0f2326;
  box-shadow: 0 12px 30px -12px rgba(127,186,66,0.6);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(200,230,110,0.7);
  color: #0f2326;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,35,38,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.42rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--bg-card); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-links li.in-menu-cta { display: none; }
.nav-links li.in-menu-cta a { color: var(--primary); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -120px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(127,186,66,0.22), transparent 65%);
  border-radius: 44% 56% 63% 37% / 42% 44% 56% 58%;
  z-index: 0;
  filter: blur(10px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(127,186,66,0.25); }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #7fba42, #c8e66e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 1.14rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; }
.hero-stat .lbl { font-size: .84rem; color: var(--text-secondary); }

/* Floating game cards (hero right) */
.hero-cards {
  position: relative;
  height: 460px;
}
.float-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  animation: floaty 6s ease-in-out infinite;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card.c1 { width: 210px; height: 280px; top: 10px; left: 40px; z-index: 3; }
.float-card.c2 { width: 175px; height: 233px; top: 90px; right: 0; z-index: 2; animation-delay: 1.4s; }
.float-card.c3 { width: 160px; height: 213px; bottom: 0; left: 90px; z-index: 1; animation-delay: 2.6s; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 74px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { font-size: 1.08rem; }

/* Panel = floating rounded card on dark bg */
.panel {
  background: var(--grad-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.panel.glow { box-shadow: var(--shadow-glow); }

.section-light {
  background: var(--bg-light);
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: #163a1a; }
.section-light p { color: #3d5c46; }
.section-light .eyebrow { color: var(--primary-dark); }

/* ---------- Feature icon strip (horizontal) ---------- */
.feature-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
}
.feature-strip::-webkit-scrollbar { height: 6px; }
.feature-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.feature-item {
  flex: 1 0 240px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-item:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(127,186,66,0.2), rgba(200,230,110,0.12));
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.feature-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-item p { font-size: .95rem; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: var(--gap); }
.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: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  opacity: .55;
  margin-bottom: 6px;
}

/* ---------- Games: circular thumbnails horizontal scroll ---------- */
.games-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
}
.games-scroll::-webkit-scrollbar { height: 7px; }
.games-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.game-thumb {
  flex: 0 0 auto;
  width: 148px;
  text-align: center;
  scroll-snap-align: start;
}
.game-thumb .ring {
  width: 148px; height: 148px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: transform .3s;
}
.game-thumb .ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-body);
}
.game-thumb:hover .ring { transform: scale(1.06) rotate(-2deg); }
.game-thumb .name { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; }
.game-thumb .cat { font-size: .8rem; color: var(--text-secondary); }

/* ---------- Split / media rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.split ul.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}
.split ul.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-btn);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f2326' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(4,1fr); counter-reset: step; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step .step-n {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-btn);
  color: #0f2326;
  font-family: var(--font-head);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }

/* ---------- Tools ---------- */
.tool {
  background: var(--grad-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.tool-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tool-head .tool-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(127,186,66,0.25), rgba(200,230,110,0.12));
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.tool-head .tool-ico svg { width: 24px; height: 24px; stroke: var(--accent); }
.tool-head h3 { font-size: 1.35rem; }
.tool > p.tool-sub { margin-bottom: 24px; font-size: .96rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: #fff; margin-bottom: 7px; }
.field input, .field select {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127,186,66,0.2);
}
.field select option { background: var(--bg-body); }

/* Toss predictor */
.toss-wrap { text-align: center; }
.coin {
  width: 150px; height: 150px;
  margin: 10px auto 24px;
  border-radius: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .1s;
}
.coin.flipping { animation: flip 1.25s ease-out; }
@keyframes flip {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(1980deg); }
}
.coin-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  backface-visibility: hidden;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: #0f2326;
  border: 6px solid rgba(15,35,38,0.35);
}
.coin-face.heads { background: radial-gradient(circle at 35% 30%, #e4222c, #a3141c); color:#fff; }
.coin-face.tails { background: radial-gradient(circle at 35% 30%, #c8e66e, #7fba42); transform: rotateY(180deg); }
.coin-face .seam { position:absolute; width:70%; height:70%; border:2px dashed rgba(255,255,255,0.35); border-radius:50%; }
.toss-pick { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.pick-btn {
  flex: 1; max-width: 150px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-body);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.pick-btn.selected, .pick-btn:hover { border-color: var(--primary); background: var(--bg-card); color: var(--accent); }

/* Result readout */
.result {
  margin-top: 22px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: none;
}
.result.show { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to {opacity:1; transform:none;} }
.result .big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.result .big.win { color: var(--primary); }
.result .big.lose { color: #e4222c; }

/* Progress bar (over/under) */
.progress-track {
  height: 16px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  margin: 8px 0;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-btn);
  border-radius: 50px;
  transition: width .8s cubic-bezier(.22,1,.36,1);
}
.gauge-row { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-secondary); margin-top: 4px; }
.verdict-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 50px;
  margin-top: 8px;
}
.verdict-pill.over { background: rgba(127,186,66,0.18); color: var(--accent); border: 1px solid var(--primary); }
.verdict-pill.under { background: rgba(228,34,44,0.15); color: #ff7b83; border: 1px solid #e4222c; }

/* Fantasy builder */
.fantasy-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.budget-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.budget-bar .b-num { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; }
.budget-bar .b-num.low { color: #ff7b83; }
.budget-bar .b-num.ok { color: var(--primary); }
.player-list { max-height: 330px; overflow-y: auto; padding-right: 6px; }
.player-list::-webkit-scrollbar { width: 6px; }
.player-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.player-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 13px;
  margin-bottom: 8px;
  transition: border-color .2s;
}
.player-row.picked { border-color: var(--primary); background: rgba(127,186,66,0.08); }
.player-row .p-name { font-weight: 600; font-size: .93rem; color: #fff; }
.player-row .p-meta { font-size: .78rem; color: var(--text-secondary); }
.player-row .p-cr { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .9rem; }
.mini-btn {
  border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 8px;
  font-weight: 800; font-size: 1.1rem;
  background: var(--bg-card); color: #fff; border: 1px solid var(--border);
  transition: .2s; flex-shrink: 0;
}
.mini-btn.add:hover { background: var(--primary); color: #0f2326; }
.mini-btn.remove { background: rgba(228,34,44,0.15); color: #ff7b83; }
.team-preview {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.team-preview h4 { margin-bottom: 12px; font-size: 1.05rem; }
.xi-slot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .9rem;
}
.xi-slot:last-child { border-bottom: none; }
.xi-slot .cvc { display: flex; gap: 6px; }
.cvc-btn {
  width: 26px; height: 26px; border-radius: 7px; font-size: .72rem; font-weight: 800;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); cursor: pointer;
}
.cvc-btn.on-c { background: var(--primary); color: #0f2326; border-color: var(--primary); }
.cvc-btn.on-vc { background: var(--accent); color: #0f2326; border-color: var(--accent); }
.empty-xi { color: var(--text-secondary); font-size: .9rem; text-align:center; padding: 20px 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .3s; flex-shrink: 0; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .faq-a-inner { padding: 0 24px 22px; color: var(--text-secondary); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #17332a 0%, #1f4a2c 55%, #2c5c30 100%);
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content:""; position:absolute; top:-60px; left:-60px; width:240px; height:240px;
  background: radial-gradient(circle, rgba(200,230,110,0.25), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: #cfe6c9; max-width: 620px; margin: 0 auto 28px; font-size: 1.08rem; }

/* ---------- Auth (login / signup) ---------- */
.auth-wrap {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.auth-visual {
  background: linear-gradient(160deg, #163a2a, #0f2326);
  padding: 60px 54px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-visual::after {
  content:""; position:absolute; bottom:-100px; right:-100px; width:340px; height:340px;
  background: radial-gradient(circle, rgba(127,186,66,0.25), transparent 70%);
  border-radius: 46% 54% 60% 40% / 50%;
}
.auth-visual h2 { font-size: 2.1rem; margin-bottom: 18px; position: relative; z-index:1; }
.auth-visual .a-list li { position: relative; padding-left: 32px; margin-bottom: 14px; color:#c7ddc9; z-index:1; }
.auth-visual .a-list li::before {
  content:"✓"; position:absolute; left:0; top:0;
  color:#0f2326; background: var(--accent); width:22px; height:22px; border-radius:50%;
  display:grid; place-items:center; font-size:.8rem; font-weight:800;
}
.auth-form-side {
  background: var(--bg-body);
  padding: 60px 54px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-card { width: 100%; max-width: 400px; margin: 0 auto; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth-card > p { margin-bottom: 26px; }
.form-note { font-size: .85rem; color: var(--text-secondary); margin-top: 18px; text-align:center; }
.divider-or { display:flex; align-items:center; gap:14px; margin: 22px 0; color: var(--text-secondary); font-size:.85rem; }
.divider-or::before, .divider-or::after { content:""; flex:1; height:1px; background: var(--border); }
.checkbox-row { display:flex; align-items:flex-start; gap:10px; margin: 4px 0 20px; }
.checkbox-row input { width:18px; height:18px; margin-top:3px; accent-color: var(--primary); }
.checkbox-row label { font-size:.85rem; color: var(--text-secondary); }

/* ---------- Legal / article pages ---------- */
.page-hero {
  padding: 66px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:""; position:absolute; top:-100px; right:-100px; width:360px; height:360px;
  background: radial-gradient(circle, rgba(127,186,66,0.14), transparent 70%);
  border-radius:50%;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.breadcrumb { font-size: .86rem; color: var(--text-secondary); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary); }
.article {
  max-width: 820px;
  margin: 0 auto;
}
.article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.22rem; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul.bullets { margin: 0 0 18px; }
.article ul.bullets li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-secondary); }
.article ul.bullets li::before { content:""; position:absolute; left:4px; top:11px; width:8px; height:8px; background: var(--primary); border-radius: 2px; transform: rotate(45deg); }
.article .updated { font-size:.85rem; color: var(--text-secondary); margin-bottom: 20px; }
.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 22px 0;
}
.callout p { margin: 0; color: #cfe0d0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci-item { display:flex; gap:16px; margin-bottom: 24px; align-items:flex-start; }
.contact-info .ci-ico {
  width: 46px; height:46px; border-radius:12px; flex-shrink:0;
  background: linear-gradient(135deg, rgba(127,186,66,0.22), rgba(200,230,110,0.12));
  border:1px solid var(--border); display:grid; place-items:center;
}
.contact-info .ci-ico svg { width:22px; height:22px; stroke: var(--accent); }
.contact-info h4 { font-size:1rem; margin-bottom:3px; }

/* ---------- Author / trust box (E-E-A-T) ---------- */
.author-box {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin: 30px 0;
}
.author-box .av {
  width: 58px; height:58px; border-radius: 50%; flex-shrink:0;
  background: var(--grad-btn); color:#0f2326;
  display:grid; place-items:center; font-family:var(--font-head); font-weight:800; font-size:1.3rem;
}
.author-box .a-name { font-family:var(--font-head); font-weight:700; color:#fff; }
.author-box .a-role { font-size:.85rem; color: var(--text-secondary); }

/* ---------- 18+ / responsible strip ---------- */
.age-strip {
  display:flex; align-items:center; justify-content:center; gap:12px;
  background: var(--bg-section); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding: 14px; font-size:.88rem; color: var(--text-secondary); flex-wrap:wrap; text-align:center;
}
.badge-18 {
  background:#e4222c; color:#fff; font-family:var(--font-head); font-weight:800;
  border-radius:50%; width:34px; height:34px; display:grid; place-items:center; font-size:.8rem; flex-shrink:0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color:#fff; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-secondary); font-size: .93rem; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-about p { font-size: .93rem; margin: 14px 0; max-width: 340px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display:flex; justify-content: space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-size: .86rem; color: var(--text-secondary);
}
.footer-disclaimer { font-size: .8rem; color: var(--text-secondary); max-width: 900px; margin: 18px auto 0; text-align:center; line-height:1.6; opacity:.85; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.hide { display: none !important; }
.tag {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; padding:4px 10px; border-radius:50px;
  background: rgba(127,186,66,0.15); color: var(--accent); border:1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards { height: 380px; max-width: 420px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .fantasy-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px 20px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links li.in-menu-cta { display: block; }
  .nav .desktop-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .panel { padding: 28px 22px; }
  .cta-band { padding: 40px 24px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align:center; }
  .auth-form-side { padding: 44px 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cards { height: 340px; }
  .float-card.c1 { width: 170px; height: 226px; left: 10px; }
  .float-card.c2 { width: 145px; height: 193px; }
  .float-card.c3 { width: 130px; height: 173px; left: 60px; }
}
