:root {
    --bg-color: #0d0f1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a5cc;
    --accent-1: #6d28d9;
    --accent-2: #2563eb;
    --accent-3: #0ea5e9;
    /* Liquid UI Glass variables */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.3);
    --liquid-blur: blur(28px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Mouse Glow Follower */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
    /* Hidden until mouse moves */
}

/* Galaxy Background System */
.galaxy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -4;
    /* Deepest layer */
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    perspective: 1000px;
    /* Added for 3D depth */
}

#starfield {
    width: 110%;
    /* Bleed out for parallax */
    height: 110%;
    position: absolute;
    top: -5%;
    left: -5%;
    z-index: 1; /* Below the sun and moon */
    will-change: transform;
}

/* The Moon */
.moon {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #e0e0e0 40%, #b0b0b0 80%, #606060);
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 100px rgba(255, 255, 255, 0.2),
        inset -10px -10px 20px rgba(0, 0, 0, 0.5);
    z-index: 3; /* Highest celestial layer in the background */
    animation: moonGlow 8s infinite alternate ease-in-out;
    will-change: transform;
    /* For ultra-smooth parallax */
    transform-style: preserve-3d;
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
}

/* Craters on the Moon */
.moon::before,
.moon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.moon::before {
    top: 30%;
    left: 20%;
    width: 25px;
    height: 25px;
}

.moon::after {
    bottom: 25%;
    right: 20%;
    width: 35px;
    height: 35px;
}

@keyframes moonGlow {
    0% {
        box-shadow: 0 0 40px rgba(180, 200, 255, 0.3), 0 0 100px rgba(180, 200, 255, 0.1), inset -10px -10px 20px rgba(0, 0, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 60px rgba(180, 200, 255, 0.6), 0 0 150px rgba(180, 200, 255, 0.2), inset -10px -10px 20px rgba(0, 0, 0, 0.5);
    }
}

/* ==========================================
   CELESTIAL DARK SUN (ECLIPSE EVENT)
   ========================================== */
.dark-sun {
    position: absolute;
    top: 15%; /* Alignment path for moon */
    left: -20%; /* Start outside screen */
    width: 300px;
    height: 300px;
    background: #000;
    border-radius: 50%;
    z-index: 2; /* In front of stars, but behind the moon */
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
    box-shadow: 0 0 80px rgba(0, 0, 0, 1);
    will-change: transform, opacity;
}

.sun-corona {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-1) 0%, var(--accent-3) 40%, transparent 70%);
    filter: blur(20px);
    opacity: 0.8;
    z-index: -1;
    animation: coronaPulse 4s infinite alternate ease-in-out;
}

/* Secondary Outer Flare for "Coming towards me" effect */
.dark-sun::after {
    content: '';
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.2) 0%, transparent 80%);
    filter: blur(40px);
    animation: coronaPulse 6s infinite alternate ease-in-out -2s;
}

@keyframes coronaPulse {
    0% { transform: scale(1); filter: blur(20px) brightness(1); }
    100% { transform: scale(1.15); filter: blur(35px) brightness(1.5); }
}

/* Global Environmental Filter triggered by Eclipse alignment */
.galaxy-background.eclipse-active {
    filter: brightness(0.6) saturate(1.4) hue-rotate(10deg);
    transition: filter 2s ease-in-out;
}

/* Background Gradients (Nebula Effect) */
.bg-gradient-1,
.bg-gradient-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -3;
    /* Below Moon, above Stars */
    opacity: 0.3;
    animation: float 25s infinite ease-in-out alternate;
    mix-blend-mode: screen;
    will-change: transform;
    --extra-transform: translate3d(0, 0, 0);
}

.bg-gradient-1 {
    top: 10%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.3) 0%, transparent 60%);
}

