.custom-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 5rem;
    color: var(--text-light);
}
.custom-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}
.custom-footer a:hover {
    color: var(--primary-color);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 132, 199, 0.4);
}

html, body {
    overscroll-behavior-y: none;
}

body {
    overflow-x: hidden;
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input,
body.custom-cursor-active textarea,
body.custom-cursor-active select,
body.custom-cursor-active .social-icon-btn,
body.custom-cursor-active .skill-badge {
    cursor: none;
}

.mouse-cursor-dot,
.mouse-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mouse-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-light);
}

.mouse-cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-color);
    background-color: rgba(2, 132, 199, 0.03);
    transition: opacity 0.3s ease, 
                width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease, 
                border-color 0.3s ease;
}

.mouse-cursor-dot.visible,
.mouse-cursor-ring.visible {
    opacity: 1;
}

.mouse-cursor-ring.active {
    width: 60px;
    height: 60px;
    background-color: rgba(15, 118, 110, 0.08);
    border-color: var(--accent-color);
}

.mouse-cursor-dot.active {
    transform: translate(-50%, -50%) scale(0.5);
    background-color: var(--accent-color);
    box-shadow: none;
}

.mouse-bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, rgba(2, 132, 199, 0) 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mouse-bg-glow.visible {
    opacity: 1;
}

.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s ease, 
                transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                visibility 0.4s,
                box-shadow 0.3s ease;
    z-index: 9999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
}

body.reached-bottom .scroll-top-btn {
    animation: bottom-bounce-pulse 1.2s infinite ease-in-out alternate;
    box-shadow: 0 0 25px rgba(15, 118, 110, 0.5);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

@keyframes bottom-bounce-pulse {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-8px) scale(1.12);
    }
}

@media (min-width: 576px) {
    .scroll-top-btn {
        bottom: 30px;
        right: 30px;
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
    
    @keyframes bottom-bounce-pulse {
        0% {
            transform: translateY(0) scale(1);
        }
        100% {
            transform: translateY(-8px) scale(1.12);
        }
    }
}
