:root {
  --bg: #07040c;
  --bg-2: #120818;
  --ink: #f7efe4;
  --muted: #b7a8c4;
  --pink: #ff2d6a;
  --gold: #ffd166;
  --lime: #b6ff4a;
  --cyan: #5ce1ff;
  --danger: #ff5a5a;
  --card: rgba(20, 10, 28, 0.78);
  --line: rgba(255, 209, 102, 0.22);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(255, 45, 106, 0.22), transparent 55%),
    radial-gradient(700px 400px at 110% 0%, rgba(255, 209, 102, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg), #040208 40%, #0b0610);
  color: var(--ink);
  min-height: 100vh;
}
a { color: var(--gold); }
img { max-width: 100%; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  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='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  z-index: 0;
}

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 10px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), #7a1038);
  box-shadow: 0 0 24px rgba(255,45,106,.45);
  font-family: var(--display); font-weight: 800; font-size: 14px;
}
.brand b { font-family: var(--display); letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,.03);
}
nav a.active, nav a:hover { border-color: var(--gold); color: var(--gold); }

.banner {
  margin: 10px 0 22px;
  padding: 10px 14px;
  border: 1px dashed rgba(255,209,102,.35);
  border-radius: 12px;
  color: #ffe7a8;
  font-size: 13px;
  background: rgba(255, 209, 102, .06);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 18px 0 36px;
}
.kicker {
  color: var(--lime);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 6vw, 64px); }
.lead { font-size: 18px; color: #efe3d6; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 13px 18px; border-radius: 14px;
  font-weight: 700; font-size: 15px;
}
.btn-gold {
  background: linear-gradient(180deg, #ffe38a, var(--gold));
  color: #3a2700;
  box-shadow: 0 8px 30px rgba(255,209,102,.25);
}
.btn-pink {
  background: linear-gradient(180deg, #ff6b93, var(--pink));
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.machine {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,45,106,.14), transparent 40%),
    var(--card);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04);
}
.machine-top {
  text-align: center;
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: .2em;
  font-size: 12px;
  margin-bottom: 12px;
}
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #0a0610;
  border-radius: 16px;
  padding: 12px;
  min-height: 150px;
}
.reel {
  background: linear-gradient(#1b1024, #0d0814);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 42px;
  min-height: 126px;
}
.machine-screen {
  margin-top: 12px;
  background: #120814;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  color: #f3d9a6;
  min-height: 72px;
}
.rtp {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.card h3 { font-size: 20px; }
.muted { color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  margin-bottom: 8px;
}
.tag.help { color: var(--lime); border-color: rgba(182,255,74,.35); }
.tag.credit { color: var(--danger); border-color: rgba(255,90,90,.4); }
.tag.everyday { color: var(--cyan); border-color: rgba(92,225,255,.35); }

.section { padding: 18px 0 46px; }
.section h2 { font-size: clamp(24px, 4vw, 36px); }

.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offer .prize { font-size: 22px; font-family: var(--display); color: var(--gold); }

.ad-mark {
  font-size: 11px;
  color: #d7c7a1;
  margin-bottom: 6px;
}

.wheel-box { text-align: center; }
.wheel {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 10px solid #ffd166;
  background: conic-gradient(
    #ff2d6a 0 25%,
    #5ce1ff 25% 50%,
    #b6ff4a 50% 75%,
    #ffd166 75% 100%
  );
  position: relative;
  box-shadow: 0 0 40px rgba(255,45,106,.25);
  transition: transform 3.2s cubic-bezier(.12,.7,.12,1);
}
.wheel::after {
  content: "";
  position: absolute;
  inset: 28%;
  background: #140816;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
}
.pointer {
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid #fff;
  margin: 0 auto 8px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
}

input, select, textarea {
  width: 100%;
  background: #120814;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 6px; }

.stat {
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
}

.help-box {
  border-color: rgba(182,255,74,.3);
  background: rgba(182,255,74,.06);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
}
footer .fine { margin-top: 10px; max-width: 80ch; }

.owner-note {
  margin: 24px 0;
  padding: 16px;
  border-left: 3px solid var(--lime);
  background: rgba(182,255,74,.07);
  color: #eaffc8;
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero, .grid-3, .grid-2, .offer-list { grid-template-columns: 1fr; }
  nav { justify-content: flex-end; }
}
