/* ============================================================
   Saffronexch — Saffron Silk Elegance
   Core stylesheet
   ============================================================ */

:root {
  --primary: #ae4600;
  --primary-dark: #8b3700;
  --primary-light: #d45a00;
  --bg-body: #fdf8f3;
  --bg-section: #f8ede0;
  --bg-dark: #1a0e05;
  --bg-card: #ffffff;
  --border: #e8d5c0;
  --text-primary: #1a0e05;
  --text-secondary: #7a5f45;
  --accent: #c8780a;

  --font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-card: 14px;
  --radius-btn: 12px;
  --shadow-sm: 0 2px 10px rgba(139, 55, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(139, 55, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(139, 55, 0, 0.16);
  --maxw: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::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;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 860px; }
section { position: relative; }
.section-pad { padding: 84px 0; }
.section-pad-sm { padding: 56px 0; }
.bg-section { background: var(--bg-section); }
.bg-dark { background: var(--bg-dark); color: #f3e4d3; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; border-radius: 2px; }
.bg-dark .eyebrow { color: var(--primary-light); }
.bg-dark .eyebrow::before { background: var(--primary-light); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text-secondary); font-size: 1.08rem; margin-top: 14px; }
.bg-dark .section-head p { color: #d8c3ad; }

.lead { font-size: 1.15rem; color: var(--text-secondary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 10px 26px rgba(174, 70, 0, 0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(174, 70, 0, 0.42); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--primary); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); background: rgba(174,70,0,0.05); transform: translateY(-3px); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: #2c1808; color: #fff; transform: translateY(-3px); }
.bg-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.bg-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 17px 40px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb457; color: #fff; transform: translateY(-3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 14, 5, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 120, 10, 0.22);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #f0e2d2; font-weight: 500; font-size: 0.96rem;
  padding: 9px 16px; border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(200,120,10,0.20); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: #f0e2d2; border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-dark);
    padding: 16px 22px 26px;
    border-bottom: 1px solid rgba(200,120,10,0.22);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Silk wave dividers ---------- */
.wave { display: block; width: 100%; line-height: 0; }
.wave svg { display: block; width: 100%; height: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--bg-dark); color: #f3e4d3;
  padding: 76px 0 96px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 90, 0, 0.22), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(200, 120, 10, 0.16), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary-light); }
.hero-sub { font-size: 1.16rem; color: #d8c3ad; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.accent-line { width: 62px; height: 3px; background: linear-gradient(90deg, var(--primary-light), transparent); border-radius: 3px; margin-bottom: 26px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats .stat strong { font-family: var(--font-head); font-size: 1.9rem; color: #fff; display: block; line-height: 1.1; }
.hero-stats .stat span { font-size: 0.86rem; color: #c2a98f; letter-spacing: 0.03em; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200,120,10,0.3);
  transform: rotate(-1.5deg);
}
.hero-visual .frame img { width: 100%; }
.hero-visual .badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--bg-card); color: var(--text-primary);
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; font-weight: 600;
  border: 1px solid var(--border);
}
.hero-visual .badge .dot { width: 11px; height: 11px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,0.2); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 480px; }
  .hero-stats { gap: 24px; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(212,90,0,0.14), rgba(200,120,10,0.12));
  color: var(--primary); margin-bottom: 18px;
}
.card .icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.98rem; }