.bg-gradient-2 {
    bottom: 10%;
    right: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 60%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1) var(--extra-transform, translate3d(0,0,0));
    }

    100% {
        transform: translate(5%, 5%) scale(1.1) var(--extra-transform, translate3d(0,0,0));
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(to right, #a78bfa, #60a5fa, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Liquid UI Glass Utilities */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 15, 26, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0; /* Hidden during boot */
    pointer-events: none;
}

/* Floating Island State (Pill) */
.glass-nav.floating {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    width: 90%;
    max-width: 1100px;
    border-radius: 100px;
    background: rgba(13, 15, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(109, 40, 217, 0.2);
    overflow: hidden; /* Clips the progress line to the rounded corners */
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.8s ease;
}

.glass-nav.floating .nav-content {
    padding: 0.8rem 2.5rem;
}

/* Energy Core Logo */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-source {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(10px);
    animation: corePulse 4s infinite alternate;
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0.6; }
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    z-index: 1;
    text-shadow: 0 0 20px rgba(109, 40, 217, 0.5);
}

/* Holographic Hover Links */
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 2px 0 10px rgba(255, 0, 193, 0.5), -2px 0 10px rgba(0, 255, 240, 0.5);
    transform: translateY(-2px);
}

/* Scroll Progress Neon Trail */
.nav-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border-radius: 0 0 100px 100px;
}

.nav-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-3), #fff, var(--accent-3), transparent);
    background-size: 200% 100%;
    box-shadow: 0 0 15px var(--accent-3);
    animation: flowBorder 3s linear infinite;
    transition: width 0.1s linear;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.8), 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-3);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    /* Softer radius for liquid feel */
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
    /* Liquid float effect */
}

.glass-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    /* Softer radius */
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(109, 40, 217, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Hero */
.hero-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 3rem;
    position: relative;
}

/* Premium Profile Logo Container */
.profile-logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2), var(--accent-1));
    background-size: 300% 300%;
    border-radius: 50%;
    z-index: 0;
    animation: animateGlow 6s linear infinite;
    opacity: 0.8;
    filter: blur(8px);
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
    background: var(--bg-color);
    padding: 4px;
    /* Creates the inner gap */
    box-sizing: border-box;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.profile-logo-wrapper:hover .profile-img {
    transform: scale(1.08);
}

@keyframes animateGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(109, 40, 217, 0.2);
    border: 1px solid rgba(109, 40, 217, 0.5);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    /* 3D setup for stairs */
    perspective: 1500px;
    transform-style: preserve-3d;
}

.skill-item {
    font-size: 1.1rem;
    padding: 1rem 2rem;

    /* 3D Footstep Initial Hidden State */
    opacity: 0;
    transform: translateZ(-300px) translateY(100px) rotateX(45deg);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    transform-origin: top center;
}

/* Alternate footstep appearance */
.skill-item:nth-child(odd) {
    transform: translateZ(-300px) translateX(-60px) translateY(100px) rotateX(45deg) rotateY(-15deg);
}

.skill-item:nth-child(even) {
    transform: translateZ(-300px) translateX(60px) translateY(100px) rotateX(45deg) rotateY(15deg);
}

/* Revealed State */
.skills.fade-up.visible .skill-item {
    opacity: 1;
    transform: translateZ(0) translateX(0) translateY(0) rotateX(0deg) rotateY(0deg);
}

/* Upgraded Hover for Skills */
.skill-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transform: translateZ(60px) translateY(-10px) scale(1.05) !important;
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 165, 233, 0.4) !important;
    transition-delay: 0s !important;
    /* Instant hover response */
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Replayable transition state */
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.projects.fade-up.visible .project-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.projects.fade-up.visible .project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2);
    transition-delay: 0s !important;
}

.project-img {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    z-index: 1;
    background: #050508;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 200px 50px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 250px 150px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 300px 200px;
    animation: panStars 60s linear infinite;
}

@keyframes panStars {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -300px 0;
    }
}

/* Base Planet Style */
.project-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 2;
    animation: floatPlanet 6s ease-in-out infinite;
}

/* Base Ring / Orbiting element style */
.project-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
}

@keyframes floatPlanet {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -55%);
    }
}

@keyframes spinRing {
    0% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes orbitMoon {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg) translateX(70px) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg) translateX(70px) rotateZ(-360deg);
    }
}

