@font-face {
  font-family: Nunito;
  src: url("assets/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #24143b;
  --paper: #faf6ff;
  --purple: #6030a4;
  --lime: #dfff99;
  --lavender: #dcc3ff;
  font-family: Nunito, system-ui, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background: radial-gradient(ellipse at 18% 8%, #49217b 0, transparent 52%),
    radial-gradient(ellipse at 94% 67%, #39155f 0, transparent 57%), #190b2a;
}

p, h1, h2, h3 { margin: 0; }
img { display: block; }
svg { display: block; width: 1em; height: 1em; flex: none; }
button { font: inherit; }
.icon-library { position: absolute; width: 0; height: 0; }

.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid #e1c4ff30;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 32px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
}
.wordmark svg { color: #f1e4ff; }
.edition {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #bd94ee66;
  border-radius: 999px;
  color: #f0defc;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.edition svg { color: var(--lime); }

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 76px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--lavender);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow svg { color: #e0aaff; font-size: 15px; }
h1 {
  font-size: clamp(2.75rem, 5.65vw, 5.15rem);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.045em;
}
h1 em { color: var(--lime); font-style: normal; }
.hero-tail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, .72fr);
  grid-template-rows: auto auto;
  gap: 28px 16px;
  margin-top: 25px;
}
.lede {
  grid-area: 1 / 1;
  max-width: 30ch;
  color: #e4d5f3;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.58;
}
.mascot {
  position: relative;
  display: grid;
  grid-area: 1 / 2 / 3 / 3;
  place-items: center;
  align-self: center;
  aspect-ratio: 1;
  isolation: isolate;
}
.mascot::before, .mascot::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.mascot::before {
  inset: 2% -12%;
  background: radial-gradient(ellipse, #9d5aff80, #7938d038 48%, transparent 73%);
}
.mascot::after {
  width: 111%;
  height: 46%;
  border: 1px solid #d7b4ff6b;
  border-radius: 50%;
  transform: rotate(-31deg);
}
.mascot img {
  width: min(87%, 220px);
  height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 12px 12px #12042194);
}
.mascot-spark { position: absolute; color: #e4cbff; }
.mascot-spark-top { right: 5%; top: 13%; font-size: clamp(12px, 1.6vw, 23px); }
.mascot-spark-bottom { left: 2%; bottom: 20%; font-size: 12px; color: var(--lime); }

.access {
  grid-area: 2 / 1;
  padding: 15px;
  border: 1px solid #d9b4ff42;
  border-radius: 18px;
  background: #f1deff0d;
}
.access-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #ddd0ed;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.access-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9a9ca;
  box-shadow: 0 0 0 3px #c6a6ed22;
}
.download, .telegram-button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 720;
  text-align: left;
}
.download {
  border: 1px solid #7f7689;
  background: #53505a;
  color: #eeebf0;
  cursor: not-allowed;
}
.download svg { font-size: 18px; }
.download .download-lock { margin-left: auto; color: #d2cbdc; font-size: 15px; }
.access-note { margin-top: 10px; color: #dacde8; font-size: 13px; line-height: 1.55; }
.telegram-button {
  margin-top: 9px;
  border: 1px solid #69b3e2;
  background: #166da7;
  color: #fff;
  text-decoration: none;
}
.telegram-button svg { font-size: 19px; }
.telegram-button:hover { background: #105d91; }
.telegram-button:focus-visible { outline: 2px solid #a9dfff; outline-offset: 3px; }

.showcase {
  min-width: 0;
  padding: clamp(16px, 2.25vw, 31px);
  border: 1px solid #fff9;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 20px 56px #10051e61, 0 0 54px #9957db2e;
  color: var(--ink);
}
.showcase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.showcase-header h2 {
  font-size: clamp(1.12rem, 2.25vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.showcase-icon {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #e8d5ff, #d9befb);
  color: var(--purple);
  font-size: 23px;
}
.products { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.products legend {
  margin-bottom: 7px;
  padding: 0;
  color: #503c63;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.product-option { position: relative; cursor: pointer; }
.product-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.product-chip {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 7px 4px;
  border: 1px solid #ded1eb;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 720;
}
.product-chip img { width: 44px; height: 32px; object-fit: contain; }
.product-option:hover .product-chip { border-color: #b18ed5; }
.product-option input:checked + .product-chip { border-color: #8d52c9; background: #ebdbff; color: #502782; }
.product-option input:focus-visible + .product-chip { outline: 2px solid var(--purple); outline-offset: 2px; }

.showcase-details { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 10px; }
.product-visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border-radius: 17px;
  background: linear-gradient(#9261d014 1px, transparent 1px) 50% 50% / 17px 17px,
    linear-gradient(90deg, #9261d014 1px, transparent 1px) 50% 50% / 17px 17px,
    radial-gradient(ellipse at 50% 79%, #dbc3f9, #eee1fb 74%);
}
.product-visual img {
  width: 100%;
  height: clamp(74px, 9vw, 118px);
  object-fit: contain;
  filter: drop-shadow(0 6px 5px #592b7f40);
}
.product-visual figcaption { font-size: 12px; font-weight: 750; }

.ticket {
  --ticket-inset: clamp(11px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 17px;
  color: var(--paper);
}
.ticket-main {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: var(--ticket-inset);
  background: radial-gradient(ellipse at 100% 10%, #9254da96, transparent 68%),
    linear-gradient(135deg, #462373, #5a268f);
}
.ticket-art {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 6%;
  width: min(42%, 166px);
  height: auto;
  color: #e3c0ff40;
  transform: translateY(-50%) rotate(-12deg);
}
.ticket-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0ddff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ticket-label svg { color: var(--lime); font-size: 14px; }
.ticket-amount {
  display: block;
  margin-top: 12px;
  color: var(--lime);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}
.ticket-stub {
  position: relative;
  height: 16px;
  border-top: 1px dashed #e5c6ff91;
  background: #391d56;
}
.ticket-stub::before, .ticket-stub::after {
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}
.ticket-stub::before { left: 0; transform: translate(-50%, -50%); }
.ticket-stub::after { right: 0; transform: translate(50%, -50%); }

@media (max-width: 1030px) {
  .hero-tail { grid-template-columns: minmax(0, 1fr) minmax(104px, .49fr); }
}

@media (max-width: 820px) {
  .shell { width: min(570px, calc(100% - 40px)); }
  .landing { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 42px; }
  h1 { font-size: clamp(2rem, 10.2vw, 4.3rem); }
  .hero-tail { grid-template-columns: minmax(0, 1fr) clamp(94px, 31vw, 164px); gap: 12px 12px; margin-top: 10px; }
  .lede { align-self: center; }
  .mascot { grid-area: 1 / 2; }
  .access { grid-area: 2 / 1 / 3 / 3; }
  .showcase { padding: clamp(16px, 4vw, 24px); }
}

@media (max-width: 400px) {
  .shell { width: calc(100% - 32px); }
  .site-header { padding-block: 17px; }
  .wordmark { font-size: 27px; }
  .landing { padding-top: 27px; }
  .eyebrow { margin-bottom: 13px; }
  .showcase-header { gap: 9px; }
  .showcase-icon { width: 34px; height: 34px; font-size: 19px; }
}
