:root {
  --accent: #A8F03C;
  --accent-2: #C8FF6A;
  --ink-on: #0B120C;
  --bg: #0C1210;
  --surface: #141C18;
  --lift: #1B2620;
  --rail: #24302A;
  --stroke: rgba(168, 240, 60, 0.18);
  --text: #EAF3EA;
  --soft: #9BB09C;
  --max: 1180px;
  --font: "Manrope", sans-serif;
  --display: "Syne", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(168,240,60,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(168,240,60,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(700px 420px at 100% 0%, rgba(168,240,60,.1), transparent 60%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
}
img { max-width: 100%; display: block; border-radius: 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.frame { width: min(100% - 1.25rem, var(--max)); margin-inline: auto; }

.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 18, 16, 0.94);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .75rem 0;
}
.logo { flex-shrink: 0; }
.logo img { height: 38px; width: auto; border-radius: 10px; }
.links { display: none; gap: 1rem; flex-wrap: wrap; }
.links a {
  color: var(--soft); font-size: .9rem; font-weight: 600;
  text-decoration: none; letter-spacing: .01em;
}
.links a:hover { color: var(--accent); }
.acts {
  display: flex; gap: .4rem; flex-wrap: nowrap;
  flex-shrink: 0; align-items: center;
}

.go {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 14px; padding: .7rem 1.1rem;
  font-family: var(--display); font-weight: 700; font-size: .88rem;
  cursor: pointer; text-decoration: none; transition: .2s ease;
  white-space: nowrap;
}
.go:hover { text-decoration: none; transform: translateY(-1px); }
.go-fill {
  background: var(--accent); color: var(--ink-on);
  box-shadow: 0 0 0 1px rgba(168,240,60,.4), 0 10px 28px rgba(168,240,60,.25);
  animation: blink 2.5s ease-in-out infinite;
}
.go-fill:hover { animation: none; background: var(--accent-2); }
.go-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--stroke);
}
.go-ghost:hover { border-color: var(--accent); color: var(--accent); }
.go-xl { padding: .9rem 1.4rem; font-size: .98rem; }
@keyframes blink {
  0%, 100% { box-shadow: 0 0 0 1px rgba(168,240,60,.35), 0 8px 22px rgba(168,240,60,.2); }
  50% { box-shadow: 0 0 0 1px rgba(168,240,60,.7), 0 12px 32px rgba(168,240,60,.45); }
}

