/* Anime-Style Logo Animations */
.anime-logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    overflow: hidden;
}

.anime-logo {
    width: 200px;
    height: 200px;
    position: relative;
    animation: 
        animeLogoFloat 4s ease-in-out infinite,
        animeLogoGlow 6s ease-in-out infinite,
        animeLogoScale 30s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.anime-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
    animation-play-state: paused;
}

/* Main 30-second animation cycle */
@keyframes animeLogoScale {
    0% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.05) rotate(18deg); }
    20% { transform: scale(0.95) rotate(36deg); }
    30% { transform: scale(1.1) rotate(54deg); }
    40% { transform: scale(0.9) rotate(72deg); }
    50% { transform: scale(1.15) rotate(90deg); }
    60% { transform: scale(0.85) rotate(108deg); }
    70% { transform: scale(1.2) rotate(126deg); }
    80% { transform: scale(0.8) rotate(144deg); }
    90% { transform: scale(1.25) rotate(162deg); }
    100% { transform: scale(1) rotate(180deg); }
}

@keyframes animeLogoFloat {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(5px); }
    75% { transform: translateY(-5px); }
}

@keyframes animeLogoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    }
    25% { 
        filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.7));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.9));
    }
    75% { 
        filter: drop-shadow(0 0 35px rgba(255, 204, 2, 0.8));
    }
}

/* Business Tagline Styling */
.business-tagline {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #ff6b35, #ffcc02, #00d4ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    animation: 
        animeTextGradient 3s ease-in-out infinite,
        animeTextPulse 2s ease-in-out infinite,
        animeTextFloat 4s ease-in-out infinite;
}

.business-tagline::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #00d4ff, #ff6b35, #ffcc02, #00d4ff);
    background-size: 300% 300%;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    animation: animeTextGradient 3s ease-in-out infinite;
    filter: blur(10px);
}

@keyframes animeTextGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes animeTextFloat {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(3px); }
}

/* Company Name Styling */
.company-name {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 1rem 0;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 20px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(0, 212, 255, 0.1);
    animation: animeCompanyGlow 4s ease-in-out infinite;
}

@keyframes animeCompanyGlow {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(0, 212, 255, 0.5),
            0 0 20px rgba(0, 212, 255, 0.3),
            0 0 30px rgba(0, 212, 255, 0.1);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(0, 212, 255, 0.8),
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 40px rgba(0, 212, 255, 0.4);
    }
}

/* Particle Effects */
.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: radial-gradient(circle, #00ffff 0%, transparent 70%);
    border-radius: 50%;
    animation: animeParticleFloat 8s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }

@keyframes animeParticleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0vh) scale(0);
        opacity: 0;
    }
}

/* Energy Waves */
.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%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: animeEnergyWave 4s ease-out infinite;
}

.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 animeEnergyWave {
    0% {
        width: 0px;
        height: 0px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .anime-logo {
        width: 150px;
        height: 150px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .business-tagline {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .anime-logo {
        width: 120px;
        height: 120px;
    }
    
    .company-name {
        font-size: 1.6rem;
    }
    
    .business-tagline {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}

/* Special Effects for Anime Style */
.anime-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 255, 255, 0.1) 90deg,
        transparent 180deg,
        rgba(255, 107, 53, 0.1) 270deg,
        transparent 360deg
    );
    animation: animeBackgroundRotate 20s linear infinite;
    z-index: -1;
}

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

/* Hover Effects */
.anime-logo-container:hover .business-tagline {
    animation-play-state: paused;
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.anime-logo-container:hover .company-name {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Loading Animation */
.anime-logo-loading {
    animation: animeLogoLoading 2s ease-in-out;
}

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