/* =========================================================
   AlmaLife theme — warm plum night with peach & rose light
   Change the colors here to retheme the whole site.
   ========================================================= */
:root {
  --bg: #170e1f;
  --bg-2: #1f1429;
  --surface: #241830;
  --surface-2: #2c1e3a;
  --line: rgba(255, 210, 190, 0.11);
  --text: #f7ede7;
  --muted: #bba9bd;
  --faint: #8a7590;
  --peach: #ffb38c;
  --rose: #f38bb4;
  --lilac: #b9a2ff;
  --gold: #ffd59a;
  --grad: linear-gradient(120deg, var(--peach), var(--rose) 55%, var(--lilac));
  --radius: 18px;
  --side: 236px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.55; min-height: 100vh;
}
body::before { /* soft grain + glow behind everything */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(243, 139, 180, 0.10), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(185, 162, 255, 0.08), transparent 60%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
.ic { width: 18px; height: 18px; flex: none; }
.ic.fill { fill: var(--gold); stroke: var(--gold); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.mono .ic { width: 13px; height: 13px; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30;
  background: rgba(23, 14, 31, 0.92); backdrop-filter: blur(14px);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 22px 14px;
  transition: transform .35s ease;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 24px; }
.brand strong { font-family: var(--serif); font-size: 21px; font-weight: 600; display: block; letter-spacing: -.01em; }
.brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.logo { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #2a1530; box-shadow: 0 8px 24px -8px rgba(243, 139, 180, .7); }
.logo .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--muted); font-size: 14.5px; font-weight: 600; border: 1px solid transparent; transition: .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.nav a.active { color: var(--text); background: linear-gradient(90deg, rgba(255, 179, 140, .16), rgba(243, 139, 180, .06)); border-color: rgba(255, 179, 140, .25); }
.nav a.active .ic { color: var(--peach); }
.nav .dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 10px var(--peach); }
.side-bottom { margin-top: auto; }
.lang { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.lang select { flex: 1; background: transparent; color: var(--text); border: 0; font: 600 13px var(--sans); outline: none; cursor: pointer; }
.lang option { background: var(--bg-2); }
.copy { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; padding: 14px 8px 0; }

.topbar { display: none; }
.scrim { display: none; }

/* ---------- Main ---------- */
main { margin-left: var(--side); min-height: 100vh; }
.wrap { padding: 0 48px; max-width: 1400px; }
.preview-badge { position: fixed; top: 14px; right: 16px; z-index: 40; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #2a1530; background: var(--gold); padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 20px -6px rgba(0,0,0,.5); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 440px; overflow: hidden; border-bottom: 1px solid var(--line); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.on { opacity: 1; }
.slide-copy { position: relative; z-index: 2; padding: 0 48px; max-width: 640px; }
.slide.on .slide-copy > * { animation: rise .9s both; }
.slide.on .slide-copy > *:nth-child(2) { animation-delay: .08s; }
.slide.on .slide-copy > *:nth-child(3) { animation-delay: .16s; }
.slide.on .slide-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eyebrow { font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--peach); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow i, .chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 16px; max-width: 470px; margin: 18px 0 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--grad); color: #2a1530; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(243, 139, 180, .8); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(243, 139, 180, .95); }
.btn .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.chip { position: absolute; right: 28px; bottom: 28px; z-index: 2; font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--peach); border: 1px solid rgba(255, 179, 140, .35); background: rgba(23, 14, 31, .5); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
.dots { position: absolute; left: 48px; bottom: 22px; z-index: 3; display: flex; gap: 6px; }
.dots button { width: 7px; height: 7px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: .3s; }
.dots button.on { width: 26px; background: var(--peach); }

/* Aura backgrounds (used by hero + cards) */
.aura { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; animation: drift 18s ease-in-out infinite alternate; }
.a1 { width: 520px; height: 520px; right: 6%; top: -30%; }
.a2 { width: 420px; height: 420px; right: 28%; bottom: -45%; animation-duration: 22s; }
.a3 { width: 300px; height: 300px; right: -4%; bottom: -10%; animation-duration: 26s; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.rings { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); width: 380px; height: 380px; z-index: 1; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 230, 215, .16); animation: breathe 7s ease-in-out infinite; }
.rings span:nth-child(2) { inset: 50px; animation-delay: -2.3s; }
.rings span:nth-child(3) { inset: 100px; animation-delay: -4.6s; background: radial-gradient(circle, rgba(255, 213, 154, .18), transparent 70%); }
@keyframes breathe { 50% { transform: scale(1.06); border-color: rgba(255, 230, 215, .3); } }

.art-dawn  .a1 { background: #ff9f7a; } .art-dawn  .a2 { background: #f06ba3; } .art-dawn  .a3 { background: #ffd08a; }
.art-night .a1 { background: #6b5bff; } .art-night .a2 { background: #b46bf0; } .art-night .a3 { background: #3d7bdc; }
.art-bloom .a1 { background: #f38bb4; } .art-bloom .a2 { background: #ffb38c; } .art-bloom .a3 { background: #e8c2ff; }
.art-mist  .a1 { background: #8fb8ff; } .art-mist  .a2 { background: #b9a2ff; } .art-mist  .a3 { background: #9fe0d6; }
.art-ember .a1 { background: #ff7a6b; } .art-ember .a2 { background: #f0508a; } .art-ember .a3 { background: #ffb36b; }
.art-sage  .a1 { background: #7fd1b6; } .art-sage  .a2 { background: #6fa8ff; } .art-sage  .a3 { background: #c7f0a8; }
.hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(23, 14, 31, .55) 55%, rgba(23, 14, 31, .1)); z-index: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 48px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }

/* ---------- Section heads ---------- */
.section { padding: 56px 0 72px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.kicker { font: 600 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--peach); display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--peach); }
.sec-head h2, .page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1.1; }
.sec-head h2 sup { font-size: .6em; vertical-align: super; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.sec-head p, .page-head p { color: var(--muted); max-width: 520px; margin-top: 8px; font-size: 15px; }
.ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid rgba(255, 179, 140, .35); border-radius: 999px; color: var(--peach); font-size: 13px; font-weight: 700; white-space: nowrap; transition: .2s; }
.ghost:hover { background: rgba(255, 179, 140, .1); }
.ghost .ic { width: 14px; height: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 179, 140, .3); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.card-art { position: relative; height: 150px; overflow: hidden; background: var(--bg-2); }
.card-art .a1 { width: 260px; height: 260px; right: -10%; top: -60%; filter: blur(40px); }
.card-art .a2 { width: 220px; height: 220px; left: -10%; bottom: -70%; right: auto; filter: blur(40px); }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface)); }
.card-icon { position: absolute; left: 20px; bottom: 18px; z-index: 2; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.card-icon .ic { width: 26px; height: 26px; }
.tag { position: absolute; top: 14px; right: 14px; z-index: 2; font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(23, 14, 31, .55); border: 1px solid rgba(255, 255, 255, .18); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 13.5px; margin: 6px 0 16px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.play { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--peach); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 179, 140, .35); transition: .2s; }
.play:hover { background: var(--peach); color: #2a1530; }
.play .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }

