/* ============================================================================
   EASTER EGG DIALOG MODAL - Style dla overlay dialogów
   ============================================================================ */

/* Overlay - ciemne tło pokrywające całą mapę */
.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.easter-egg-overlay.active {
    display: flex;
    opacity: 1;
}

/* Kontener główny dialogu */
.easter-egg-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #f1c40f;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(241, 196, 15, 0.5);
    animation: slideInScale 0.4s ease-out;
}

@keyframes slideInScale {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Zdjęcie dialogu */
.easter-egg-image {
    width: 100%;
    max-width: 600px;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid #f1c40f;
}

/* Prostokąt z tekstem */
.easter-egg-text {
    width: 100%;
    padding: 25px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid #f1c40f;
    border-radius: 10px;
    color: #ecf0f1;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', sans-serif;
    white-space: pre-wrap;
    max-height: 40vh;
    overflow-y: auto;
}

/* Przycisk zamknięcia */
.easter-egg-close-btn {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #000;
    border: 3px solid #d35400;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    letter-spacing: 1px;
}

.easter-egg-close-btn:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

.easter-egg-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(241, 196, 15, 0.3);
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .easter-egg-modal {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }
    
    .easter-egg-image {
        max-height: 50vh;
    }
    
    .easter-egg-text {
        font-size: 1rem;
        padding: 20px;
        max-height: 30vh;
    }
    
    .easter-egg-close-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

/* Scrollbar dla tekstu */
.easter-egg-text::-webkit-scrollbar {
    width: 8px;
}

.easter-egg-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.easter-egg-text::-webkit-scrollbar-thumb {
    background: #f1c40f;
    border-radius: 4px;
}

.easter-egg-text::-webkit-scrollbar-thumb:hover {
    background: #f39c12;
}
