/* Custom CSS for 神马影视-高清影院 */

:root {
    --gold: #d4af37;
    --gold-light: #f9e29b;
    --black-gold: #1a1a1a;
    --body-bg: #0a0a0a;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 10px;
}

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

/* Gold Text Gradient */
.gold-text-gradient {
    background: linear-gradient(to right, #d4af37, #f9e29b, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gold Gradient Background */
.gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f9e29b 50%, #d4af37 100%);
}

/* Gold Border */
.gold-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Gold Shadow */
.gold-shadow {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Movie Card Hover Effect */
.movie-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.movie-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Nav Link Hover Effect */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #d4af37, #f9e29b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #d4af37;
}

.nav-link.active::after {
    width: 100%;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Responsive Grid Adjustments */
@media (max-width: 640px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}
