:root { --bg: #f6efe6; --ink: #1f1b18; --muted: #5c5249; --panel: #fff8f0; --accent-a: #d95d39; --accent-b: #f2a541; --accent-c: #4f6d7a; --accent-d: #90be6d; --accent-e: #f28482; --accent-f: #8d5a97; --shadow: 0 24px 48px rgba(31, 27, 24, 0.16); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; font-family: "Alegreya Sans", sans-serif; color: var(--ink); background: radial-gradient(circle at 10% 10%, #fff7ec 0%, #f6efe6 50%, #efe4d6 100%); overflow-x: hidden; } .background-shape { position: fixed; border-radius: 999px; opacity: 0.5; filter: blur(2px); pointer-events: none; z-index: 0; } .shape-one { width: 360px; height: 360px; top: -100px; left: -120px; background: linear-gradient(140deg, #f2a541, #d95d39); } .shape-two { width: 340px; height: 340px; right: -100px; bottom: -110px; background: linear-gradient(160deg, #90be6d, #4f6d7a); } .app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 720px); justify-content: center; gap: 1.5rem; padding: 2rem 1rem 2.5rem; } .hero { background: color-mix(in oklab, var(--panel), white 35%); border: 1px solid rgba(31, 27, 24, 0.1); border-radius: 20px; padding: 1rem 1.2rem; box-shadow: var(--shadow); animation: riseIn 500ms ease-out both; } .label { margin: 0; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; } h1 { margin: 0.2rem 0 0; font-family: "Fraunces", serif; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; } .subtitle { margin: 0.7rem 0 0; color: var(--muted); font-size: 1.08rem; } .wheel-area { position: relative; display: grid; justify-items: center; gap: 0.8rem; padding: 1rem; background: color-mix(in oklab, var(--panel), white 30%); border: 1px solid rgba(31, 27, 24, 0.09); border-radius: 20px; box-shadow: var(--shadow); animation: riseIn 650ms ease-out both; } #wheel { width: min(88vw, 560px); height: auto; border-radius: 50%; box-shadow: inset 0 0 0 10px #fdf6ea, 0 10px 24px rgba(31, 27, 24, 0.2); transform: rotate(0deg); } .pointer { position: absolute; top: 12px; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid #2f3e46; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2)); } .winner-chip { min-height: 40px; display: grid; place-items: center; border-radius: 999px; padding: 0.5rem 1rem; background: #fff; border: 1px solid rgba(31, 27, 24, 0.15); font-weight: 700; } .winner-chip.pulse { animation: pulse 480ms ease; } .controls { background: color-mix(in oklab, var(--panel), white 25%); border-radius: 20px; border: 1px solid rgba(31, 27, 24, 0.09); box-shadow: var(--shadow); padding: 1rem 1.2rem; animation: riseIn 800ms ease-out both; } h2 { margin: 0; font-family: "Fraunces", serif; } ol { margin: 0.5rem 0 0; padding-left: 1.2rem; } li { margin: 0.4rem 0; } pre { margin: 0.8rem 0 0; background: #1f1b18; color: #f7efe5; border-radius: 12px; padding: 0.9rem; overflow-x: auto; } code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; } @keyframes riseIn { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes pulse { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } } @media (max-width: 640px) { .app-shell { padding-top: 1rem; } .pointer { top: 8px; } .subtitle { font-size: 1rem; } }