@charset "UTF-8";
/* ==========================================================
   Real Anime — Master Stylesheet
   ========================================================== */

:root {
    --bg-main: #101014;
    --bg-card: #181820;
    --bg-card-hover: #22222d;
    --bg-input: #1e1e28;
    --bg-sidebar: #14141a;
    --text-primary: #f2f2f5;
    --text-secondary: #9e9ea8;
    --text-muted: #676775;
    --accent-cyan: #00f0ff;
    --accent-cyan-hover: #00c8ff;
    --accent-gold: #ffb800;
    --accent-gold-hover: #ffca28;
    --accent-gold-glow: rgba(255, 184, 0, 0.35);
    --accent-amber: #ffb02e;
    --accent-amber-hover: #f59e0b;
    --accent-pink: #00f0ff;
    --accent-pink-hover: #00c8ff;
    --accent-green: #34d399;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 240, 255, 0.3);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 30px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 30px rgba(0, 240, 255, 0.25);
    --shadow-gold-glow: 0 8px 30px rgba(255, 184, 0, 0.25);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================
   TOP STREAMING NAVIGATION BAR
   ========================================================== */
.stream-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 18, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    width: 100%;
}

.stream-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stream-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.menu-toggle-btn:hover {
    color: var(--accent-pink);
}

.stream-logo {
    display: flex;
    align-items: baseline;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.logo-name {
    color: #ffffff;
}

.stream-search-wrapper {
    flex: 1;
    max-width: 440px;
}

.stream-search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 3px 6px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.stream-search-bar:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}

.stream-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 7px 10px;
    font-family: var(--font-family);
    font-size: 13.5px;
    color: var(--text-primary);
}

.stream-search-bar input::placeholder {
    color: var(--text-muted);
}

.stream-search-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 0 8px;
    cursor: pointer;
}

.stream-filter-btn {
    background-color: #1a1725;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.stream-filter-btn:hover {
    background-color: var(--accent-pink);
    color: #1a1725;
}

.stream-nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-nav-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #b5b7c7;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
}

.top-nav-action i {
    font-size: 16px;
}

.top-nav-action:hover {
    color: var(--accent-pink);
}

.lang-switch-badge {
    display: flex;
    background-color: #242033;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-opt {
    color: #888ba0;
    cursor: pointer;
}

.lang-opt.active {
    color: var(--accent-pink);
}

.login-btn {
    background: #242033;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--accent-pink);
    color: #14121f;
}

/* Side Drawer Menu */
.side-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #191626;
    z-index: 2000;
    transition: left 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.side-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-drawer-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #b7b9cc;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.drawer-links a i {
    width: 20px;
    color: var(--accent-pink);
}

.drawer-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   SPOTLIGHT HERO BANNER (home.html)
   ========================================================== */
.spotlight-section {
    width: 100%;
    position: relative;
    background-color: #0e0c18;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    min-height: 520px;
}

.spotlight-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 35;
}

.spotlight-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff416c, var(--accent-pink));
    box-shadow: 0 0 12px var(--accent-pink);
}

.spotlight-container {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.spotlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.97) translateX(30px);
    z-index: 1;
}

.spotlight-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1) translateX(0);
    z-index: 2;
}

.spotlight-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: 1;
}

.spotlight-content {
    max-width: 620px;
    position: relative;
    z-index: 5;
}

/* Staggered entry animations for active slide elements */
.spotlight-slide.active .spotlight-tag {
    animation: spotlightSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.spotlight-slide.active .spotlight-title {
    animation: spotlightSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.spotlight-slide.active .spotlight-meta {
    animation: spotlightSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.spotlight-slide.active .spotlight-desc {
    animation: spotlightSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.spotlight-slide.active .spotlight-actions {
    animation: spotlightSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.spotlight-slide.active .spot-poster-right {
    animation: spotlightSlideRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

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

@keyframes spotlightSlideRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

.spotlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-pink);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 186, 222, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 186, 222, 0.25);
}

.spotlight-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: #e2e4f0;
    font-weight: 600;
}

.score-badge {
    background: var(--accent-pink) !important;
    color: #120e1f !important;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 186, 222, 0.4);
}

.spotlight-desc {
    font-size: 14px;
    color: #c7c9dc;
    line-height: 1.65;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.spotlight-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-watch-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4a4e5d !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-watch-now:hover {
    background: #5e6377 !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.spot-poster-right {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    z-index: 5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.15);
    transition: transform 0.4s ease;
}

.spot-poster-right:hover {
    transform: translateY(-53%) scale(1.04);
}

.spot-poster-right img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    display: block;
}

.spotlight-nav-arrows {
    position: absolute;
    right: 24px;
    bottom: 30px;
    display: flex;
    gap: 8px;
    z-index: 25;
}

.spot-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(20, 18, 31, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.spot-arrow:hover {
    background: var(--accent-pink);
    color: #120e1f;
    border-color: var(--accent-pink);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(255, 186, 222, 0.5);
}

.spotlight-dots {
    position: absolute;
    bottom: 24px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 25;
}

.spot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spot-dot.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ff416c, var(--accent-pink));
    box-shadow: 0 0 12px rgba(255, 65, 108, 0.6);
}

/* ==========================================================
   GENRE TAGS BAR SECTION (Below Hero Spotlight)
   ========================================================== */
.genre-bar-section {
    max-width: 1440px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
}

.genre-tags-bar {
    background: rgba(24, 21, 36, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.genre-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

/* Studio & Genre Scrollable Rows */
.tags-scroller-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tags-row::-webkit-scrollbar {
    display: none;
}

.tag-pill {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tag-pill.cyan {
    background-color: #61c2e6;
    color: #0b1e2a;
}

.tag-pill.cyan:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.tag-pill.pink {
    background-color: var(--accent-pink);
    color: #1a1725;
}

.tag-pill.pink:hover {
    background-color: var(--accent-pink-hover);
    transform: translateY(-1px);
}

.tag-pill.purple {
    background-color: rgba(255, 186, 222, 0.12);
    color: var(--accent-pink);
    border: 1px solid rgba(255, 186, 222, 0.25);
}

.tag-pill.purple:hover {
    background-color: var(--accent-pink);
    color: #14121f;
    transform: translateY(-1px);
}




/* ==========================================================
   FEED & GRIDS CONTAINER
   ========================================================== */
.anime-feed-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px 40px 24px;
    width: 100%;
}

.section-block {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.section-header.space-between {
    justify-content: space-between;
}

.section-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-more-link {
    font-size: 13px;
    color: #8c90a2;
    font-weight: 600;
    transition: var(--transition);
}

.view-more-link:hover {
    color: var(--accent-pink);
}

/* Grid Layouts */
.anime-cards-grid {
    display: grid;
    gap: 16px;
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Anime Card Component */
.anime-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
}

.card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #201d2e;
    margin-bottom: 8px;
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.anime-card:hover .card-poster img {
    transform: scale(1.06);
}

.card-badges-top {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.cc-badge,
.ep-badge {
    background-color: #8ae4b3;
    color: #0c2b18;
}

.mic-badge,
.dub-badge {
    background-color: #8bd2e8;
    color: #0b2531;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.anime-card:hover .card-title {
    color: var(--accent-pink);
}

.episode-progress {
    font-size: 12px;
    color: #7d8194;
    font-weight: 500;
}

.card-sub-info {
    font-size: 12px;
    color: #6e7284;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 44px;
    height: 44px;
    background: rgba(255, 186, 222, 0.9);
    color: #14121f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.continue-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Trending Spine Cards */
.trending-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.trending-card {
    display: flex;
    background-color: #181524;
    border-radius: 8px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.trending-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.trend-spine-num {
    width: 32px;
    background-color: #141120;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.trend-poster {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.trend-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.trending-card:hover .trend-poster img {
    transform: scale(1.06);
}

.trend-title-vertical {
    position: absolute;
    left: 10px;
    bottom: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    max-height: 180px;
    overflow: hidden;
}

/* 4-Column Rankings */
.four-column-rankings-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.rank-category-column {
    background-color: var(--bg-card);
    border-radius: 14px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
}

.category-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-pink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.category-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateX(3px);
}

.mini-thumb {
    width: 44px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-info {
    flex: 1;
    min-width: 0;
}

.mini-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    transition: var(--transition);
}

.category-item:hover .mini-title {
    color: var(--accent-pink);
}

.mini-sub {
    font-size: 11.5px;
    color: #7b7f92;
}

.col-view-more {
    margin-top: 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #8f92a4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.col-view-more:hover {
    color: var(--accent-pink);
}

/* ==========================================================
   ANIME DETAIL PAGE STYLES (detail.html)
   ========================================================== */
.detail-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center top;
    padding: 40px 0 50px 0;
    margin-bottom: 30px;
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, rgba(20, 18, 31, 0.75) 0%, rgba(20, 18, 31, 0.98) 85%);
    backdrop-filter: blur(20px);
}

.detail-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 210px 1fr 320px;
    gap: 36px;
    align-items: start;
}

/* Detail Poster */
.detail-poster-wrap {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail Center Info */
.detail-main-info {
    display: flex;
    flex-direction: column;
}

.detail-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #8e92a4;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-breadcrumbs a:hover {
    color: var(--accent-pink);
}

.bc-sep {
    color: #555;
}

.bc-current {
    color: #cfd2e0;
    font-weight: 600;
}

.detail-anime-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.detail-badges-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.badge-rating {
    background-color: #ffffff;
    color: #14121f;
    font-weight: 800;
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 4px;
}

.badge-type {
    background-color: #2b273d;
    color: #ffffff;
    font-weight: 700;
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 4px;
}

.detail-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.btn-detail-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #6b6d7b;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-detail-watch:hover {
    background-color: #7e8093;
    transform: translateY(-2px);
}

.btn-detail-watchlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #4a4c5a;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-detail-watchlist:hover {
    background-color: #5c5e6e;
    transform: translateY(-2px);
}

.detail-synopsis {
    font-size: 13.5px;
    color: #b7b9cc;
    line-height: 1.7;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-seo-note {
    font-size: 13px;
    color: #9295a6;
}

.detail-share-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
}

.share-character-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--accent-pink);
    color: #14121f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.share-box-text {
    display: flex;
    flex-direction: column;
}

