/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Domine', Georgia, serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a0029 0%, #3a0055 40%, #4c0066 70%, #1a0029 100%);
    color: #e2e8f0;
    padding: 2rem 1rem;
    -webkit-font-smoothing: antialiased;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Profile ── */
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.bio {
    font-size: 0.95rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 360px;
}

/* ── Links ── */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    list-style: none;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.link-card:active {
    transform: scale(0.98);
}

.link-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.link-icon-img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 4px;
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.link-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.link-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

/* ── Socials ── */
.socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link svg,
.social-icon-img {
    width: 20px;
    height: 20px;
    transition: filter 0.25s ease;
}

.social-link:hover .social-icon-img {
    filter: brightness(1.5);
}

/* ── Footer ── */
.footer {
    font-size: 0.75rem;
    color: #475569;
    letter-spacing: 0.02em;
}

/* ── Animation ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeUp 0.6s ease both;
}

.avatar          { animation-delay: 0s; }
.name            { animation-delay: 0.08s; }
.bio             { animation-delay: 0.14s; }
.links           { animation-delay: 0.22s; }
.links li:nth-child(1) { animation-delay: 0.22s; }
.links li:nth-child(2) { animation-delay: 0.28s; }
.links li:nth-child(3) { animation-delay: 0.34s; }
.links li:nth-child(4) { animation-delay: 0.40s; }
.links li:nth-child(5) { animation-delay: 0.46s; }
.socials         { animation-delay: 0.54s; }
.footer          { animation-delay: 0.60s; }

.links li {
    animation: fadeUp 0.5s ease both;
}
