:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --line: #2b2b2b;
  --green: #00d26a;
  --gold: #f5d400;
  --white: #ffffff;
  --muted: #8d8d8d;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
}

body {
  min-width: 320px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.page {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
}

.back,
.top-link {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.topbar h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stage {
  display: grid;
  gap: 14px;
  padding: 14px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
}

.ticket {
  padding: 18px 16px;
  border: 1px solid rgba(245, 212, 0, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #221c05, #1a1a1a 58%);
}

.ticket span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket strong {
  display: block;
  font-size: clamp(1.35rem, 6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ticket dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.ticket div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 212, 0, 0.22);
}

.ticket dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.ticket dd {
  margin: 0;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.intro {
  display: grid;
  gap: 12px;
}

.logo-plate {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--white);
}

.logo-plate img {
  width: auto;
  height: auto;
  max-width: min(100%, 180px);
  max-height: 48px;
  object-fit: contain;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.meta {
  margin: 0;
}

.meta div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.meta div:first-child { padding-top: 0; }
.meta div:last-child { padding-bottom: 0; border-bottom: 0; }

.meta dt {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.meta dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.story,
.cols article,
.help {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.story h2,
.cols h2,
.help h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  letter-spacing: -0.03em;
}

.story p,
.cols li,
.help p {
  color: #c8c8c8;
  font-size: 0.94rem;
  line-height: 1.55;
}

.story p { margin: 0 0 12px; }
.story p:last-child { margin-bottom: 0; }

.cols {
  display: grid;
  gap: 12px;
}

.cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cols li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid var(--line);
}

.cols li:last-child { border-bottom: 0; padding-bottom: 0; }
.cols li:first-child { padding-top: 0; }

.cols.plus li::before,
.cols.minus li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.45em;
  border-radius: 50%;
}

.cols.plus { border-left: 3px solid var(--green); }
.cols.minus { border-left: 3px solid var(--gold); }
.cols.plus li::before { background: var(--green); }
.cols.minus li::before { background: var(--gold); }

.cta {
  display: flex;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #062016;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.cta:hover { filter: brightness(1.06); }

.back:focus-visible,
.top-link:focus-visible,
.cta:focus-visible,
.foot-menu a:focus-visible {
  outline: 3px solid rgba(0, 210, 106, 0.55);
  outline-offset: 3px;
}

.foot {
  margin-top: 8px;
  padding: 8px 0 28px;
  border-top: 1px solid var(--line);
}

.foot-legal {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
}

.age-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.foot-legal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.foot-legal p + p { margin-top: 6px; }

.foot-menu {
  display: grid;
  gap: 8px;
  padding: 0 max(12px, env(safe-area-inset-right));
}

.foot-menu a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.foot-menu a span:last-child {
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
}

@media (min-width: 768px) {
  body {
    padding: 28px 24px;
    background:
      radial-gradient(circle at 50% -10%, rgba(0, 210, 106, 0.12), transparent 28rem),
      var(--bg);
  }

  .page {
    width: min(100%, 760px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #101010;
  }

  .intro {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
  }

  .cols {
    grid-template-columns: 1fr 1fr;
  }

  .stage { padding: 22px 24px 12px; gap: 16px; }
  .foot-legal,
  .foot-menu { padding-right: 24px; padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
