:root {
  --bg: #030717;
  --bg-deep: #01030c;
  --panel: rgba(8, 13, 34, 0.72);
  --panel-2: rgba(9, 16, 43, 0.88);
  --text: #f8f6ff;
  --muted: #c6cbe2;
  --soft: #8d96b7;
  --pink: #ff29d4;
  --purple: #8a3dff;
  --blue: #2fa1ff;
  --cyan: #22eeff;
  --gold: #ffc945;
  --gold-light: #ffe58a;
  --green: #3dcc49;
  --wheel-size: clamp(500px, 46vw, 660px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 45%, rgba(78, 58, 200, 0.28), transparent 30%),
    radial-gradient(circle at 29% 39%, rgba(37, 124, 255, 0.16), transparent 28%),
    radial-gradient(circle at 50% 112%, rgba(36, 69, 164, 0.18), transparent 42%),
    linear-gradient(180deg, #050719 0%, #070b1d 47%, #050817 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
a {
  font: inherit;
  touch-action: manipulation;
}

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

.orb {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.56;
}

.orb-blue {
  right: 5vw;
  top: 7vh;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(47, 161, 255, 0.26), transparent 68%);
}

.orb-pink {
  right: -7vw;
  top: 28vh;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 41, 212, 0.15), transparent 70%);
}

.page-shell {
  width: min(1390px, calc(100% - 54px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  margin-bottom: 8px;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 102px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  display: block;
  width: clamp(250px, 22vw, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 41, 212, 0.18));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3vw, 48px);
  color: rgba(246, 247, 255, 0.78);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 16px 0 18px;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav .active {
  color: #fff;
}

.main-nav .active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 0 14px rgba(255, 41, 212, 0.75);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.login-btn,
.signup-btn {
  display: inline-grid;
  place-items: center;
  min-width: 112px;
  height: 46px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
}

.login-btn {
  border: 1px solid rgba(220, 227, 255, 0.28);
  color: #eef3ff;
  background: rgba(4, 7, 20, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.signup-btn {
  background: linear-gradient(100deg, #fb20d6 0%, #b532ff 48%, #35a5ff 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(134, 61, 255, 0.32), inset 0 0 0 1px rgba(255,255,255,0.25);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 725px;
}

.copy-card {
  position: relative;
  z-index: 3;
  width: min(540px, 100%);
  min-height: 710px;
  padding: 38px 38px 34px;
  border-radius: 28px;
  border: 1px solid rgba(181, 83, 255, 0.82);
  background:
    radial-gradient(circle at 88% 77%, rgba(40, 169, 255, 0.22), transparent 34%),
    radial-gradient(circle at 12% 6%, rgba(156, 63, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(12, 18, 45, 0.82), rgba(3, 7, 22, 0.92));
  box-shadow:
    0 0 0 1px rgba(52, 196, 255, 0.2),
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 0 42px rgba(66, 147, 255, 0.10);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 34px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(212, 223, 255, 0.42);
  border-radius: 999px;
  background: rgba(5, 8, 23, 0.62);
  color: rgba(255, 255, 255, 0.93);
  font-size: 13px;
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}

.star {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffe679;
  background: linear-gradient(145deg, #19264a, #081028);
  text-shadow: 0 0 12px rgba(255, 215, 73, 0.9);
}

h1 {
  width: min(100%, 520px);
  margin: 0;
  color: #fbfbff;
  font-size: clamp(37px, 3.45vw, 49px);
  line-height: 1.34;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.title-line {
  width: 253px;
  height: 4px;
  margin: 28px 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), #a145ff 48%, var(--cyan));
  box-shadow: 0 0 16px rgba(255, 41, 212, 0.45), 0 0 18px rgba(34, 238, 255, 0.30);
}

.subtitle {
  margin: 0;
  color: #cfd7f0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
}

.primary-btn {
  display: grid;
  place-items: center;
  width: min(360px, 100%);
  height: 82px;
  margin-top: 36px;
  border: 0;
  border-radius: 17px;
  cursor: pointer;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.035em;
  background: linear-gradient(101deg, #ff27cb 0%, #a13eff 50%, #35a9ff 100%);
  box-shadow:
    0 18px 38px rgba(71, 153, 255, 0.22),
    0 0 52px rgba(255, 41, 212, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.28);
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.primary-btn:hover {
  filter: saturate(1.12) brightness(1.04);
  transform: translateY(-2px);
}

.primary-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.safe-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 27px 0 0;
  color: rgba(215, 223, 248, 0.92);
  font-size: 15px;
  line-height: 1.35;
}

.info-icon {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 50%;
  border: 2px solid rgba(194, 220, 255, 0.92);
  color: #d8eaff;
  font-size: 18px;
  font-weight: 800;
}

.wheel-zone {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 34px);
  min-height: 780px;
  margin-left: -20px;
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--wheel-size) + 112px);
  height: calc(var(--wheel-size) + 112px);
  isolation: isolate;
}

.wheel-zone .primary-btn {
  position: relative;
  z-index: 12;
  width: min(360px, calc(var(--wheel-size) * 0.72));
  margin-top: 0;
}

.outer-neon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--wheel-size) + 112px);
  height: calc(var(--wheel-size) + 112px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.outer-neon-blue {
  border: 2px solid rgba(47, 161, 255, 0.48);
  box-shadow: 0 0 34px rgba(47, 161, 255, 0.42), inset 0 0 28px rgba(47, 161, 255, 0.16);
}

.outer-neon-pink {
  width: calc(var(--wheel-size) + 70px);
  height: calc(var(--wheel-size) + 70px);
  border: 2px solid rgba(255, 41, 212, 0.45);
  box-shadow: 0 0 32px rgba(255, 41, 212, 0.38), inset 0 0 28px rgba(255, 41, 212, 0.12);
}

.pointer {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--wheel-size) / 2 - 47px);
  z-index: 9;
  width: 55px;
  height: 106px;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.45)) drop-shadow(0 0 9px rgba(255, 197, 57, 0.58));
}

