/* Image Optimization and Server Compatibility Fixes */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Force image loading and prevent caching issues */
.lazy-image, .movie-card img, .cast-card-img {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
}

/* Ensure thumbnails display correctly across different servers */
.movie-card img, [alt*="poster"], [alt*="thumbnail"] {
    object-fit: cover;
    object-position: center;
    background-color: #1a1a1a;
    min-height: 200px;
}

/* Premium $50K Website Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Premium glow effects */
@keyframes premium-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
    }
}

/* Premium text reveal animation */
@keyframes text-reveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
        transform: translateY(20px);
    }
    100% {
        clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%);
        transform: translateY(0);
    }
}

/* Premium button hover effects */
@keyframes button-shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Premium card hover effects */
@keyframes card-lift {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes fade-in-delay {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-delay-2 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes kingdom-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
    opacity: 1 !important; /* Ensure visibility by default */
}

.animate-fade-in-delay {
    animation: fade-in-delay 1s ease-out 0.3s forwards;
    opacity: 1 !important; /* Ensure visibility by default */
}

.animate-fade-in-delay-2 {
    animation: fade-in-delay-2 1s ease-out 0.6s forwards;
    opacity: 1 !important; /* Ensure visibility by default */
}

.animate-slide-in-left {
    animation: slide-in-left 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scale-in 0.5s ease-out forwards;
}

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

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

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #000 0%, #141414 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 100%);
    border-radius: 6px;
    border: 2px solid #000;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFC000 0%, #FFD700 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

::-webkit-scrollbar-corner {
    background: #000;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #141414;
}

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

/* Premium $50K Movie Card Hover Effects */
.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: linear-gradient(135deg, #000 0%, #141414 100%);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.movie-card:hover::before {
    opacity: 0;
}

.movie-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
    z-index: 10;
    border-color: rgba(255, 215, 0, 0.3);
    animation: premium-glow 2s ease-in-out infinite;
}

.movie-card img {
    transition: all 0.3s ease;
}

.movie-card:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Premium $50K Navigation Enhancements */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 20, 20, 0.95) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.98) 0%, 
        rgba(20, 20, 20, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(255, 215, 0, 0.3);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

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

/* Premium $50K Button Enhancements */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 50%, #FFD700 100%);
    background-size: 200% 200%;
    border: none;
    color: #000000 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

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

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    color: #000000 !important;
}

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

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    color: #000000 !important;
}

/* Premium secondary button */
.btn-secondary {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

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

.btn-secondary:hover {
    background: #FFD700;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

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

/* Ensure all gold background buttons have black text */
.bg-kingdom-gold,
.bg-gold,
[class*="bg-yellow"],
[class*="bg-amber"] {
    color: #000000 !important;
}

/* Ensure all gold buttons have black text */
button[class*="bg-kingdom-gold"],
button[class*="bg-gold"],
button[class*="bg-yellow"],
button[class*="bg-amber"],
.btn-primary,
.btn-secondary:hover {
    color: #000000 !important;
}

/* Ensure all gold buttons have black text for all states */
button[class*="bg-kingdom-gold"]:hover,
button[class*="bg-gold"]:hover,
button[class*="bg-yellow"]:hover,
button[class*="bg-amber"]:hover,
button[class*="bg-kingdom-gold"]:active,
button[class*="bg-gold"]:active,
button[class*="bg-yellow"]:active,
button[class*="bg-amber"]:active,
button[class*="bg-kingdom-gold"]:focus,
button[class*="bg-gold"]:focus,
button[class*="bg-yellow"]:focus,
button[class*="bg-amber"]:focus {
    color: #000000 !important;
}

/* Additional comprehensive gold button styling */
[style*="background: #FFD700"],
[style*="background: #FFC000"],
[style*="background-color: #FFD700"],
[style*="background-color: #FFC000"],
[style*="background: linear-gradient"][style*="#FFD700"],
[style*="background: linear-gradient"][style*="#FFC000"] {
    color: #000000 !important;
}

/* Ensure any element with gold background has black text */
*[style*="background"][style*="#FFD700"] *,
*[style*="background"][style*="#FFC000"] * {
    color: #000000 !important;
}

/* Force black text on any gold background elements */
.bg-kingdom-gold *,
.bg-gold *,
[class*="bg-yellow"] *,
[class*="bg-amber"] * {
    color: #000000 !important;
}

/* Premium Hero Section Enhancements */
.hero-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%);
    z-index: 2;
    animation: gradient-shift 8s ease-in-out infinite;
}