/* ---------- Inner pages ---------- */
.page-head { padding: 64px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 36px; position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { font: 600 13px var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: .2s; }
.filters button:hover { color: var(--text); }
.filters button.on { color: #2a1530; background: var(--grad); border-color: transparent; }
.prose { max-width: 780px; padding-bottom: 80px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--peach); border-bottom: 1px solid rgba(255, 179, 140, .4); }
.note { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.support-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding-bottom: 80px; align-items: start; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); font-size: 14px; }
.faq h2, .contact h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 16px; }
.contact { position: sticky; top: 24px; padding: 26px; border-radius: var(--radius); border: 1px solid rgba(255, 179, 140, .25); background: linear-gradient(160deg, rgba(255, 179, 140, .12), rgba(185, 162, 255, .06) 60%, var(--surface)); }
.contact p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.contact .btn { word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } .stat { padding: 26px 28px; } }
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); }
  body.nav-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 25; opacity: 0; pointer-events: none; transition: .3s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; padding: 12px 18px; background: rgba(23, 14, 31, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .topbar .brand { padding: 0; }
  .topbar button { background: transparent; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
  main { margin-left: 0; }
  .wrap, .slide-copy { padding-left: 22px; padding-right: 22px; }
  .dots { left: 22px; }
  .hero { height: 480px; }
  .rings { right: -120px; opacity: .6; }
  .chip { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat strong { font-size: 32px; }
  .support-grid { grid-template-columns: 1fr; }
  .preview-badge { top: auto; bottom: 14px; }
}
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .sec-head { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- AlmaLife (29 Nov 2026) ---- */
.logo.logo-img { background: #fff; padding: 5px; }
.logo.logo-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.play.soon { cursor: default; opacity: .8; }
.play.soon:hover { background: transparent; color: var(--peach); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.prose th { font-weight: 700; }
.prose .table-wrap { overflow-x: auto; }
.placeholder { background: rgba(255, 210, 120, .18); border-radius: 4px; padding: 0 3px; }
.prose p { margin: 0 0 12px; } .prose ul { margin: 0 0 12px; }
