/* ============================================================
   SHEEP AUTO — Golden Immortal Galaxy design system
   Small & fast: single stylesheet, custom properties, no framework
   ============================================================ */

:root {
  --ink: #080b12;          /* Deep Cosmic Black   */
  --navy: #0b1423;         /* Celestial Navy      */
  --navy-2: #101c31;       /* panel               */
  --gold: #d4a843;         /* Imperial Gold       */
  --gold-bright: #ffd978;  /* Divine Gold         */
  --bronze: #8c622b;       /* Ancient Bronze      */
  --paper: #f5ebd6;        /* Celestial White     */
  --muted: #9aa5b8;        /* secondary text      */
  --line: rgba(212, 168, 67, .22);
  --glass: rgba(16, 28, 49, .58);
  --glass-2: rgba(11, 20, 35, .78);
  --radius: 14px;
  --font-display: "Archivo", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --shadow-gold: 0 0 0 1px var(--line), 0 10px 40px -12px rgba(212, 168, 67, .35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- celestial backdrop ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(212, 168, 67, .14), transparent 60%),
    radial-gradient(900px 700px at 8% 12%, rgba(37, 66, 118, .35), transparent 62%),
    radial-gradient(700px 500px at 50% 110%, rgba(140, 98, 43, .16), transparent 60%),
    linear-gradient(180deg, #06080e 0%, var(--navy) 46%, var(--ink) 100%);
}
#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }

/* ---------- typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4.1rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
a { color: var(--gold-bright); text-decoration: none; }
p.lead { color: var(--muted); font-size: 1.05rem; }

.gold-text {
  background: linear-gradient(100deg, #8c622b 0%, #d4a843 30%, #ffe9a8 50%, #d4a843 70%, #8c622b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { transform: scaleX(-1); }

.section { padding: clamp(3.2rem, 7vw, 6rem) 0; position: relative; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section-head p { color: var(--muted); margin-top: .8rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font: 600 .92rem/1 var(--font-body); letter-spacing: .04em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-gold {
  color: #1d1405;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, var(--bronze));
  box-shadow: 0 8px 26px -8px rgba(212, 168, 67, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(255, 217, 120, .55); }
.btn-ghost {
  color: var(--gold-bright); border-color: var(--line);
  background: rgba(212, 168, 67, .06); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(212, 168, 67, .14); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.15rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 18, .78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--paper); font-weight: 700; }
.brand svg { width: 34px; height: 34px; }
.brand-logo { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); box-shadow: 0 0 14px -4px rgba(212, 168, 67, .6); }
.brand small { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: .25rem; margin-left: auto; list-style: none; }
.nav-links a, .nav-links .dropbtn {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--paper); font-size: .9rem; font-weight: 500;
  padding: .5rem .8rem; border-radius: 8px; transition: color .2s, background .2s;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-links a:hover, .nav-links .dropbtn:hover, .nav-links a.active { color: var(--gold-bright); background: rgba(212, 168, 67, .08); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px;
  min-width: 270px; list-style: none; padding: .5rem;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transition: .22s ease; backdrop-filter: blur(16px);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown-menu a { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; border-radius: 9px; }
.dropdown-menu a small { color: var(--muted); font-size: .74rem; }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: .45rem .6rem; color: var(--gold-bright); cursor: pointer; font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero p.lead { max-width: 34rem; margin: 1.2rem 0 2rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright); }
.hero-stats span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }

.hero-art { position: relative; min-height: 380px; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(212, 168, 67, .22)); }
.halo {
  position: absolute; inset: auto; top: 6%; left: 50%; translate: -50%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 120, .28), rgba(212, 168, 67, .1) 45%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.12); opacity: .75; } }

/* floating palace strip behind hero bottom */
.palace-strip { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; opacity: .5; pointer-events: none; }

/* ---------- cards / glass ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-gold);
}
.card-hover { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-hover:hover { transform: translateY(-6px); border-color: rgba(255, 217, 120, .5); box-shadow: 0 22px 55px -16px rgba(212, 168, 67, .4); }

/* ---------- product grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.game-card { overflow: hidden; display: flex; flex-direction: column; position: relative; }
.game-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.game-art svg { width: 100%; height: 100%; display: block; transition: transform .5s ease; }
.game-card:hover .game-art svg { transform: scale(1.06); }
.game-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px;
  color: #1d1405; background: linear-gradient(160deg, var(--gold-bright), var(--gold));
}
.game-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.game-body h3 { font-size: 1.05rem; }
.game-body .desc { color: var(--muted); font-size: .85rem; flex: 1; }
.game-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .75rem; font-size: .8rem; }
.game-meta > * { white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.on { color: #8fe6a0; } .status.on::before { background: #58d67a; box-shadow: 0 0 10px #58d67a; }
.status.off { color: #e6a08f; } .status.off::before { background: #d67a58; }
.price { font-family: var(--font-display); color: var(--gold-bright); font-weight: 700; font-size: 1.02rem; }
.price small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .72rem; }
.card-actions { display: flex; gap: .5rem; margin-top: .4rem; }
.card-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: .6rem; letter-spacing: .02em; }

/* ---------- benefits / steps ---------- */
.benefit { padding: 1.6rem 1.4rem; text-align: center; }
.benefit .icon {
  width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 217, 120, .18), rgba(140, 98, 43, .18));
  border: 1px solid var(--line); color: var(--gold-bright);
}
.benefit .icon svg { width: 27px; height: 27px; }
.benefit p { color: var(--muted); font-size: .88rem; margin-top: .5rem; }

