:root {
  --accent: #b3122e;
  --accent-hi: #d81b3c;
  --ink: #f5f5f5;
  --muted: #b9b9b9;
  --panel: rgba(18, 18, 20, .78);
  --line: rgba(255, 255, 255, .12);
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: #000; }
body { margin: 0; color: var(--ink); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.bg {
  position: fixed; inset: 0; z-index: -1;
  background: #000 url("/assets/gen/bg.webp") center / cover no-repeat;
}
.bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }

.card {
  max-width: 480px; margin: 0 auto; min-height: 100vh;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding-bottom: 32px;
}

/* Hero */
.hero { position: relative; }
.hero-art { width: auto; height: auto; max-width: 100%; max-height: 46vh; margin: 0 auto; }
.hero-info { padding: 18px 16px 4px; text-align: center; }
.hero h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.handle { margin: 2px 0 14px; color: var(--muted); font-size: 15px; }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.s {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--ink); cursor: pointer; padding: 0;
  transition: transform .15s ease, background .15s ease;
}
.s svg { width: 18px; height: 18px; fill: currentColor; }
.s:hover, .s:focus-visible { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.s-vip { background: var(--accent); border-color: var(--accent-hi); }
.s-vip:hover, .s-vip:focus-visible { background: var(--accent-hi); }

/* Buttons */
.links { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 6px; }
.btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 10px 60px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
  cursor: pointer; width: 100%; text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover, .btn:focus-visible { transform: scale(1.015); border-color: rgba(255,255,255,.35); }
.btn-po-box { margin: 0; padding: 14px 18px; font-style: normal; cursor: text; }
.btn-po-box:hover { transform: none; border-color: var(--line); }
.po-box-address { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.btn img, .btn .btn-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; }
.btn .btn-ico { padding: 9px; fill: currentColor; background: #000; border: 1px solid var(--line); }
.btn-vip {
  background: linear-gradient(135deg, #7d0c20, var(--accent) 55%, #e0284a);
  border-color: var(--accent-hi); box-shadow: 0 0 22px rgba(179, 18, 46, .45);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 34px rgba(216, 27, 60, .7); } }
@media (prefers-reduced-motion: reduce) { .btn-vip { animation: none; } }

/* Photo carousel: native horizontal scrolling keeps touch and trackpad gestures natural. */
.feature { margin: 18px 16px 0; }
.carousel { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #080808; }
.carousel-frame { position: relative; }
.carousel-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius) var(--radius) 0 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.carousel-count { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none; }
.carousel-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 7px 8px; }
.carousel-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); cursor: pointer; transition: background .15s ease, transform .15s ease; }
.carousel-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:active { transform: scale(.95); }
.carousel-dots { display: flex; justify-content: center; min-width: 0; }
.carousel-dots button { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 6px; background: #767676; transition: width .15s ease, background .15s ease; }
.carousel-dots button[aria-current=true]::after { width: 18px; background: var(--accent-hi); }
.carousel-nav button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; }
.carousel-track:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) { .carousel-arrow:hover { background: rgba(255,255,255,.13); } }
@media (prefers-reduced-motion: reduce) { .carousel-arrow, .carousel-dots button::after { transition: none; } }

/* Signup */
.signup { margin: 18px 16px 0; padding: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup input[type=email] { min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.07); color: var(--ink); font-size: 16px; }
.signup button { padding: 0 16px; border-radius: 12px; border: 0; background: var(--ink); color: #000; font-weight: 700; cursor: pointer; }
.signup button[disabled] { opacity: .6; cursor: default; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-msg { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.signup-msg:empty { display: none; }
.signup-msg.ok { color: #7ee2a0; }
.signup-msg.err { color: #ff8a9b; }
.signup-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; text-align: center; }
.signup-note a, .privacy a { color: inherit; text-underline-offset: 3px; }
.privacy { padding: 32px 24px; line-height: 1.65; }
.privacy h1 { font-size: 26px; line-height: 1.2; }
.privacy h2 { font-size: 18px; }
@media (max-width: 360px) { .signup { grid-template-columns: 1fr; } .signup button { min-height: 44px; } }

.foot { padding: 0 24px; text-align: center; color: #8a8a8a; font-size: 12px; line-height: 1.5; margin-top: 24px; }
.foot p { margin: 0; text-wrap: balance; }
.foot p + p { margin-top: 6px; color: #666; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.82); }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 360px; padding: 26px 22px; border-radius: 20px; background: #111; border: 1px solid var(--line); text-align: center; }
.modal-box img { margin: 0 auto 10px; border-radius: 14px; }
.modal-box h2 { margin: 0 0 8px; font-size: 22px; }
.modal-box p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.modal-box form { margin: 0; }
.primary, .ghost { width: 100%; padding: 14px; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 15px; }
.primary { border: 0; background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-hi); }
.ghost { margin-top: 10px; background: none; border: 1px solid var(--line); color: var(--muted); }

.lightbox img { max-width: min(92vw, 520px); max-height: 86vh; border-radius: 14px; }
.lb-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.6); font-size: 26px; line-height: 1; cursor: pointer; }
