@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #020201;
  --bg-soft: #100d08;
  --panel: #171108;
  --gold: #efb500;
  --gold-soft: #f4d982;
  --gold-deep: #8d6500;
  --red: #d81822;
  --red-deep: #8d0d12;
  --cream: #f6ead6;
  --ink: #f6ead6;
  --muted: #a9956d;
  --line: rgba(244, 217, 130, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  font-family:
    Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 18%, rgba(239, 181, 0, 0.18), transparent 32rem),
    radial-gradient(circle at 20% 82%, rgba(216, 24, 34, 0.14), transparent 26rem),
    linear-gradient(180deg, #020201 0%, #080604 52%, #100d08 100%);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(239, 181, 0, 0.18);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 8%;
  right: -9rem;
}

.hero::after {
  bottom: 5%;
  left: -11rem;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 8.8ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.6rem, 9vw, 7.9rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 900;
}

.subhead {
  max-width: 34rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.proof-strip span {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(16, 13, 8, 0.72);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.roulette-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: clamp(1rem, 3vw, 1.8rem);
}

.roulette-stage::before {
  position: absolute;
  inset: 8% 7% 18%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(239, 181, 0, 0.08);
  filter: blur(32px);
  content: "";
}

.pointer {
  position: absolute;
  top: clamp(0.25rem, 2vw, 1.2rem);
  z-index: 4;
  width: 0;
  height: 0;
  border-right: 19px solid transparent;
  border-left: 19px solid transparent;
  border-top: 42px solid var(--red);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.42));
}

.pointer::after {
  position: absolute;
  top: -38px;
  left: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(141, 101, 0, 0.92);
  content: "";
}

.wheel-wrap {
  display: grid;
  place-items: center;
  width: min(69.7vw, 425px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #2b1e07, var(--gold) 48%, #2b1e07);
  box-shadow:
    var(--shadow),
    inset 0 0 0 10px rgba(255, 255, 255, 0.08),
    inset 0 0 0 22px rgba(0, 0, 0, 0.25);
}

.wheel {
  position: relative;
  width: calc(100% - 32px);
  aspect-ratio: 1;
  border: 10px solid #2b2115;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 20%, rgba(0, 0, 0, 0.22) 20.5% 22%, transparent 22.5%),
    conic-gradient(
      from 0deg,
      #efb500 0deg 60deg,
      #100d08 60deg 120deg,
      #d81822 120deg 180deg,
      #171108 180deg 240deg,
      #f4d982 240deg 300deg,
      #8d6500 300deg 360deg
    );
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    inset 0 0 42px rgba(0, 0, 0, 0.52);
  transition: transform 5.6s cubic-bezier(0.11, 0.68, 0.09, 1);
}

.wheel::before {
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255, 242, 198, 0.24);
  border-radius: 50%;
  content: "";
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 42px;
  margin: -21px 0 0 -38px;
  color: #fff8df;
  font-size: clamp(1rem, 3vw, 1.55rem);
  font-weight: 900;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.38);
  transform: rotate(var(--angle)) translateY(clamp(-156px, -26.35vw, -88px));
  transform-origin: center;
}

.hub {
  position: absolute;
  inset: 50%;
  display: grid;
  place-items: center;
  width: clamp(82px, 18vw, 124px);
  aspect-ratio: 1;
  border: 8px solid #2a2117;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(145deg, #171108, #020201);
  color: var(--gold);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 950;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.spin-button,
.claim-button,
.secondary-button {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0;
  font-family: Montserrat, Arial, sans-serif;
  text-transform: uppercase;
}

.spin-button,
.claim-button {
  color: #120904;
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  box-shadow:
    0 18px 54px rgba(239, 181, 0, 0.24),
    0 18px 54px rgba(216, 24, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.spin-button {
  width: min(100%, 330px);
  padding: 0 2rem;
}

.spin-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.result-panel {
  position: absolute;
  right: 0;
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(430px, 100%);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 13, 8, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.result-kicker {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  font-family: Montserrat, Arial, sans-serif;
}

.result-panel strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--cream);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.9;
  font-family: Montserrat, Arial, sans-serif;
}

.result-panel p:last-of-type {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.claim-button,
.secondary-button {
  display: inline-grid;
  place-items: center;
  padding: 0 1.15rem;
  text-align: center;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(244, 217, 130, 0.06);
}

.site-footer {
  padding: clamp(3.5rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(239, 181, 0, 0.08), transparent 28rem),
    var(--bg-soft);
}

.footer-inner {
  display: grid;
  gap: 2rem;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  max-width: 920px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-inner strong {
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.footer-brand h2 {
  margin: 0;
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
}

.footer-brand nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand a,
.footer-bottom a {
  color: var(--muted);
  transition: color 0.22s ease;
}

.footer-brand a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: grid;
  gap: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p:first-child {
  color: var(--cream);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0 8rem;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  h1 {
    max-width: 9ch;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(3.25rem, 14vw, 5.8rem);
  }

  .subhead {
    margin-right: auto;
    margin-left: auto;
    font-size: 1rem;
  }

  .proof-strip {
    justify-content: center;
  }

  .roulette-stage {
    padding-right: 0;
    padding-left: 0;
  }

  .result-panel {
    right: 50%;
    bottom: 1.2rem;
    width: min(100%, 420px);
    transform: translateX(50%);
  }

}

@media (max-width: 520px) {
  .hero {
    width: min(100% - 28px, 1180px);
    padding-top: 1.35rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .wheel-wrap {
    width: min(77.35vw, 323px);
  }

  .wheel-label {
    width: 62px;
    height: 34px;
    margin: -17px 0 0 -31px;
    transform: rotate(var(--angle)) translateY(clamp(-118px, -27.2vw, -87px));
  }

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

  .secondary-button {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wheel {
    transition-duration: 0.01ms;
  }
}
