/* -- Base -- */

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

html {
    color-scheme: dark;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            #1e293b 0%,
            #0f172a 45%,
            #020617 100%
        );

    color: #f8fafc;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 20px;
}

/* -- Cursor Background Glow -- */

.cursor-glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.16) 0%,
        rgba(37, 99, 235, 0.08) 30%,
        rgba(30, 64, 175, 0.03) 50%,
        transparent 70%
    );

    transform: translate(-50%, -50%);

    filter: blur(25px);

    z-index: 0;

    opacity: 0;

    transition: opacity 0.4s ease;
}


/* Keeping the contact card above the glow */

.card {
    position: relative;
    z-index: 1;
}


/* Disabling effect on touch/mobile devices */

@media (hover: none), (pointer: coarse) {
    .cursor-glow {
        display: none;
    }
}

/* -- Card -- */

.card {
    width: 100%;
    max-width: 460px;

    text-align: center;

    background: rgba(15, 23, 42, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 28px;

    padding: 42px 32px 28px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(14px);
}


/* --- Profile -- */

.profile-photo {
    width: 118px;
    height: 118px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid rgba(255, 255, 255, 0.9);

    margin-bottom: 22px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4);
}


h1 {
    font-size: 2rem;
    font-weight: 700;

    letter-spacing: -0.5px;

    margin-bottom: 7px;
}


.title {
    font-size: 1.05rem;

    color: #60a5fa;

    font-weight: 600;

    margin-bottom: 7px;
}


.specialties {
    font-size: 0.82rem;

    color: #94a3b8;

    margin-bottom: 22px;
}


.bio {
    font-size: 0.95rem;

    line-height: 1.65;

    color: #cbd5e1;

    max-width: 360px;

    margin:
        0 auto
        28px;
}


/* -- Main Links -- */

.links {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.link-button {
    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

    padding: 15px 18px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    color: #f8fafc;

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 500;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.link-button > i:first-child {
    width: 24px;

    font-size: 1.25rem;

    color: #60a5fa;
}


.link-button span {
    flex: 1;

    text-align: left;
}


.link-button .arrow {
    color: #64748b;

    font-size: 0.8rem;
}


.link-button:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(96, 165, 250, 0.5);
}


/* -- Social Icons -- */

.social-links {
    display: flex;

    justify-content: center;

    gap: 22px;

    margin-top: 28px;
}


.social-links a {
    color: #94a3b8;

    font-size: 1.3rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.social-links a:hover {
    color: #60a5fa;

    transform: translateY(-2px);
}


/* -- Footer -- */

footer {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #64748b;

    font-size: 0.75rem;

    letter-spacing: 0.6px;
}


/* -- Mobile -- */

@media (max-width: 500px) {

    body {
        align-items: flex-start;

        padding-top: 35px;
    }

    .card {
        padding:
            34px
            22px
            24px;

        border-radius: 22px;
    }

    h1 {
        font-size: 1.75rem;
    }

}
