* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', Arial, sans-serif;
    overflow: hidden;
    background-color: #000;
}

.container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2560 / 768;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0 auto;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.winner-section {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8vh;
}

.start-button {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: clamp(32px, 4vw, 80px);
    font-weight: 900;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    border: 6px solid #FFFFFF;
    border-radius: 20px;
    padding: 30px 80px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 
        0 10px 30px rgba(255, 107, 0, 0.5),
        0 0 50px rgba(255, 107, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 107, 0, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.start-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 107, 0, 0.7),
        0 0 60px rgba(255, 107, 0, 0.5),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
}

.start-button:active {
    transform: scale(0.98);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 107, 0, 0.5),
            0 0 50px rgba(255, 107, 0, 0.3),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(255, 107, 0, 0.7),
            0 0 70px rgba(255, 107, 0, 0.5),
            inset 0 2px 15px rgba(255, 255, 255, 0.4);
    }
}

.winner-name {
    display: none;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: clamp(40px, 5vw, 100px);
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    padding: 30px 60px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    border: 8px solid #FFFFFF;
    border-radius: 25px;
    box-shadow: 
        0 15px 40px rgba(255, 107, 0, 0.6),
        0 0 60px rgba(255, 107, 0, 0.4),
        inset 0 3px 15px rgba(255, 255, 255, 0.3);
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(255, 107, 0, 0.8),
        0 0 50px rgba(255, 140, 0, 0.6);
    animation: glow 1.5s ease-in-out infinite;
    min-width: 400px;
    max-width: 80vw;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 
            0 15px 40px rgba(255, 107, 0, 0.6),
            0 0 60px rgba(255, 107, 0, 0.4),
            inset 0 3px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 50px rgba(255, 107, 0, 0.8),
            0 0 80px rgba(255, 107, 0, 0.6),
            inset 0 3px 20px rgba(255, 255, 255, 0.4);
    }
}

.winner-name.show {
    display: block;
}

.winner-name.animating {
    animation: spinNames 0.1s linear;
}

@keyframes spinNames {
    0% {
        transform: translateY(-10px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.error-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.95);
    color: white;
    padding: 30px 60px;
    border-radius: 15px;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #fff;
}

.error-message.show {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .winner-section {
        margin-top: 10vh;
    }
    
    .start-button {
        padding: 20px 50px;
        border: 4px solid #FFFFFF;
    }
    
    .winner-name {
        padding: 20px 40px;
        border: 6px solid #FFFFFF;
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .winner-section {
        margin-top: 12vh;
    }
    
    .start-button {
        padding: 15px 30px;
        border: 3px solid #FFFFFF;
    }
    
    .winner-name {
        padding: 15px 30px;
        border: 4px solid #FFFFFF;
        min-width: 200px;
    }
}
