@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@500;600&display=swap");
:root { color-scheme: dark; --bg: #050506; --panel: #141418; --line: #26262b; --ink: #f2eee5; --mute: #a8a49b; --gold: #d6a93c; --gold2: #f3d37f; --red: #b3261e;
  --goldgrad: linear-gradient(180deg, #f6dc8c 0%, #e2b955 40%, #c8972f 62%, #f0cf74 100%);
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; --body: "Barlow", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(214,169,60,.22), transparent 70%), var(--bg); color: var(--ink); font-family: var(--body); -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.gold-text { background: var(--goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
button { font-family: var(--display); cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible { outline: 3px solid var(--gold2); outline-offset: 3px; }
.btn { width: 100%; border: 0; border-radius: 12px; background: var(--goldgrad); color: #120d05; font-weight: 900; font-size: 34px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 0 8px; box-shadow: 0 8px 24px rgba(214,169,60,.3); }
.btn.red { background: linear-gradient(180deg, #e04a3f, #b3261e); color: #fff; box-shadow: 0 8px 24px rgba(179,38,30,.4); }
.btn.ghost { background: transparent; color: var(--gold2); border: 2px solid var(--gold); box-shadow: none; font-size: 20px; letter-spacing: .14em; padding: 8px 0 6px; }
.logo { display: block; margin: 0 auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }

/* the wheel within a wheel */
.wheelbox { position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto; }
.wheelbox .outer { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)); }
.wheelbox .pointer { position: absolute; top: -1.5%; left: 50%; transform: translateX(-50%); width: 8%; z-index: 2; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.innerbox { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 46%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px var(--bg), 0 8px 30px rgba(0,0,0,.8); filter: saturate(.55) brightness(.7); transition: filter .4s; }
.innerbox.active { filter: none; box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--gold2), 0 0 40px rgba(243,211,127,.55); animation: glow 1.4s ease-in-out infinite alternate; }
@keyframes glow { to { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--gold), 0 0 18px rgba(243,211,127,.25); } }
.innerbox .inner { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; will-change: transform; }
.innerbox .ipointer { position: absolute; top: -8%; left: 50%; transform: translateX(-50%); width: 12%; z-index: 2; }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold); display: grid; place-items: center; }
.hub img { width: 82%; }
@media (prefers-reduced-motion: reduce) { .innerbox.active { animation: none; } }

.modal { position: fixed; inset: 0; background: rgba(5,5,6,.92); display: grid; place-items: center; z-index: 10; text-align: center; padding: 20px; }
.msg { font: 600 16px var(--body); color: #ff9b8f; text-align: center; min-height: 1.2em; }
