:root {
  --cocoa: #160910;
  --wine: #4b1630;
  --berry: #e14b73;
  --berry-deep: #b52e54;
  --apricot: #f3b07a;
  --gold: #ecc27a;
  --pistachio: #86c08a;
  --paper: #f6eee2;
  --ticket: #fff7ec;
  --ink: #2b1612;
  --mute: #6d5348;
  --line: rgba(243, 176, 122, 0.28);
  --shadow: 0 18px 40px rgba(12, 4, 8, 0.35);
  --max: 1180px;
  --display: "Fraunces", "Times New Roman", serif;
  --text: "Figtree", "Segoe UI", sans-serif;
  --ui: "Syne", "Trebuchet MS", sans-serif;
  --mono: "Share Tech Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.75;
  background: var(--cocoa);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 340px at 8% -8%, rgba(225, 75, 115, 0.22), transparent 58%),
    radial-gradient(640px 300px at 100% 0%, rgba(243, 176, 122, 0.16), transparent 50%),
    radial-gradient(800px 420px at 50% 110%, rgba(75, 22, 48, 0.7), transparent 55%),
    linear-gradient(180deg, #1c0b12 0%, #160910 46%, #1a0d14 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  animation: grit 9s steps(5) infinite;
}

@keyframes grit {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-10px, 7px); }
  50% { transform: translate(8px, -9px); }
  75% { transform: translate(-5px, -3px); }
  100% { transform: translate(0, 0); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--apricot); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
.wrap { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 10px;
  top: -44px;
  background: var(--apricot);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 90;
}
.skip:focus { top: 10px; }

.ribbon {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #5a1a36, #8b2448 46%, #c13a5f);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.ribbon p {
  margin: 0;
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ribbon-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-in {
  background: var(--ticket);
  color: var(--wine);
  box-shadow: 0 0 0 0 rgba(255, 247, 236, 0.45);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-up {
  background: var(--gold);
  color: #3a220c;
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 247, 236, 0.0); }
  50% { box-shadow: 0 0 0 8px rgba(255, 247, 236, 0.08); }
}

.belt {
  overflow: hidden;
  background: #241018;
  border-bottom: 1px dashed rgba(243, 176, 122, 0.35);
  white-space: nowrap;
}
.belt-track {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
  animation: roll 28s linear infinite;
}
.belt-track span { margin: 0 22px; }
@keyframes roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, #f3b07a, #e14b73);
  color: #2b1014;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255, 247, 236, 0.35);
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--apricot);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--ui);
  font-size: 14px;
}
nav a[aria-current="page"] { color: var(--gold); }
.burger {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  border-radius: 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 18px;
}
.kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--pistachio);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 54px); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; color: var(--ink); }
h3 { font-size: 24px; margin: 0 0 8px; }
.lead { font-size: 19px; color: #f0d8c4; max-width: 62ch; }

.ticket {
  position: relative;
  background: var(--ticket);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--cocoa);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -14px; }
.ticket::after { right: -14px; }
.ticket h2 { font-size: 26px; margin-bottom: 6px; }
.ticket p { margin: 0 0 12px; color: var(--mute); }
.addr {
  font-family: var(--mono);
  background: #2b1612;
  color: var(--gold);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  word-break: break-all;
}
.ticket .row { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket .btn-in, .ticket .btn-up { min-width: 120px; }

.stage {
  position: relative;
  margin: 10px 0 28px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 230px;
  background: #2a121c;
  border: 1px solid var(--line);
}
.slide {
  display: none;
  padding: 28px 28px 70px;
  min-height: 230px;
  background:
    linear-gradient(115deg, rgba(225, 75, 115, 0.18), transparent 50%),
    #2a121c;
}
.slide.active { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slide h2 { color: var(--paper); }
.slide p { max-width: 68ch; color: #f0d8c4; }
.dots {
  position: absolute;
  left: 22px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 247, 236, 0.28);
}
.dots button.on { background: var(--gold); }

.stripes {
  height: 18px;
  margin: 8px 0 0;
  background: repeating-linear-gradient(
    45deg,
    #e14b73 0 10px,
    #f3b07a 10px 20px,
    #86c08a 20px 30px,
    #ecc27a 30px 40px
  );
  animation: drift 8s linear infinite;
  opacity: 0.85;
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 80px 0; } }

.paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  padding: 36px 0 20px;
  margin-top: 8px;
}
.paper a { color: #9a2d4b; }
.paper h2, .paper h3 { color: var(--ink); }
.paper p, .paper li { color: #3a241c; }
.prose { max-width: 74ch; }
.prose p { margin: 0 0 16px; }
.prose figure { margin: 0 0 20px; }
.prose figure img { border-radius: 16px; width: 100%; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }

.crumbs {
  font-size: 14px;
  color: var(--mute);
  margin: 0 0 16px;
}
.crumbs a { color: #9a2d4b; text-decoration: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.card {
  background: #fff8ee;
  border: 1px solid rgba(43, 22, 18, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(43, 22, 18, 0.06);
}
.card h3 { font-size: 22px; }
.card a { font-family: var(--ui); font-size: 14px; text-decoration: none; }

.table-wrap { overflow-x: auto; margin: 18px 0 24px; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff8ee;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(43, 22, 18, 0.08);
  font-size: 16px;
}
th { font-family: var(--ui); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wine); }

.faq details {
  background: #fff8ee;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 0 0 10px;
  border: 1px solid rgba(43, 22, 18, 0.08);
}
.faq summary {
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
}
.faq p { margin: 10px 0 4px; }

.note {
  border-left: 4px solid var(--berry);
  background: #ffe8d6;
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  margin: 18px 0;
}

.floaters { position: relative; }
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(225, 75, 115, 0.14);
  color: var(--wine);
  margin-right: 6px;
}

.review {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: #2a121c;
  color: var(--paper);
  border-radius: 20px;
  padding: 18px;
  margin: 22px 0;
}
.score {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
}
.stars { color: var(--gold); letter-spacing: 2px; }

footer {
  padding: 28px 0 110px;
  color: #e8cbb8;
  font-size: 15px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
footer a { color: var(--apricot); text-decoration: none; }
.langs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 9, 16, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.dock .btn { flex: 1; }

.orbs {
  position: absolute;
  inset: auto auto 0 0;
  width: 140px;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, #e14b73, transparent 60%);
  filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
  opacity: 0.45;
}
@keyframes bob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -12px); }
}

@media (max-width: 900px) {
  .hero, .grid, .foot, .review { grid-template-columns: 1fr; }
  .hero .ticket { order: -1; }
  .hero { display: flex; flex-direction: column; }
  .lead { font-size: 17px; }
  nav {
    display: none;
    position: absolute;
    right: 14px;
    top: 118px;
    flex-direction: column;
    align-items: stretch;
    background: #2a121c;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    min-width: 210px;
    z-index: 50;
  }
  nav.open { display: flex; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .ribbon p { font-size: 11px; }
  .dock { display: flex; }
  .ticket::before, .ticket::after { display: none; }
  h1 { font-size: 34px; }
  .paper { padding-top: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .ribbon { padding: 8px 10px; }
  .btn { padding: 0 12px; font-size: 13px; }
  .slide { padding: 20px 16px 64px; }
  .mast { padding-top: 12px; }
  .addr { font-size: 13px; letter-spacing: -0.02em; }
}