/* Premium hero text effects */
.hero-title {
    position: relative;
    z-index: 3;
    animation: text-reveal 1.2s ease-out forwards;
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-reveal 1.2s ease-out forwards, gradient-shift 3s ease-in-out infinite;
}

.hero-subtitle {
    position: relative;
    z-index: 3;
    animation: text-reveal 1.2s ease-out 0.3s forwards;
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
}

.hero-description {
    position: relative;
    z-index: 3;
    animation: text-reveal 1.2s ease-out 0.6s forwards;
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
}

/* Parallax Effects */
.parallax-container {
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.parallax-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float-slow 20s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-30px) rotate(2deg);
    }
}

.parallax-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #FFD700, transparent),
        radial-gradient(2px 2px at 40px 70px, #FFD700, transparent),
        radial-gradient(1px 1px at 90px 40px, #FFD700, transparent),
        radial-gradient(1px 1px at 130px 80px, #FFD700, transparent),
        radial-gradient(2px 2px at 160px 30px, #FFD700, transparent),
        radial-gradient(1px 1px at 180px 60px, #FFD700, transparent),
        radial-gradient(2px 2px at 220px 20px, #FFD700, transparent),
        radial-gradient(1px 1px at 250px 90px, #FFD700, transparent),
        radial-gradient(2px 2px at 280px 50px, #FFD700, transparent),
        radial-gradient(1px 1px at 300px 80px, #FFD700, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0.3;
}

.parallax-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s linear infinite;
}

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

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0vh) scale(0);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.parallax-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
}

/* Enhanced scroll indicator with parallax */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce-parallax 2s ease-in-out infinite;
}

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

/* Parallax text effects */
.parallax-text {
    transform: translateZ(0);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.parallax-text-glow {
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    }
}

/* Parallax active states */
.parallax-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.parallax-layer {
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.parallax-layer.parallax-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile optimizations for parallax */
@media (max-width: 768px) {
    .parallax-container {
        perspective: none;
    }
    
    .floating-element {
        display: none;
    }
    
    .parallax-stars {
        opacity: 0.1;
    }
    
    .parallax-glow {
        display: none;
    }
    
    .parallax-particles {
        display: none;
    }
    
    .parallax-text-glow {
        animation: none;
    }
    
    /* Reduce motion for mobile */
    .parallax-bg {
        transform: none !important;
    }
    
    .parallax-content {
        transform: none !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .parallax-container {
        perspective: none;
    }
    
    .parallax-bg,
    .parallax-content,
    .floating-element,
    .parallax-stars,
    .parallax-glow,
    .parallax-particles {
        transform: none !important;
        animation: none !important;
    }
    
    .parallax-text-glow {
        animation: none !important;
    }
}

/* Modal Enhancements */
.modal-backdrop {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Premium Loading Animation */
.loading-spinner {
    border: 3px solid rgba(255, 215, 0, 0.1);
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Premium loading dots */
.loading-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 20px;
}

.loading-dots div {
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFD700;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading-dots div:nth-child(1) {
    left: 8px;
    animation: loading-dots1 0.6s infinite;
}

.loading-dots div:nth-child(2) {
    left: 8px;
    animation: loading-dots2 0.6s infinite;
}

.loading-dots div:nth-child(3) {
    left: 32px;
    animation: loading-dots2 0.6s infinite;
}

.loading-dots div:nth-child(4) {
    left: 56px;
    animation: loading-dots3 0.6s infinite;
}

@keyframes loading-dots1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes loading-dots3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

@keyframes loading-dots2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(24px, 0); }
}

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

/* Premium Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    .movie-card {
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .movie-card:hover {
        transform: scale(1.03) translateY(-5px);
    }
    
    /* Mobile navigation enhancements */
    #navbar {
        backdrop-filter: blur(15px);
    }
    
    /* Mobile button adjustments */
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Mobile text adjustments */
    .premium-heading {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .premium-body {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .movie-card {
        border-radius: 6px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .movie-card:hover {
        transform: scale(1.08) translateY(-15px);
    }
}

/* Premium Text Effects */
.text-glow {
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1);
}

/* Premium Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

/* Premium text reveal */
.text-reveal {
    animation: text-reveal 1.2s ease-out forwards;
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
}

/* Premium text highlight */
.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.text-highlight:hover::after {
    transform: scaleX(1);
}

/* Premium typography enhancements */
.premium-heading {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.premium-body {
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Netflix Card Hover Glow */
.card-glow:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

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

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

/* Netflix Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Premium Focus States */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #FFD700;
    outline-offset: 3px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    border-radius: 4px;
}

/* Premium focus visible for better accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Premium hover states */
button:hover,
input:hover,
textarea:hover,
select:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Premium active states */
button:active,
input:active,
textarea:active,
select:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Netflix Video Player Enhancements */
.video-player {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-player:hover .video-controls {
    transform: translateY(0);
}

/* Netflix Page Transition */
.page-transition {
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
    transition: all 0.5s ease;
}

.page-transition.loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Netflix Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Netflix High Contrast Mode */
@media (prefers-contrast: high) {
    .movie-card:hover {
        border: 2px solid #FFD700;
    }
    
    button {
        border: 1px solid currentColor;
    }
}

/* Netflix-specific hover effects */
.movie-card:hover .play-overlay {
    opacity: 0;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-button {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: transparent;
    transform: scale(1);
}

/* Netflix navbar scroll effect */
.navbar-scrolled {
    background: #000000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Netflix search bar */
.search-bar {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.search-bar:focus {
    border-color: #FFD700;
    background: rgba(0, 0, 0, 0.9);
}

/* Netflix dropdown menu */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #333;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.dropdown-item {
    color: white;
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* Netflix rating badges */
.rating-badge {
    background: rgba(51, 51, 51, 0.8);
    color: black;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
}

/* Ensure rating text is black on gold background */
.bg-kingdom-gold {
    color: black !important;
}

/* Netflix content row hover effects */
.content-row {
    position: relative;
    margin-bottom: 2rem;
}

.content-row:hover .row-title {
    color: #FFD700;
}

.row-title {
    transition: color 0.3s ease;
}

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

@media (min-width: 641px) and (max-width: 1024px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    .movie-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Netflix loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Netflix error states */
.error-state {
    color: #FFD700;
    text-align: center;
    padding: 2rem;
}

.error-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Netflix success states */
.success-state {
    color: #00FF00;
    text-align: center;
    padding: 2rem;
}

.success-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* --- Reasons to Subscribe Section Styles --- */
.reason-card {
    position: relative;
    background: #000000;
    border: 2px solid #d3d3d3;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.reason-card:hover::before {
    left: 100%;
}

.reason-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD700;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.kingdomflix-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 2;
}

.kingdomflix-icon img {
    width: 24px;
    height: 24px;
}

.reason-card:hover .kingdomflix-icon {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
}

.kingdomflix-icon img {
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

.card-illustration {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.reason-card:hover .card-illustration {
    transform: scale(1.1) rotate(2deg);
}

.card-illustration img {
    transition: all 0.4s ease;
}

.reason-card:hover .card-illustration img {
    filter: brightness(1.2) contrast(1.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reason-card:hover .card-title {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.card-description {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.reason-card:hover .card-description {
    color: #f3f4f6;
}



/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #FFD700;
    border: none;
    border-radius: 50%;
    color: #000000 !important;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #000000 !important;
}

.scroll-to-top-btn.show {
    display: flex;
}

/* Ensure scroll-to-top button arrow is black */
.scroll-to-top-btn svg {
    color: #000000 !important;
    stroke: #000000 !important;
}

.scroll-to-top-btn:hover svg {
    color: #000000 !important;
    stroke: #000000 !important;
}

/* --- FAQ Section Styles --- */
.faq-item {
    background: #000000;
    border: 2px solid #d3d3d3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1rem;
}

.faq-item:hover {
    border-color: #FFD700;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
    color: #FFD700;
}

.faq-question span {
    position: relative;
    z-index: 2;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    color: #FFD700;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 215, 0, 0.02);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    border-top-color: rgba(255, 215, 0, 0.2);
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
}

.faq-answer p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FFD700, #e6c200);
    border-radius: 0 2px 2px 0;
}

/* FAQ Animation Enhancements */
.faq-item {
    animation: faq-slide-in 0.6s ease-out forwards;
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes faq-slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Hover Effects */
.faq-item:hover .faq-icon {
    animation: icon-bounce 0.6s ease-in-out;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* FAQ Active State Enhancements */
.faq-item.active {
    border-color: #FFD700;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.15),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(255, 215, 0, 0.08);
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Responsive FAQ adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
}

/* Responsive adjustments for the cards */
@media (max-width: 768px) {
    .reason-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .kingdomflix-icon {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .kingdomflix-icon img {
        width: 20px;
        height: 20px;
    }
    
    .scroll-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* --- KingdomFlix Footer Styles --- */
.footer-section {
  background: #000;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-top: 1px solid #FFD70022;
}
.footer-section .footer-cta {
  text-align: center;
  margin-bottom: 2.5rem;
}

.footer-section .footer-cta-card {
  background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
  border: 1px solid #FFD70022;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: footer-card-float 6s ease-in-out infinite;
}

.footer-section .footer-cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
  border-color: #FFD70044;
}

@keyframes footer-card-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.footer-section .footer-cta-text {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
}
.footer-section .footer-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}
.footer-section .footer-form input[type="text"],
.footer-section .footer-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  border: none;
  background: #141414;
  color: #fff;
  font-size: 1rem;
}
.footer-section .footer-form input[type="text"]::placeholder,
.footer-section .footer-form input[type="email"]::placeholder {
  color: #bbb;
}
.footer-section .footer-form button {
  background: #FFD700;
  color: #000000 !important;
  font-weight: bold;
  border: none;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  min-width: 140px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-section .footer-form button:hover {
  background: #e6c200;
  color: #000000 !important;
}

/* Footer CTA Close Button */
#close-footer-cta {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#close-footer-cta:hover {
  opacity: 1;
}

/* Footer CTA Banner Hide Animation */
#footer-cta-banner {
  transition: all 0.5s ease-in-out;
}

#footer-cta-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.footer-section .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-section .footer-col {
  min-width: 160px;
  flex: 1;
}
.footer-section .footer-col h4 {
  color: #FFD700;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-section .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section .footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-section .footer-col ul li a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.footer-section .footer-col ul li a:hover {
  border-bottom: 1px solid #FFD700;
}
.footer-section .footer-bottom {
  border-top: 1px solid #FFD70022;
  padding-top: 1.5rem;
  text-align: center;
  color: #bbb;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .footer-section .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-section .footer-col {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .footer-section .footer-cta-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  .footer-section .footer-form {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-section .footer-form input[type="text"],
  .footer-section .footer-form input[type="email"] {
    width: 100%;
  }
}

/* Cookie Banner Styles */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  background: #000;
  color: #fff;
  border-top: 2px solid #FFD700;
  pointer-events: auto;
}

/* Show banner when translate-y-full class is removed */
#cookie-banner:not(.translate-y-full) {
  transform: translateY(0);
}

#cookie-banner.show {
  transform: translateY(0);
}

#cookie-banner .max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

#cookie-banner .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#cookie-banner .flex-col {
  flex-direction: column;
}

#cookie-banner .md\\:flex-row {
  flex-direction: row;
}

#cookie-banner .items-center {
  align-items: center;
}

#cookie-banner .justify-between {
  justify-content: space-between;
}

#cookie-banner .gap-4 {
  gap: 1rem;
}

#cookie-banner .flex-1 {
  flex: 1;
}

#cookie-banner .text-sm {
  font-size: 0.875rem;
}

#cookie-banner .md\\:text-base {
  font-size: 1rem;
}

#cookie-banner .gap-3 {
  gap: 0.75rem;
}

#cookie-banner button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: bold;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

#cookie-banner #accept-cookies {
  background: #FFD700;
  color: #000000 !important;
}

#cookie-banner #accept-cookies:hover {
  background: #e6c200;
  color: #000000 !important;
}