.share-box-text strong {
    font-size: 13px;
    color: #ffffff;
}

.share-box-text span {
    font-size: 11px;
    color: #7e8296;
}

/* Detail Right Specifications Sidebar */
.detail-specs-sidebar {
    background-color: rgba(24, 21, 36, 0.85);
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    font-size: 13px;
    line-height: 1.5;
}

.spec-label {
    color: #ffffff;
    font-weight: 700;
    margin-right: 6px;
}

.spec-val {
    color: #9ea2b5;
}

.spec-genres-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.spec-genres-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-genre-tag {
    background-color: #2b273d;
    color: #d1d3e2;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

/* Detail Bottom Recommendations & Related Content */
.detail-bottom-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 40px 24px;
    width: 100%;
}

.detail-bottom-container {
    display: block;
    width: 100%;
}

.detail-bottom-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-block {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-pink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================
   LOWER PAGE MAIN LAYOUT (New On Real Anime, Schedule, Genres)
   ========================================================== */
.lower-main-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px 30px 24px;
    width: 100%;
}

.lower-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.lower-content-left {
    display: flex;
    flex-direction: column;
}

.lower-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 80px;
}

/* Genres Card Widget */
.sidebar-genres-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.genres-heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-pink);
    margin-bottom: 16px;
}

.genres-grid-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
    margin-bottom: 18px;
}

.genre-link {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.genre-link:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

/* Genre Text Colors */
.c-green {
    color: #6ee7b7;
}

.c-pink {
    color: #f472b6;
}

.c-coral {
    color: #fb923c;
}

.c-purple {
    color: #c084fc;
}

.c-cyan {
    color: #38bdf8;
}

.c-yellow {
    color: #facc15;
}

.c-blue {
    color: #818cf8;
}

.btn-show-more-genres {
    width: 100%;
    background-color: #262237;
    color: #e6e6ea;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-show-more-genres:hover {
    background-color: var(--accent-pink);
    color: #14121f;
}

/* Estimated Schedule Component */
.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.timezone-badge {
    background-color: #110f1c;
    color: #ffffff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.days-selector-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.days-pills-list {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
}

.days-pills-list::-webkit-scrollbar {
    display: none;
}

.day-pill {
    background-color: #1f1b2d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 78px;
    cursor: pointer;
    transition: var(--transition);
}

.day-pill:hover {
    background-color: #2a253d;
}

.day-pill.active {
    background-color: var(--accent-pink);
    color: #14121f;
    border-color: var(--accent-pink);
}

.day-name {
    font-size: 14px;
    font-weight: 700;
}

.day-date {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
}

.day-scroll-arrow {
    background-color: #1f1b2d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.day-scroll-arrow:hover {
    background-color: var(--accent-pink);
    color: #14121f;
}

.schedule-timeline {
    background-color: #171424;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.sched-time {
    font-weight: 700;
    font-size: 13.5px;
    color: #9da0b5;
    width: 60px;
}

.sched-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    padding: 0 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sched-title-highlight {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-pink);
    padding: 0 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sched-ep-btn {
    background-color: #242033;
    border: none;
    color: #c5c7d8;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.sched-ep-btn i {
    font-size: 9px;
}

.sched-ep-btn:hover {
    background-color: var(--accent-pink);
    color: #14121f;
}

.sched-ep-btn.pink-pill {
    background-color: var(--accent-pink);
    color: #14121f;
    font-weight: 700;
}

.schedule-more-btn {
    margin-top: 14px;
}

.schedule-more-btn button {
    background: none;
    border: none;
    color: #9da0b5;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.schedule-more-btn button:hover {
    color: var(--accent-pink);
}

/* A-Z Alphabet List Navigation Bar */
.az-alphabet-section {
    max-width: 1440px;
    margin: 30px auto 40px auto;
    padding: 0 24px;
    width: 100%;
}

.az-container {
    background-color: #181525;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.az-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.az-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.az-divider {
    color: #555;
}

.az-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
}

