body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #101926;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #e1caa7;
}

.language-selector {
    text-align: center;
    background: rgba(16, 25, 38, 0.9);
    padding: 2rem 3rem;
    border-radius: 0;
    max-width: 700px;
    width: 90%;
    border: 1px solid #e1caa7;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(89%) sepia(12%) saturate(459%) hue-rotate(358deg) brightness(93%) contrast(86%);
}

.language-selector h1 {
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.flags-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.flag-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e1caa7;
    transition: all 0.3s ease;
    padding: 1rem;
}

.flag-option:hover {
    color: #fff;
    background-color: rgba(225, 202, 167, 0.1);
}

.flag-option img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 1px solid #e1caa7;
}

.flag-option span {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .flags-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .flags-container {
        grid-template-columns: 1fr;
    }
    .language-selector {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .language-selector {
        padding: 1.5rem 1rem;
    }

    .logo {
        max-width: 140px;
    }

    .flag-option img {
        width: 50px;
        height: 35px;
    }

    .flag-option span {
        font-size: 0.85rem;
    }
}
