@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Neon Text Effects */
.neon-text {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor;
    }
    to {
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor;
    }
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid #06b6d4;
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #06b6d4 }
}

/* 3D Button Effects */
.cta-button-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 25px rgba(6, 182, 212, 0.3),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}

.cta-button-3d:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(6, 182, 212, 0.4);
}

/* Holographic Card */
.holographic-card {
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.holographic-card:hover .card-3d-inner {
    transform: rotateY(180deg);
}

.card-3d-front, .card-3d-back {
    backface-visibility: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-3d-back {
    transform: rotateY(180deg);
}

/* Skill Orbs */
.skill-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-orb::before {
    content: attr(data-skill);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.skill-orb:hover::before {
    opacity: 1;
    bottom: -40px;
}

.skill-orb:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(6, 182, 212, 0.4);
}

/* Cube Carousel */
.cube-carousel {
    perspective: 1200px;
}

.cube-container {
    transform-style: preserve-3d;
    animation: cube-rotate 20s infinite linear;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cube-front { transform: translateZ(128px); }
.cube-back { transform: translateZ(-128px) rotateY(180deg); }
.cube-right { transform: rotateY(90deg) translateZ(128px); }

@keyframes cube-rotate {
    0% { transform: rotateY(0deg); }
    33% { transform: rotateY(120deg); }
    66% { transform: rotateY(240deg); }
    100% { transform: rotateY(360deg); }
}

/* 3D Project Cards */
.project-card-3d {
    perspective: 1000px;
    height: 300px;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.project-card-3d:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front, .project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.project-card-back {
    transform: rotateY(180deg);
    overflow-y: auto;
}

.tech-badge {
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-link {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #8b5cf6;
    text-shadow: 0 0 10px #8b5cf6;
}

/* Glassmorphism Form */
.glassmorphism-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Social Orbs */
.social-orbs {
    perspective: 1000px;
}

.social-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.social-orb::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #06b6d4, #8b5cf6, #06b6d4);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-orb:hover::before {
    opacity: 1;
}

.social-orb.linkedin:hover {
    background: #0077b5;
    transform: translateZ(20px);
}

.social-orb.github:hover {
    background: #333;
    transform: translateZ(20px);
}

.social-orb.email:hover {
    background: #ea4335;
    transform: translateZ(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .cube-container {
        transform: scale(0.8);
    }
    
    .skill-orb {
        width: 60px;
        height: 60px;
    }
    
    .social-orb {
        width: 60px;
        height: 60px;
    }
}
/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.6); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }
    50% { 
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5); }
}

@keyframes slide-in-left {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 0.7; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Floating Animation for Hero Elements */
.hero-content h1 {
    animation: float 6s ease-in-out infinite;
}

.hero-content h2 {
    animation: float 4s ease-in-out infinite 1s;
}

.hero-content p {
    animation: float 5s ease-in-out infinite 0.5s;
}

/* Enhanced Skill Orbs Animation */
.skill-orb {
    animation: float 3s ease-in-out infinite;
}

.skill-orb:nth-child(even) {
    animation-delay: 0.5s;
}

.skill-orb:nth-child(odd) {
    animation-delay: 1s;
}

/* Pulse Glow for CTA Buttons */
.cta-button-3d {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Holographic Card */
.holographic-card {
    animation: float 4s ease-in-out infinite;
}

/* Cube Animation Enhancement */
.cube-container {
    animation: cube-rotate 20s infinite linear, float 8s ease-in-out infinite;
}

/* Project Cards Hover Enhancement */
.project-card-3d {
    transition: transform 0.3s ease;
}

.project-card-3d:hover {
    transform: translateY(-10px);
}

/* Social Orbs Animation */
.social-orb {
    animation: float 3s ease-in-out infinite;
}

.social-orb:nth-child(1) { animation-delay: 0s; }
.social-orb:nth-child(2) { animation-delay: 0.5s; }
.social-orb:nth-child(3) { animation-delay: 1s; }

/* Form Input Animations */
.glassmorphism-form input,
.glassmorphism-form textarea {
    transition: all 0.3s ease;
}

.glassmorphism-form input:focus,
.glassmorphism-form textarea:focus {
    animation: glow 1.5s ease-in-out infinite;
}

/* Text Shimmer Effect */
.shimmer-text {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.3) 50%, 
        transparent 100%);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite linear;
}

/* Bounce Animation for Interactive Elements */
.bounce-on-hover:hover {
    animation: bounce-in 0.6s ease;
}

/* Slide-in Animations */
.slide-in-left {
    animation: slide-in-left 1s ease-out;
}

.slide-in-right {
    animation: slide-in-right 1s ease-out;
}

/* Particle Animation */
@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -15px) rotate(120deg); }
    66% { transform: translate(-10px, 15px) rotate(240deg); }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #06b6d4;
    border-radius: 50%;
    animation: particle-float 6s ease-in-out infinite;
}

/* Enhanced Neon Text */
.enhanced-neon {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
}

/* Loading Bar Animation */
@keyframes loading-bar {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

.loading-bar {
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #06b6d4);
    animation: loading-bar 2s ease-in-out infinite;
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ripple 0.6s linear;
}
/* Background Video */
#background-video {
    filter: brightness(0.8) contrast(1.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
}
