/* Header Section */
header {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 12px;
    color: #1a202c;
    font-weight: 700;
}

a, a:visited {
    color: #667eea;
}

.name-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 16px 0 20px;
}

.name-card {
    background: #ffffff;
    padding: 18px 26px;
    border-radius: 16px;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.05),
        0 0 0 1.5px #eef2ff inset;
    text-align: center;
    min-width: 140px;
    transition: all 0.25s ease;
}

.name-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1.5px #c7d2fe inset;
}

.name-main {
    font-size: 1.45em;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #4c63d2, #7b8cfc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.name-flag {
    font-size: 1.1em;
    opacity: 0.95;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .name-card {
        padding: 14px 20px;
        min-width: 120px;
    }
    .name-main {
        font-size: 1.25em;
    }
}

.subtitle {
    font-size: 1.1em;
    color: #718096;
    margin-bottom: 8px;
}

.age-display {
    font-size: 1.2em;
    color: #667eea;
    margin: 16px 0;
    font-weight: 600;
}

/* Info Cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h2 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card ul {
    list-style: none;
}

.card li {
    padding: 10px 0;
    color: #4a5568;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
}

.card li:last-child {
    border-bottom: none;
}

.card li:hover {
    color: #667eea;
    padding-left: 8px;
}

.card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
}

/* Languages Section */
.languages {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.lang-badge {
    background: #eef2ff;
    color: #4338ca;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.lang-badge:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 24px 16px;
    }

    .profile-picture {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    h1 {
        font-size: 1.75em;
    }
}