#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    animation: fadeIn 0.8s ease-out;
}

.welcome-container {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #f5c518;
    backdrop-filter: blur(5px);
    animation: slideUp 0.6s ease-out;
}

.welcome-title {
    font-size: 64px;
    color: #f5c518;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.welcome-subtitle {
    font-size: 24px;
    color: #ecf0f1;
    font-style: italic;
    margin-bottom: 60px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Tlačítka */
.welcome-button {
    width: 280px;
    height: 70px;
    font-size: 32px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin: 15px auto;
    display: block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.welcome-button-new {
    background-color: #27ae60;
    color: white;
    border: 4px solid #2ecc71;
    animation: buttonPulse 2s ease-in-out infinite;
}

.welcome-button-new:hover {
    background-color: #2ecc71;
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(46, 204, 113, 0.4);
    animation: none;
}

.welcome-button-new:active {
    transform: scale(0.98);
}

/* Sprite tlačítka v pravém horním rohu */
.top-right-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10000;
}

.sprite-button {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.sprite-button:hover {
    transform: scale(1.1);
    opacity: 1;
}

.sprite-button:active {
    transform: scale(0.95);
}

.sprite-button img {
    width: 40px;
    height: 40px;
    pointer-events: none;
}

/* Verze */
.welcome-version {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #95a5a6;
    font-size: 14px;
    opacity: 0.7;
}

/* Animace */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 10px #f5c518, 0 0 20px #f5c518;
    }
    to {
        text-shadow: 0 0 20px #f5c518, 0 0 30px #f5c518, 0 0 40px #f5c518;
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 12px rgba(46, 204, 113, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
}

/* Responzivní design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 48px;
    }
    
    .welcome-subtitle {
        font-size: 20px;
    }
    
    .welcome-button {
        width: 200px;
        height: 50px;
        font-size: 24px;
    }
    
    .welcome-container {
        padding: 30px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .welcome-button {
        width: 180px;
        height: 45px;
        font-size: 20px;
    }
}