﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1C1C1C 0%, #C1440E 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

#ui-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.start-container {
    text-align: center;
    padding: 2rem;
    background: rgba(28, 28, 28, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    border: 0 solid rgba(255, 255, 255, 0.2);
}

.start-container h1 {
    color: #E5E2D7;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.start-container p {
    color: rgba(229, 226, 215, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

#start-button {
    background: linear-gradient(135deg, #C1440E 0%, #443e3e 100%);
    color: #E5E2D7;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px;
}

#start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

#start-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#loading-indicator {
    display: none;
    margin-top: 1rem;
}

.spinner {
    border: 3px solid #C1440E;
    border-radius: 50%;
    border-top: 3px solid #E5E2D7;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

#controls button {
    background: rgba(0,0,0,0.7);
    color: #E5E2D7;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

#controls button:hover {
    background: rgba(0,0,0,0.9);
}

#status {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: #E5E2D7;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 999;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .start-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .start-container h1 {
        font-size: 2rem;
    }

    .start-container p {
        font-size: 1rem;
    }

    #start-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        min-width: 180px;
    }

    #controls {
        top: 10px;
        right: 10px;
    }

    #controls button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    #status {
        bottom: 10px;
        left: 10px;
        font-size: 0.9rem;
    }
}