.az-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.az-btn {
    background-color: #211e2f;
    color: #b1b4c7;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    transition: var(--transition);
    min-width: 28px;
    text-align: center;
}

.az-btn:hover {
    background-color: #2f2a43;
    color: #ffffff;
}

.az-btn.active {
    background-color: var(--accent-pink);
    color: #14121f;
}

/* Landing Page (main.html) */
.navbar {
    width: 100%;
    padding: 24px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1440px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-weight: 600;
    font-size: 15px;
    color: #b5b7c7;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-item:hover {
    color: #ffffff;
}

.landing-hero-container {
    padding-top: 10px;
}

.main-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px 60px 24px;
}

.hero-banner {
    position: relative;
    background-color: #272336;
    background-image: url('1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 28px;
    padding: 55px 65px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.brand-logo {
    display: flex;
    align-items: baseline;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: #ffffff;
}

.brand-logo .logo-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
}

.brand-logo .logo-name {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 14px;
    color: #b0b3c6;
    font-weight: 500;
    margin-bottom: 22px;
    line-height: 1.5;
}

.search-form {
    margin-bottom: 22px;
    max-width: 480px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 14px;
    padding: 4px 4px 4px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.search-input-wrap:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 144, 201, 0.4), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14.5px;
    font-family: var(--font-family);
    color: #222222;
    font-weight: 500;
}

.search-input-wrap input::placeholder {
    color: #9496a8;
}

.search-btn {
    background-color: #00f0ff;
    border: none;
    color: #181524;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #00c8ff;
    transform: scale(1.02);
}

.top-search-tags {
    font-size: 12.5px;
    line-height: 1.85;
    color: #b0b3c6;
    margin-bottom: 28px;
    max-width: 500px;
}

.tag-title {
    font-weight: 700;
    color: #ffffff;
    margin-right: 6px;
}

.search-tag {
    color: #b0b3c6;
    margin-right: 8px;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.search-tag:hover {
    color: #00f0ff;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #00f0ff;
    color: #181524;
    font-weight: 700;
    font-size: 15.5px;
    padding: 13px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #00c8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 240, 255, 0.5);
}

.btn-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #181524;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
}

.social-share-section {
    background: #191628;
    border-radius: 14px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.share-label {
    display: flex;
    flex-direction: column;
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label strong {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

.share-label span {
    font-size: 11px;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    transition: var(--transition);
    text-transform: uppercase;
}

.share-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1.5px);
}

.share-btn.telegram {
    background-color: #29b6f6;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.reddit {
    background-color: #ff4500;
}

.share-btn.twitter {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Information & FAQ Accordion Section */
.content-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.info-block p {
    font-size: 13.5px;
    color: #a2a6b8;
    line-height: 1.7;
    margin-bottom: 10px;
}

.info-block p strong {
    color: #ffffff;
}

.feature-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.feature-bullet-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: #9ea2b5;
    line-height: 1.6;
}

.feature-bullet-list li::before {
    content: '\2022';
    position: absolute;
    left: 4px;
    color: #00f0ff;
    font-size: 16px;
    top: -2px;
}

.feature-bullet-list li strong {
    color: #ffffff;
}

.faq-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 16px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-subtle);
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 4px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-pink);
}

.faq-icon {
    font-size: 12px;
    color: #7b7e91;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.3s ease;
    padding: 0 4px;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 14px;
}

.faq-answer p {
    font-size: 13px;
    color: #989cb0;
}

/* Sidebar Top 10 */
.sidebar-column {
    position: sticky;
    top: 80px;
}

.top-ranking-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ranking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
}

.filter-tabs {
    display: flex;
    background-color: #141120;
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--accent-pink);
    color: #171520;
    font-weight: 700;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.ranking-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateX(3px);
}

.rank-number {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-muted);
    width: 24px;
    text-align: center;
    position: relative;
}

.rank-number.rank-top {
    color: #ffffff;
}

.rank-number.rank-top::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-pink);
    border-radius: 2px;
}

.rank-thumb {
    width: 44px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.anime-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.ranking-item:hover .anime-title {
    color: var(--accent-pink);
}

.anime-meta {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 24px;
    background-color: #100e18;
    text-align: center;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    font-size: 26px;
    font-weight: 800;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.6;
}

/* ==========================================================
   WATCH PAGE & VIDEO STREAMING PLAYER STYLES (Exact HiAnime Clone)
   ========================================================== */
.watch-page-body {
    background-color: #12101d;
}

.watch-main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 20px 40px 20px;
    width: 100%;
}

.watch-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #8c90a2;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.watch-breadcrumbs a:hover {
    color: #ffffff;
}

.watch-breadcrumbs .bc-current {
    color: #e6e6ea;
    font-weight: 600;
}

/* 3-Column Watch Grid */
.watch-layout-grid {
    display: grid;
    grid-template-columns: 200px 1fr 300px;
    gap: 16px;
    align-items: stretch;
}

/* 1. Left Episode List Sidebar */
.watch-episodes-sidebar {
    background-color: #1a1727;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 640px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.episodes-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #171424;
}

.ep-header-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.episodes-list-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.episodes-list-scroll::-webkit-scrollbar {
    width: 5px;
}

.episodes-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.ep-item-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #a7abbf;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.ep-item-btn:hover {
    background-color: #242036;
    color: #ffffff;
}

.ep-item-btn.active {
    background-color: #26213a;
    color: #ffffff;
    font-weight: 700;
}

.ep-item-btn .ep-num {
    font-weight: 700;
    color: #7b7e93;
    width: 24px;
}

.ep-item-btn.active .ep-num {
    color: #ffffff;
}

.ep-item-btn .ep-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 6px;
}

.ep-item-btn .ep-play-icon {
    font-size: 12px;
    color: #9da3b4;
    display: none;
}

.ep-item-btn.active .ep-play-icon {
    display: block;
}

/* 2. Middle Column: Video Player Screen & Server Switcher */
.watch-player-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-screen-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-screen-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.cast-icon-overlay {
    position: absolute;
    top: 14px;
    right: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    z-index: 5;
    pointer-events: none;
}

.player-notice-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 16, 29, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10;
}

.notice-box {
    text-align: center;
    max-width: 480px;
    background: #1e1a2e;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.notice-icon {
    font-size: 36px;
    color: #facc15;
    margin-bottom: 12px;
}

.notice-box p {
    font-size: 13.5px;
    color: #e6e6ea;
    margin-bottom: 18px;
    line-height: 1.6;
}

.btn-notice-switch {
    background-color: #3b374d;
    color: #ffffff;
    border: none;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-notice-switch:hover {
    background-color: #524d6b;
}

/* Player Sub-Controls Bar */
.player-sub-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #171424;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sub-controls-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-control {
    font-size: 12.5px;
    font-weight: 600;
    color: #9da0b5;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: var(--transition);
}

.toggle-control:hover {
    color: #ffffff;
}

.toggle-state {
    color: #ef4444;
    font-weight: 700;
}

.toggle-state.on {
    color: #22c55e;
}

.sub-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-nav-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.player-nav-btn:hover {
    color: #b5b7c7;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Server Selection Section (Image 3 UI) */
.server-selection-section {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    background-color: #171424;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.watching-notice-card {
    background-color: #2b273d;
    color: #ffffff;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.watching-info-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
}

.watching-info-text span {
    font-size: 11px;
    opacity: 0.85;
}

.watching-info-text strong {
    font-size: 15px;
    font-weight: 800;
}

.server-help-text {
    font-size: 11px;
    opacity: 0.75;
    line-height: 1.4;
}

.servers-list-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.server-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-type-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #9da0b5;
    min-width: 65px;
}

.server-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.server-pill-btn {
    background-color: #262237;
    color: #d1d3e2;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.server-pill-btn:hover {
    background-color: #383350;
    color: #ffffff;
}

.server-pill-btn.active {
    background-color: #4b4663;
    color: #ffffff;
    border-color: #696287;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 3. Right Column: Anime Quick Info Sidebar */
.watch-anime-sidebar {
    background-color: #1a1727;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.anime-quick-card {
    display: flex;
    flex-direction: column;
}

.quick-poster-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    background-color: #211e30;
}

.quick-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-anime-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.quick-badges-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.quick-synopsis {
    font-size: 12.5px;
    color: #a7abbf;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-seo-note {
    font-size: 11.5px;
    color: #7b7e93;
    line-height: 1.5;
    margin-bottom: 18px;
}

.quick-actions-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-quick-watchlist,
.btn-quick-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 20px;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
}

.btn-quick-watchlist {
    background-color: #2b273d;
    color: #ffffff;
}

.btn-quick-watchlist:hover {
    background-color: #3a3452;
}

.btn-quick-detail {
    background-color: #ffffff;
    color: #14121f;
}

.btn-quick-detail:hover {
    background-color: #e2e2e8;
}

/* Clear filter button on home page */
.btn-clear-filter {
    background-color: #2b273d;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: var(--font-family);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-clear-filter:hover {
    background-color: #383350;
}

/* ==========================================================
   GREY THEME OVERRIDES FOR BUTTONS
   ========================================================== */
.btn-detail-watch,
.btn-watch-now,
.btn-cta,
.sched-ep-btn.pink-pill,
.stream-filter-btn:hover,
.az-btn.active,
.tab-btn.active,
.day-pill.active {
    background-color: #3b374d !important;
    color: #ffffff !important;
    border-color: #554f6e !important;
}

.btn-detail-watch:hover,
.btn-watch-now:hover,
.btn-cta:hover {
    background-color: #4c4763 !important;
    color: #ffffff !important;
}

.btn-detail-watchlist {
    background-color: #242033;
    color: #e6e6ea;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-detail-watchlist:hover {
    background-color: #302b43;
    color: #ffffff;
}

.spot-arrow:hover,
.day-scroll-arrow:hover,
.btn-show-more-genres:hover,
.sched-ep-btn:hover {
    background-color: #3b374d;
    color: #ffffff;
}

.tag-pill.pink {
    background-color: #2b273d;
    color: #e6e6ea;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-pill.pink:hover {
    background-color: #3b374d;
    color: #ffffff;
}

.tag-pill.cyan {
    background-color: #242036;
    color: #9da0b5;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-pill.cyan:hover {
    background-color: #332d4a;
    color: #ffffff;
}

/* ==========================================================
   WATCH PAGE â€” Full Player Layout
   ========================================================== */
.watch-page-body {
    background-color: #0d0b14;
}

.watch-main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.watch-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #8e92a4;
    padding: 14px 0;
    flex-wrap: wrap;
}

.watch-breadcrumbs a:hover {
    color: var(--accent-pink);
}

/* 3 Column Grid: Episodes | Player | Info */
.watch-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 16px;
    align-items: start;
}

/* ---- Left: Episodes Sidebar ---- */
.watch-episodes-sidebar {
    background-color: #1a1726;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    max-height: 700px;
}

.episodes-header {
    background-color: #201d2e;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ep-header-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #e6e6ea;
}

.episodes-list-scroll {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.episodes-list-scroll::-webkit-scrollbar {
    width: 4px;
}

.episodes-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ep-item-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    border: none;
    color: #b0b3c5;
    font-family: var(--font-family);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: left;
}

.ep-item-btn:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.ep-item-btn.active {
    background-color: rgba(107, 109, 123, 0.25);
    color: #ffffff;
    border-left: 3px solid #6b6d7b;
}

.ep-num {
    font-weight: 700;
    font-size: 14px;
    color: inherit;
    min-width: 28px;
}

.ep-title {
    flex: 1;
}

.ep-play-icon {
    font-size: 14px;
    opacity: 0;
    transition: var(--transition);
}

.ep-item-btn:hover .ep-play-icon,
.ep-item-btn.active .ep-play-icon {
    opacity: 1;
}

/* ---- Middle: Video Player Area ---- */
.watch-player-center {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.video-screen-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.video-screen-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.player-notice-layer {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.notice-box {
    text-align: center;
    max-width: 400px;
    padding: 32px;
}

.notice-icon {
    font-size: 36px;
    color: #f0ad4e;
    margin-bottom: 14px;
}

.notice-box p {
    color: #b5b7cc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.btn-notice-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #6b6d7b;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-notice-switch:hover {
    background-color: #7e8093;
    transform: translateY(-1px);
}

.cast-icon-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    z-index: 5;
}

/* Player Sub Controls Bar */
.player-sub-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1726;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sub-controls-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-control {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #8e92a4;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.toggle-control:hover {
    color: #cfd2e0;
}

.toggle-state {
    font-weight: 700;
    color: #6b6d7b;
    font-size: 12px;
}

.toggle-state.on {
    color: #8ecf8e;
}

.sub-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b5b7cc;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.player-nav-btn:hover {
    background: #6b6d7b;
    color: #ffffff;
}

/* Server Selection Section */
.server-selection-section {
    background-color: #1a1726;
    border-radius: 0 0 12px 12px;
    padding: 0;
    overflow: hidden;
}

.watching-notice-card {
    background: linear-gradient(135deg, rgba(107, 109, 123, 0.2) 0%, rgba(75, 77, 95, 0.1) 100%);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.watching-info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #b5b7cc;
    margin-bottom: 6px;
}

.watching-info-text strong {
    color: #ffffff;
    font-weight: 700;
}

.server-help-text {
    font-size: 12px;
    color: #7e8296;
    line-height: 1.4;
}

.servers-list-wrap {
    padding: 12px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.server-type-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #e6e6ea;
    min-width: 60px;
}

.server-type-badge i {
    font-size: 14px;
    color: #9ea2b5;
}

.server-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.server-pill-btn {
    padding: 7px 18px;
    border-radius: 8px;
    background-color: #242036;
    color: #b0b3c5;
    font-family: var(--font-family);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition);
}