.pointer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 51px;
  height: 58px;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 24%, #fffbd3 0 17%, #ffe04d 20% 46%, #db870c 70%, #8a3b00 100%);
  border: 3px solid #ffe587;
  transform: translateX(-50%);
}

.pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 32px;
  width: 43px;
  height: 75px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(90deg, #a74b04 0%, #ffd245 45%, #ffaf17 65%, #8b3800 100%);
  border-radius: 0 0 24px 24px;
  transform: translateX(-50%);
}

.wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--wheel-size);
  height: var(--wheel-size);
  border-radius: 50%;
  cursor: pointer;
  touch-action: manipulation;
  isolation: isolate;
  transform: translate3d(0,0,0);
  will-change: transform;
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(55, 133, 255, 0.30),
    0 0 84px rgba(255, 41, 212, 0.25);
}

.wheel-wrap:focus-visible {
  outline: 3px solid rgba(255, 220, 104, 0.96);
  outline-offset: 10px;
}

.wheel-frame {
  position: absolute;
  inset: -20px;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 65%, rgba(255, 239, 172, 0.95) 65.7% 68%, rgba(60, 37, 18, 1) 68.4% 75%, rgba(255, 200, 56, 0.92) 75.7% 76.5%, rgba(8, 8, 16, 0.94) 77% 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 223, 105, 0.45),
    inset 0 0 36px rgba(255, 196, 45, 0.34),
    0 0 0 1px rgba(255, 229, 138, 0.78);
}