/* ---------- Games grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .games-grid { grid-template-columns: 1fr; } }
.game-card {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  aspect-ratio: 3 / 2; background: var(--bg-dark);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.game-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,14,5,0.86) 0%, rgba(174,70,0,0.10) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.35s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.game-card .overlay h4 { color: #fff; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; transform: translateY(10px); transition: transform 0.35s var(--ease); }
.game-card .overlay span { color: var(--primary-light); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transform: translateY(10px); transition: transform 0.4s var(--ease); }
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.game-card:hover img { transform: scale(1.08); }
.game-card:hover .overlay { opacity: 1; }
.game-card:hover .overlay h4, .game-card:hover .overlay span { transform: translateY(0); }
.game-card .tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(26,14,5,0.7); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: 20px; letter-spacing: 0.04em; }

/* ---------- Features S-curve ---------- */
.scurve { position: relative; }
.scurve .feat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  margin-bottom: 60px; position: relative;
}
.scurve .feat-row:last-child { margin-bottom: 0; }
.scurve .feat-row:nth-child(even) .feat-text { order: 2; }
.feat-media {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  aspect-ratio: 16/11; background: var(--bg-section);
}
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-num {
  font-family: var(--font-head); font-size: 1rem; color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(174,70,0,0.3);
}
.feat-text h3 { margin-bottom: 12px; }
.feat-text p { color: var(--text-secondary); }
.feat-list { margin-top: 14px; }
.feat-list li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text-secondary); }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 820px) {
  .scurve .feat-row { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
  .scurve .feat-row:nth-child(even) .feat-text { order: 0; }
  .feat-media { order: -1; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 22px; box-shadow: var(--shadow-sm);
}
.step .num {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--primary);
  margin-bottom: 12px; display: inline-flex; width: 46px; height: 46px;
  border-radius: 12px; background: var(--bg-section);
  align-items: center; justify-content: center;
}
.step h4 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.94rem; }

