:root {
            /* FIX: Applied consistent color scheme across all pages */
            --primary: #0f0f0f;
            --secondary: #22c55e;
            --accent: #e6eef1;
            --color-green: #22c55e;
            --bg: #0f0f0f;
            --panel: #141414;
            --muted: #1f1f1f;
            --white: #e6eef1;
            --muted-text: #9aa19f;
        }
        
        /* FIX: Logo styling - proper size and glow effect */
        .logo-area img {
            width: 45px !important;
            height: 45px !important;
            object-fit: contain;
            filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4)) !important;
        }
        
        body {
            background-color: var(--primary);
            color: var(--accent);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .nav-item:hover {
            color: var(--secondary);
            transition: all 0.3s ease;
        }
        
        .btn-primary {
            background-color: var(--secondary);
            color: var(--accent);
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .anime-card {
            transition: all 0.3s ease;
            background-color: #1f1f1f;
        }
        
        .anime-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
            z-index: 10;
        }
        
        .anime-card {
            scroll-snap-align: start;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        
        .carousel-item {
            transition: opacity 0.5s ease-in-out;
        }
        
        .carousel-item.active {
            opacity: 1;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 10px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary);
        }

/* ===== Update red-dot badge ===== */
.update-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ef4444; /* red */
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.update-badge-pulse {
  display: inline-block;
  position: relative;
}
.update-badge-pulse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(239,68,68,0.15);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  70% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
        
        .footer-link:hover {
            color: var(--secondary);
            transition: all 0.3s ease;
        }
        
        @media (max-width: 768px) {
            .desktop-menu {
                display: none;
            }
            
            .mobile-menu-button {
                display: block;
            }
            
            .anime-scroll-section {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            
            .anime-card {
                min-width: 180px;
            }
        }
        
        @media (min-width: 769px) {
            .mobile-menu-button {
                display: none;
            }
            
            .desktop-menu {
                display: flex;
            }
            
            .anime-scroll-section {
                overflow-x: auto;
            }
        }
        .anime-card {
  width: 200px;
  font-family: sans-serif;
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.image-container img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.tag-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  background-color: #eee;
  color: #333;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.tag.new {
  background-color: #4CAF50;
  color: white;
}

.tag.dub {
  background-color: #2196F3;
  color: rgb(255, 255, 255);
}

.tag.sub {
  background-color: #FF9800;
  color: white;
}
.text-with-shadow {
    color: #e5e7eb; /* same as text-gray-300 */
    text-shadow: 5px 1px 3px rgba(0, 0, 0, 0.7);
    
  }
  .text-shadow {
    text-shadow: 1px 10px 40px rgba(34, 197, 94, 0.25);
  }
  /* Scrollbar style for episode list */
/* Scrollbar style for episode list */
::-webkit-scrollbar {
  width: 12px; /* For vertical scrollbar */
  height: 12px; /* For horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: var(--color-dark-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--color-green);
  border-radius: 6px;
}

/* FIX: Ensure footer is always solid black - ENHANCED FOR VISIBILITY */
.site-footer {
  background: #000 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 2rem 1rem !important;
  margin-top: 2rem !important;
  box-sizing: border-box !important;
}

footer {
  background: #000 !important;
  padding: 2rem 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 2rem !important;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-light-gray);
}
/* Custom simple player UI for trailers */
.custom-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  cursor: pointer;
  transition: opacity 200ms ease;
  z-index: 5;
}
.custom-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 3px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.custom-play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.custom-video-overlay .custom-banner {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  z-index: 6;
}