.server-pill-btn:hover {
    background-color: #302b45;
    color: #ffffff;
}

.server-pill-btn.active {
    background-color: #6b6d7b;
    color: #ffffff;
    border-color: #6b6d7b;
}

/* ---- Right: Anime Quick Details Card ---- */
.watch-anime-sidebar {
    position: sticky;
    top: 70px;
}

.anime-quick-card {
    background-color: #1a1726;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quick-poster-wrap {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    max-height: 260px;
}

.quick-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-anime-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.quick-badges-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-synopsis {
    font-size: 12.5px;
    color: #9ea2b5;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-seo-note {
    font-size: 11.5px;
    color: #6e7182;
    line-height: 1.5;
}

.quick-actions-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-quick-watchlist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: #6b6d7b;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-watchlist:hover {
    background-color: #7e8093;
    transform: translateY(-1px);
}

.btn-quick-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: #242036;
    color: #b0b3c5;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-detail:hover {
    background-color: #302b45;
    color: #ffffff;
}

/* ==========================================================
   Responsive Breakpoints
   ========================================================== */
@media (max-width: 1200px) {
    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .trending-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .four-column-rankings-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-hero-container {
        grid-template-columns: 180px 1fr;
    }

    .detail-specs-sidebar {
        grid-column: span 2;
    }

    .watch-layout-grid {
        grid-template-columns: 180px 1fr;
    }

    .watch-anime-sidebar {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {

    .content-grid-layout,
    .lower-container,
    .detail-bottom-container {
        grid-template-columns: 1fr;
    }

    .sidebar-column,
    .lower-sidebar-right,
    .detail-bottom-sidebar {
        position: static;
    }

    .hero-banner {
        padding: 32px 24px;
        min-height: auto;
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .four-column-rankings-section {
        grid-template-columns: 1fr;
    }

    .spotlight-title {
        font-size: 32px;
    }

    .detail-hero-container {
        grid-template-columns: 1fr;
    }

    .detail-poster-wrap {
        max-width: 220px;
        margin: 0 auto;
    }

    .detail-specs-sidebar {
        grid-column: span 1;
    }

    .watch-layout-grid {
        grid-template-columns: 1fr;
    }

    .watch-episodes-sidebar {
        height: 280px;
    }

    .server-selection-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .stream-search-wrapper,
    .top-nav-action span {
        display: none;
    }

    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .trending-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .genres-grid-tags {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-anime-title {
        font-size: 24px;
    }

    .sub-controls-left {
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* ==========================================================
   FILTER PAGE & SCREENSHOT UI STYLES
   ========================================================== */
.filter-main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.filter-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.btn-toggle-filters {
    background: #1c182c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-toggle-filters:hover {
    background: var(--accent-pink);
    color: #14121f;
    border-color: var(--accent-pink);
}

.filter-panel-card {
    background-color: #1a162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 30px;
}

.filter-dropdowns-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.filter-dropdowns-grid.second-row {
    grid-template-columns: repeat(3, 1fr);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-pink);
}

.filter-group select {
    background-color: #120e21;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.date-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.filter-genres-section {
    margin-top: 20px;
    margin-bottom: 24px;
}

.genres-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.filter-genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre-pill-btn {
    background-color: #120e21;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.genre-pill-btn:hover,
.genre-pill-btn.active {
    background-color: var(--accent-pink);
    color: #14121f;
    border-color: var(--accent-pink);
}

.filter-actions-row {
    display: flex;
    gap: 12px;
}

.btn-submit-filter {
    background-color: var(--accent-pink);
    color: #14121f;
    border: none;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-filter:hover {
    filter: brightness(1.1);
}

.btn-reset-filter {
    background-color: #2b273d;
    color: #ffffff;
    border: none;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset-filter:hover {
    background-color: #3b3652;
}

.results-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-results-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.results-count-badge {
    font-size: 13px;
    color: var(--text-muted);
}

/* Floating Scroll-to-top button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-pink);
    color: #14121f;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.4);
    z-index: 99;
    transition: var(--transition);
}

.scroll-to-top-btn:hover {
    transform: translateY(-4px);
}

.watch-related-section {
    margin-top: 30px;
    background-color: #161324;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.related-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-section-title i {
    color: var(--accent-pink);
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .filter-dropdowns-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================
   HI-ANIME STYLE SEARCH OVERLAY POPUP
   ========================================================== */
.search-form {
    position: relative;
}

.search-overlay-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    max-width: 95vw;
    background: rgba(18, 15, 30, 0.92);
    border: 1px solid rgba(255, 186, 222, 0.18);
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 42, 116, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    z-index: 1200;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: overlaySlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated background image layer */
.search-overlay-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('search-overlay-bg.png') center/cover no-repeat;
    opacity: 0.12;
    z-index: 0;
    animation: overlayBgPan 25s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Gradient vignette over the bg */
.search-overlay-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 15, 30, 0.95) 0%, rgba(18, 15, 30, 0.6) 30%, rgba(18, 15, 30, 0.85) 100%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 42, 116, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

@keyframes overlaySlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes overlayBgPan {
    0% {
        transform: scale(1.15) translateX(-3%);
    }

    50% {
        transform: scale(1.25) translateX(3%) translateY(-2%);
    }

    100% {
        transform: scale(1.15) translateX(-1%) translateY(1%);
    }
}

/* Header bar */
.search-overlay-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.overlay-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.text-pink {
    color: var(--accent-pink);
    filter: drop-shadow(0 0 6px rgba(255, 186, 222, 0.5));
}

/* Tab pills with animated slider */
.overlay-tabs {
    display: flex;
    gap: 3px;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border-radius: 8px;
    position: relative;
}

.overlay-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.2s ease;
    position: relative;
    z-index: 2;
}

.overlay-tab:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.overlay-tab.active {
    background: linear-gradient(135deg, var(--accent-pink), #ff2a74);
    color: #14121f;
    box-shadow: 0 4px 14px rgba(255, 42, 116, 0.45);
}

/* List container */
.search-overlay-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 186, 222, 0.25) transparent;
}

.search-overlay-list::-webkit-scrollbar {
    width: 4px;
}

.search-overlay-list::-webkit-scrollbar-thumb {
    background: rgba(255, 186, 222, 0.3);
    border-radius: 2px;
}

/* Individual overlay items with staggered entrance */
.overlay-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    animation: overlayItemSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.overlay-item:nth-child(1) {
    animation-delay: 0.03s;
}

.overlay-item:nth-child(2) {
    animation-delay: 0.06s;
}

.overlay-item:nth-child(3) {
    animation-delay: 0.09s;
}

.overlay-item:nth-child(4) {
    animation-delay: 0.12s;
}

.overlay-item:nth-child(5) {
    animation-delay: 0.15s;
}

@keyframes overlayItemSlide {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overlay-item:last-child {
    border-bottom: none;
}

.overlay-item:hover {
    background: rgba(255, 186, 222, 0.08);
    transform: translateX(4px);
}

/* Rank number */
.overlay-rank {
    font-size: 14px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    min-width: 26px;
    text-align: center;
    font-family: 'Poppins', monospace;
    transition: all 0.3s ease;
}

.overlay-rank.top-rank {
    color: var(--accent-pink);
    text-shadow: 0 0 12px rgba(255, 186, 222, 0.6);
    font-size: 15px;
}

.overlay-item:first-child .overlay-rank.top-rank {
    color: #ffd700;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.overlay-item:nth-child(2) .overlay-rank.top-rank {
    color: #c0c0c0;
    text-shadow: 0 0 12px rgba(192, 192, 192, 0.5);
}

.overlay-item:nth-child(3) .overlay-rank.top-rank {
    color: #cd7f32;
    text-shadow: 0 0 12px rgba(205, 127, 50, 0.5);
}

/* Thumbnail */
.overlay-thumb {
    width: 42px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overlay-item:hover .overlay-thumb {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Info block */
.overlay-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    flex: 1;
}

.overlay-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.overlay-item:hover .overlay-item-title {
    color: var(--accent-pink);
}

.overlay-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.overlay-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 8px;
}

.overlay-type {
    color: rgba(255, 255, 255, 0.45);
}

.overlay-rating {
    color: #ffc107;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 193, 7, 0.3);
}

/* Empty state */
.search-overlay-empty {
    position: relative;
    z-index: 1;
    padding: 30px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* View All Footer */
.search-overlay-footer {
    position: relative;
    z-index: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-pink);
    cursor: pointer;
    transition: background 0.25s ease, letter-spacing 0.3s ease;
}

.search-overlay-footer:hover {
    background: rgba(255, 186, 222, 0.12);
    letter-spacing: 0.5px;
}

/* ==========================================================
   GENRE COLOR CLASSES (tag-pill & genre-link)
   ========================================================== */
.genre-link,
.genre-tag,
.tag-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #94a3b8 !important;
}

.genre-link:hover,
.genre-tag:hover,
.tag-pill:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Override color variants to maintain uniform grey for genres */
.c-green,
.c-pink,
.c-yellow,
.c-cyan,
.c-purple,
.c-coral,
.c-blue,
.c-orange {
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.c-green:hover,
.c-pink:hover,
.c-yellow:hover,
.c-cyan:hover,
.c-purple:hover,
.c-coral:hover,
.c-blue:hover,
.c-orange:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.16) !important;
}

/* Genre tag cloud (sidebar widget) */
.genre-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

/* ==========================================================
   SIDEBAR WIDGETS (Home Page)
   ========================================================== */
.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--border-subtle);
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

/* ==========================================================
   4-COLUMN RANKING GRID (Home Page)
   ========================================================== */
.rank4-col {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-subtle);
}

.rank4-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.rank4-col-header i {
    color: var(--accent-pink);
    font-size: 14px;
}

.rank4-col-header h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.rank4-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: var(--transition);
}

.rank4-item:last-child {
    border-bottom: none;
}

.rank4-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding-left: 4px;
}

