@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --night-0: #0b0a24;
  --night-1: #17143f;
  --night-2: #241c5c;
  --card: rgba(36, 28, 92, 0.72);
  --card-edge: rgba(255, 201, 58, 0.35);
  --gold: #ffc93a;
  --gold-deep: #e39a1e;
  --cream: #fff4d6;
  --ink: #ece8ff;
  --ink-soft: #b9b2e6;
  --green: #3fcf6a;
  --radius: 22px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--night-0); }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: radial-gradient(1200px 700px at 50% -10%, var(--night-2), transparent 70%),
              linear-gradient(180deg, var(--night-1) 0%, var(--night-0) 900px) var(--night-0);
  min-height: 100vh;
}

h1, h2, h3, .brand, .btn {
  font-family: "Fredoka", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 0.4em; color: var(--cream); }
h2 { font-size: 1.6rem; margin: 2em 0 0.5em; color: var(--gold); }
h3 { font-size: 1.15rem; margin: 1.4em 0 0.3em; color: var(--cream); }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---- header / footer */

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 10, 36, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-size: 1.25rem; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

.site-footer { margin-top: 80px; padding: 36px 0 48px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--ink-soft); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

/* ---- hero */

.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("bg-river.webp") center 30% / cover no-repeat;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero .logo { width: min(420px, 90%); height: auto; display: block; margin-bottom: 8px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink); max-width: 34em; }
.hero .phone { justify-self: center; }

.phone {
  width: min(300px, 80vw); aspect-ratio: 9 / 19.5;
  border-radius: 38px; padding: 10px;
  background: linear-gradient(160deg, #3a2f86, #120f33);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 201, 58, 0.35), 0 0 60px rgba(255, 201, 58, 0.18);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 16px;
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
  color: #3a1d00;
  background: linear-gradient(180deg, #ffe07a, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 4px 0 #a8650c, 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease;
}
.btn:hover { color: #3a1d00; transform: translateY(-2px); }
.btn.secondary { color: var(--cream); background: linear-gradient(180deg, #5b47c9, #3a2c94); box-shadow: 0 4px 0 #231a63, 0 10px 24px rgba(0, 0, 0, 0.35); }
.btn.secondary:hover { color: #fff; }
.btn small { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.8; line-height: 1; }
.btn span { line-height: 1.1; }
.note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 10px; }

/* ---- sections */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.3);
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--ink-soft); }
.card .emoji { font-size: 1.8rem; display: block; margin-bottom: 6px; }

.shots { display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.shots .phone { flex: 0 0 auto; width: 230px; scroll-snap-align: center; }

/* ---- legal / text pages */

.doc { max-width: 780px; margin: 0 auto; padding: 48px 0 0; }
.doc .updated { color: var(--ink-soft); margin-top: -0.4em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 0.3em 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.doc th { color: var(--gold); font-family: "Fredoka", sans-serif; font-weight: 600; }
.doc .card { margin: 1.2em 0; }

details { background: var(--card); border: 1px solid var(--card-edge); border-radius: 16px; padding: 14px 18px; margin: 12px 0; }
details summary { cursor: pointer; font-weight: 800; color: var(--cream); }
details[open] summary { margin-bottom: 8px; }

.center { text-align: center; }
.lost { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 8px; }
.lost img { width: 160px; margin: 0 auto; }

@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .logo, .hero p.lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .nav { gap: 12px; }
  .nav a { font-size: 0.85rem; }
}

@media (max-width: 520px) {
  .site-header .wrap { height: auto; padding: 10px 0; flex-direction: column; gap: 6px; }
}
