:root {
  --bg: #0b0e11;
  --panel: #151a21;
  --panel-2: #1e252e;
  --text: #f5f5f5;
  --muted: #a1a7b3;
  --yellow: #f0b90b;
  --yellow-dark: #c89400;
  --line: rgba(255,255,255,0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(240,185,11,0.16), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(240,185,11,0.08), transparent 24%),
    linear-gradient(180deg, #0b0e11 0%, #11151b 100%);
  color: var(--text);
}

.page {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 42px 20px 70px;
}

.hero {
  text-align: center;
  padding: 32px 0 16px;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 15px;
  border: 1px solid rgba(240,185,11,0.45);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(240,185,11,0.08);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span { color: var(--yellow); }

.lead {
  width: min(690px, 100%);
  margin: 22px auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.slot-card {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(30,37,46,0.95), rgba(21,26,33,0.95));
  box-shadow: 0 30px 90px rgba(0,0,0,0.42);
}

.slot-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: #080a0d;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.slot-reel {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    #11151b;
  border: 1px solid rgba(240,185,11,0.35);
  color: var(--yellow);
  font-weight: 950;
  font-size: clamp(17px, 4vw, 28px);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.slot-reel.spinning {
  animation: slotShake 0.08s infinite alternate;
  filter: blur(0.4px);
}

@keyframes slotShake {
  from { transform: translateY(-3px); }
  to { transform: translateY(3px); }
}

.slot-status {
  min-height: 24px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.result-box {
  padding: 20px;
  border-radius: 22px;
  background: rgba(240,185,11,0.08);
  border: 1px dashed rgba(240,185,11,0.52);
}

.result-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.selected-code {
  font-size: clamp(34px, 7vw, 54px);
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-weight: 950;
  letter-spacing: 0.05em;
  color: #fff;
}

.actions {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.spin {
  background: var(--yellow);
  color: #111;
}

.spin:hover { background: #ffd24a; }

.copy {
  color: var(--yellow);
  background: rgba(240,185,11,0.12);
  border: 1px solid rgba(240,185,11,0.35);
}

.join-btn {
  display: inline-flex;
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 950;
  text-decoration: none;
}

.notice {
  width: min(760px, 100%);
  margin: 22px auto 0;
  color: #858b96;
  font-size: 13px;
  line-height: 1.7;
}

.info,
.faq {
  width: min(780px, 100%);
  margin: 26px auto 0;
  padding: 28px;
  border-radius: 26px;
  background: rgba(21,26,33,0.78);
  border: 1px solid var(--line);
  text-align: left;
}

.info h2,
.faq h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

ol {
  margin: 0;
  padding-left: 22px;
  color: #d6d9df;
  line-height: 1.9;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:first-of-type { border-top: 0; }

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  padding: 13px 22px;
  border-radius: 999px;
  color: #111;
  background: var(--yellow);
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s ease;
  box-shadow: 0 16px 34px rgba(0,0,0,0.4);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .slot-card,
  .info,
  .faq {
    padding: 20px;
  }

  .slot-window {
    grid-template-columns: 1fr;
  }

  .slot-reel {
    min-height: 70px;
  }

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