.rank4-num {
    font-size: 16px;
    font-weight: 900;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-muted);
    font-style: italic;
}

.rank4-num-1 {
    color: #facc15;
}

.rank4-num-2 {
    color: #9da0b5;
}

.rank4-num-3 {
    color: #fb923c;
}

.rank4-thumb {
    width: 40px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--bg-card-hover);
}

.rank4-info {
    flex: 1;
    min-width: 0;
}

.rank4-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.rank4-meta {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

/* ==========================================================
   ANIME CARD OVERLAY PLAY BUTTON
   ========================================================== */
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 31, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
    font-size: 36px;
    color: #fff;
}

.anime-card:hover .card-overlay {
    opacity: 1;
}

/* ==========================================================
   SPOTLIGHT DOTS
   ========================================================== */
.spotlight-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.spot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.spot-dot.active {
    background: var(--accent-pink);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================
   TAGS SCROLLER â€” No horizontal scroll (wraps in grid)
   ========================================================== */
.tags-scroller-container {
    padding: 14px 0 0;
}

.tags-row.genre-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 4px;
}

/* ==========================================================
   TRENDING CARD hover lift effect
   ========================================================== */
.trending-card {
    transition: transform 0.25s ease;
}

.trending-card:hover {
    transform: translateY(-4px);
}

/* ==========================================================
   HOME LOWER CONTENT LAYOUT
   ========================================================== */
.lower-main-section {
    padding: 20px 0;
}

.lower-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
}

.lower-content-left {
    flex: 1;
    min-width: 0;
}

.lower-sidebar-right {
    width: 280px;
    flex-shrink: 0;
}

.section-block {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.section-header.space-between {
    justify-content: space-between;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: var(--accent-pink);
    font-size: 15px;
}

.view-more-link {
    font-size: 13px;
    color: var(--accent-pink);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.view-more-link:hover {
    color: var(--accent-pink-hover);
}

/* ==========================================================
   ANIME CARDS GRID
   ========================================================== */
.anime-cards-grid {
    display: grid;
    gap: 14px;
}

.anime-cards-grid.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1200px) {
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(5, 1fr);
    }

    .anime-ranking-grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .lower-container {
        flex-direction: column;
    }

    .lower-sidebar-right {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .anime-ranking-grid-4col {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   ANIME CARD
   ========================================================== */
.anime-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border-subtle);
}

.anime-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 186, 222, 0.2);
}

.card-poster {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    background: var(--bg-card-hover);
}

.anime-card:hover .card-poster img {
    transform: scale(1.05);
}

.card-badges-top {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-details {
    padding: 10px 10px 12px;
}

.card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    line-height: 1.3;
}

