/* style.css - Custom overrides and effects for Return_Kun Portfolio */

/* Base Styles & Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3B82F6;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Cursor */
body {
    cursor: none;
}

a, button, input, textarea, .cursor-pointer {
    cursor: none; /* Ensure custom cursor stays */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #3B82F6;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, background-color 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Hover States for Cursor */
.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #FFFFFF;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-color: #3B82F6;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 3D Tilt Card Base */
.perspective-1000 {
    perspective: 1000px;
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Loading Animation Text */
.loader-text {
    animation: pulse-text 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-text {
    0% { opacity: 0.4; }
    100% { opacity: 1; text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
}

/* Prevent text selection on certain elements */
.select-none {
    user-select: none;
    -webkit-user-select: none;
}

/* GSAP Reveal Base Classes */
.gs_reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

/* Mobile Menu Transition overrides */
#mobile-menu {
    transition: opacity 0.3s ease-in-out;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}
