/* Language Selector Screen */
.lang-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lang-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.lang-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.lang-container h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.lang-subtitle {
    font-weight: 400;
    font-size: 0.85em;
}

.lang-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.lang-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lang-flag {
    font-size: 2.5rem;
}

.lang-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Language toggle button (appears after selection) */
.lang-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: #f5f5f5;
    border-color: #667eea;
}

.lang-toggle .flag {
    font-size: 1.2rem;
}

/* Hide language-specific content by default */
.lang-pl .lang-en-only,
.lang-en .lang-pl-only {
    display: none !important;
}

@media (max-width: 480px) {
    .lang-container {
        padding: 2rem;
    }
    
    .lang-buttons {
        flex-direction: column;
    }
    
    .lang-btn {
        width: 100%;
    }
}