.card-sub-info {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================
   COMPREHENSIVE DEVICE RESPONSIVENESS & PROPER SPACING
   (Phone, Tablet, Laptop, Desktop for index, home, detail, filter, watch)
   ========================================================== */

/* Standard Laptop & Large Screen (max-width: 1440px) */
@media (max-width: 1440px) {
    .spotlight-section {
        margin: 16px auto 20px;
    }
    .spotlight-slide {
        padding: 50px 60px;
    }
    .spotlight-content {
        max-width: 580px;
    }
    .spotlight-title {
        font-size: 38px;
    }
    .spot-poster-right {
        right: 50px;
        width: 180px;
    }
    .spot-poster-right img {
        height: 255px;
    }
    .spotlight-dots {
        left: 60px;
        bottom: 24px;
    }
    .spotlight-nav-arrows {
        right: 40px;
        bottom: 20px;
    }
}

/* Mid Laptop / Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .spotlight-slide {
        padding: 40px 40px 60px 40px;
    }
    .spotlight-content {
        max-width: 500px;
    }
    .spotlight-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    .spotlight-desc {
        font-size: 13px;
        margin-bottom: 18px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .spot-poster-right {
        right: 35px;
        width: 160px;
    }
    .spot-poster-right img {
        height: 230px;
    }
    .spotlight-dots {
        left: 40px;
        bottom: 20px;
    }
    .spotlight-nav-arrows {
        right: 30px;
        bottom: 16px;
    }
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(5, 1fr);
    }
    .anime-ranking-grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet / Landscape Phone (max-width: 992px) */
@media (max-width: 992px) {
    .spot-poster-right {
        display: none !important;
    }
    .spotlight-section, .spotlight-container {
        min-height: 460px;
    }
    .spotlight-slide {
        padding: 50px 40px 70px 40px;
    }
    .spotlight-title {
        font-size: 30px;
    }
    .spotlight-dots {
        left: 40px;
        bottom: 24px;
    }
    .genre-tags-bar {
        padding: 12px 20px 14px;
    }
    .lower-container {
        flex-direction: column;
    }
    .lower-sidebar-right {
        width: 100%;
    }
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    /* Detail page responsiveness */
    .detail-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
    }
    .detail-poster-wrap {
        width: 180px;
        margin-bottom: 20px;
    }
    .detail-meta-row, .detail-actions {
        justify-content: center;
    }
    /* Watch page responsiveness */
    .watch-layout-container {
        flex-direction: column;
    }
    .watch-sidebar {
        width: 100%;
    }
}

/* Mobile Phone (max-width: 768px) */
@media (max-width: 768px) {
    .spotlight-section, .spotlight-container {
        min-height: 420px;
    }
    .spotlight-slide {
        padding: 40px 24px 75px 24px;
    }
    .spotlight-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .spotlight-desc {
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 18px;
    }
    .spotlight-actions {
        gap: 10px;
    }
    .btn-watch-now {
        padding: 10px 20px;
        font-size: 13px;
    }
    .btn-detail {
        padding: 10px 18px;
        font-size: 13px;
    }
    .spotlight-dots {
        left: 24px;
        bottom: 20px;
    }
    .spotlight-nav-arrows {
        right: 20px;
        bottom: 15px;
    }
    .spot-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .anime-ranking-grid-4col {
        grid-template-columns: 1fr !important;
    }
    /* Filter Page */
    .filter-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Phone / Compact Screens (max-width: 480px) */
@media (max-width: 480px) {
    .stream-nav-container {
        padding: 0 12px;
    }
    .stream-search-wrapper {
        max-width: 180px;
    }
    .stream-nav-right .top-nav-action {
        display: none;
    }
    .spotlight-section, .spotlight-container {
        min-height: 400px;
        border-radius: 12px;
    }
    .spotlight-slide {
        padding: 30px 16px 70px 16px;
    }
    .spotlight-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
    .spotlight-title {
        font-size: 20px;
        line-height: 1.2;
    }
    .spotlight-meta {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
    .spotlight-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 12px;
    }
    .anime-cards-grid.grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .spotlight-dots {
        left: 16px;
        bottom: 16px;
    }
    .spot-dot {
        width: 8px;
        height: 8px;
    }
    .spot-dot.active {
        width: 22px;
    }
    .spotlight-nav-arrows {
        right: 14px;
        bottom: 12px;
    }
}

/* ==========================================================
   TRENDING 20 CAROUSEL (Horizontal Scroll Slider Fix)
   ========================================================== */
.trending-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 10px 4px 18px 4px !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.trending-carousel-track::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.trending-carousel-track .trending-card {
    flex: 0 0 165px !important;
    width: 165px !important;
    min-width: 165px !important;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trending-carousel-track .trending-card:hover {
    transform: translateY(-5px);
}

/* ==========================================================
   SPOTLIGHT HERO (No Poster - Full Width Landscape Banner)
   ========================================================== */
.spot-poster-right {
    display: none !important;
}

.spotlight-content {
    max-width: 850px !important;
    width: 100% !important;
}

/* ==========================================================
   DESKTOP & LAPTOP EXCLUSIVE MOBILE OVERLAY
   ========================================================== */
#desktop-only-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 12, 24, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.desktop-only-card {
    background: linear-gradient(135deg, rgba(24, 24, 32, 0.95), rgba(16, 16, 20, 0.95));
    border: 1px solid var(--border-active);
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 211, 238, 0.2);
}

.desktop-only-icon {
    font-size: 54px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.desktop-only-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.desktop-only-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-desktop-return {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber));
    color: #101014;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-desktop-return:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.4);
}

body.mobile-locked {
    overflow: hidden !important;
}

/* ==========================================================
   REAL ANIME — GOLD & ELECTRIC CYAN ACCENT OVERRIDES
   "real" = electric cyan (#00f0ff)  |  "anime" = white
   Rating / Score / Type / TV / Movie / Episode counts = gold (#ffb800)
   ========================================================== */

/* ---- Logo: "real" = electric cyan glow  |  "anime" = white ---- */
.logo-accent,
.brand-logo .logo-accent {
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.55);
}
.logo-name,
.brand-logo .logo-name {
    color: #ffffff !important;
}

/* ---- Rating Badge (gold pill) ---- */
.badge-rating,
#anime-rating,
#watch-anime-rating {
    background: linear-gradient(135deg, var(--accent-gold), #ffd54f) !important;
    color: #1a1200 !important;
    font-weight: 800 !important;
    border-radius: 5px !important;
    padding: 2px 8px !important;
    font-size: 11.5px !important;
    box-shadow: 0 0 8px var(--accent-gold-glow);
    border: none !important;
}

/* ---- Type Badge (TV / Movie / OVA / ONA etc.) — gold outline ---- */
.badge-type,
#anime-type-badge,
#watch-anime-type {
    background-color: rgba(255, 184, 0, 0.12) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(255, 184, 0, 0.4) !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-size: 11.5px !important;
}

