/* =====================
   RESET & THEME
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --secondary: #38bdf8;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

/* =====================
   BODY
===================== */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    color: var(--text-main);
    min-height: 100vh;
}

/* =====================
   CONTAINER
===================== */
.container {
    max-width: 420px;
    margin: 24px auto;
    padding-bottom: 32px;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

/* =====================
   BANNER
===================== */
.banner-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
}

@media (min-width: 768px) {
    .banner-card img {
        height: 220px;
    }
}

/* =====================
   PROFILE
===================== */
.profile {
    text-align: center;
    margin-top: -55px;
    padding: 0 20px 24px;
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    background: white;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 12px;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* =====================
   LINKS
===================== */
.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 20px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;

    background: #f8fafc;
    color: var(--text-main);
    border: 1px solid #e2e8f0;

    transition: all 0.25s ease;
}

/* ICON */
.link-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* HOVER */
.link-item:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.35);
}

.link-item:hover i {
    color: white;
}

/* =====================
   FOOTER
===================== */
.footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =====================
   ANIMATION
===================== */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.link-item {
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

.link-item:nth-child(1) { animation-delay: 0.05s; }
.link-item:nth-child(2) { animation-delay: 0.1s; }
.link-item:nth-child(3) { animation-delay: 0.15s; }
.link-item:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