.steps { counter-reset: step; }
.step { position: relative; padding: 1.7rem 1.4rem 1.5rem; overflow: hidden; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -.4rem; right: .4rem;
  font-family: var(--font-display); font-size: 4.6rem; font-weight: 800;
  color: rgba(212, 168, 67, .13); line-height: 1;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .88rem; }

/* ---------- update list ---------- */
.update-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.1rem 1.3rem;
}
.update-row + .update-row { border-top: 1px solid rgba(212, 168, 67, .12); }
.update-ver { font-family: var(--font-display); color: var(--gold-bright); font-weight: 700; }
.update-row h3 { font-size: .98rem; margin-bottom: .15rem; }
.update-row p { color: var(--muted); font-size: .84rem; }
.badge { font-size: .7rem; font-weight: 600; letter-spacing: .06em; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-bright); white-space: nowrap; }
.badge.new { background: rgba(88, 214, 122, .12); border-color: rgba(88, 214, 122, .4); color: #8fe6a0; }

/* ---------- product page ---------- */
.pd-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.pd-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding-block: clamp(2.6rem, 6vw, 4.5rem); position: relative; z-index: 2; }
.crumb { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a { color: var(--muted); } .crumb a:hover { color: var(--gold-bright); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.4rem 0; }
.spec { padding: .7rem .9rem; font-size: .82rem; }
.spec b { display: block; color: var(--gold); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .15rem; }
.pd-art svg { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .85); }

.tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tab-btn {
  background: none; border: 0; color: var(--muted); font: 600 .9rem var(--font-body);
  padding: .8rem 1.2rem; cursor: pointer; position: relative;
}
.tab-btn::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transform: scaleX(0); transition: transform .25s; }
.tab-btn.active { color: var(--gold-bright); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat { padding: 1.2rem 1.15rem; }
.feat h3 { font-size: .95rem; display: flex; gap: .55rem; align-items: center; }
.feat h3 svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.feat p { color: var(--muted); font-size: .84rem; margin-top: .4rem; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot { aspect-ratio: 16/10; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; }
.shot svg { width: 100%; height: 100%; display: block; }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .8rem; font-size: .74rem; background: linear-gradient(transparent, rgba(8, 11, 18, .92)); color: var(--paper); }

/* pricing cards */
.price-card { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; position: relative; }
.price-card.hot { border-color: rgba(255, 217, 120, .55); background: linear-gradient(170deg, rgba(212, 168, 67, .12), var(--glass)); }
.price-card .amount { font-family: var(--font-display); font-size: 2rem; color: var(--gold-bright); font-weight: 800; }
.price-card .amount small { font-size: .85rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.price-card ul { list-style: none; display: grid; gap: .45rem; font-size: .85rem; color: var(--muted); flex: 1; }
.price-card ul li { display: flex; gap: .5rem; align-items: flex-start; }
.price-card ul li::before { content: "✦"; color: var(--gold); font-size: .75rem; margin-top: .15rem; }
.hot-tag { position: absolute; top: -12px; left: 50%; translate: -50%; font-size: .68rem; font-weight: 700; letter-spacing: .12em; padding: .3rem .9rem; border-radius: 999px; background: linear-gradient(160deg, var(--gold-bright), var(--gold)); color: #1d1405; }
.sale { color: var(--muted); text-decoration: line-through; font-size: .85rem; }

/* changelog */
.changelog { border-left: 2px solid var(--line); margin-left: .5rem; padding-left: 1.6rem; display: grid; gap: 1.5rem; }
.chg { position: relative; }
.chg::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(255, 217, 120, .8); }
.chg h3 { font-size: .98rem; } .chg h3 small { color: var(--muted); font-family: var(--font-body); font-weight: 400; margin-left: .5rem; font-size: .78rem; }
.chg ul { margin: .5rem 0 0 1.1rem; color: var(--muted); font-size: .86rem; }

/* download / license boxes */
.dl-box { padding: 1.5rem; display: grid; gap: .8rem; }
.dl-box code { background: rgba(8, 11, 18, .8); border: 1px solid var(--line); padding: .15rem .5rem; border-radius: 6px; color: var(--gold-bright); font-size: .85rem; }
.kbd { background: rgba(8, 11, 18, .8); border: 1px solid var(--line); border-bottom-width: 2px; padding: .1rem .45rem; border-radius: 6px; font-size: .8rem; color: var(--gold-bright); }

/* ---------- forms ---------- */
label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; letter-spacing: .03em; }
input, select, textarea {
  width: 100%; padding: .7rem .95rem; border-radius: 10px;
  background: rgba(8, 11, 18, .7); border: 1px solid var(--line);
  color: var(--paper); font: inherit; font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 168, 67, .18); }
