/* Random Wheel Plugin Styles */

.random-wheel-container {
    text-align: center;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.wheel-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.wheel-canvas {
    border: 3px solid #333;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 25px solid #ff4444;
    z-index: 10;
}

.wheel-controls {
    margin: 20px 0;
}

.spin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.spin-button:active {
    transform: translateY(0);
}

.spin-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.wheel-result {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.wheel-result h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
}

.wheel-result .result-text {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animation for result display */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .wheel-canvas {
        max-width: 90vw;
        height: auto;
    }

    .spin-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .wheel-result {
        margin: 20px 10px;
        padding: 15px;
    }

    .wheel-result h3 {
        font-size: 20px;
    }

    .wheel-result .result-text {
        font-size: 24px;
    }
}

/* Loading state */
.spin-button:disabled::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}