body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    flex-direction: column; 
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo span {
    -webkit-text-fill-color: #6366f1;
    font-weight: 600;
    font-size: 22px;
    margin-left: 6px;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 550px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


.lang-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e7ff; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.lang-card:hover {
    border-color: #4f46e5; 
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.1);
}


.flags-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}


.flag-icon {
    width: 48px; 
    height: auto;
    border-radius: 4px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}


.tool-name {
    font-weight: 800;
    font-size: 16px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.lang-card:hover .tool-name {
    opacity: 0.8;
}