.field { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.hint { font-size: .76rem; color: var(--muted); margin-top: .3rem; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
td { padding: .85rem 1.1rem; border-bottom: 1px solid rgba(212, 168, 67, .1); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(212, 168, 67, .05); }
.pill { font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: rgba(88, 214, 122, .12); color: #8fe6a0; }
.pill.warn { background: rgba(255, 200, 90, .12); color: #ffd978; }
.pill.bad { background: rgba(230, 120, 100, .12); color: #e6a08f; }
.pill.info { background: rgba(120, 170, 255, .12); color: #a8c8ff; }

/* ---------- dashboard shell ---------- */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.dash-side { border-right: 1px solid var(--line); background: rgba(8, 11, 18, .6); padding: 1.4rem 1rem; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.dash-side .brand { margin-bottom: 1.6rem; padding: 0 .4rem; }
.side-link { display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; transition: .2s; }
.side-link svg { width: 18px; height: 18px; flex: none; }
.side-link:hover { color: var(--gold-bright); background: rgba(212, 168, 67, .07); }
.side-link.active { color: var(--gold-bright); background: linear-gradient(90deg, rgba(212, 168, 67, .16), transparent); border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; }
.dash-main { padding: 2rem clamp(1.2rem, 3vw, 2.6rem); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.dash-head h1 { font-size: 1.5rem; }
.panel { padding: 1.4rem 1.5rem; margin-bottom: 1.4rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.stat-card { padding: 1.2rem 1.3rem; }
.stat-card b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); }
.stat-card span { font-size: .8rem; color: var(--muted); }

/* license key */
.key { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; background: rgba(8, 11, 18, .85); border: 1px dashed var(--line); border-radius: 8px; padding: .45rem .8rem; color: var(--gold-bright); font-size: .82rem; }
.progress { height: 6px; border-radius: 99px; background: rgba(212, 168, 67, .15); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold-bright)); border-radius: 99px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  padding: .9rem 1.3rem; border-radius: 12px; font-size: .88rem;
  background: var(--glass-2); border: 1px solid var(--line); color: var(--paper);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .8); backdrop-filter: blur(14px);
  animation: fadeUp .3s ease; max-width: 320px;
}
.toast.ok { border-color: rgba(88, 214, 122, .5); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); overflow: hidden; }
.faq-item + .faq-item { margin-top: .8rem; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; background: none; border: 0; color: var(--paper); font: 600 .95rem var(--font-body); cursor: pointer; text-align: left; }
.faq-q::after { content: "＋"; color: var(--gold); font-size: 1.15rem; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.15rem; color: var(--muted); font-size: .89rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(8, 11, 18, .85); margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3.2rem 0 2.2rem; }
.site-footer h4 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer ul a { color: var(--muted); font-size: .88rem; }
.site-footer ul a:hover { color: var(--gold-bright); }
.footer-brand p { color: var(--muted); font-size: .86rem; max-width: 30ch; margin-top: .8rem; }
.footer-bottom { border-top: 1px solid rgba(212, 168, 67, .12); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.slogan { font-family: var(--font-display); color: var(--gold); font-size: .95rem; letter-spacing: .06em; }

/* ---------- auth modal ---------- */
.modal-veil { position: fixed; inset: 0; z-index: 90; background: rgba(4, 6, 10, .72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-veil.open { display: flex; animation: fadeUp .25s ease; }
.modal { width: min(420px, 100%); padding: 2rem 1.8rem; position: relative; }
.modal h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.modal .close-x { position: absolute; top: .9rem; right: .9rem; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.auth-tabs { display: flex; gap: .4rem; margin: 1.1rem 0 1.3rem; }
.auth-tabs button { flex: 1; padding: .55rem; border-radius: 9px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 .85rem var(--font-body); cursor: pointer; }
.auth-tabs button.active { background: rgba(212, 168, 67, .14); color: var(--gold-bright); border-color: var(--gold); }

/* ---------- checkout ---------- */
.co-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.6rem; align-items: start; }
.qr-box { width: 168px; height: 168px; margin: 1rem auto; border-radius: 12px; border: 1px solid var(--gold); padding: 10px; background: #f5ebd6; }
.qr-box svg { width: 100%; height: 100%; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner, .pd-hero .container, .co-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; max-width: 440px; margin-inline: auto; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--glass-2); border-bottom: 1px solid var(--line); padding: 1rem 4%; backdrop-filter: blur(18px); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { margin-left: auto; }
  .nav-links.open ~ .nav-cta { margin-left: 0; }
  .dropdown-menu { position: static; translate: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding-left: 1rem; background: none; display: none; min-width: 0; }
  .dropdown.open .dropdown-menu { display: block; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-side .brand { width: 100%; margin-bottom: .6rem; }
  .feat-grid, .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feat-grid, .shots, .form-grid { grid-template-columns: 1fr; }
  .update-row { grid-template-columns: 1fr; gap: .3rem; }
  .spec-list { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .nav-cta .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