.bulb-ring {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.bulb-ring span {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, #fff3ad 32%, #ffbc22 70%, #a34a00 100%);
  box-shadow: 0 0 10px rgba(255, 203, 51, 0.92), 0 0 20px rgba(255, 203, 51, 0.25);
}

.wheel {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background:
    conic-gradient(from -22.5deg,
      #e91c79 0deg 45deg,
      #d95e07 45deg 90deg,
      #efad08 90deg 135deg,
      #237826 135deg 180deg,
      #0797a7 180deg 225deg,
      #0754c9 225deg 270deg,
      #5c10c1 270deg 315deg,
      #8c1ab7 315deg 360deg);
  border: 5px solid rgba(22, 19, 23, 0.96);
  box-shadow:
    inset 0 0 0 4px rgba(255, 223, 112, 0.94),
    inset 0 0 0 11px rgba(38, 30, 26, 0.98),
    inset 0 0 50px rgba(0, 0, 0, 0.42);
  transform: translate3d(0,0,0) rotate(0deg);
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  contain: layout paint style;
}

.wheel.is-spinning,
.wheel-wrap.is-spinning {
  pointer-events: none;
  cursor: wait;
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  z-index: 1;
  background:
    repeating-conic-gradient(from -22.5deg, rgba(255,255,255,0.60) 0deg 1deg, rgba(255,255,255,0.02) 1.25deg 45deg),
    radial-gradient(circle, transparent 0 58%, rgba(0,0,0,0.16) 70%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.wheel::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 31px;
  border-radius: 50%;
  border: 2px solid rgba(255, 223, 112, 0.68);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
  pointer-events: none;
}

.wheel-texture {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 39% 29%, rgba(255,255,255,0.22), transparent 23%),
    radial-gradient(circle, rgba(255,255,255,0.09) 0 1px, transparent 1.35px) 0 0 / 12px 12px,
    linear-gradient(135deg, rgba(255,255,255,0.13), transparent 35%, rgba(0,0,0,0.22) 82%);
  opacity: 0.54;
  pointer-events: none;
}

.wheel-labels {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(94px, 9vw, 128px);
  min-height: 74px;
  margin-left: calc(clamp(94px, 9vw, 128px) / -2);
  margin-top: -37px;
  display: grid;
  place-items: center;
  text-align: center;
  user-select: none;
  transform: rotate(var(--angle)) translateY(calc(var(--wheel-size) * -0.315)) rotate(var(--counter));
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.wheel-label-content {
  display: grid;
  place-items: center;
  gap: 5px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.72), 0 0 12px rgba(0,0,0,0.42);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-size: clamp(18px, 1.74vw, 25px);
}

.wheel-label .icon {
  display: block;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.9;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.32));
}

.wheel-label .label-text {
  display: block;
}

.wheel-label.special .wheel-label-content {
  width: 128px;
  font-size: clamp(14px, 1.42vw, 19px);
  letter-spacing: -0.045em;
}

.wheel-label.special .icon {
  font-size: clamp(34px, 3.1vw, 46px);
}

.hub {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(142px, 13vw, 190px);
  height: clamp(142px, 13vw, 190px);
  padding: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 37% 30%, rgba(255,255,255,0.09), transparent 31%),
    radial-gradient(circle, #080a13 0%, #05050b 69%, #17131a 100%);
  border: 5px solid rgba(255, 215, 80, 0.96);
  box-shadow:
    inset 0 0 22px rgba(255,255,255,0.05),
    inset 0 0 0 3px rgba(107, 55, 10, 0.76),
    0 0 0 4px rgba(255, 239, 167, 0.28),
    0 10px 30px rgba(0,0,0,0.55);
  pointer-events: none;
}

.hub img {
  width: 132%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 41, 212, 0.32));
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 2px 8px 0;
  padding: 34px 12px 0;
  border-top: 1px solid rgba(147, 170, 255, 0.16);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.feature-item strong {
  display: block;
  color: #d8ebff;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 750;
  white-space: nowrap;
}

.feature-item span {
  display: block;
  margin-top: 8px;
  color: #9aa7c7;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.feature-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #b9d8ff;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid currentColor;
  opacity: 0.92;
}

.shield::before {
  clip-path: polygon(50% 0%, 88% 15%, 82% 68%, 50% 96%, 18% 68%, 12% 15%);
  border-radius: 8px;
}

.shield::after {
  inset: 16px 14px 17px 16px;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.trophy::before {
  inset: 10px 12px 15px;
  border-radius: 4px 4px 14px 14px;
}

.trophy::after {
  inset: 29px 15px 7px;
  border-radius: 2px;
  border-top: 0;
}

.headset::before {
  inset: 7px 6px 11px;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.headset::after {
  inset: 21px 5px 7px;
  border-width: 0 2px 2px 2px;
  border-radius: 0 0 12px 12px;
}

.gift::before {
  inset: 14px 6px 8px;
  border-radius: 3px;
}

.gift::after {
  inset: 6px 17px 8px;
  border-radius: 1px;
  border-top: 0;
  border-bottom: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) clamp(14px, 4vw, 48px) max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 30%, rgba(123, 65, 255, 0.18), transparent 42%),
    rgba(0, 2, 12, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  pointer-events: none;
}

.modal.is-open {
  display: grid;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  max-height: min(90svh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 42px) clamp(26px, 4.2vw, 46px) clamp(30px, 4.4vw, 46px);
  border-radius: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(187, 77, 255, 0.95);
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 46, 145, 0.38), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255, 197, 41, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(13, 15, 39, 0.99), rgba(5, 7, 20, 0.99));
  box-shadow:
    0 34px 100px rgba(0,0,0,0.64),
    0 0 54px rgba(255, 41, 212, 0.22),
    0 0 88px rgba(47, 161, 255, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  text-align: center;
  pointer-events: auto;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  animation: modalIn 280ms ease forwards;
}

