/* ============================================================
   Knocky Dice — static landing page
   Fully self-contained: fonts are stored in ./fonts, no CDN calls.
   Fonts: Lilita One + Nunito (SIL Open Font License 1.1).
   ============================================================ */

@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lilitaone-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lilitaone-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --purple-900: #241146;
  --purple-800: #2f1760;
  --purple-700: #3d1f7d;
  --purple-600: #5b34c0;
  --purple-500: #7a4de8;
  --violet-glow: #a97bff;

  --gold-400: #ffd35c;
  --gold-500: #ffb527;
  --gold-600: #e8890b;

  --green-500: #4dc97a;
  --green-600: #2fa25b;
  --red-500: #f04d4d;
  --red-600: #c62f2f;
  --cyan-300: #79e6ff;

  --text: #ffffff;
  --text-dim: #cbbdf0;
  --card: rgba(255, 255, 255, 0.07);
  --card-line: rgba(255, 255, 255, 0.14);

  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 40px rgba(10, 2, 30, 0.45);

  --font: 'Nunito', "Trebuchet MS", "Segoe UI", Verdana, Tahoma, sans-serif;
  --font-display: 'Lilita One', 'Nunito', "Trebuchet MS", Impact, sans-serif;

  /* chunky game-UI outline used on display text */
  --ink: #1b0b3d;
}

/* display type: heavy, uppercase, dark outline — arcade poster feel */
h1, h2, h3, .brand, .btn, .tab, .badge, .hero-stats b, .step::before, .faq summary {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
}

h1, h2, h3 {
  text-transform: uppercase;
  line-height: 1.06;
}

h1, h2 {
  text-shadow:
    0 2px 0 var(--ink), 0 -2px 0 var(--ink),
    2px 0 0 var(--ink), -2px 0 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink),
    0 6px 0 rgba(0, 0, 0, 0.32),
    0 16px 30px rgba(0, 0, 0, 0.4);
}

h3 { text-shadow: 0 2px 0 rgba(20, 8, 48, 0.6); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--purple-800);
  background-image:
    radial-gradient(900px 600px at 12% -8%, #6b3ad6 0%, rgba(107, 58, 214, 0) 60%),
    radial-gradient(800px 600px at 92% 6%, #4a2ba0 0%, rgba(74, 43, 160, 0) 62%),
    linear-gradient(180deg, #3a1c78 0%, #2a1259 45%, #1d0d42 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* floating dice pips pattern behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.10) 2px, transparent 2px),
    radial-gradient(rgba(255, 255, 255, 0.07) 2px, transparent 2px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 45px 60px;
  z-index: 0;
}

img { border: 0; max-width: 100%; display: block; }

a { color: var(--cyan-300); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3a2000;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 6px 0 var(--gold-600), 0 10px 0 var(--ink), 0 18px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.06); text-decoration: none; }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--gold-600), 0 4px 0 var(--ink), 0 8px 14px rgba(0, 0, 0, 0.35); }

.btn--ghost {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08));
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.18), 0 10px 0 var(--ink), 0 18px 26px rgba(0, 0, 0, 0.4);
}
.btn--ghost:active { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 0 var(--ink); }

.btn--green {
  color: #06331a;
  background: linear-gradient(180deg, #79e6a4, var(--green-500));
  box-shadow: 0 6px 0 var(--green-600), 0 10px 0 var(--ink), 0 18px 26px rgba(0, 0, 0, 0.4);
}
.btn--green:active { box-shadow: 0 1px 0 var(--green-600), 0 4px 0 var(--ink); }

.btn--red {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #ff7a7a, var(--red-500));
  box-shadow: 0 6px 0 var(--red-600), 0 10px 0 var(--ink), 0 18px 26px rgba(0, 0, 0, 0.4);
}
.btn--red:active { box-shadow: 0 1px 0 var(--red-600), 0 4px 0 var(--ink); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(29, 13, 66, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.25s ease;
}
.site-header.is-scrolled { background: rgba(29, 13, 66, 0.9); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5px;
}
.brand:hover { text-decoration: none; }

.brand-die {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, #fff, #dcd3ff);
  box-shadow: inset 0 -4px 0 rgba(90, 60, 170, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 6px;
  flex: none;
  animation: nudge 4.5s ease-in-out infinite;
}
.brand-die i { width: 6px; height: 6px; border-radius: 50%; background: #3a2270; align-self: center; justify-self: center; }
.brand-die i:nth-child(1) { grid-area: 1 / 1; }
.brand-die i:nth-child(2) { grid-area: 1 / 3; }
.brand-die i:nth-child(3) { grid-area: 2 / 2; }
.brand-die i:nth-child(4) { grid-area: 3 / 1; }
.brand-die i:nth-child(5) { grid-area: 3 / 3; }

@keyframes nudge {
  0%, 82%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(-14deg) scale(1.06); }
  92% { transform: rotate(12deg) scale(1.06); }
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: bold;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.10); text-decoration: none; }
.nav a.nav-cta {
  color: var(--ink);
  text-transform: uppercase;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 8px 18px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 4px 0 var(--gold-600), 0 6px 0 var(--ink);
}
.nav a.nav-cta:hover { filter: brightness(1.07); color: var(--ink); transform: translateY(-1px); }

/* ---------------- hero ---------------- */

.hero { padding: 74px 0 40px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, #fff0bd, var(--gold-400));
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--gold-600), 0 8px 0 var(--ink);
  transform: rotate(-2deg);
}

.badge--danger {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #ff8a8a, var(--red-500));
  box-shadow: 0 5px 0 var(--red-600), 0 8px 0 var(--ink);
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -1px;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.25), 0 18px 34px rgba(0, 0, 0, 0.35);
}
.hero h1 span {
  background: linear-gradient(180deg, #fff5cf 0%, var(--gold-400) 55%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats div { min-width: 92px; }
.hero-stats b {
  display: block;
  font-size: 30px;
  color: var(--gold-400);
  line-height: 1.1;
}
.hero-stats small {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* hero phone */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  max-width: 90vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 39, 0.30), rgba(169, 123, 255, 0.18) 45%, transparent 68%);
  pointer-events: none;
}

