* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to bottom, #f4eeee, #eee7e7, #e8e1e1);
    color: #444;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    width: 100%;
}
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #a82a2a;
    text-shadow: 0 1px 0 rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.1);
    letter-spacing: 1px;
}

.logo-svg {
    width: 22%;
    margin-bottom: 2%;
}

.wordmark-svg {
    width: 33%;
}

.tagline {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 1% auto;
    line-height: 1.55;
    color: #777;
    font-weight: 500;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
}

.language-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.language-item {
    background: #b50014;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.language-item > * {
    position: relative;
    z-index: 1;
}

.language-item:hover {
    background: #910010;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 0.55);
}

.language-name {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
    color: #fff;
}

.language-caption {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

footer p {
    color: #000000;
    font-weight: 500;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-links a {
    color: #f0dede;
    font-size: 1.45rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

@media (max-width: 768px) {
    .language-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
}
