@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: #000; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Preloader Animation */
.loader-text { 
    font-size: 5vw; 
    font-weight: 900; 
    color: white; 
    letter-spacing: 1em; 
    animation: pulse 1.5s infinite alternate; 
}
@keyframes pulse { from { opacity: 0.2; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* Hero & Glowing Titles */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; position: sticky; top: 0; background: #000; }
.hero-name, .section-glow-title { 
    font-weight: 900; 
    color: #b5b5b5; 
    line-height: 1; 
    white-space: nowrap; 
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
    cursor: pointer;
}

.hero-name:hover, .section-glow-title:hover { 
    color: #fff; 
    filter: drop-shadow(0 0 25px rgba(255,255,255,0.6)); 
    transform: scale(1.02); 
}

/* Dynamic Sizing */
.section-glow-title { font-size: 10vw; letter-spacing: -0.05em; }
@media (min-width: 1025px) { .hero-name { font-size: 21vw; letter-spacing: -0.05em; } }
@media (max-width: 1024px) { 
    .hero-name { font-size: 24vw; letter-spacing: -0.02em; } 
    .section-glow-title { font-size: 15vw; }
}

.hero-info { position: absolute; bottom: 15%; text-align: center; }
.role-tag { color: #333; font-size: 10px; font-weight: 800; letter-spacing: 0.8em; }

/* Floating Glass Navigation */
.nav-wrapper { position: fixed; top: 2.5rem; right: 2.5rem; z-index: 1000; }
.glass-nav { background: rgba(255,255,255,0.05); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 0.8rem 2.5rem; }
.nav-item { color: white; font-size: 11px; font-weight: 900; text-decoration: none; opacity: 0.5; margin-left: 2rem; transition: 0.3s; }
.nav-item:hover { opacity: 1; text-shadow: 0 0 10px white; }

/* Nav Dark Theme Switch */
.nav-dark { background: rgba(0, 0, 0, 0.5); border-color: rgba(255,255,255,0.1); }
.nav-dark .nav-item { color: white; opacity: 0.7; }

/* 3D Glass Cards */
.glass-project-card { 
    background: rgba(255,255,255,0.02); 
    padding: 50px 40px; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.6s cubic-bezier(0.2, 1, 0.2, 1); 
    cursor: pointer; 
    border-radius: 20px;
}
.glass-project-card:hover { 
    transform: translateY(-12px) rotateY(-5deg); 
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Resume & Buttons */
.glow-dot { box-shadow: 0 0 15px white; }
.dark-resume-btn { 
    display: inline-block; 
    padding: 18px 45px; 
    border: 1px solid rgba(255,255,255,0.2); 
    color: #fff; 
    font-size: 11px; 
    font-weight: 900; 
    letter-spacing: 0.2em; 
    text-decoration: none; 
    transition: 0.4s; 
    border-radius: 4px;
}
.dark-resume-btn:hover { background: white; color: black; transform: translateY(-5px); }

/* About Me Photo */
.profile-img { width: 100%; border-radius: 16px; grayscale: 100%; transition: 1s; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.profile-img:hover { grayscale: 0%; transform: translateY(-5px); }
.skill-pill { padding: 6px 16px; border: 1px solid #ddd; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.modal-img { width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }