* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2em 1em;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2em;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #4a4a4a;
    margin-bottom: 1.5em;
    font-size: 1.8em;
    line-height: 1.3;
}

/* Countdown Styles */
#countdown {
    font-size: 1.8em;
    font-weight: bold;
    color: #4a4a4a;
    margin: 1.5em 0 2.5em;
    padding: 1em;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

/* Slot Machine Styles */
.slot-machine {
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    border: 8px solid #4a4a4a;
    border-radius: 20px;
    padding: 1.5em;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1),
                0 10px 25px rgba(0, 0, 0, 0.2);
}

.slot-title {
    color: #d40000;
    font-family: 'Arial Black', Gadget, sans-serif;
    font-size: 2em;
    margin: 0 0 0.8em 0;
    text-shadow: 2px 2px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
                -1px 1px 0 #fff, 1px 1px 0 #fff;
    letter-spacing: 2px;
}

.reels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 1.5em 0;
}

.reel {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #4a4a4a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.reel p {
    margin: 0;
    line-height: 1;
}

#spin-button {
    padding: 12px 30px;
    font-size: 1.5em;
    color: white;
    background: linear-gradient(to bottom, #ff5e62, #ff2d5a);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 0 #c41e3a, 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    margin-top: 1em;
    outline: none;
}

#spin-button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #c41e3a, 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 1.5em;
        margin: 1em;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    #countdown {
        font-size: 1.4em;
        padding: 0.8em;
        margin: 1em 0 2em;
    }
    
    .slot-machine {
        padding: 1em;
    }
    
    .reel {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }
    
    #spin-button {
        font-size: 1.3em;
        padding: 10px 25px;
    }
}