#cookie-banner #decline-cookies {
  background: #000000;
  border: 1px solid #FFD700;
  color: #ffffff !important;
}

#cookie-banner #decline-cookies:hover {
  background: #FFD700;
  color: #000000 !important;
}

#cookie-banner a {
  color: #FFD700;
  text-decoration: none;
}

#cookie-banner a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  #cookie-banner .flex {
    flex-direction: column;
    text-align: center;
  }
  
  #cookie-banner .gap-3 {
    justify-content: center;
  }
}

/* Mobile Menu Enhancements */
#mobile-menu {
  position: fixed !important;
  top: 80px !important; /* Account for navbar height */
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  height: calc(100vh - 80px) !important;
  transition: all 0.3s ease-in-out;
  transform-origin: top;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  overflow-y: auto !important;
}

#mobile-menu:not(.hidden) {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: slideDown 0.3s ease-out;
}

#mobile-menu.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure mobile menu button is clickable */
#mobile-menu-button {
  position: relative;
  z-index: 10000;
  cursor: pointer;
  padding: 8px;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

#mobile-menu-button:hover {
  transform: scale(1.1);
  color: #FFD700;
}

#mobile-menu-button:active {
  transform: scale(0.95);
}

/* Mobile menu content styling */
#mobile-menu .space-y-1 {
  padding: 20px;
}

#mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: white !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

#mobile-menu a:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  color: #FFD700 !important;
  border-left-color: #FFD700;
  transform: translateX(10px);
}

#mobile-menu a:active {
  background: rgba(255, 215, 0, 0.2) !important;
}

/* Mobile menu logo section */
#mobile-menu .border-b {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 10px;
}

#mobile-menu .border-b span {
  color: white !important;
  font-size: 20px;
  font-weight: bold;
}

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

/* Enhanced Button Styles */
.watch-now-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.watch-now-btn::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;
}

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

/* Featured Movie Section Enhancements */
.featured-movie-poster {
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-movie-poster:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* Enhanced Icon Styles */
.kingdomflix-icon svg {
  transition: all 0.3s ease;
}

.kingdomflix-icon:hover svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #FFD700;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Success/Error Message Styles */
.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Enhanced Form Styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Contact Form Error States */
.border-red-500 {
    border-color: #ef4444 !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Form Success Animation */
.form-success {
    animation: success-pulse 0.6s ease-out;
}

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

/* Enhanced Input Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FFD700 !important;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.1),
        0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Form Loading State */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .featured-movie-poster:hover {
    transform: none;
  }
  
  .kingdomflix-icon:hover svg {
    transform: none;
  }
  
  .watch-now-btn::before {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .message.success {
    background: #22c55e;
    color: white;
  }
  
  .message.error {
    background: #ef4444;
    color: white;
  }
  
  .form-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
  }
}

/* --- Contact Form Animations and Styling --- */
.contact-form-animated {
  position: relative;
  padding: 2rem;
  border: 1px solid #FFD700;
  border-radius: 12px;
  background: #000000;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5);
  animation: contact-form-enter 1s ease-out forwards;
  overflow: hidden;
}

/* Removed shimmer effect for clean black background */

/* Removed animated border effect for clean black background with thin gold border */

@keyframes contact-form-enter {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Removed shimmer and border-glow animations for clean design */

/* Form field animations */
.contact-form-animated .grid > div {
  animation: field-slide-in 0.6s ease-out forwards;
  opacity: 1 !important; /* Ensure visibility by default */
  transform: translateX(0) !important; /* Ensure visibility by default */
}

.contact-form-animated .grid > div:nth-child(1) { animation-delay: 0.1s; }
.contact-form-animated .grid > div:nth-child(2) { animation-delay: 0.2s; }
.contact-form-animated .grid > div:nth-child(3) { animation-delay: 0.3s; }
.contact-form-animated .grid > div:nth-child(4) { animation-delay: 0.4s; }
.contact-form-animated .grid > div:nth-child(5) { animation-delay: 0.5s; }

@keyframes field-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Input field enhancements */
.contact-form-animated input,
.contact-form-animated select,
.contact-form-animated textarea {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 215, 0, 0.3);
  background: rgba(20, 20, 20, 0.8);
}

.contact-form-animated input:focus,
.contact-form-animated select:focus,
.contact-form-animated textarea:focus {
  border-color: #FFD700;
  box-shadow: 
    0 0 0 3px rgba(255, 215, 0, 0.1),
    0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
  background: rgba(20, 20, 20, 0.95);
}

.contact-form-animated input:hover,
.contact-form-animated select:hover,
.contact-form-animated textarea:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Submit button enhancements */
.contact-form-animated button[type="submit"] {
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, #FFD700, #FFC000);
  border: none;
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.contact-form-animated button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.contact-form-animated button[type="submit"]:hover::before {
  left: 100%;
}

.contact-form-animated button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(255, 215, 0, 0.2);
  background: linear-gradient(45deg, #FFC000, #FFD700);
  color: #000000 !important;
}

.contact-form-animated button[type="submit"]:active {
  transform: translateY(-1px) scale(0.98);
}

/* Label animations */
.contact-form-animated label {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  color: #E5E5E5;
}

.contact-form-animated input:focus + label,
.contact-form-animated select:focus + label,
.contact-form-animated textarea:focus + label {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Form validation animations */
.contact-form-animated input:invalid:not(:placeholder-shown),
.contact-form-animated textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Success state animation */
.contact-form-animated.success {
  border-color: #22c55e;
  animation: success-pulse 0.6s ease-out;
}

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

/* Loading state for submit button */
.contact-form-animated button[type="submit"].loading {
  pointer-events: none;
  opacity: 0.8;
}

.contact-form-animated button[type="submit"].loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form-animated {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  /* Clean black background maintained on mobile */
  
  .contact-form-animated input:focus,
  .contact-form-animated select:focus,
  .contact-form-animated textarea:focus {
    transform: none;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .contact-form-animated {
    animation: none;
  }
  
  /* Clean black background maintained with reduced motion */
  
  .contact-form-animated .grid > div {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .contact-form-animated input:focus,
  .contact-form-animated select:focus,
  .contact-form-animated textarea:focus {
    transform: none;
  }
  
  .contact-form-animated button[type="submit"]:hover {
    transform: none;
  }
}

/* Enhanced Form Field Groups */
.form-field-group {
  position: relative;
  transition: all 0.3s ease;
}

.form-field-group:hover {
  transform: translateY(-2px);
}

.form-field-group label {
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-field-group:hover label {
  color: #FFD700;
}

/* Enhanced Input Focus States */
.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: #FFD700 !important;
  box-shadow: 
    0 0 0 3px rgba(255, 215, 0, 0.1),
    0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

/* Error Message Animations */
.error-message {
  animation: error-slide-in 0.3s ease-out;
  position: relative;
}

.error-message::before {
  content: '⚠';
  margin-right: 0.5rem;
  color: #ef4444;
}

@keyframes error-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Info Item Animations */
.contact-info-item {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 8px;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 215, 0, 0.05);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.contact-info-item:hover .bg-gradient-to-br {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Enhanced Social Media Icons */
.contact-info-item + div a {
  transition: all 0.3s ease;
}

.contact-info-item + div a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Form Success Animation */
.form-success {
  animation: form-success-glow 0.6s ease-out;
}

@keyframes form-success-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Enhanced Button States */
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

button[type="submit"]:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Focus Ring for Accessibility */
button[type="submit"]:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* Enhanced Form Message Animations */
#formMessage {
  animation: message-slide-in 0.4s ease-out;
}

#formMessage.success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

#formMessage.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

@keyframes message-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced FAQ Section */
.faq-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.faq-item:hover::before {
  left: 100%;
}

.faq-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 215, 0, 0.1);
}

.faq-item h3 {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.faq-item:hover h3 {
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.faq-item svg {
  transition: all 0.3s ease;
}

.faq-item:hover svg {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .contact-form-animated {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .form-field-group:hover {
    transform: none;
  }
  
  .contact-info-item:hover {
    transform: none;
  }
  
  .faq-item:hover {
    transform: none;
  }
  
  .contact-form-animated input:focus,
  .contact-form-animated select:focus,
  .contact-form-animated textarea:focus {
    transform: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .contact-form-animated {
    border: 2px solid #FFD700;
  }
  
  .contact-form-animated input:focus,
  .contact-form-animated select:focus,
  .contact-form-animated textarea:focus {
    border: 3px solid #FFD700;
    box-shadow: none;
  }
  
  .error-message {
    background: #ef4444;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
  }
}

/* Ensure all text is visible by default */
body {
    color: white !important;
}

/* Ensure all text elements are visible */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, label, input, textarea, select {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Premium Performance Optimizations */

/* Lazy loading for images */
.lazy-image {
    opacity: 1; /* Default visible, will be overridden by JS if needed */
    transition: opacity 0.5s ease;
}

/* Only hide lazy images if JavaScript is available and hasn't loaded them yet */
.js .lazy-image:not(.loaded) {
    opacity: 0;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Premium image loading animation */
.image-loading {
    position: relative;
    overflow: hidden;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: image-shimmer 1.5s infinite;
}

@keyframes image-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Premium content loading states */
.content-loading {
    opacity: 1 !important; /* Ensure visibility by default */
    transform: translateY(0) !important; /* Ensure visibility by default */
    transition: all 0.6s ease;
}

.content-loading.loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Premium skeleton loading */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.1) 25%, 
        rgba(255, 215, 0, 0.2) 50%, 
        rgba(255, 215, 0, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print Styles */
@media print {
  .contact-form-animated {
    border: 1px solid #000;
    box-shadow: none;
    background: white;
    color: black;
  }
  
  .contact-form-animated input,
  .contact-form-animated select,
  .contact-form-animated textarea {
    border: 1px solid #000;
    background: white;
    color: black;
  }
  
  button[type="submit"] {
    background: #000 !important;
    color: white !important;
    border: 1px solid #000 !important;
  }
}

/* Override footer link color for Watch Movie buttons */
.footer-section .footer-cta-banner a,
.footer-section #footer-cta-banner a,
.footer-cta a,
#footer-cta-banner a {
  color: #000000 !important;
  text-decoration: none !important;
}

.footer-section .footer-cta-banner a:hover,
.footer-section #footer-cta-banner a:hover,
.footer-cta a:hover,
#footer-cta-banner a:hover {
  color: #000000 !important;
}

