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

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes waveform {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/*==================================================
  ELEMENT ANIMATIONS
==================================================*/
.floating {
    animation: float 6s ease-in-out infinite;
}

.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.slide-down {
    animation: slideDown 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/*==================================================
  LOGO ANIMATIONS
==================================================*/
.animate-logo {
    animation: logoAnimation 6s ease-in-out infinite;
}

@keyframes logoAnimation {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        filter: drop-shadow(0 0 15px rgba(255, 140, 66, 0.4));
    }
    25% { 
        transform: translateY(-15px) rotate(5deg); 
        filter: drop-shadow(0 0 20px rgba(255, 140, 66, 0.6));
    }
    75% { 
        transform: translateY(15px) rotate(-5deg); 
        filter: drop-shadow(0 0 20px rgba(255, 140, 66, 0.6));
    }
}

/*==================================================
  HOVER ANIMATIONS
==================================================*/
.hover-scale {
    transition: transform 0.3s ease;
}

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

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

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.4);
}

/*==================================================
  PAGE TRANSITIONS
==================================================*/
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition-exit {
    opacity: 1;
    transform: translateY(0);
}

.page-transition-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/*==================================================
  MUSIC ANIMATIONS
==================================================*/
.music-waveform {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar {
    width: 12px;
    background: var(--accent-color);
    border-radius: 6px;
    animation: waveform 1.5s ease-in-out infinite;
}

.bar:nth-child(1) { animation-delay: 0.1s; height: 60%; }
.bar:nth-child(2) { animation-delay: 0.2s; height: 80%; }
.bar:nth-child(3) { animation-delay: 0.3s; height: 100%; }
.bar:nth-child(4) { animation-delay: 0.4s; height: 80%; }
.bar:nth-child(5) { animation-delay: 0.5s; height: 60%; }

/*==================================================
  SCROLL ANIMATIONS
==================================================*/
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*==================================================
  LOADING ANIMATIONS
==================================================*/
.loading-dots:after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/*==================================================
 SCROLL INDICATOR
==================================================*/
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
 }
 
 .scroll-indicator.hidden {
    opacity: 0;
 }
 
 .scroll-indicator span {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 140, 66, 0.3);
 }
 
 .scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-color) 50%, transparent 50%);
    background-size: 100% 40px;
    background-repeat: repeat-y;
    animation: scrollLine 2s infinite;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.2);
 }
 
 @keyframes scrollLine {
    0% {
        background-position: 0 40px;
    }
    100% {
        background-position: 0 0;
    }
 }
 
 @media (max-width: 768px) {
    .scroll-indicator {
        bottom: 80px;
    }
    
    .scroll-line {
        height: 40px;
    }
 }