@keyframes pulseEnergy {

    0%,
    100% {
        box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(249, 115, 22, 0.4);
    }

    50% {
        box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.7), 0 0 50px rgba(249, 115, 22, 0.8);
    }
}

@keyframes rotateSurface {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Hover effects */
.project-card:hover .project-img {
    animation-duration: 20s;
}

.project-card:hover .project-img::before {
    animation-duration: 2s;
}

.project-card:hover .project-img::after {
    animation-duration: 3s;
}

/* Project 1: Gas Giant with Ring */
.placeholder-1::before {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1e3a8a, #7dd3fc, #3b82f6);
    background-size: 200% 200%;
    animation: floatPlanet 8s ease-in-out infinite, rotateSurface 15s linear infinite;
    box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(59, 130, 246, 0.5);
}

.placeholder-1::after {
    width: 170px;
    height: 170px;
    border: 12px solid rgba(125, 211, 252, 0.2);
    border-top-color: rgba(125, 211, 252, 0.6);
    border-bottom-color: rgba(125, 211, 252, 0.1);
    animation: spinRing 12s linear infinite;
}

/* Project 2: Bio-luminescent Planet with Moon */
.placeholder-2::before {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #10b981, #064e3b, #022c22);
    box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.9), 0 0 30px rgba(16, 185, 129, 0.6);
    animation: floatPlanet 7s ease-in-out infinite alternate-reverse;
}

.placeholder-2::after {
    width: 12px;
    height: 12px;
    background: #a7f3d0;
    box-shadow: 0 0 10px #a7f3d0;
    animation: orbitMoon 6s linear infinite;
}

/* Project 3: Supernova / Radiant Planet with pulse */
.placeholder-3::before {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 40% 40%, #fde047, #f97316, #9f1239);
    box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(249, 115, 22, 0.6);
    animation: floatPlanet 9s ease-in-out infinite, pulseEnergy 4s ease-in-out infinite;
}

.placeholder-3::after {
    width: 130px;
    height: 130px;
    border: 2px dashed rgba(249, 115, 22, 0.5);
    animation: spinRing 10s linear infinite reverse;
}

.project-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-secondary);
}

.project-link {
    color: var(--accent-3);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #38bdf8;
}

/* Contact */
.contact-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    background: rgba(13, 15, 26, 0.5);
    backdrop-filter: blur(10px);
}

/* Animations & Loader */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   CINEMATIC LOADER (ENHANCED)
   ========================================== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 20000; /* Higher than nav to ensure clean boot */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 2000px;
}

/* High-Velocity Star Tunnel */
.star-tunnel {
    position: absolute;
    inset: -50%;
    z-index: 0;
    pointer-events: none;
    transform-style: preserve-3d;
}

.tunnel-layer {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(2px 2px at 50px 160px, #fff, transparent),
        radial-gradient(2px 2px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 150px 80px, #fff, transparent);
    background-size: 300px 300px;
    opacity: 0.3;
    animation: warpSpeed 3s linear infinite;
}

.layer-2 { animation-duration: 2s; opacity: 0.15; scale: 1.5; }
.layer-3 { animation-duration: 1.5s; opacity: 0.1; scale: 2; }

@keyframes warpSpeed {
    from { transform: translateZ(0px); }
    to { transform: translateZ(1000px); }
}

/* Letter System */
.alex-loader {
    display: flex;
    gap: 40px;
    z-index: 2;
    perspective: 1500px;
}

.alex-letter-wrapper {
    position: relative;
    font-size: 10rem; /* Larger for cinematic scale */
    font-weight: 900;
    opacity: 0;
    transform: translateZ(-1000px) rotateY(-90deg);
    animation: revealSpatial 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay);
    letter-spacing: -20px; /* Compressed for breathing start */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

/* High-Tech Vertical Scanline Beam */
.alex-letter-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--accent-3), #fff, var(--accent-3), transparent);
    filter: blur(10px);
    opacity: 0;
    z-index: 10;
    animation: scanEnergy 4s infinite linear;
}

@keyframes scanEnergy {
    0% { top: -20%; opacity: 0; }
    50% { opacity: 0.8; }
    100% { top: 120%; opacity: 0; }
}

