:root {
    --bg: #070b14;
    --card: #0f172a;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #22c55e;
    --accent-2: #f97316;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    background: radial-gradient(circle at top, #0f172a 0%, var(--bg) 65%);
    color: var(--text);
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.app {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 30px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 16px rgba(34, 197, 94, 0.45);
}

.hero p {
    margin-top: 6px;
    color: var(--muted);
}

.wheel-wrap {
    position: relative;
    width: min(88vw, 350px);
    height: min(88vw, 350px);
}

.wheel-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 12px 24px rgba(2, 6, 23, 0.65),
        0 0 26px rgba(34, 197, 94, 0.25),
        0 0 40px rgba(249, 115, 22, 0.23),
        inset 0 8px 16px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow:
        inset 0 0 32px rgba(15, 23, 42, 0.45),
        inset 0 16px 28px rgba(255, 255, 255, 0.08);
}

.wheel::after {
    content: "";
    position: absolute;
    top: 6%;
    left: 12%;
    width: 46%;
    height: 24%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    transform: rotate(-18deg);
    pointer-events: none;
}

.sector-label {
    position: absolute;
    left: calc(50% - 52px);
    top: calc(50% - 14px);
    width: 104px;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f8fafc;
    line-height: 1.15;
    white-space: pre-line;
    letter-spacing: 0.25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.center-cap {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f8fafc 0%, #94a3b8 28%, #0f172a 100%);
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 4px 10px rgba(2, 6, 23, 0.65),
        0 0 10px rgba(34, 197, 94, 0.4);
    z-index: 2;
}

.pointer {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 24px solid var(--accent-2);
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
}

.spin-btn,
.claim-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 700;
    color: #001106;
    background: linear-gradient(135deg, var(--accent), #86efac);
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.34);
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.spin-btn:active,
.claim-btn:active {
    transform: scale(0.985);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-banner {
    width: 100%;
    background: linear-gradient(170deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    padding: 14px 14px 12px;
}

.promo-banner h3 {
    color: var(--accent);
    font-size: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.promo-banner ul {
    padding-left: 16px;
    color: var(--text);
}

.promo-banner li {
    font-size: 13px;
    margin-bottom: 6px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.hidden {
    display: none;
}

.modal-card {
    width: min(92vw, 360px);
    background: var(--card);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 34px rgba(2, 6, 23, 0.5);
}

.modal-card h2 {
    color: var(--accent);
    margin-bottom: 10px;
}

.modal-card p {
    margin-bottom: 16px;
    color: var(--text);
}
