/* Advanced Anime Visual Effects */

/* Enhanced Particle System */
.anime-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #ff6b35);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: -2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: -3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: -4s;
    animation-duration: 6.5s;
}

.particle:nth-child(6) {
    left: 70%;
    animation-delay: -5s;
    animation-duration: 7.5s;
}

.particle:nth-child(7) {
    left: 80%;
    animation-delay: -6s;
    animation-duration: 8.5s;
}

.particle:nth-child(8) {
    left: 90%;
    animation-delay: -7s;
    animation-duration: 9.5s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Energy Wave Effects */
.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.energy-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyWave 4s infinite ease-out;
}

.energy-wave:nth-child(1) {
    animation-delay: 0s;
}

.energy-wave:nth-child(2) {
    animation-delay: 1s;
}

.energy-wave:nth-child(3) {
    animation-delay: 2s;
}

.energy-wave:nth-child(4) {
    animation-delay: 3s;
}

@keyframes energyWave {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Advanced Glow Effects */
.anime-logo-container {
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.anime-logo-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: auraGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auraGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Holographic Effect */
.anime-logo {
    position: relative;
    filter: hue-rotate(0deg) saturate(1.2) brightness(1.1);
    animation: holographicShift 6s infinite linear;
}

@keyframes holographicShift {
    0% { filter: hue-rotate(0deg) saturate(1.2) brightness(1.1); }
    25% { filter: hue-rotate(90deg) saturate(1.4) brightness(1.2); }
    50% { filter: hue-rotate(180deg) saturate(1.6) brightness(1.3); }
    75% { filter: hue-rotate(270deg) saturate(1.4) brightness(1.2); }
    100% { filter: hue-rotate(360deg) saturate(1.2) brightness(1.1); }
}

/* Matrix-style Digital Rain */
.anime-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 0, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 255, 0, 0.1) 100%);
    background-size: 20px 20px;
    animation: digitalRain 2s infinite linear;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes digitalRain {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Cyberpunk Neon Border */
.company-name {
    position: relative;
    text-shadow: 
        0 0 5px rgba(0, 212, 255, 0.8),
        0 0 10px rgba(0, 212, 255, 0.6),
        0 0 15px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.company-name::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 5px;
    animation: neonBorder 2s ease-in-out infinite alternate;
}

@keyframes neonBorder {
    0% {
        border-color: rgba(0, 212, 255, 0.3);
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    100% {
        border-color: rgba(0, 212, 255, 0.8);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

/* Business Tagline Advanced Effects */
.business-tagline {
    position: relative;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02, #00d4ff);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.business-tagline::before {
    content: 'Boost Your Business';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #00d4ff, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlitch 0.3s infinite;
    opacity: 0;
}

@keyframes textGlitch {
    0%, 90%, 100% { opacity: 0; }
    5%, 85% { opacity: 0.8; transform: translate(2px, 1px); }
    10%, 80% { opacity: 0.6; transform: translate(-1px, -1px); }
    15%, 75% { opacity: 0.4; transform: translate(1px, 2px); }
}

/* Loading Animation */
.anime-logo-loading .anime-logo {
    animation: logoLoad 2s ease-out forwards, logoFloat 4s ease-in-out 2s infinite;
}

@keyframes logoLoad {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .energy-waves {
        width: 200px;
        height: 200px;
    }
    
    .energy-wave {
        width: 60px;
        height: 60px;
    }
    
    @keyframes energyWave {
        0% {
            width: 30px;
            height: 30px;
            opacity: 1;
        }
        100% {
            width: 200px;
            height: 200px;
            opacity: 0;
        }
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .anime-logo-container::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    .energy-waves {
        width: 150px;
        height: 150px;
    }
}