.alex-letter {
    display: block;
    user-select: none;
    background: linear-gradient(
        180deg, 
        #fff 0%, 
        #a5b4fc 25%, 
        #312e81 45%, 
        #a5b4fc 55%, 
        #fff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Layered Volumetric Bloom (Shadows) */
    filter: 
        drop-shadow(0 0 10px rgba(165, 180, 252, 0.5)) 
        drop-shadow(0 0 40px rgba(165, 180, 252, 0.2))
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
    animation: reflectiveShimmer 6s infinite linear;
}

@keyframes reflectiveShimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 400%; }
}

@keyframes revealSpatial {
    0% {
        opacity: 0;
        transform: translateZ(-1000px) rotateY(-90deg) scale(0.2);
        filter: blur(20px) brightness(0);
        letter-spacing: -30px;
    }
    40% {
        opacity: 1;
        transform: translateZ(200px) rotateY(15deg) scale(1.2);
        filter: blur(0px) brightness(2);
        letter-spacing: 15px;
    }
    100% {
        opacity: 1;
        transform: translateZ(0) rotateY(0) scale(1);
        filter: blur(0px) brightness(1);
        letter-spacing: 10px; /* Breathe stable position */
    }
}

@keyframes glitchEnergy {
    0% { transform: translate(-2px, 2px); }
    100% { transform: translate(2px, -2px); }
}

/* Pre-launch Energy Pulse */
.loader-energy-core {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    animation: energyPulse 4s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.5); opacity: 0.3; }
}

