/* Fortune Wheel Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');

.wheel-font {
    font-family: 'Orbitron', monospace;
}

.wheel-bg {
    border-radius: 20px;
    padding: 20px;
}

.neon-text {
    color: #00f7ff;
    text-shadow: 0 0 5px #00f7ff, 0 0 10px #00f7ff, 0 0 15px #00f7ff;
}

.neon-red {
    color: #ff073a;
    text-shadow: 0 0 5px #ff073a, 0 0 10px #ff073a, 0 0 15px #ff073a;
}

.neon-gold {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffd700;
}

.glow {
    filter: drop-shadow(0 0 5px #00f7ff);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.wheel-notification {
    animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-in 2.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff0;
    animation: confettiFall 3s linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

.jackpot-animation {
    animation: jackpotGlow 0.5s ease-in-out infinite alternate;
}

@keyframes jackpotGlow {
    from {
        box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    }

    to {
        box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ffd700;
    }
}

.winning-segment {
    animation: winningGlow 1s ease-in-out infinite alternate;
}

@keyframes winningGlow {
    from {
        filter: drop-shadow(0 0 5px #00f7ff);
    }

    to {
        filter: drop-shadow(0 0 15px #00f7ff) drop-shadow(0 0 25px #00f7ff);
    }
}

.blink-dark {
    animation: blinkDark 1s ease-in-out infinite alternate;
}

@keyframes blinkDark {
    from {
        background-color: rgba(180, 180, 0, 0.8);
        box-shadow: 0 0 10px rgba(180, 180, 0, 0.8);
    }

    to {
        background-color: rgba(120, 120, 0, 0.6);
        box-shadow: 0 0 20px rgba(120, 120, 0, 0.6);
    }
}

/* Wheel specific styles */
.wheel-canvas-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.wheel-canvas-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 4px solid rgba(0, 247, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.wheel-canvas-container::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(0, 247, 255, 0.2);
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px #00f7ff);
    cursor: pointer;
}

.wheel-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: none;
    /* Скрываем заголовок */
}

.wheel-notifications {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
}

.wheel-instruction {
    text-align: center;
    margin-top: 15px;
    color: #00f7ff;
    font-size: 14px;
    text-shadow: 0 0 5px #00f7ff;
}

/* Центрирование контента колеса */
.fortune-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: rgba(0, 10, 30, 0.95); */
    border-radius: 20px;
    padding: 30px 20px;
    /* border: 2px solid rgba(0, 247, 255, 0.3); */
    box-shadow: 0 0 30px rgba(30, 31, 31, 0.5);
    max-width: 350px;
    width: 100%;
}