/* ==================== WHEEL SECTION ==================== */
.wheel-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== MAIN WHEEL CONTAINER ==================== */
.wheel-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.wheel-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
}

/* Mega glow */
.wheel-mega-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 750px; height: 750px;
    background: radial-gradient(circle, 
        rgba(194, 22, 49, 0.4) 0%, 
        rgba(194, 22, 49, 0.2) 30%,
        rgba(212, 168, 83, 0.1) 50%,
        transparent 70%);
    border-radius: 50%;
    animation: megaGlow 3s ease-in-out infinite;
    filter: blur(30px);
}

@keyframes megaGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Ring glows */
.wheel-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: ringPulse 2s ease-in-out infinite;
}

.wheel-ring:nth-child(2) {
    width: 680px; height: 680px;
    border-color: rgba(194, 22, 49, 0.3);
    animation-delay: 0s;
}

.wheel-ring:nth-child(3) {
    width: 720px; height: 720px;
    border-color: rgba(212, 168, 83, 0.2);
    animation-delay: 0.5s;
}

.wheel-ring:nth-child(4) {
    width: 760px; height: 760px;
    border-color: rgba(194, 22, 49, 0.1);
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.02); }
}

/* Golden frame */
.wheel-frame {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 580px; height: 580px;
    background: linear-gradient(145deg, #2a2215, #1a1508, #2a2215);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 50px rgba(212, 168, 83, 0.3),
        0 0 0 5px #d4a853,
        0 0 0 10px #8b6914,
        0 0 80px rgba(212, 168, 83, 0.5),
        0 0 150px rgba(194, 22, 49, 0.3);
}

/* Light bulbs */
.wheel-lights {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 580px; height: 580px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 15;
}

.light-bulb {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    animation: bulbBlink 0.4s ease-in-out infinite alternate;
}

.light-bulb.yellow {
    background: #ffeb3b;
    box-shadow: 
        0 0 10px #ffeb3b,
        0 0 20px #ffeb3b,
        0 0 40px #ffc107,
        0 0 60px rgba(255, 193, 7, 0.5);
}

.light-bulb.red {
    background: #ff4757;
    box-shadow: 
        0 0 10px #ff4757,
        0 0 20px #ff4757,
        0 0 40px #c21631,
        0 0 60px rgba(194, 22, 49, 0.5);
    animation-delay: 0.2s;
}

@keyframes bulbBlink {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Wheel */
.wheel {
    width: 540px; height: 540px;
    border-radius: 50%;
    position: relative;
    box-shadow: 
        inset 0 0 60px rgba(0,0,0,0.5),
        inset 0 0 120px rgba(0,0,0,0.3),
        0 0 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

.wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Glossy overlay */
.wheel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.2) 0%,
        transparent 40%,
        rgba(0,0,0,0.2) 100%
    );
    pointer-events: none;
    z-index: 5;
}

/* Center */
.wheel-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(145deg, #ff4757, #c21631, #8b1025);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 5px 20px rgba(255,255,255,0.3),
        inset 0 -8px 20px rgba(0,0,0,0.5),
        0 0 0 6px #d4a853,
        0 0 0 10px #1a1508,
        0 0 0 14px #d4a853,
        0 0 50px rgba(194, 22, 49, 0.8),
        0 0 100px rgba(194, 22, 49, 0.4);
}

.wheel-center-text {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.5),
        0 2px 4px rgba(0,0,0,0.5);
}

/* Pointer */
.pointer {
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    filter: drop-shadow(0 0 25px rgba(212, 168, 83, 0.9))
            drop-shadow(0 0 50px rgba(194, 22, 49, 0.6));
    transition: transform 0.05s ease-out;
}

.pointer.tick {
    transform: translateX(-50%) rotate(8deg);
}

/* Пины на колесе */
.wheel-pins {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.wheel-pin {
    position: absolute;
    width: 8px;
    height: 22px;
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 50%, #8b6914 100%);
    border-radius: 4px 4px 2px 2px;
    top: 0;
    left: 50%;
    transform-origin: center 270px;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.5),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.wheel-pin::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
    border-radius: 2px;
}
