/* Ducky Race - High Contrast Theme */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

#setup-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
}

#game-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
}

/* Title Styling */
h1 {
    color: #FFD700;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 30px;
    text-align: center;
}

/* Input Styling */
input[type="text"],
input[type="number"] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Button Styling */
button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    color: #1a1a2e;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

button:active {
    transform: translateY(0);
}

/* Speed Controls Styling */
#speed-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

#speed-controls button {
    padding: 12px 20px;
    font-size: 14px;
    margin: 5px;
}

/* Duck List Styling */
#duckList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
    max-height: 200px;
    overflow-y: auto;
}

#duckListPlaceholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
}

#duckList div {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

#duckList div:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Canvas Styling */
#canvas {
    border: 3px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    input[type="text"],
    input[type="number"] {
        padding: 12px 15px;
        font-size: 14px;
    }

    button {
        padding: 12px 25px;
        font-size: 14px;
    }

    #speed-controls {
        flex-direction: column;
    }

    #speed-controls button {
        width: 100%;
    }

    #duckList {
        max-width: 100%;
    }
}