

h1 {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.wheel-container {
    position: relative;
    margin: 2rem auto;
    width: 500px;
    height: 500px;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    background: #f8f9fa;
}

/* Wheel segments are now created using SVG */

/* Hover effects handled in JavaScript for SVG elements */

.pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #e53e3e;
    border-bottom: unset !important;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.controls {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.spin-button, .reset-button {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spin-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.spin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reset-button {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.6);
}

.retry-info {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #495057;
}

.retry-info p {
    margin: 0;
    font-weight: 500;
}

.result {
    margin: 2rem 0;
    padding: 1rem;
    background: linear-gradient(45deg, #00b894, #00a085);
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.result h2 {
    font-size: 1.5rem;
    margin: 0;
}

#resultText {
    font-weight: bold;
    color: #fdcb6e;
}

.options-display {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.options-display h3 {
    color: #495057;
    margin-bottom: 1rem;
}

.options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.option-tag {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.percentage-info {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: normal;
}

.spinning {
    animation: spin 4s cubic-bezier(0.17, 0.67, 0.12, 0.99) forwards;
}

@keyframes spin {
    from {
        transform: rotate(var(--current-rotation, 0deg));
    }
    to {
        transform: rotate(var(--spin-degrees));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .wheel-container {
        width: 250px;
        height: 250px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .spin-button, .reset-button {
        width: 200px;
    }
} 