/* Megakino Custom Styles - Colorful Fonts & Modern Design */

/* Custom Font Families */
.font-orbitron {
    font-family: 'Orbitron', monospace;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Gradient text animations */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-text-animated {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* Navigation enhancements */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
}

/* Button enhancements */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Text shadow enhancements */
.text-shadow-glow {
    text-shadow: 
        0 0 10px rgba(147, 51, 234, 0.5),
        0 0 20px rgba(147, 51, 234, 0.3),
        0 0 30px rgba(147, 51, 234, 0.2);
}

/* Colorful headings */
.heading-rainbow {
    background: linear-gradient(45deg, 
        #ff0000, #ff7f00, #ffff00, #00ff00, 
        #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

/* Section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff6b6b, 
        #4ecdc4, 
        #45b7d1, 
        #96ceb4, 
        #ffeaa7, 
        transparent);
    margin: 3rem 0;
}

/* Image enhancements */
.image-glow {
    filter: drop-shadow(0 10px 20px rgba(138, 43, 226, 0.3));
    transition: all 0.3s ease;
}

.image-glow:hover {
    filter: drop-shadow(0 15px 30px rgba(138, 43, 226, 0.5));
    transform: scale(1.05);
}

/* Loading animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(147, 51, 234, 0.8);
    }
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b6b, #4ecdc4);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff5252, #26c6da);
}

/* Mobile responsiveness enhancements */
@media (max-width: 768px) {
    .mobile-text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    .mobile-spacing {
        padding: 1rem;
    }
    
    .mobile-gradient-text {
        background-size: 200% 200%;
    }
}

/* Interactive elements */
.interactive-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-hover:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(147, 51, 234, 0.3);
}

/* Background patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

/* Content shadows */
.content-shadow {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Floating elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Typography enhancements */
.typography-enhanced {
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Neon effects */
.neon-glow {
    color: #fff;
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px #ff6b6b,
        0 0 30px #ff6b6b,
        0 0 40px #ff6b6b;
}

/* Border animations */
@keyframes border-flow {
    0%, 100% {
        border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4) 1;
    }
    25% {
        border-image: linear-gradient(45deg, #4ecdc4, #45b7d1, #96ceb4, #ff6b6b) 1;
    }
    50% {
        border-image: linear-gradient(45deg, #45b7d1, #96ceb4, #ff6b6b, #4ecdc4) 1;
    }
    75% {
        border-image: linear-gradient(45deg, #96ceb4, #ff6b6b, #4ecdc4, #45b7d1) 1;
    }
}

.border-animated {
    border: 2px solid;
    animation: border-flow 4s linear infinite;
}

/* Glass morphism effects */
.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Particle effects background */
.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(147, 51, 234, 0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(59, 130, 246, 0.3), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    animation: particles-move 20s linear infinite;
    pointer-events: none;
}

@keyframes particles-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100px, -100px);
    }
}

/* Custom focus states */
.focus-enhanced:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(147, 51, 234, 0.5),
        0 0 20px rgba(147, 51, 234, 0.3);
}

/* Success/Error states */
.status-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), transparent);
}

.status-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), transparent);
}
