
/* Custom Properties */
:root {
    --primary: #00F5FF;
    --secondary: #FF00FF;
    --accent: #00FF88;
    --dark-bg: #0A0A0A;
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: white;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow-text {
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from { text-shadow: 0 0 20px rgba(0, 245, 255, 0.3); }
    to { text-shadow: 0 0 30px rgba(255, 0, 255, 0.3); }
}

/* Floating Badge */
.floating-badge {
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

/* Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg) translateZ(10px);
}

/* Neon Border */
.neon-border {
    position: relative;
    overflow: hidden;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* animation: border-rotate 3s linear infinite; */
}

.neon-border:hover::before {
    opacity: 0.3;
}

@keyframes border-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skill Pills */
.skill-pill {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(255, 0, 255, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Project Cards */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 245, 255, 0.25);
}

/* Timeline Dots */
.timeline-dot {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.5);
}

/* Navigation Links */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: left 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Back to Top */
#back-to-top {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
}

#back-to-top:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Pulse Glow */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 20px rgba(0, 245, 255, 0.2); }
    to { box-shadow: 0 0 40px rgba(0, 245, 255, 0.4); }
}

/* Responsive */
@media (max-width: 768px) {
    .floating { animation: none; }
    .floating-badge { display: none; }
    .tilt-card:hover { transform: none; }
    .glow-text { animation: none; }
}

/* Particle Canvas */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Theme Toggle */
#theme-toggle {
    transition: transform 0.5s ease;
}

#theme-toggle:hover {
    transform: rotate(180deg);
}