*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --base: #473c53;
    --dark: #352b3f;
    --mid: #6d5f83;
    --light: #a89dbd;
    --lighter: #d3cce3;
    --surface: #f0ecf5;
    --bg: #f8f6fb;
    --white: #ffffff;
    --accent: #8b6fbf;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--base);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(139, 111, 191, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(71, 60, 83, 0.06) 0%, transparent 60%);
}

main {
    width: 100%;
    max-width: 520px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 1px 3px rgba(71, 60, 83, 0.06),
        0 8px 32px rgba(71, 60, 83, 0.08);
}

/* ── Header ── */

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--mid));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.tagline {
    margin-top: 0.35rem;
    color: var(--mid);
    font-size: 0.95rem;
}

/* ── Info Grid ── */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.info-block {
    background: var(--surface);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-block .label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--light);
}

.info-block .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--base);
}

.info-block.full-width {
    grid-column: 1 / -1;
}

.bi-flag {
	display: inline-block;
    background: linear-gradient(180deg, #D60270 0%, #D60270 33%, #9B4F96 33%, #9B4F96 66%, #0038A8 66%, #0038A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ── Sections ── */

.section {
    margin-bottom: 1.8rem;
}

h2 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light);
    margin-bottom: 0.75rem;
}

/* ── Links ── */

.links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: var(--surface);
    transition: all 0.2s ease;
}

.links a:hover {
    background: var(--lighter);
    transform: translateY(-1px);
}

.link-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.link-desc {
    font-size: 0.8rem;
    color: var(--mid);
}

/* ── About ── */

.about p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--mid);
}

/* ── Footer ── */

footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--light);
}

/* ── Mobile ── */

@media (max-width: 480px) {
    .card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

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