a {
    color: #4f46e5;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:focus,
a:hover {
    color: #6366f1;
    text-decoration: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fb 0%, #e8eef5 50%, #dfe6ed 100%);
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(107, 114, 142, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(134, 142, 167, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

td,
th,
tr,
p,
a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

strong {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
}


h2 {
    margin: 0 0 25px 0;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 28px;
    color: #1f2937;
    position: relative;
    padding: 20px 0 20px 35px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 35px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.papertitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 4px;
    display: block;
    letter-spacing: -0.015em;
}

.author {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
    margin: 3px 0;
}

.paper-card em {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
    margin: 3px 0;
    display: block;
}

.paper-card a {
    color: #4f46e5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.paper-card a:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.name {
    padding-top: 20px;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.one {
    width: 160px;
    height: 160px;
    position: relative;
}

.two {
    width: 160px;
    height: 160px;
    position: absolute;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade {
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

span.highlight {
    background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

img {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(71, 85, 105, 0.08),
                0 4px 10px rgba(100, 116, 139, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(71, 85, 105, 0.12),
                0 8px 20px rgba(100, 116, 139, 0.1);
}

#profileImage {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
    perspective: 1000px;
}

.paper-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.65) 0%, rgba(250, 251, 252, 0.55) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.3);
    border-radius: 10px;
    padding: 22px 26px;
    margin: 0 35px 0 25px;
    box-shadow:
        0 4px 20px rgba(71, 85, 105, 0.06),
        0 2px 10px rgba(100, 116, 139, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.paper-card:hover {
    transform: translateY(-2px) rotateX(1deg) rotateY(-0.5deg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 250, 252, 0.65) 100%);
    border-color: rgba(203, 213, 225, 0.4);
    box-shadow:
        0 12px 40px rgba(71, 85, 105, 0.1),
        0 6px 20px rgba(100, 116, 139, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.main-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 252, 0.55) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(71, 85, 105, 0.08),
        0 10px 30px rgba(100, 116, 139, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.4);
    overflow: hidden;
    padding: 25px;
    margin: 0 20px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b5ff5 0%, #7c3aed 50%, #9333ea 100%);
}


/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Progress Navigation Bar */
.progress-nav {
    position: fixed;
    right: 30px;
    top: 15%;
    bottom: 15%;
    width: 140px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.nav-dots {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px 0;
    margin-right: 20px;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 10px 18px 10px 10px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-width: fit-content;
    white-space: nowrap;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.7);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}

.dot-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

.dot-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(71, 85, 105, 0.85);
    white-space: nowrap;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateX(-8px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-dot:hover .dot-indicator {
    background: #6366f1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.nav-dot:hover .dot-indicator::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.nav-dot:hover .dot-label {
    color: #4f46e5;
    font-weight: 600;
}

.nav-dot.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2), 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nav-dot.active .dot-indicator {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

.nav-dot.active .dot-indicator::before {
    opacity: 1;
    background: rgba(99, 102, 241, 0.2);
    transform: translate(-50%, -50%) scale(1.2);
}

.nav-dot.active .dot-label {
    color: #4f46e5;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .progress-nav {
        right: 20px;
        top: 20%;
        bottom: 20%;
        width: 80px;
    }

    .nav-dots {
        margin-right: 15px;
        padding: 15px 0;
    }

    .dot-label {
        display: none;
    }

    .nav-dot {
        padding: 8px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        width: 24px;
        height: 24px;
        justify-content: center;
        margin-bottom: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-dot:hover {
        transform: translateX(-4px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    }

    .dot-indicator {
        margin-right: 0;
        width: 8px;
        height: 8px;
    }

}

/* Toggle Publications Button */
.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toggle-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.toggle-icon {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.extra-publications {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}