:root {
  --wine: #3b0d18;
  --wine-2: #541424;
  --velvet: #220810;
  --ink: #1a0b10;
  --gold: #d4b45a;
  --gold-2: #f0d78a;
  --gold-dim: rgba(212, 180, 90, 0.22);
  --ivory: #f7ecd6;
  --paper: #f3e2c4;
  --blush: #e8c4b0;
  --rose: #c45c6a;
  --mist: #c9b4a8;
  --line: rgba(212, 180, 90, 0.28);
  --ok: #7dcea0;
  --shadow: 0 22px 50px rgba(12, 2, 6, 0.45);
  --display: "Fraunces", "Times New Roman", serif;
  --text: "Lora", "Georgia", serif;
  --ui: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-optical-sizing: none; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--velvet);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.75;
  word-spacing: 0.22em;
  letter-spacing: 0.015em;
  font-optical-sizing: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 360px at 8% -8%, rgba(212, 180, 90, 0.16), transparent 58%),
    radial-gradient(640px 320px at 100% 0%, rgba(196, 92, 106, 0.18), transparent 52%),
    linear-gradient(165deg, #2a0b14 0%, #1c0810 46%, #3a101c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .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: grain 7s steps(5) infinite;
}

@keyframes grain {
  0% { transform: translate(0,0); }
  50% { transform: translate(-8px,6px); }
  100% { transform: translate(0,0); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
.wrap { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 90;
  font-family: var(--ui);
}
.skip:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(26, 8, 14, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.brand b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: var(--ui);
  font-size: .68rem;
  color: var(--mist);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cta-pair {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.btn {
  font-family: var(--ui);
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
}
.btn-login {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1208;
  box-shadow: 0 0 0 0 rgba(212, 180, 90, 0.7);
  animation: pulse 1.8s ease-in-out infinite;
}
.btn-join {
  background: #8b1e32;
  color: var(--ivory);
  border: 1px solid rgba(240, 215, 138, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
}
.btn-login:hover, .btn-join:hover { transform: translateY(-1px); color: inherit; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 180, 90, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(212, 180, 90, 0); }
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #4a1220;
  color: var(--gold-2);
  font-family: var(--ui);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 28s linear infinite;
}
.ticker span {
  padding: 8px 28px;
  white-space: nowrap;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  position: relative;
  padding: 36px 0 18px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}
.kicker {
  font-family: var(--ui);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
  word-spacing: 0.06em;
  font-optical-sizing: none;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 12px; }
h3 { font-size: 1.28rem; margin: 0 0 8px; }
.lead { font-size: 1.2rem; color: var(--blush); margin: 0 0 20px; }

.invite {
  background:
    linear-gradient(180deg, rgba(247, 236, 214, 0.08), transparent 40%),
    #2d1018;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.invite::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}
.chip {
  font-family: var(--ui);
  font-size: .75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mist);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.panel {
  background: linear-gradient(160deg, #6a1c2c, #3a101c 70%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.panel .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: .78rem;
  color: var(--gold-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dcea0;
  box-shadow: 0 0 0 0 rgba(125, 206, 160, .7);
  animation: pulse 1.6s infinite;
}
.addr {
  font-family: var(--ui);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  word-break: break-word;
  margin: 14px 0;
  color: var(--ivory);
}
.stamp {
  align-self: flex-start;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px dashed var(--gold);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--ui);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  transform: rotate(-12deg);
  animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-6deg); }
}

.rail {
  padding: 8px 0 28px;
}
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.slides {
  display: flex;
  width: 100%;
  transition: transform .55s ease;
}
.slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  background: #301018;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.slide h3, .slide p { overflow-wrap: break-word; }
.slide-mark {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--wine);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.slide p { margin: 6px 0 0; color: var(--blush); }
.slider-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.slider-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(247, 236, 214, .28);
  cursor: pointer;
}
.slider-nav button.on { background: var(--gold); }

.section { padding: 34px 0; }
.paper {
  background: var(--ivory);
  color: #2b1614;
  border-radius: 24px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.paper h2, .paper h3 { color: #4a1420; }
.paper p, .paper li { color: #3a221c; }
.paper a { color: #8b1e32; }
.drop::first-letter {
  font-family: var(--display);
  font-size: 3.1rem;
  float: left;
  line-height: .8;
  padding: 8px 10px 0 0;
  color: #8b1e32;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: adim;
}
.steps li {
  background: #fff6e8;
  border-radius: 16px;
  padding: 14px 16px 14px 58px;
  position: relative;
}
.steps li::before {
  counter-increment: adim;
  content: counter(adim);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4a1420;
  color: var(--gold-2);
  font-family: var(--ui);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: #2c1018;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.card.light {
  background: #fff6e8;
  color: #2b1614;
}
.card h3 { margin-top: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  margin: 16px 0;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(74, 20, 32, .12);
  vertical-align: top;
}
th { font-family: var(--ui); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.stars { color: #b8860b; letter-spacing: 2px; font-size: 1.2rem; }
.score {
  font-family: var(--display);
  font-size: 2.4rem;
  color: #4a1420;
  margin: 0;
}

.faq details {
  border-bottom: 1px solid rgba(74, 20, 32, .12);
  padding: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
  color: #4a1420;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #8b1e32; }

.event {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: #fff6e8;
  border-radius: 18px;
  padding: 16px;
}
.cal {
  background: #4a1420;
  color: var(--ivory);
  border-radius: 14px;
  text-align: center;
  padding: 14px 8px;
  font-family: var(--ui);
}
.cal b { display: block; font-size: 1.8rem; color: var(--gold-2); }

.note {
  font-size: .95rem;
  color: #5a3a32;
  background: #f7e6c8;
  border-left: 4px solid #8b1e32;
  padding: 10px 12px;
  border-radius: 0 12px 12px 0;
}

.crumbs {
  font-family: var(--ui);
  font-size: .82rem;
  color: var(--mist);
  padding: 14px 0 0;
}
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs span { color: var(--ivory); }

footer {
  padding: 28px 0 110px;
  color: var(--mist);
  font-size: .95rem;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
footer a { color: var(--gold-2); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs a {
  font-family: var(--ui);
  font-size: .78rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 8, 14, 0.94);
  border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; }

.orbs span {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .18;
  pointer-events: none;
  z-index: 0;
  animation: float 9s linear infinite;
}
.orbs span:nth-child(2) { left: 20%; animation-duration: 11s; }
.orbs span:nth-child(3) { left: 70%; animation-duration: 13s; }
@keyframes float {
  from { transform: translateY(100vh); }
  to { transform: translateY(-20vh); }
}

@media (max-width: 860px) {
  .hero-grid { display: flex; flex-direction: column; }
  .panel { order: -1; }
  .hero-grid, .two, .foot-grid, .event { grid-template-columns: 1fr; }
  .brand b, .brand small { display: none; }
  .topbar { padding: 10px 12px; }
  .btn { padding: 11px 12px; font-size: .78rem; }
  .dock { display: flex; }
  .slide { grid-template-columns: 64px 1fr; }
  .slide-mark { width: 64px; height: 64px; font-size: 1.25rem; }
  footer { padding-bottom: 118px; }
}

@media (max-width: 380px) {
  .btn { letter-spacing: 0; padding: 10px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