@keyframes modalIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: clamp(14px, 2.4vw, 22px);
  top: clamp(12px, 2.2vw, 20px);
  display: grid;
  place-items: center;
  width: clamp(36px, 5vw, 46px);
  height: clamp(36px, 5vw, 46px);
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #dce4ff;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1;
}

.modal-logo {
  display: block;
  width: clamp(210px, 44vw, 292px);
  height: auto;
  margin: 0 auto 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 41, 212, 0.18));
}

.reward-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  margin: 0 auto 16px;
  color: #ffc84a;
  font-size: clamp(22px, 4.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(255, 184, 29, 0.38);
}

.reward-badge span {
  font-size: clamp(23px, 4.7vw, 36px);
}

.modal-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 3.3vw, 28px);
  line-height: 1.25;
  font-weight: 800;
}

.modal-text {
  margin: 9px 0 16px;
  color: #cbd3ec;
  font-size: clamp(15px, 2.5vw, 19px);
  line-height: 1.25;
}

.reward-value {
  display: grid;
  place-items: center;
  min-height: clamp(96px, 17vw, 138px);
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 197, 41, 0.88);
  border-radius: clamp(16px, 2.4vw, 22px);
  color: #ffc532;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 138, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 196, 38, 0.16), rgba(255, 196, 38, 0.05));
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 2px 6px rgba(0,0,0,0.84);
}

.modal-disclaimer {
  margin: clamp(18px, 3vw, 24px) 0 clamp(20px, 3.2vw, 26px);
  color: rgba(239, 244, 255, 0.9);
  font-size: clamp(13px, 2.1vw, 16px);
  line-height: 1.35;
}

.claim-btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(58px, 8vw, 72px);
  padding: 15px 18px;
  border: 0;
  border-radius: clamp(14px, 2vw, 18px);
  cursor: pointer;
  color: #fff;
  background: linear-gradient(100deg, #ff23cb 0%, #9a3eff 52%, #35a5ff 100%);
  box-shadow: 0 16px 34px rgba(87, 118, 255, 0.3), inset 0 0 0 1px rgba(255,255,255,0.24);
  font-weight: 900;
  font-size: clamp(17px, 3vw, 22px);
}