/* Premium Entrance Flight (Overlays with JS) */
.alex-loader.fly-to-header {
    animation: ultimateFlight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ultimateFlight {
    0% {
        transform: translateZ(0) scale(1);
        filter: blur(0px) brightness(1);
    }
    20% {
        transform: translateZ(-200px) scale(1.2) translateY(30px);
        filter: blur(1px) brightness(1.8);
    }
    100% {
        /* JS Inject var --target-x/y */
        transform: translate(var(--target-x), var(--target-y)) scale(0.12);
        filter: blur(8px) brightness(4);
        opacity: 0;
    }
}

/* Logo Ripple Pulse */
.logo.logo-glass-pulse {
    animation: cosmicImpact 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cosmicImpact {
    0% { transform: scale(1); filter: brightness(1); }
    15% { transform: scale(1.3); filter: brightness(4) drop-shadow(0 0 50px var(--accent-3)); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* Nav Shockwave (Temporary energy burst through nav) */
.glass-nav.shockwave::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 30px #fff;
    animation: rippleEnergy 0.8s ease-out forwards;
}

@keyframes rippleEnergy {
    0% { width: 0; left: 50%; opacity: 1; }
    100% { width: 100%; left: 0%; opacity: 0; }
}

/* ==========================================
   PREMIUM IMAGE MODAL
   ========================================== */
.glass-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    perspective: 2000px;
    /* Crucial for 3D extreme pop out */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.glass-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep space gradient focusing the center */
    background: radial-gradient(circle at center, rgba(13, 15, 26, 0.7) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.glass-modal.active .modal-backdrop {
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    padding: 6px;
    background: transparent;
    z-index: 1001;

    /* Extreme 3D Spring Setup */
    transform-style: preserve-3d;
    transform: scale(0.2) rotateX(60deg) rotateY(-40deg) translateZ(-800px);
    opacity: 0;

    /* Super snappy dramatic pop */
    transition: transform 1.2s cubic-bezier(0.16, 1.08, 0.38, 1.2), opacity 0.8s ease;
}

.glass-modal.active .modal-content {
    /* Explode into perfect center */
    transform: scale(1) rotateX(0deg) rotateY(0deg) translateZ(0);
    opacity: 1;
}

/* Insane Animated Neon Border Wrapper */
.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: conic-gradient(from 0deg, transparent 0%, var(--accent-1) 25%, transparent 50%, var(--accent-3) 75%, transparent 100%);
    animation: spinBorder 4s linear infinite;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    /* Bleeds out to form a crazy aura */
    transition: opacity 1s ease 0.6s;
    /* Fades in after the pop happens */
}

/* A second sharper border on top of the blurred one */
.modal-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: conic-gradient(from 0deg, transparent 0%, var(--accent-1) 25%, transparent 50%, var(--accent-3) 75%, transparent 100%);
    animation: spinBorder 4s linear infinite reverse;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease 0.6s;
}

.glass-modal.active .modal-content::before,
.glass-modal.active .modal-content::after {
    opacity: 1;
}

@keyframes spinBorder {
    100% {
        transform: rotate(360deg);
    }
}

.modal-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 0 100px rgba(109, 40, 217, 0.6), 0 0 50px rgba(56, 189, 248, 0.4);
}

.modal-image-wrapper img {
    max-width: 100%;
    max-height: calc(90vh - 40px);
    object-fit: contain;
    display: block;

    /* Internal blinding flash that settles */
    filter: brightness(5) blur(20px) contrast(200%);
    transform: scale(1.4);
    transition: filter 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.glass-modal.active .modal-image-wrapper img {
    filter: brightness(1) blur(0px) contrast(100%);
    transform: scale(1);
    /* Subtle breathing hologram effect over time */
    animation: hologramGlitches 6s infinite alternate 1.5s;
}

@keyframes hologramGlitches {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
        transform: rotateY(0deg) scale(1);
    }

    100% {
        filter: drop-shadow(0 0 20px var(--accent-1));
        transform: rotateY(2deg) scale(1.01);
    }
}

.close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1002;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

.glass-modal.active .close-btn {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.8s;
    /* Pops in after the modal settles */
}

.close-btn:hover {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    transform: scale(1.2) rotate(90deg);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 1), inset 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Responsiveness intentionally disabled per user request to enforce Premium Desktop View everywhere */

/* ==========================================
   FIXED 3D ASSISTANT COMPONENT
   ========================================== */
.assistant-fixed-wrapper {
    position: fixed;
    bottom: -20px;
    /* Hide her feet slightly */
    right: 20px;
    /* Moved to Right Side */
    width: 400px;
    height: 400px;
    z-index: 9999;
    /* Always on top */
    pointer-events: none;
    /* Let clicks pass through empty space */

    /* Initial state before loader finishes */
    opacity: 0;
    transition: opacity 1.5s ease 0.5s;
}

/* Class added via JS after the loader finishes */
.assistant-fixed-wrapper.active {
    opacity: 1;
}

/* The actual WebGL canvas container inside the wrapper */
.webgl-assistant-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    /* Re-enable pointer events for the 3D model interaction */
    cursor: grab;
}

.webgl-assistant-container:active {
    cursor: grabbing;
}

/* Thought Bubble Trail (Cartoon Style) */
.thought-trail-1, .thought-trail-2, .thought-trail-3 {
    position: absolute;
    background: rgba(14, 165, 233, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.5);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    z-index: 9999;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thought-trail-1 { width: 10px; height: 10px; bottom: 180px; right: 90px; }
.thought-trail-2 { width: 18px; height: 18px; bottom: 205px; right: 65px; }
.thought-trail-3 { width: 30px; height: 30px; bottom: 235px; right: 40px; }

/* Entrance Delays for Sequenced 'Thinking' Feel */
.assistant-fixed-wrapper.active .thought-trail-1 { opacity: 1; transform: scale(1); transition-delay: 0.2s; }
.assistant-fixed-wrapper.active .thought-trail-2 { opacity: 1; transform: scale(1); transition-delay: 0.4s; }
.assistant-fixed-wrapper.active .thought-trail-3 { opacity: 1; transform: scale(1); transition-delay: 0.6s; }

/* Glassmorphic AI Assistant Speech Bubble */
.assistant-speech-bubble {
    position: absolute;
    bottom: 270px; /* Higher to clear the trail */
    right: 20px;
    background: rgba(13, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    width: 320px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(14, 165, 233, 0.1);
    z-index: 10000;

    /* Cinematic Initial State (Small bubble at head level) */
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

/* Entrance Trigger */
.assistant-fixed-wrapper.active .assistant-speech-bubble {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    transition-delay: 0.9s; /* Sprout after the trail finishes */
}

.assistant-speech-bubble p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e2e8f0;
}

/* Neural Link Status UI */
.assistant-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.assistant-name {
    font-size: 0.65rem;
    font-family: 'Monaco', monospace;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.neural-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-3);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-3);
    animation: statusPulse 2s infinite ease-in-out;
}

