:root { --bg: #050505; --card: #131113; --line: #2c262a; --text: #f5f1f1; --muted: #a0969a; --accent: #f0434d; }
* { box-sizing: border-box; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: 70vh; z-index: -1;
  background: linear-gradient(rgba(5, 5, 5, .72), var(--bg)), url("/assets/hero-sparklers.webp") center 15% / cover no-repeat;
}
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.wrap { max-width: 460px; min-height: 100vh; margin: 0 auto; padding: 28px 16px 32px; display: flex; flex-direction: column; }
.home-btn { align-self: flex-start; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; text-decoration: none; margin-bottom: 12px; }
.home-btn[hidden] { display: none; }
.home-btn:hover, .home-btn:focus-visible { border-color: var(--accent); outline: none; }
main { position: relative; }
header { text-align: center; margin: 12px 0 28px; }
.logo { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; display: block; margin: 0 auto 16px; }
.eyebrow { color: #ff8087; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin: 0; }
h1 { font-family: Unbounded, sans-serif; font-weight: 700; font-size: 34px; line-height: 1.1; margin: 10px 0 8px; }
.sub { color: var(--muted); margin: 0; }
.sub b { color: var(--text); }
.links { display: grid; gap: 12px; }
.city { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.city:hover, .city:focus-visible { border-color: var(--accent); outline: none; }
.city b { display: block; font-size: 20px; }
.city em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.city-flag { font-size: 28px; }
.city-arrow { color: var(--accent); font-size: 20px; }
.btn { display: block; text-align: center; font-weight: 600; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 12px; padding: 15px; text-decoration: none; }
.btn-line { background: transparent; color: var(--text); }
.btn-off { border-color: var(--line); color: var(--text); opacity: .55; cursor: default; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.extras { margin-top: 32px; min-width: 0; }
.extras[hidden] { display: none; }
.section-label { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin: 0 0 10px; }
.ticker { overflow: hidden; margin: 0 -16px 28px; padding: 12px 0; border-block: 1px solid var(--line); }
.ticker-run { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-run span { font-family: Unbounded, sans-serif; font-weight: 500; font-size: 13px; padding: 0 16px; white-space: nowrap; }
.ticker-run span::after { content: "✦"; color: var(--accent); margin-left: 32px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-run { animation: none; } }
.strip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scroll-snap-type: x proximity; }
.strip img { flex: none; height: 220px; width: auto; border-radius: 12px; scroll-snap-align: start; background: var(--card); }
footer { margin-top: auto; padding-top: 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer p { margin: 8px 0; }
.social { display: flex; justify-content: center; gap: 16px; }
.social a { color: var(--text); }
.map-link { color: #ff8087; font-size: 14px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.facts li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--muted); background: rgba(19, 17, 19, .7); }
.price { text-align: center; margin: 6px 0 2px; }
.price b { font-family: Unbounded, sans-serif; font-size: 22px; }
.price span { display: block; color: var(--muted); font-size: 13px; }
.fine { color: var(--muted); font-size: 12px; text-align: center; margin: 4px 0 0; }
.signup { margin-top: 32px; padding: 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.signup h2 { font-family: Unbounded, sans-serif; font-size: 18px; line-height: 1.25; margin: 0 0 6px; }
.signup-sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.signup form { display: grid; gap: 12px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field[hidden], .signup form[hidden] { display: none; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 12px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { color: var(--text); }
.signup .btn { width: 100%; font: inherit; font-weight: 600; cursor: pointer; }
.signup .btn:disabled { opacity: .6; }
.signup-msg { margin: 10px 0 0; font-size: 14px; text-align: center; }
.signup-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.rules { text-align: center; margin: 2px 0 0; font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* Short line under a city name, e.g. "Вечеринка на корабле" */
.city em.tagline { color: var(--text); font-size: 14px; }
.tagline { color: var(--accent); font-weight: 600; }

/* City names in capitals on the home cards */
.city b { font-family: Unbounded, sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px; }

/* Venue and address under the buttons on city pages */
.place { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; line-height: 1.6; }
.place b { color: var(--text); }
