/* 🚀 FUTURISTIC PORTFOLIO ENHANCEMENTS 🚀 */

/* ===== CUSTOM CURSOR ENHANCEMENTS ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00FFF0, #FF00FF, #00FF00);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    box-shadow: 0 0 20px #00FFF0, 0 0 40px #00FFF0, 0 0 60px #00FFF0;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 255, 240, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    backdrop-filter: blur(2px);
}

.cursor-hover .cursor-outline {
    transform: scale(1.5);
    border-color: #FF00FF;
    box-shadow: 0 0 20px #FF00FF;
}

.cursor-click .cursor-dot {
    transform: scale(0.5);
    background: #FF00FF;
}

/* ===== GLASSMORPHISM & NEON EFFECTS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 240, 0.3);
    box-shadow: 
        0 15px 40px 0 rgba(0, 255, 240, 0.2),
        0 0 30px rgba(0, 255, 240, 0.1);
}

.neon-text {
    color: #00FFF0;
    text-shadow: 
        0 0 5px #00FFF0,
        0 0 10px #00FFF0,
        0 0 20px #00FFF0,
        0 0 40px #00FFF0;
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 
            0 0 5px #00FFF0,
            0 0 10px #00FFF0,
            0 0 20px #00FFF0,
            0 0 40px #00FFF0;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.neon-border {
    border: 2px solid #00FFF0;
    box-shadow: 
        0 0 10px #00FFF0,
        inset 0 0 10px rgba(0, 255, 240, 0.1);
    animation: neon-border-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-border-pulse {
    from {
        box-shadow: 
            0 0 10px #00FFF0,
            inset 0 0 10px rgba(0, 255, 240, 0.1);
    }
    to {
        box-shadow: 
            0 0 20px #00FFF0,
            0 0 30px #00FFF0,
            inset 0 0 20px rgba(0, 255, 240, 0.2);
    }
}

/* ===== ENHANCED HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300FFF0" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.hero-3d-name h1 {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(45deg, #00FFF0, #FF00FF, #00FF00, #FFFF00);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    letter-spacing: 0.1em;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-3d-name .text-glow {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #00FFF0, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.7;
    z-index: 1;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from { filter: blur(10px); opacity: 0.7; }
    to { filter: blur(20px); opacity: 0.3; }
}

/* ===== TYPEWRITER ENHANCEMENT ===== */
.typed-container {
    font-size: 2rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.typed-text {
    color: #00FFF0;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    position: relative;
}

.cursor {
    color: #FF00FF;
    font-weight: 100;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-tech-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 255, 240, 0.6);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-tech-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-tech-icon:nth-child(2) { top: 30%; right: 15%; animation-delay: 1s; }
.floating-tech-icon:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 2s; }
.floating-tech-icon:nth-child(4) { bottom: 35%; right: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
    position: relative;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(45deg, #00FFF0, #0080FF);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 240, 0.5);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.7);
}

.secondary-btn {
    border: 2px solid #00FFF0;
    color: #00FFF0;
    background: transparent;
}

.secondary-btn:hover {
    background: #00FFF0;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.5);
}

/* ===== PROJECT CARDS ENHANCEMENT ===== */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 240, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 240, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: #00FFF0;
    box-shadow: 
        0 20px 40px rgba(0, 255, 240, 0.2),
        0 0 30px rgba(0, 255, 240, 0.1);
}

/* ===== SKILLS SECTION ENHANCEMENT ===== */
.skill-bar {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00FFF0, #FF00FF, #00FF00);
    background-size: 200% 100%;
    border-radius: 10px;
    position: relative;
    animation: skill-glow 2s ease-in-out infinite alternate;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skill-shine 2s infinite;
}

@keyframes skill-glow {
    from { box-shadow: 0 0 5px rgba(0, 255, 240, 0.5); }
    to { box-shadow: 0 0 15px rgba(0, 255, 240, 0.8); }
}

@keyframes skill-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== CONTACT FORM ENHANCEMENT ===== */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 240, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.form-group {
    position: relative;
    margin: 2rem 0;
}

.form-control {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 255, 240, 0.3);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-bottom-color: #00FFF0;
    box-shadow: 0 2px 10px rgba(0, 255, 240, 0.3);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -25px;
    font-size: 0.9rem;
    color: #00FFF0;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-3d-name h1 {
        font-size: 3rem;
    }
    
    .typed-container {
        font-size: 1.5rem;
    }
    
    .cursor-outline {
        width: 30px;
        height: 30px;
    }
    
    .floating-tech-icon {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ===== DARK THEME ENHANCEMENTS ===== */
body {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== PARTICLE ANIMATION ENHANCEMENT ===== */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #00FFF0 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-float 10s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Generate multiple particle sizes and positions */
.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; animation-duration: 12s; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; animation-duration: 10s; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; animation-duration: 9s; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; animation-duration: 11s; animation-delay: 4s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 60%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; animation-duration: 8s; animation-delay: 6s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-duration: 10s; animation-delay: 7s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; animation-duration: 12s; animation-delay: 8s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 15%; animation-duration: 9s; animation-delay: 9s; }