.splash {
  display: grid; gap: 1.5rem;
  padding: 1.75rem 0 1.35rem;
  border-bottom: 1px solid var(--stroke);
}
.splash-copy { max-width: 58ch; width: 100%; }
.eyebrow {
  display: inline-block; margin-bottom: .85rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.splash h1 {
  margin: 0 0 .85rem; font-family: var(--display);
  font-size: clamp(1.7rem, 6.2vw, 3.35rem); line-height: 1.08;
  letter-spacing: -.03em;
  word-wrap: break-word;
}
.splash h1 span { color: var(--accent); }
.lede { margin: 0 0 1.15rem; color: var(--soft); font-size: 1rem; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 1.2rem;
}
.stat {
  background: var(--lift); border-left: 3px solid var(--accent);
  padding: .65rem .8rem; min-width: 0;
  border-radius: 12px;
}
.stat b {
  display: block; font-family: var(--display); font-size: clamp(.95rem, 3vw, 1.15rem);
  color: var(--accent); margin-bottom: .15rem;
}
.stat small {
  color: var(--soft); font-size: .72rem; line-height: 1.3;
  display: block;
}
.splash-cta { display: flex; flex-wrap: wrap; gap: .55rem; }
.splash-media {
  justify-self: center; width: min(100%, 360px);
  background: var(--surface); border: 1px solid var(--stroke);
  padding: 1rem; position: relative;
  border-radius: 18px;
  overflow: visible;
}
.splash-media::before {
  content: "TWINDOR LOGIN";
  position: absolute; top: .75rem; left: .75rem;
  font-size: .68rem; letter-spacing: .14em; font-weight: 800;
  color: var(--accent); font-family: var(--display);
  z-index: 2;
}
.hero-scene {
  position: relative;
  margin-top: 1.4rem;
  border-radius: 14px;
  overflow: hidden;
}
.splash-media img { width: 100%; margin: 0; border-radius: 14px; }

.speech {
  position: absolute;
  top: 12px;
  right: 10px;
  left: 26%;
  margin: 0;
  background: #fff;
  color: var(--ink-on);
  padding: .55rem .7rem .62rem;
  border-radius: 16px 16px 16px 5px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1.28;
  box-shadow: 0 12px 26px rgba(0,0,0,.38);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  animation: speechIn 7.5s ease-in-out infinite;
  z-index: 5;
}
.speech::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.gift-stage {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 130px;
  height: 118px;
  margin-left: -65px;
  z-index: 4;
  pointer-events: none;
}
.gift {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 60px;
  margin-left: -36px;
}
.gift-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  border-radius: 6px 6px 8px 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,.35);
}
.gift-body::before,
.gift-lid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 12px;
  margin-left: -6px;
  background: var(--accent);
}
.gift-lid {
  position: absolute;
  left: -5px;
  right: -5px;
  top: 6px;
  height: 18px;
  background: linear-gradient(180deg, #f87171, #dc2626);
  border-radius: 6px;
  transform-origin: 18% 100%;
  animation: lidOpen 7.5s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 2px 0 #7f1d1d;
}
.gift-lid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  width: 18px;
  height: 14px;
  margin-left: -9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: -11px 3px 0 var(--accent-2), 11px 3px 0 var(--accent-2);
}

.bonus-chip {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 132px;
  margin-left: -66px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink-on);
  border-radius: 14px;
  padding: .5rem .55rem .55rem;
  text-decoration: none;
  text-align: center;
  font-family: var(--display);
  box-shadow: 0 0 0 3px #0b120c, 0 0 0 5px var(--accent), 0 14px 30px rgba(168,240,60,.5);
  opacity: 0;
  transform: translateY(18px) scale(.35);
  animation: chipPop 7.5s ease-in-out infinite;
  pointer-events: auto;
  z-index: 6;
}
.bonus-chip:hover { text-decoration: none; background: var(--accent-2); }
.bonus-chip b { display: block; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.1; }
.bonus-chip span { font-size: .72rem; font-weight: 800; }

@keyframes lidOpen {
  0%, 12% { transform: rotate(0); }
  22%, 78% { transform: translate(-10px, -24px) rotate(-32deg); }
  90%, 100% { transform: rotate(0); }
}
@keyframes chipPop {
  0%, 18% { opacity: 0; transform: translateY(18px) scale(.35); }
  28%, 76% { opacity: 1; transform: translateY(0) scale(1); }
  88%, 100% { opacity: 0; transform: translateY(-10px) scale(.85); }
}
@keyframes speechIn {
  0%, 18% { opacity: 0; transform: translateY(10px) scale(.9); }
  26%, 76% { opacity: 1; transform: translateY(0) scale(1); }
  88%, 100% { opacity: 0; transform: translateY(-6px); }
}

.layout {
  display: grid; gap: 1.25rem;
  padding: 1.5rem 0 2.5rem;
  grid-template-columns: 1fr;
}

