/* Wheel of fortune specific styles */
.wheel-container {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-primary);
    z-index: 10;
}

#wheel-canvas {
    border: 4px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 100%;
    height: auto;
}

.spin-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.winner-announcement {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    animation: celebration 0.6s ease-out;
}

@keyframes celebration {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.winner-announcement h3 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
}

.winner-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.reset-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: var(--bg-secondary);
    color: #4CAF50;
}

@media (max-width: 768px) {
    #wheel-canvas {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vw - 2rem);
    }
    
    .winner-announcement h3 {
        font-size: 1.5rem;
    }
    
    .winner-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #wheel-canvas {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vw - 2rem);
    }
    
    .wheel-container {
        max-width: 100%;
        overflow: hidden;
    }
}