@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Moniqa;
  src: url("/assets/moniqa-medium-heading.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #fcf3e5;
  --muted: #a9b4c6;
  --gold: #f5ca88;
  --navy: #0b1423;
  --line: #ffffff1c;
  font: 500 16px Montserrat, sans-serif;
  background: #070d17;
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }

.page {
  width: min(100%, 460px);
  min-height: 100svh;
  margin-inline: auto;
  padding: env(safe-area-inset-top) 18px env(safe-area-inset-bottom);
  background: var(--navy);
}

.site-header {
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Moniqa, Georgia, serif;
  font-size: 23px;
  line-height: 1;
  letter-spacing: .065em;
}

.jump {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ecdfce;
  font-size: 12px;
  font-weight: 500;
}

.jump span, .footer span { color: var(--gold); }

.timer-banner {
  min-height: 64px;
  margin-bottom: 12px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #80624980;
  border-radius: 15px;
  background: linear-gradient(105deg, #302521, #201c23 67%, #1b1d28);
}

.timer-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f5ca8817;
  color: var(--gold);
}

.timer-icon svg { width: 21px; height: 21px; }
.timer-copy { flex: 1; }
#timer-title { font-size: 12px; font-weight: 500; color: #ffe0b5; }
#timer-detail { margin-top: 2px; font-size: 10px; color: #d3bfa8; }

.countdown {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 33px;
  border-radius: 7px;
  border: 1px solid #f5ca8833;
  background: #0f131cc0;
}

.countdown b { font-weight: 500; }

.gallery {
  overflow: hidden;
  border-radius: 21px;
  border: 1px solid #7789a251;
  background: #102033;
}

.gallery-track {
  display: flex;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.gallery-track:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track img {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 5px;
  border-top: 1px solid var(--line);
}

.gallery-dots { display: flex; align-items: center; }

.gallery-arrow, .gallery-dot {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.gallery-arrow { min-width: 40px; height: 40px; font: inherit; font-size: 25px; line-height: 1; }
.gallery-arrow:disabled { opacity: .35; cursor: default; }
.gallery-dot { width: clamp(12px, 4.4vw, 22px); height: 32px; border-radius: 6px; }

.gallery-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8d98a9;
  content: "";
}

.gallery-dot[aria-current="true"]::before { width: 11px; background: var(--gold); }
.gallery-arrow:focus-visible, .gallery-dot:focus-visible { outline-offset: -3px; }
.hero-copy { padding-top: 15px; }

.eyebrow {
  color: #ffdb9e;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span { margin-right: 4px; }

h1, h2 {
  font-family: Moniqa, Georgia, serif;
  font-weight: 500;
}

h1 {
  margin: 5px 0 7px;
  font-size: clamp(36px, 10.3vw, 48px);
  line-height: .99;
  letter-spacing: -.01em;
}

.hero-description {
  color: #e1d7c7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.features {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 13px 0 14px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.features li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c5cedd;
  font-size: 10px;
  font-weight: 500;
}

.features svg { flex: none; width: 16px; height: 16px; color: var(--gold); }

.shops { padding-top: 19px; scroll-margin-top: 14px; }
h2 { font-size: 42px; line-height: 1; letter-spacing: -.01em; }
.section-description { margin-top: 7px; color: var(--muted); font-size: 12px; }
.shop-grid { display: grid; gap: 10px; margin-top: 15px; }

.shop-card {
  --card: #201c2c;
  --accent: #d492ff;
  --button: #9033d3;
  --button-text: #fff;
  display: grid;
  grid-template-columns: minmax(98px, 36%) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #a75fe251;
  background: var(--card);
}

.shop-card.market {
  --card: #242322;
  --accent: #74e2ad;
  --button: #ffdb16;
  --button-text: #201c09;
  border-color: #f5ca8851;
}

.shop-card.other {
  --card: #192536;
  --accent: #aad5ff;
  --button: #305982;
  border-color: #ffffff28;
}

.shop-image {
  border-right: 1px solid #ffffff19;
  background: #0b2037 url("/assets/greenhouse.webp") center 98% / auto 200% no-repeat;
}

.shop-content { display: flex; flex-direction: column; padding: 11px; }
.shop-brand { display: flex; align-items: center; gap: 6px; }

.shop-brand h3 {
  font-size: 14px;
  letter-spacing: -.025em;
  line-height: 1.15;
  font-weight: 500;
}

.brand-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #683092;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -.06em;
}

.market .brand-icon { background: #ffdb16; color: #211a0b; }
.other .brand-icon { background: #305982; }

.price {
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 7px;
}

.price del { order: -1; color: #b5aabe; font-size: 12px; font-weight: 500; white-space: nowrap; }
.price strong { color: var(--accent); font-size: 21px; font-weight: 500; white-space: nowrap; letter-spacing: -.055em; }
.price--with-standard strong { flex-basis: 100%; order: -2; font-size: 25px; }
.price--with-standard del { order: 0; }
.standard-price { color: var(--ink); font-size: 14px; white-space: nowrap; }
.price strong.price-placeholder { color: #e1d7df; font-size: 13px; letter-spacing: -.015em; white-space: normal; }

.shop-status { color: #c7bbc4; font-size: 10px; margin-bottom: 8px; }

.buy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  margin-top: auto;
  padding: 4px 5px;
  border-radius: 9px;
  background: var(--button);
  color: var(--button-text);
  font-size: 11px;
  line-height: 1.12;
  font-weight: 500;
  text-align: center;
  transition: filter .16s;
}

.buy:active { filter: brightness(.83); }
.buy svg { width: 16px; height: 16px; flex: none; }
.buy[aria-disabled="true"] { opacity: .72; }
.buy[aria-disabled="true"] .open-arrow { display: none; }
.open-arrow { font-size: 13px; }

.app-help { margin-top: 15px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.app-help summary { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 500; list-style: none; }
.app-help summary::-webkit-details-marker { display: none; }
.app-help summary::after { content: "+"; color: var(--gold); font-size: 17px; }
.app-help[open] summary::after { content: "−"; }
.app-help p { color: var(--muted); line-height: 1.6; margin-block: 4px 8px; }
.price-note { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer { padding-block: 16px 24px; color: var(--muted); font-size: 11px; text-align: right; }
.footer a { display: inline-block; padding: 9px 0 9px 12px; }

@media (min-width: 540px) {
  body {
    background: radial-gradient(ellipse at 31% 22%, #202e45 0, #101a2a 31%, #070d17 72%);
    background-attachment: fixed;
  }
  .page { border-inline: 1px solid #ffffff1a; box-shadow: 0 0 85px #02060e72; }
}

@media (max-width: 350px) {
  .page { padding-inline: 12px; }
  .timer-banner { padding-inline: 8px; }
  .shop-content { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buy { transition: none; }
}