/* ---------- Tools ---------- */
.tool {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden;
}
.tool-head {
  background: linear-gradient(135deg, var(--bg-dark), #35200e);
  color: #fff; padding: 24px 28px;
  display: flex; align-items: center; gap: 14px;
}
.tool-head .t-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(200,120,10,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-head h3 { color: #fff; margin: 0; }
.tool-head p { color: #d8c3ad; font-size: 0.88rem; margin: 3px 0 0; }
.tool-body { padding: 28px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--text-primary); }
.field input, .field select {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-body);
  color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(212,90,0,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.result-box {
  margin-top: 22px; padding: 22px; border-radius: 14px;
  background: var(--bg-section); border: 1px dashed var(--primary-light);
}
.result-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.result-row:last-child { border-bottom: 0; }
.result-row span { color: var(--text-secondary); font-size: 0.95rem; }
.result-row strong { font-family: var(--font-head); font-size: 1.15rem; }
.result-row.total strong { color: var(--primary); font-size: 1.5rem; }
.tier-compare { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.tier { text-align: center; padding: 14px 8px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); }
.tier.active { border-color: var(--primary); background: rgba(212,90,0,0.06); }
.tier .tl { font-size: 0.78rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.tier .tv { font-family: var(--font-head); font-size: 1.15rem; color: var(--text-primary); margin-top: 4px; }

/* Scratch card */
.scratch-wrap { text-align: center; }
.scratch-stage {
  position: relative; width: 100%; max-width: 340px; aspect-ratio: 3/2;
  margin: 0 auto 20px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-md); border: 2px solid var(--accent);
  user-select: none;
}
.scratch-prize {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 40%, #fff6ea, var(--bg-section));
  color: var(--primary-dark); padding: 14px;
}
.scratch-prize .amt { font-family: var(--font-head); font-size: 2.4rem; color: var(--primary); line-height: 1; }
.scratch-prize .lbl { font-size: 0.9rem; color: var(--text-secondary); margin-top: 6px; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.scratch-canvas:active { cursor: grabbing; }

/* Quiz */
.quiz-progress { height: 8px; background: var(--bg-section); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.quiz-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-light), var(--accent)); border-radius: 8px; transition: width 0.4s var(--ease); }
.quiz-meta { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--text-secondary); margin-bottom: 20px; }
.quiz-q { font-family: var(--font-head); font-size: 1.28rem; margin-bottom: 20px; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opt {
  text-align: left; padding: 15px 18px; border: 1.5px solid var(--border);
  border-radius: 12px; background: var(--bg-body); cursor: pointer; font-family: var(--font-body);
  font-size: 1rem; color: var(--text-primary); transition: all 0.2s var(--ease);
  display: flex; align-items: center; gap: 12px;
}
.quiz-opt .k { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--bg-section); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.86rem; color: var(--primary); }
.quiz-opt:hover:not(:disabled) { border-color: var(--primary-light); transform: translateX(3px); }
.quiz-opt.correct { border-color: #1a8f4c; background: #e9f7ef; }
.quiz-opt.correct .k { background: #1a8f4c; color: #fff; }
.quiz-opt.wrong { border-color: #c0392b; background: #fdecea; }
.quiz-opt.wrong .k { background: #c0392b; color: #fff; }
.quiz-explain {
  margin-top: 16px; padding: 15px 18px; border-radius: 12px; background: var(--bg-section);
  border-left: 3px solid var(--accent); font-size: 0.95rem; color: var(--text-secondary);
  display: none;
}
.quiz-explain.show { display: block; }
.quiz-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.quiz-result { text-align: center; }
.quiz-result .score-ring {
  width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: conic-gradient(var(--primary) var(--pct, 0%), var(--bg-section) 0);
}
.quiz-result .score-ring .inner { width: 104px; height: 104px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.quiz-result .score-ring .inner b { font-family: var(--font-head); font-size: 2rem; color: var(--primary); line-height: 1; }
.quiz-result .score-ring .inner small { font-size: 0.78rem; color: var(--text-secondary); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); margin-bottom: 14px; overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { flex-shrink: 0; width: 22px; height: 22px; transition: transform 0.3s var(--ease); color: var(--primary); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-secondary); }

/* ---------- Auth (login/signup) ---------- */
.auth-wrap { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-aside {
  background: var(--bg-dark); color: #f3e4d3; padding: 60px 54px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-aside::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 30%, rgba(212,90,0,0.22), transparent 45%); }
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { color: #fff; margin-bottom: 16px; }
.auth-aside p { color: #d8c3ad; margin-bottom: 26px; }
.auth-aside .bullets li { padding-left: 30px; position: relative; margin-bottom: 14px; color: #e7d6c4; }
.auth-aside .bullets li::before { content:""; position:absolute; left:0; top:7px; width: 16px; height: 9px; border-left: 2.5px solid var(--primary-light); border-bottom: 2.5px solid var(--primary-light); transform: rotate(-45deg); }
.auth-main { padding: 56px 44px; display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 8px; }
.auth-card > p.sub { color: var(--text-secondary); margin-bottom: 28px; }
.auth-note { margin-top: 22px; font-size: 0.9rem; color: var(--text-secondary); text-align: center; }
.form-hint { font-size: 0.82rem; color: var(--text-secondary); margin-top: 6px; }
.divider-or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-secondary); font-size: 0.85rem; }
.divider-or::before, .divider-or::after { content:""; flex:1; height:1px; background: var(--border); }

/* ---------- Content / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 12px; }
.prose p, .prose li { color: var(--text-secondary); }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose ul li, .prose ol li { margin-bottom: 9px; }
.prose ul li { list-style: none; position: relative; padding-left: 26px; }
.prose ul li::before { content:""; position:absolute; left:0; top:10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose a { text-decoration: underline; }
.prose strong { color: var(--text-primary); }
.legal-updated { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 8px; }

/* Page hero (interior) */
.page-hero { background: var(--bg-dark); color: #f3e4d3; padding: 66px 0 78px; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(212,90,0,0.20), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #d8c3ad; max-width: 620px; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; color: #c2a98f; margin-bottom: 18px; }
.crumbs a { color: var(--primary-light); }
.crumbs span { margin: 0 8px; opacity: 0.6; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 22px; padding: 50px 44px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14), transparent 40%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 26px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background: #fff6ea; color: var(--primary-dark); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ci-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--bg-section); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-item h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-secondary); font-size: 0.96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #cdb499; padding: 60px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: #a88b6f; font-size: 0.95rem; max-width: 340px; }
.footer-col h5 { font-family: var(--font-head); color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #cdb499; font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-wa { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(200,120,10,0.2); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: #a88b6f;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 0.8rem; color: #8a7059; margin-top: 18px; line-height: 1.7; max-width: 900px; }

/* 18+ badge */
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--primary-light); color: var(--primary-light); font-weight: 700; font-size: 0.82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc helpers ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--text-secondary); }
.chip { display:inline-block; padding: 5px 13px; border-radius: 20px; background: var(--bg-section); color: var(--primary); font-size: 0.8rem; font-weight: 600; margin: 0 6px 8px 0; border: 1px solid var(--border); }
.notice { padding: 16px 20px; border-radius: 12px; background: rgba(200,120,10,0.08); border: 1px solid rgba(200,120,10,0.25); color: var(--text-secondary); font-size: 0.95rem; }
.notice strong { color: var(--primary-dark); }