.status-text {
    font-size: 0.6rem;
    font-family: 'Monaco', monospace;
    color: var(--accent-3);
    letter-spacing: 1px;
}

/* Offline/Error State */
.neural-status.offline .status-dot {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.neural-status.offline .status-text {
    color: #ef4444;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.ai-thinking {
    display: flex;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.ai-thinking span {
    width: 6px;
    height: 6px;
    background: var(--accent-3);
    border-radius: 50%;
    display: inline-block;
    animation: bounceThinking 1.4s infinite ease-in-out both;
}

@keyframes bounceThinking {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1.0); opacity: 1; }
}

.assistant-input-group {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.assistant-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.assistant-input-group button {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

/* Beautiful Error State for Assistant */
.assistant-speech-bubble.is-error {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.2), inset 0 0 20px rgba(239, 68, 68, 0.1);
    animation: errorPulseBubble 2s infinite ease-in-out, errorShakeOnce 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.assistant-speech-bubble.is-error #assistantText {
    color: #f87171;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

@keyframes errorPulseBubble {
    0%, 100% { border-color: rgba(239, 68, 68, 0.4); }
    50% { border-color: rgba(239, 68, 68, 0.8); box-shadow: 0 20px 60px rgba(239, 68, 68, 0.3), inset 0 0 25px rgba(239, 68, 68, 0.15); }
}

@keyframes errorShakeOnce {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* ==========================================
   FRONTIER HUD & SPATIAL UPGRADES
   ========================================== */
.hud-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 2s ease 1s;
}

.alex-loader.fly-to-header ~ .hud-container {
    opacity: 1;
}

.hud-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(14, 165, 233, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hud-scanline {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(14, 165, 233, 0.05), transparent);
    animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
    from { top: -100px; }
    to { top: 100%; }
}

/* HUD Corners */
.hud-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.hud-corner.top-left { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.hud-corner.top-right { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.hud-corner.bottom-left { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.hud-corner.bottom-right { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* HUD Telemetry */
.hud-telemetry {
    position: absolute;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.65rem;
    color: rgba(14, 165, 233, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hud-row { margin-bottom: 2px; }
.hud-label { opacity: 0.6; }
.hud-value { color: rgba(255, 255, 255, 0.7); }

.top-left-data { top: 60px; left: 25px; }
.top-right-data { top: 60px; right: 25px; text-align: right; }
.bottom-left-data { bottom: 60px; left: 25px; }
.bottom-right-data { bottom: 60px; right: 25px; text-align: right; }

.hud-value.pulse {
    animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
    0%, 100% { color: #fff; text-shadow: 0 0 10px var(--accent-3); }
    50% { color: rgba(14, 165, 233, 0.5); text-shadow: none; }
}

/* SPATIAL ASSEMBLY (Enhanced Fade-Up) */
.fade-up {
    opacity: 0;
    transform: perspective(2000px) translate3d(0, 100px, -600px) rotateX(15deg);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
    transform-style: preserve-3d;
}

.fade-up.visible {
    opacity: 1;
    transform: perspective(2000px) translate3d(0, 0, 0) rotateX(0deg);
}

/* Gravitational Lensing Target */
#galaxy.eclipse-active {
    filter: url(#lensingFilter);
    transition: filter 2s ease;
}

/* KINETIC SHOCKWAVE RIPPLE */
.shockwave-ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: expandRipple 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 9998;
}

@keyframes expandRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(14, 165, 233, 0.1);
        border-color: rgba(14, 165, 233, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(14, 165, 233, 0.2), inset 0 0 20px rgba(14, 165, 233, 0.3);
        border-color: rgba(14, 165, 233, 0.6);
    }
}