.side { display: none; }
.side h2 {
  margin: 0 0 .75rem; font-family: var(--display); font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.side nav { display: flex; flex-direction: column; }
.side a {
  display: block; padding: .48rem 0; color: var(--soft);
  text-decoration: none; font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  line-height: 1.35;
}
.side a:hover { color: var(--accent); }
.side a:last-child { border-bottom: 0; }

.toc-mobile {
  display: block;
  margin: 0 0 .25rem;
  padding-bottom: .15rem;
}
.toc-mobile h2 {
  margin: 0 0 .55rem; font-family: var(--display); font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.toc-scroll {
  display: flex; gap: .45rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .35rem;
  scrollbar-width: thin;
}
.toc-scroll a {
  flex: 0 0 auto;
  padding: .45rem .75rem;
  background: var(--lift);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--soft);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.toc-scroll a:hover { color: var(--accent); border-color: var(--accent); }

.main { min-width: 0; width: 100%; }

.block {
  background: var(--surface);
  border: 1px solid var(--stroke);
  padding: 1.2rem 1rem 1.35rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 18px;
}
.block > .kicker {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: .4rem;
}
.title {
  margin: 0 0 .7rem; font-family: var(--display);
  font-size: clamp(1.2rem, 4.2vw, 1.85rem); letter-spacing: -.02em;
  line-height: 1.2;
}
.text { color: var(--soft); margin: 0 0 1rem; max-width: 78ch; font-size: .96rem; }
.subtitle {
  margin: 1.35rem 0 .65rem; font-family: var(--display);
  font-size: clamp(1rem, 3.2vw, 1.1rem); color: var(--text);
  line-height: 1.3;
}
.bullets { margin: 0 0 1rem; padding-left: 1.05rem; color: var(--soft); }
.bullets li { margin-bottom: .4rem; }
.bullets strong { color: var(--text); }

.track {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; gap: 0;
}
.track li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .7rem;
  position: relative; padding-bottom: 1rem;
}
.track li:last-child { padding-bottom: 0; }
.track li:not(:last-child)::before {
  content: "";
  position: absolute; left: 20px; top: 44px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--accent), transparent);
  opacity: .55;
}
.track .num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--lift); border: 1px solid var(--stroke);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; color: var(--accent);
  font-size: .95rem;
}
.track .box {
  background: var(--lift); border: 1px solid var(--stroke);
  padding: .75rem .85rem; min-width: 0;
  border-radius: 14px;
}
.track .box strong {
  display: block; font-family: var(--display); margin-bottom: .2rem;
  font-size: .92rem; line-height: 1.25;
}
.track .box span { color: var(--soft); font-size: .86rem; line-height: 1.4; }

.sheet {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--stroke);
  background: var(--lift); margin-bottom: 1rem;
  max-width: 100%;
  border-radius: 14px;
}
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td {
  padding: .75rem .8rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(168,240,60,.1); font-size: .86rem;
}
th {
  background: var(--rail); color: var(--accent);
  font-family: var(--display); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--soft); }
td b { color: var(--text); }

.note {
  background: var(--lift); border-left: 3px solid var(--accent);
  padding: .9rem 1rem; margin-bottom: 1rem; color: var(--soft);
  border-radius: 12px;
}
.note p { margin: 0 0 .65rem; font-size: .92rem; }
.note p:last-child { margin: 0; }
.note strong { color: var(--text); }

.updated {
  color: var(--accent); font-weight: 700; font-size: .85rem; margin: 0 0 .75rem;
}

.faq details {
  background: var(--lift); border: 1px solid var(--stroke);
  margin-bottom: .5rem; padding: .85rem .9rem;
  border-radius: 12px;
}
.faq summary {
  cursor: pointer; font-family: var(--display); font-weight: 700;
  list-style: none; display: flex; align-items: flex-start;
  justify-content: space-between; gap: .75rem;
  font-size: .92rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); flex-shrink: 0;
  font-size: 1.15rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .65rem 0 0; color: var(--soft); font-size: .92rem; }

.close {
  background:
    linear-gradient(120deg, rgba(168,240,60,.12), transparent 42%),
    var(--surface);
  border: 1px solid var(--stroke);
  padding: 1.25rem 1rem;
  border-radius: 18px;
}
.center { text-align: center; margin-top: 1.1rem; }

