/* Base Styles */
body { 
    background-color: #050505; 
    color: #fff; 
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(10, 16, 13, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(57, 255, 20, 0.2);
}

/* Neon Border Hover Effect */
.neon-border-hover:hover {
    border-color: #39FF14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

/* Text Glow Effect */
.text-glow { 
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.7); 
}

/* Scroll Reveal Animation */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Custom Scrollbar */
::-webkit-scrollbar { 
    width: 8px; 
}

::-webkit-scrollbar-track { 
    background: #050505; 
}

::-webkit-scrollbar-thumb { 
    background: #39FF14; 
    border-radius: 4px; 
}

/* Flash/Lightning Effects */
.flash-icon {
    animation: flash-pulse 1.5s ease-in-out infinite;
}

@keyframes flash-pulse {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 5px #39FF14);
    }
    50% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 20px #39FF14);
    }
}

.lightning-bolt {
    animation: lightning-flash 2s ease-in-out infinite;
}

@keyframes lightning-flash {
    0%, 90%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    92%, 94%, 96% {
        opacity: 1;
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px #39FF14);
    }
    93%, 95% {
        opacity: 0.5;
    }
}

/* Glowing Button Effects */
.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(57, 255, 20, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: glow-sweep 3s ease-in-out infinite;
}

@keyframes glow-sweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Sparkle Effect */
.sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Electric Border Effect */
.electric-border {
    position: relative;
    overflow: hidden;
}

.electric-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    background: linear-gradient(90deg, #39FF14, #00FF88, #39FF14) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: electric-move 3s linear infinite;
}

@keyframes electric-move {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Floating Animation Enhancement */
.floating-enhanced {
    animation: floating-enhanced 4s ease-in-out infinite;
}

@keyframes floating-enhanced {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

/* Professional Card Hover */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.3);
}

/* Neon Text Stroke */
.neon-text-stroke {
    -webkit-text-stroke: 1px #39FF14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Progress Bar Animation */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Button Shine Effect */
.button-shine {
    position: relative;
    overflow: hidden;
}

.button-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: button-shine 3s infinite;
}

@keyframes button-shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .responsive-text {
        font-size: 0.875rem;
    }
}

/* Loading Animation */
.loading-pulse {
    animation: loading-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes loading-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Icon Bounce */
.icon-bounce {
    animation: icon-bounce 2s infinite;
}

@keyframes icon-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Professional Grid Pattern */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #39FF14 0%, #00FF88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}