* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.spin-info {
    text-align: center;
    margin-bottom: 30px;
}

.spin-info h3 {
    display: inline-block;
    margin: 0 20px;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 5px;
}

#remainingSpins {
    color: #27ae60;
    font-weight: bold;
}

.wheel-container {
    position: relative;
    width: 400px;
    margin: 0 auto 40px;
    text-align: center;
}

#wheel {
    display: block;
    margin: 0 auto;
    border: 5px solid #333;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.spin-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: #27ae60;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.spin-button:hover:not(:disabled) {
    background: #219a52;
    transform: scale(1.05);
}

.spin-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.winners-section, .participants-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.winners-section h2, .participants-section h2 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.winners-list, .participants-list {
    list-style: none;
    padding: 0;
}

.winners-list li, .participants-list li {
    padding: 10px;
    margin: 5px 0;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

.win-time {
    float: right;
    color: #7f8c8d;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
    border-radius: 15px;
    animation: slideDown 0.5s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #27ae60;
    margin-bottom: 20px;
}

#winnerName {
    font-size: 24px;
    color: #333;
    margin: 20px 0;
    font-weight: bold;
}

#congratulateBtn {
    padding: 12px 30px;
    font-size: 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

#congratulateBtn:hover {
    background: #5a67d8;
}