body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #d4a5ff 0%, #ffccbc 25%, #a8e6cf 50%, #b3e5fc 75%, #d4a5ff 100%);
    background-size: 200% 200%;
    animation: gradient 25s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.language-window {
    background: rgba(200, 200, 200, 0.35);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inner-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.logo {
    max-width: 120px;
    margin-bottom: 8px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

.language-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    justify-items: center;
}

.lang-btn {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(0, 122, 255, 0.7);
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.lang-btn:hover {
    background: rgba(0, 122, 255, 0.9);
    transform: translateY(-1px);
}

/* Desktop styles */
@media (min-width: 768px) {
    .language-window {
        max-width: 600px;
        padding: 20px;
    }

    .inner-content {
        max-width: 500px;
        padding: 20px;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 10px;
    }

    h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .language-buttons {
        gap: 15px;
    }

    .lang-btn {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 12px;
    }
}

/* Small mobile screens */
@media (max-width: 360px) {
    .language-buttons {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    .lang-btn {
        font-size: 13px;
        padding: 7px 14px;
    }
}