body {
    margin: 0; padding: 0;
    background-color: #0b0f19;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; overflow: hidden;
}

.container {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 400px; padding: 20px;
}

.header { text-align: center; margin-bottom: 40px; }
.main-title { font-size: 32px; font-weight: 900; text-transform: uppercase; text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
.sub-title { font-size: 14px; color: #8c93a1; text-transform: uppercase; letter-spacing: 2px; }

.wheel-wrapper {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    width: 300px; height: 300px;
}

.wheel-container {
    position: relative;
    width: 280px; height: 280px;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.wheel-visible .wheel-container { opacity: 1; transform: scale(1); }

.wheel-pointer {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 38px solid #ffffff;
    z-index: 20; filter: drop-shadow(0 0 6px #c4b5fd) drop-shadow(0 0 12px rgba(167, 139, 250, 0.6));
}

.wheel {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 2px solid #a78bfa; overflow: hidden;
    box-shadow: 0 0 6px #c4b5fd, 0 0 12px #a78bfa, 0 0 25px rgba(167, 139, 250, 0.7), 0 0 40px rgba(167, 139, 250, 0.4);
    transition: transform 5s cubic-bezier(0.15, 0, 0.15, 1);
    z-index: 1;
}

.wheel-idle-animation { animation: rotate-inf 30s linear infinite; }
@keyframes rotate-inf { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.line {
    position: absolute; top: 0; left: 50%; width: 2px; height: 50%;
    background-color: #a78bfa;
    box-shadow: 0 0 4px #c4b5fd, 0 0 8px #a78bfa, 0 0 16px #a78bfa, 0 0 30px rgba(167, 139, 250, 0.6);
    transform-origin: bottom center; z-index: 2;
}

.gift-item {
    position: absolute; top: 50%; left: 50%; width: 80px;
    display: flex; flex-direction: column; align-items: center;
    z-index: 5;
}

.gift-item span { color: #ffffff; font-weight: 700; text-transform: uppercase; font-size: 8px; margin-top: 4px; text-align: center; }

.spin-center-btn {
    position: absolute; z-index: 100;
    width: 70px; height: 70px; border-radius: 50%;
    background: radial-gradient(circle, #ffffff 30%, #cccccc 100%);
    color: #111; border: 3px solid #ffffff;
    font-weight: 900; font-size: 10px; cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 15, 25, 0.9); backdrop-filter: blur(10px);
    display: none; justify-content: center; align-items: center; z-index: 2000;
}
.modal-content {
    background: #1a2133; padding: 30px; border-radius: 24px; text-align: center;
    width: 80%; border: 1px solid rgba(255, 255, 255, 0.1);
}
.claim-btn {
    width: 100%; padding: 15px; background: #fff; color: #111; border: none; border-radius: 12px; font-weight: 800; cursor: pointer;
}

.placeholder {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 40px 20px; text-align: center;
}
.placeholder-icon {
    font-size: 64px; margin-bottom: 20px;
    animation: placeholder-pulse 2s ease-in-out infinite;
}
.placeholder-text {
    font-size: 16px; font-weight: 700; color: #ffffff;
    margin: 0 0 10px 0;
}
.placeholder-hint {
    font-size: 13px; color: #8c93a1; margin: 0;
    letter-spacing: 1px; text-transform: uppercase;
}

.channel-link {
    margin-top: 32px;
    padding: 12px 24px;
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #6A5ACD, #483D8B);
    color: #ffffff; text-decoration: none;
    border-radius: 999px;
    font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(167, 139, 250, 0.5);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.channel-link:active { transform: scale(0.97); }
.channel-link:hover { box-shadow: 0 0 20px rgba(167, 139, 250, 0.6); }
.channel-link-icon { font-size: 16px; }
@keyframes placeholder-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}