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

:root {
    --primary: #00ff88;
    --secondary: #1a1a2e;
    --accent: #16213e;
}

* {
    font-family: 'Poppins', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-border {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.5);
    }
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.skill-bar {
    background: rgba(0, 255, 136, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    background: linear-gradient(90deg, #00ff88, #00ccff);
    height: 100%;
    transition: width 2s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-background {
    background: url('../images/background_1.webp') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    animation: pan 20s ease-in-out infinite;
}

@keyframes pan {
    0% {
        background-position: center 0%;
    }
    50% {
        background-position: center 100%;
    }
    100% {
        background-position: center 0%;
    }
}

.section-background {
    position: relative;
    overflow: hidden;
}

.section-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
    z-index: 1;
}

.section-background > * {
    position: relative;
    z-index: 2;
}



/* Responsive Design */
@media (max-width: 768px) {
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .text-8xl {
        font-size: 3rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc6a;
}

/* QR Code Toggle Styles */
.qr-toggle-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    transform: rotate(0deg);
}

.qr-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.5);
}

.qr-toggle-btn.active {
    transform: rotate(180deg);
}

.qr-code-container {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.qr-code-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.qr-code-container.slide-down {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}