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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8533;
}

/* Lightning Flash Effects */
.lightning-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lightning-bolt {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #FFD700, #FF6B00, #FFD700, transparent);
    opacity: 0;
    filter: blur(1px);
    box-shadow: 0 0 10px #FF6B00, 0 0 20px #FFD700, 0 0 40px #FF6B00;
}

.lightning-bolt:nth-child(1) {
    height: 60%;
    left: 20%;
    top: -10%;
    transform: rotate(15deg);
    animation: flash 3s infinite;
    animation-delay: 0s;
}

.lightning-bolt:nth-child(2) {
    height: 80%;
    right: 25%;
    top: -5%;
    transform: rotate(-20deg);
    animation: flash 4s infinite;
    animation-delay: 1.5s;
}

.lightning-bolt:nth-child(3) {
    height: 50%;
    left: 35%;
    top: 20%;
    transform: rotate(25deg);
    animation: flash 2.5s infinite;
    animation-delay: 0.8s;
}

.lightning-bolt:nth-child(4) {
    height: 70%;
    right: 15%;
    top: 10%;
    transform: rotate(-10deg);
    animation: flash 3.5s infinite;
    animation-delay: 2s;
}

.lightning-bolt:nth-child(5) {
    height: 45%;
    left: 10%;
    top: 30%;
    transform: rotate(35deg);
    animation: flash 5s infinite;
    animation-delay: 0.5s;
}

.lightning-bolt:nth-child(6) {
    height: 55%;
    right: 35%;
    top: 15%;
    transform: rotate(-30deg);
    animation: flash 2.8s infinite;
    animation-delay: 1.2s;
}

@keyframes flash {
    0%, 90%, 100% {
        opacity: 0;
        transform: scaleY(0.8) rotate(var(--rotation, 0deg));
    }
    5%, 15% {
        opacity: 0.3;
        transform: scaleY(1) rotate(var(--rotation, 0deg));
    }
    10% {
        opacity: 1;
        transform: scaleY(1.1) rotate(var(--rotation, 0deg));
    }
}

/* Electric Glow Background */
.electric-glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 107, 0, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    animation: electricPulse 4s ease-in-out infinite;
}

@keyframes electricPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Spark Effects */
.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 10px #FF6B00, 0 0 20px #FFD700;
    animation: sparkFly 3s linear infinite;
}

.spark:nth-child(1) { left: 30%; top: 40%; animation-delay: 0s; }
.spark:nth-child(2) { left: 70%; top: 30%; animation-delay: 0.5s; }
.spark:nth-child(3) { left: 45%; top: 60%; animation-delay: 1s; }
.spark:nth-child(4) { left: 60%; top: 25%; animation-delay: 1.5s; }
.spark:nth-child(5) { left: 25%; top: 55%; animation-delay: 2s; }
.spark:nth-child(6) { left: 80%; top: 45%; animation-delay: 2.5s; }

@keyframes sparkFly {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(10px, -10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translate(-20px, -40px) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-30px, -60px) scale(0);
    }
}

/* Energy Core Effect */
.energy-core {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: corePulse 2s ease-in-out infinite;
    filter: blur(20px);
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}
/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(255, 107, 0, 0.3);
    color: white;
}

/* Custom Animations */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text stroke for highlights */
.text-stroke {
    -webkit-text-stroke: 1px rgba(255, 107, 0, 0.3);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

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

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    background-size: 1000px 100%;
}

/* WhatsApp pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse {
    animation: whatsapp-pulse 2s infinite;
}

/* Responsive typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Prevent text selection on UI elements */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 2px solid #FF6B00;
    outline-offset: 2px;
}
/* Custom transition for buttons */
.btn-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo hover effect */
.logo-hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
/* Gradient border animation */
.gradient-border {
    position: relative;
    background: linear-gradient(to right, #1a1a1a, #1a1a1a);
    background-clip: padding-box;
    border: 2px solid transparent;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(to right, #FF6B00, #FFD700);
}
/* Logo styling - sem animação */
.logo-float {
    filter: drop-shadow(0 10px 30px rgba(255, 107, 0, 0.3)) drop-shadow(0 5px 15px rgba(255, 215, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-float:hover {
    filter: drop-shadow(0 15px 40px rgba(255, 107, 0, 0.5)) drop-shadow(0 8px 25px rgba(255, 215, 0, 0.3));
    transform: scale(1.05);
}