@media (max-width: 1180px) {
  :root { --wheel-size: clamp(420px, 54vw, 560px); }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 230px;
  }

  .main-nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: minmax(390px, 0.9fr) minmax(440px, 1.1fr);
  }

  .copy-card {
    min-height: 650px;
  }

  h1 {
    font-size: clamp(34px, 3.8vw, 43px);
  }

  .subtitle {
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr;
    min-height: auto;
    justify-items: center;
    padding-bottom: 22px;
  }

  .brand img {
    width: 270px;
  }

  .header-actions,
  .top-actions {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .copy-card {
    width: 100%;
    min-height: auto;
    order: 2;
  }

  .wheel-zone {
    order: 1;
    min-height: calc(var(--wheel-size) + 110px);
    margin-left: 0;
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .modal {
    padding-inline: 24px;
  }
}

@media (max-width: 620px) {
  :root { --wheel-size: min(calc(100vw - 72px), 390px); }

  .page-shell {
    width: min(100% - 20px, 560px);
    padding-top: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 6px 4px;
    gap: 22px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar { display: none; }

  .header-actions,
  .top-actions {
    width: 100%;
    gap: 10px;
  }

  .login-btn,
  .signup-btn {
    min-width: 0;
    flex: 1;
  }

  .copy-card {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }

  .eyebrow {
    white-space: normal;
    font-size: 12px;
    line-height: 1.25;
  }

  h1 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.22;
  }

  .subtitle {
    font-size: 16px;
  }

  .desktop-break {
    display: none;
  }

  .primary-btn {
    height: 64px;
    width: 100%;
    font-size: 24px;
  }

  .safe-note {
    align-items: flex-start;
    font-size: 13px;
  }

  .wheel-zone {
    min-height: calc(var(--wheel-size) + 152px);
    gap: 18px;
  }

  .wheel-stage {
    width: calc(var(--wheel-size) + 60px);
    height: calc(var(--wheel-size) + 60px);
  }

  .wheel-zone .primary-btn {
    width: min(320px, 82vw);
    height: 58px;
    font-size: 22px;
    border-radius: 15px;
  }

  .outer-neon {
    width: calc(var(--wheel-size) + 60px);
    height: calc(var(--wheel-size) + 60px);
  }

  .outer-neon-pink {
    width: calc(var(--wheel-size) + 32px);
    height: calc(var(--wheel-size) + 32px);
  }

  .pointer {
    top: calc(50% - var(--wheel-size) / 2 - 35px);
    width: 42px;
    height: 82px;
  }

  .pointer::before {
    width: 40px;
    height: 45px;
    border-width: 2px;
  }

  .pointer::after {
    top: 26px;
    width: 33px;
    height: 57px;
  }

  .wheel-frame {
    inset: -12px;
  }

  .wheel {
    border-width: 3px;
    box-shadow: inset 0 0 0 3px rgba(255,223,112,0.94), inset 0 0 0 8px rgba(38,30,26,0.98), inset 0 0 34px rgba(0,0,0,0.42);
  }

  .wheel::before { inset: 10px; }
  .wheel::after { inset: 20px; }

  .wheel-label {
    width: 86px;
    min-height: 54px;
    margin-left: -43px;
    margin-top: -27px;
    transform: rotate(var(--angle)) translateY(calc(var(--wheel-size) * -0.312)) rotate(var(--counter));
  }

  .wheel-label-content {
    gap: 2px;
    font-size: clamp(11px, 3.2vw, 14px);
  }

  .wheel-label .icon {
    font-size: clamp(20px, 6.5vw, 28px);
  }

  .wheel-label.special .wheel-label-content {
    width: 88px;
    font-size: clamp(10px, 2.9vw, 13px);
  }

  .hub {
    width: clamp(96px, 25vw, 118px);
    height: clamp(96px, 25vw, 118px);
    padding: 12px;
    border-width: 3px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 26px;
  }

  .feature-item span,
  .feature-item strong {
    white-space: normal;
  }

  .modal {
    padding-inline: 14px;
    padding-block: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-bottom));
  }

  .modal-card {
    width: min(92vw, 360px);
    max-height: min(86svh, 620px);
    padding: 18px 14px 20px;
    border-radius: 20px;
  }

  .modal-close {
    width: 34px;
    height: 34px;
    right: 10px;
    top: 9px;
    font-size: 29px;
  }

  .modal-logo {
    width: min(55vw, 176px);
    margin-bottom: 6px;
  }

  .reward-badge {
    margin-bottom: 9px;
    gap: 8px;
    font-size: 18px;
  }

  .reward-badge span {
    font-size: 20px;
  }

  .modal-card h2 {
    font-size: 17px;
  }

  .modal-text {
    margin: 7px 0 10px;
    font-size: 14px;
  }

  .reward-value {
    min-height: 78px;
    padding: 14px 10px;
    border-radius: 16px;
    font-size: clamp(23px, 7vw, 30px);
    letter-spacing: -0.042em;
  }

  .modal-disclaimer {
    margin: 13px 0 15px;
    font-size: 12px;
  }

  .claim-btn {
    min-height: 50px;
    border-radius: 14px;
    font-size: 16px;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  :root { --wheel-size: min(52vh, 390px); }

  .page-shell {
    padding: 10px 0 18px;
  }

  .site-header {
    min-height: 72px;
  }

  .top-actions {
    min-height: 50px;
    margin-bottom: 6px;
  }

  .brand img {
    width: 210px;
  }

  .hero {
    min-height: 500px;
    grid-template-columns: minmax(360px, 0.9fr) minmax(380px, 1.1fr);
  }

  .copy-card {
    min-height: auto;
    padding: 24px;
  }

  h1 { font-size: 31px; }
  .subtitle { display: none; }
  .wheel-stage {
    width: calc(var(--wheel-size) + 58px);
    height: calc(var(--wheel-size) + 58px);
  }
  .wheel-zone {
    min-height: calc(var(--wheel-size) + 132px);
    gap: 14px;
  }
  .wheel-zone .primary-btn {
    height: 50px;
    width: min(280px, 64vw);
    font-size: 19px;
  }
  .feature-row { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