.end {
  border-top: 1px solid var(--stroke);
  background: #090E0C; padding: 1.75rem 0 1.2rem;
}
.end p { color: var(--soft); font-size: .88rem; margin: .5rem 0 0; max-width: 90ch; }
.end-legal {
  margin-top: 1rem;
  font-size: .78rem !important;
  line-height: 1.55;
  color: #7f9480 !important;
}
.partners {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
.partners a {
  display: inline-flex;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: .35rem;
}
.partners a:hover { border-color: var(--accent); text-decoration: none; }
.partners img {
  height: 88px;
  width: auto;
  display: block;
  border-radius: 12px;
}
.end-links {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: 1rem; font-size: .85rem;
}
.end-links a { color: var(--soft); text-decoration: none; }
.end-links a:hover { color: var(--accent); }
.end-meta {
  margin-top: 1.1rem; padding-top: .85rem;
  border-top: 1px solid var(--stroke);
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
  justify-content: space-between; color: var(--soft); font-size: .8rem;
}
.age { color: var(--accent); font-weight: 800; }

.legal-main { padding: 2rem 0 3rem; }
.legal-main article {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 1.4rem 1.2rem 1.6rem;
}
.legal-main h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.15;
}
.legal-main h2 {
  margin: 1.4rem 0 .55rem;
  font-family: var(--display);
  font-size: 1.08rem;
}
.legal-main p, .legal-main li { color: var(--soft); }
.legal-main ul { padding-left: 1.1rem; }
.legal-main li { margin-bottom: .4rem; }

.cookie {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.cookie.is-hidden { display: none; }
.cookie h2 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: 1rem;
}
.cookie p {
  margin: 0 0 .85rem;
  color: var(--soft);
  font-size: .86rem;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.cookie-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 14px; padding: .6rem 1rem;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  cursor: pointer;
}
.cookie-actions .go-fill { animation: none; }
.cookie-actions .go-ghost { border: 1px solid var(--stroke); background: transparent; color: var(--text); }

@media (min-width: 640px) {
  .logo img { height: 42px; }
  .go { padding: .78rem 1.25rem; font-size: .92rem; }
  .go-xl { padding: .95rem 1.55rem; font-size: 1.02rem; }
  .block { padding: 1.45rem 1.3rem 1.55rem; }
  .splash { padding: 2.2rem 0 1.5rem; }
  .lede { font-size: 1.06rem; }
  .stat-row { gap: .65rem; }
  .stat { padding: .7rem 1rem; }
  .stat b { font-size: 1.15rem; }
  .stat small { font-size: .8rem; }
  .track li { grid-template-columns: 48px minmax(0, 1fr); gap: .9rem; }
  .track .num { width: 48px; height: 48px; font-size: 1.05rem; }
  .track li:not(:last-child)::before { left: 23px; top: 48px; }
  .legal-main article { padding: 1.7rem 1.5rem 1.85rem; }
}

@media (min-width: 980px) {
  .links { display: flex; }
  .splash {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: end; gap: 2rem;
  }
  .splash-media { justify-self: end; }
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.75rem;
    padding: 2rem 0 3rem;
    align-items: start;
  }
  .toc-mobile { display: none; }
  .side {
    display: block;
    position: sticky;
    top: 5.25rem;
    align-self: start;
    border: 1px solid var(--stroke);
    background: var(--surface);
    padding: 1rem .95rem;
    width: 100%;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .acts .go-ghost { display: none; }
  .go { padding: .65rem .9rem; font-size: .82rem; }
  .stat-row { grid-template-columns: 1fr; }
  .splash-cta .go { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .go-fill { animation: none; }
  .speech, .bonus-chip, .gift-lid { animation: none; }
  .speech { opacity: 1; transform: none; }
  .bonus-chip { opacity: 1; transform: none; }
  .gift-lid { transform: translate(-10px, -24px) rotate(-32deg); }
}