/* ---- Score / Rating chip in spotlight & search overlay ---- */
.score-badge {
    background: rgba(255, 184, 0, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 184, 0, 0.4);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.score-badge i,
.score-badge .fa-star {
    color: var(--accent-gold) !important;
}

/* ---- Star icons (rating ★) everywhere ---- */
.fa-star {
    color: var(--accent-gold) !important;
}

/* ---- Overlay rating text in search dropdown ---- */
.overlay-rating {
    color: var(--accent-gold) !important;
    font-weight: 700;
}

/* ---- Type text in search overlay / card sub-info ---- */
.overlay-type {
    color: rgba(255, 184, 0, 0.8);
    font-weight: 600;
}

/* ---- Card sub-info: TV • ★ 8.5 ---- */
.card-sub-info {
    color: var(--text-muted);
}
/* The rating part is plain text inside card-sub-info — make the whole row slightly gold-tinted */
.anime-card:hover .card-sub-info {
    color: rgba(255, 184, 0, 0.75);
}

/* ---- Top-3 rank numbers: gold ---- */
.rank-number:nth-child(1),
.rank4-num-1 {
    color: #ffd700 !important;
}
.rank-number:nth-child(2),
.rank4-num-2 {
    color: #c0c0c0 !important;
}
.rank-number:nth-child(3),
.rank4-num-3 {
    color: #cd7f32 !important;
}

/* ---- rank-top underline: gold ---- */
.rank-number.rank-top::after {
    background-color: var(--accent-gold) !important;
}

/* ---- Active tab button: gold ---- */
.tab-btn.active {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Section / Category headings ---- */
.category-heading,
.sidebar-heading,
.genres-heading {
    color: var(--accent-gold) !important;
}

/* ---- Schedule highlighted title ---- */
.sched-title-highlight {
    color: var(--accent-gold) !important;
}

/* ---- Active day pill: gold ---- */
.day-pill.active {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Day scroll arrow & schedule ep button hover: gold ---- */
.day-scroll-arrow:hover {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}
.sched-ep-btn.pink-pill,
.sched-ep-btn:hover {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- A-Z active button: gold ---- */
.az-btn.active {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Show more genres hover: gold ---- */
.btn-show-more-genres:hover {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Filter button hover: gold ---- */
.stream-filter-btn:hover {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Spotlight tag pill: gold ---- */
.spotlight-tag {
    background: rgba(255, 184, 0, 0.15) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(255, 184, 0, 0.35) !important;
}
.spotlight-tag i {
    color: var(--accent-gold) !important;
}

/* ---- Spotlight meta score badge ---- */
.spotlight-meta .score-badge {
    background: rgba(255, 184, 0, 0.15);
    color: var(--accent-gold);
    border-color: rgba(255, 184, 0, 0.4);
}

/* ---- Spotlight meta type/TV text ---- */
.meta-item {
    color: #ccc;
}
.meta-item i {
    color: var(--accent-gold) !important;
}

/* ---- Info-block section headings (index.html / landing page) ---- */
.info-block h2 {
    color: var(--accent-gold) !important;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 184, 0, 0.15);
}

/* ---- Feature bullet list strong labels: gold ---- */
.feature-bullet-list li strong {
    color: var(--accent-gold) !important;
}

/* ---- FAQ hover color: gold ---- */
.faq-question:hover {
    color: var(--accent-gold) !important;
}
.faq-item.active .faq-icon {
    color: var(--accent-gold) !important;
}

/* ---- Search focus glow: electric cyan ---- */
.stream-search-bar:focus-within {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25) !important;
}

/* ---- CTA / Watch Now Button: electric cyan ---- */
.btn-watch-now {
    background: linear-gradient(135deg, var(--accent-cyan), #0095ff) !important;
    color: #0a0d14 !important;
}
.btn-watch-now:hover {
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4) !important;
}

/* ---- Landing CTA Button: electric cyan ---- */
.btn-cta {
    background: linear-gradient(135deg, var(--accent-cyan), #0095ff) !important;
    color: #0a0d14 !important;
}
.btn-cta:hover {
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.4) !important;
}

/* ---- Detail watch button: gold ---- */
.btn-detail-watch {
    background: linear-gradient(135deg, var(--accent-gold), #ffd54f) !important;
    color: #1a1200 !important;
}
.btn-detail-watch:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold)) !important;
    box-shadow: 0 6px 18px var(--accent-gold-glow) !important;
}

/* ---- Trending spine number: gold for #1 ---- */
.trending-card:first-child .trend-spine-num {
    color: var(--accent-gold) !important;
}

/* ---- Ranking widget hover title: gold ---- */
.ranking-item:hover .anime-title,
.category-item:hover .mini-title,
.col-view-more:hover {
    color: var(--accent-gold) !important;
}

/* ---- Footer brand logo in footer ---- */
.footer-brand .logo-accent {
    color: var(--accent-cyan) !important;
}

/* ---- Home footer ---- */
.main-footer .footer-bottom,
.main-footer .footer-bottom p {
    color: var(--text-muted);
}
.main-footer .footer-bottom strong,
.main-footer .footer-bottom .logo-accent {
    color: var(--accent-cyan) !important;
}

/* ---- Play overlay circle: gold ---- */
.play-overlay {
    background: rgba(255, 184, 0, 0.88) !important;
    color: #1a1200 !important;
}

/* ---- Card hover title: gold ---- */
.anime-card:hover .card-title {
    color: var(--accent-gold) !important;
}

/* ---- Desktop-only overlay glow ---- */
.desktop-only-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.2) !important;
}
.desktop-only-icon {
    color: var(--accent-cyan) !important;
}
.btn-desktop-return:hover {
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.4) !important;
}

/* ---- Breadcrumb separator color ---- */
.bc-sep {
    color: rgba(255, 184, 0, 0.4);
}

/* ---- Detail breadcrumb link hover ---- */
.detail-breadcrumbs a:hover {
    color: var(--accent-gold) !important;
}

/* ---- Share avatar: gold ---- */
.share-character-avatar {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}

/* ---- Watch page top-rank overlay: gold ---- */
.overlay-rank.top-rank {
    color: var(--accent-gold) !important;
    font-weight: 900;
    text-shadow: 0 0 8px var(--accent-gold-glow);
}

/* ---- Genre tag hover: gold ---- */
.spec-genre-tag:hover {
    background-color: rgba(255, 184, 0, 0.12) !important;
    color: var(--accent-gold) !important;
    border-color: rgba(255, 184, 0, 0.3) !important;
}

/* ---- EP badges: keep green for sub, cyan-blue for dub ---- */
/* No change needed — they're already distinct and readable */

/* ---- Sidebar ranking widget tabs ---- */
.ranking-widget .tab-btn.active {
    background-color: var(--accent-gold) !important;
    color: #1a1200 !important;
}