@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Fira+Code:wght@400;500&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f1a;
    color: #f8fafc;
    overflow-x: hidden;
    text-wrap: pretty;
}

.mono {
    font-family: 'Fira Code', monospace;
}

.phd-gradient {
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glow-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(45, 212, 191, 0.1);
    background: rgba(45, 212, 191, 0.05);
}

.glow-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(45, 212, 191, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}

.glow-card:hover::after {
    opacity: 1;
}

p,
.text-slate-400,
.text-slate-300,
.text-slate-500 {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-break: normal;
    line-height: 1.6;
    letter-spacing: -0.011em;
}

.section-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
}

@keyframes scroll-dot {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 14px);
        opacity: 0;
    }
}

.animate-scroll-dot {
    animation: scroll-dot 2.2s infinite ease-in-out;
}

#modal-overlay {
    transition: opacity .3s ease;
}

#modal-content {
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #fb7185;
    border-radius: 10px;
}

#showcase-wrapper {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

.title-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: all .8s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    background: transparent !important;
    pointer-events: none;
}

.title-item.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    pointer-events: auto;
}

.title-item.exit {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-20px);
}

#mobile-menu {
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-image-container {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    box-shadow: 0 0 35px rgba(251, 113, 133, 0.3);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .profile-image-container {
        width: 220px;
        height: 220px;
    }
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #0b0f1a;
    transition: transform 0.5s ease;
}

.profile-image-container:hover {
    box-shadow: 0 0 50px rgba(251, 113, 133, 0.5);
    transform: scale(1.03);
}

.profile-image-container:hover img {
    transform: scale(1.05);
}

.view-paper-link {
    transition: all .3s ease;
    opacity: .8;
}

.view-paper-link:hover {
    opacity: 1;
    color: #2dd4bf;
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
    transform: translateX(5px);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
}

section {
    padding-top: clamp(2rem, 8vw, 6rem) !important;
    padding-bottom: clamp(2rem, 8vw, 6rem) !important;
}