.hero-phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  cursor: zoom-in;
  filter: drop-shadow(0 30px 44px rgba(8, 2, 24, 0.65));
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.hero-phone:hover { transform: translateY(-8px) rotate(-1.2deg); }

@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(12px); }
}

/* ---------------- generic section ---------------- */

.section { padding: 66px 0; }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.5px;
}
.section-head p {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 17px;
}

/* ---------------- feature cards ---------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 20px 34px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.feature::after {
  content: "";
  position: absolute;
  inset: -40% 55% 55% -40%;
  background: radial-gradient(circle, rgba(169, 123, 255, 0.45), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 0 var(--ink), 0 26px 40px rgba(0, 0, 0, 0.45);
}
.feature:hover::after { opacity: 1; }

.feature .ico {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 20px; }
.feature p { position: relative; z-index: 1; margin: 0; color: var(--text-dim); font-size: 15.5px; }

/* ---------------- phone showcase ---------------- */

.phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px 18px;
  align-items: end;
}

.phone {
  margin: 0;
  text-align: center;
  transition: transform 0.3s ease;
}
.phone img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  cursor: zoom-in;
  filter: drop-shadow(0 26px 40px rgba(8, 2, 24, 0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.phone:hover img {
  transform: translateY(-12px) rotate(-1deg);
  filter: drop-shadow(0 34px 48px rgba(169, 123, 255, 0.45));
}

.phone--lead img { max-width: 280px; }
.phone--lead { position: relative; }
.phone--lead::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 39, 0.32), transparent 66%);
  pointer-events: none;
}

.phone figcaption {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 15px;
}
.phone figcaption b {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 3px;
}

@media (max-width: 900px) {
  .phones { grid-template-columns: 1fr; gap: 42px; }
  .phone img, .phone--lead img { max-width: 280px; }
  .phone--lead::before { width: 280px; height: 280px; }
}

/* ---------------- screenshot gallery ---------------- */

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.tab {
  padding: 11px 22px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: all 0.18s ease;
}
.tab:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.2); }
.tab.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 5px 0 var(--gold-600), 0 8px 0 var(--ink);
}

.shots { position: relative; }

.shot {
  display: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow-soft);
  animation: fade-in 0.4s ease;
}
.shot.is-active { display: block; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.shot img { width: 100%; cursor: zoom-in; }

.shot figcaption {
  padding: 16px 20px 18px;
  text-align: center;
  color: var(--text-dim);
  font-size: 15.5px;
  background: rgba(255, 255, 255, 0.05);
}
.shot figcaption b { color: #fff; display: block; font-size: 18px; margin-bottom: 3px; }

/* ---------------- how to play ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px 24px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--gold-600), 0 8px 0 var(--ink);
}
.step h3 { margin: 12px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------------- account / support ---------------- */

.account-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(240, 77, 77, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(240, 77, 77, 0.38);
  box-shadow: var(--shadow-soft);
}

/* keep the store-required wording exactly as written, no uppercasing */
.account-card h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.25;
  text-transform: none;
}

.account-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.22);
  border-left: 4px solid var(--red-500);
}

.path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}
.path span {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--card-line);
}
.path span.is-danger { color: #ffd7d7; background: rgba(240, 77, 77, 0.28); border-color: rgba(240, 77, 77, 0.5); }
.path em { color: var(--gold-400); font-style: normal; font-weight: bold; }

.screenshot-frame {
  position: relative;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--card-line);
}
.screenshot-frame img { border-radius: 14px; cursor: zoom-in; width: 100%; }
.screenshot-frame .zoom-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  pointer-events: none;
}

/* ---------------- FAQ ---------------- */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--card-line);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-size: 17px;
  font-weight: bold;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--gold-400);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: rgba(255, 211, 92, 0.4); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--text-dim); font-size: 15.5px; }

/* ---------------- contact ---------------- */

.contact-box {
  text-align: center;
  padding: 46px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(122, 77, 232, 0.35), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow-soft);
}
.contact-box h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); }
.contact-box p { margin: 0 auto 26px; max-width: 56ch; color: var(--text-dim); font-size: 17px; }

/* ---------------- footer ---------------- */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 14.5px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(8, 2, 22, 0.92);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fade-in 0.2s ease; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------------- scroll reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- policy page ---------------- */

.doc {
  position: relative;
  z-index: 1;
  width: min(880px, 92vw);
  margin: 40px auto 60px;
  padding: 34px clamp(20px, 4vw, 46px) 46px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow-soft);
}
.doc h1 { font-size: clamp(26px, 4vw, 36px); margin: 30px 0 12px; }
.doc h1:first-child { margin-top: 0; }
.doc h2 { font-size: 22px; margin: 26px 0 10px; color: var(--gold-400); }
.doc h3 { font-size: 18px; margin: 20px 0 8px; }
.doc p, .doc li { color: #e6dffb; font-size: 15.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: #fff; }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { order: -1; min-height: 0; }
  .hero-phone { max-width: 240px; }
  .hero-art::before { width: 320px; height: 320px; }
  .account-card { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 8px; }
  .nav { margin-left: 0; width: 100%; justify-content: center; }
  .nav a { padding: 8px 11px; font-size: 14px; }
  .hero { padding: 44px 0 20px; }
  .section { padding: 46px 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

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