@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: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

/* Brand Graphic Logos (Transparent Cyan Flame Beast + RealAnime Wordmark) */
.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.45));
    transition: transform 0.22s ease, filter 0.22s ease;
}

.brand-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.7));
}

.footer-logo-img {
    height: 44px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.45));
    transition: transform 0.22s ease, filter 0.22s ease;
}

.footer-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.75));
}

.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: none !important;
}

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

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

.login-btn {
    display: inline-flex;
}

/* 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: 210px;
    max-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);
    background-color: #201d2e;
    flex-shrink: 0;
}

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

/* 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: var(--accent-cyan);
    color: #000000;
    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);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-detail-watch:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 240, 255, 0.5);
}

.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: 210px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 16px auto;
    background-color: #201d2e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

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

.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-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 {
    background-color: var(--accent-cyan) !important;
    color: #000000 !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35) !important;
}

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

.btn-detail-watch:hover {
    background-color: var(--accent-cyan-hover) !important;
    color: #000000 !important;
    box-shadow: 0 6px 28px rgba(0, 240, 255, 0.5) !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: 210px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 14px auto;
}

.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);
    }
}

/* ==========================================================
   LIVE SEARCH DROPDOWN (Matches Site Dark CSS & Anikoto Style)
   ========================================================== */
.search-form,
.stream-search-bar {
    position: relative;
}

/* Clear button inside search bars */
.live-search-clear {
    background: transparent;
    border: none;
    color: #8b8ea5;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: none;
    white-space: nowrap;
    align-items: center;
    user-select: none;
}

.live-search-clear:hover {
    color: var(--accent-cyan);
}

/* Live Search Dropdown Container */
.live-search-dropdown,
.search-overlay-box {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 320px;
    max-width: 100%;
    background: rgba(18, 17, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 1px rgba(0, 240, 255, 0.25);
    z-index: 2500;
    overflow: hidden;
    max-height: 480px;
    display: none;
    animation: liveSearchSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* For wide forms like landing page, keep it nicely proportioned */
.search-form .live-search-dropdown {
    left: 0;
    width: 100%;
    max-width: 480px;
}

@keyframes liveSearchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Live Search List */
.live-search-list,
.search-overlay-list {
    display: flex;
    flex-direction: column;
    max-height: 480px;
    overflow-y: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.25) transparent;
}

.live-search-list::-webkit-scrollbar,
.search-overlay-list::-webkit-scrollbar {
    width: 5px;
}

.live-search-list::-webkit-scrollbar-thumb,
.search-overlay-list::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.25);
    border-radius: 4px;
}

/* Individual Live Search Result Row */
.live-search-item,
.overlay-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background: transparent;
    transition: background 0.15s ease, padding-left 0.15s ease;
}

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

.live-search-item:hover,
.overlay-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 17px;
}

.live-search-item:hover .live-search-title,
.overlay-item:hover .overlay-item-title {
    color: var(--accent-cyan);
}

/* Poster Thumbnail */
.live-search-thumb,
.overlay-thumb {
    width: 44px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #1a1a24;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.live-search-item:hover .live-search-thumb,
.overlay-item:hover .overlay-thumb {
    transform: scale(1.05);
}

/* Info container */
.live-search-info,
.overlay-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

/* Anime Title */
.live-search-title,
.overlay-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #f1f2f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    transition: color 0.15s ease;
}

/* Metadata Subtitle (Rating badge, Star rating, Format, Year) */
.live-search-meta,
.overlay-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #8f92a3;
    white-space: nowrap;
    overflow: hidden;
}

/* Age Rating / Classification Badge (e.g., R, PG-13, PG, HD) */
.live-search-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #b7b9cc;
    line-height: 1.2;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.03);
}

/* Star Score */
.live-search-score,
.overlay-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffb800;
}

.live-search-score i {
    font-size: 10px;
}

/* Meta separator dot */
.live-search-dot,
.overlay-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 8px;
    line-height: 1;
}

/* Format / Type (TV, Movie, OVA) */
.live-search-type,
.overlay-type {
    color: #8f92a3;
    font-weight: 500;
    font-size: 11.5px;
    text-transform: uppercase;
}

/* Release Year */
.live-search-year {
    color: #8f92a3;
    font-weight: 500;
    font-size: 11.5px;
}

/* Empty State */
.live-search-empty,
.search-overlay-empty {
    padding: 24px 16px;
    text-align: center;
    color: #7b7e94;
    font-size: 13px;
}

.live-search-empty strong {
    color: #e2e4f0;
}

/* ==========================================================
   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-cyan) !important;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

/* ---- Feature bullet list strong labels: electric cyan ---- */
.feature-bullet-list li strong {
    color: var(--accent-cyan) !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: electric cyan ---- */
.btn-detail-watch {
    background: linear-gradient(135deg, var(--accent-cyan), #0095ff) !important;
    color: #0a0d14 !important;
    border: none !important;
}
.btn-detail-watch:hover {
    background: linear-gradient(135deg, #00d9e6, var(--accent-cyan)) !important;
    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.5) !important;
}
.btn-detail-watch i,
.btn-detail-watch span {
    color: #0a0d14 !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;
}

/* ============================================================
   SITE FOOTER — Rich Multi-Column Footer
   ============================================================ */
.site-footer {
    background: #0b0914;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 20px;
}

.site-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px 32px;
}

.site-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Brand Column */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand-logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-brand-logo .logo-accent {
    color: var(--accent-cyan);
}

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

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 260px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 15px;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-btn:hover {
    background: var(--accent-cyan);
    color: #0b0914;
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Nav Columns */
.footer-col-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, gap 0.2s;
}

.footer-nav-list li a i {
    font-size: 12px;
    opacity: 0.7;
}

.footer-nav-list li a:hover {
    color: var(--accent-cyan);
    gap: 10px;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 40px 0 28px;
}

/* Bottom Row */
.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-copyright .logo-accent {
    color: var(--accent-cyan);
    font-weight: 800;
}

.footer-copyright .logo-name {
    color: #ffffff;
    font-weight: 800;
}

.footer-disclaimer {
    font-size: 11.5px;
    color: #484857;
    text-align: right;
    max-width: 500px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .site-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-disclaimer {
        text-align: left;
    }
}

/* ---- 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;
}

/* ==========================================================
   EPISODE DIVIDER (50-INTERVAL DROPDOWN + SEARCH + GRID)
   ========================================================== */
.episodes-header-block {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #171424;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.ep-controls-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.ep-range-wrapper {
    position: relative;
    flex-shrink: 0;
}

.ep-range-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #201d2e;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ep-range-btn:hover {
    background: #2a263d;
    border-color: rgba(255, 255, 255, 0.2);
}

.ep-range-btn .ep-chevron {
    font-size: 10px;
    color: #a7abbf;
    transition: transform 0.2s ease;
}

.ep-range-wrapper.open .ep-chevron {
    transform: rotate(180deg);
}

.ep-range-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 160px;
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
    color: #171424;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    padding: 6px 0;
}

.ep-range-wrapper.open .ep-range-menu {
    display: block;
}

.ep-range-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1b1926;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ep-range-item:hover {
    background: #f0f1f7;
    color: #000000;
}

.ep-range-item.active {
    background: #f4f5fa;
    color: #0b0a10;
    font-weight: 700;
}

.ep-range-item .fa-check {
    font-size: 12px;
    color: #171424;
}

.ep-search-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.ep-search-icon {
    position: absolute;
    left: 10px;
    color: #8c8fa8;
    font-size: 11px;
    pointer-events: none;
}

.ep-search-input {
    width: 100%;
    background: #201d2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px 6px 28px;
    font-size: 12px;
    color: #ffffff;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s ease;
}

.ep-search-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.ep-search-input::placeholder {
    color: #7b7e93;
}

/* 5-column square grid of episodes (matching Screenshot 1) */
.episodes-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
    padding: 12px !important;
    align-content: start;
}

.ep-grid-btn {
    aspect-ratio: 1 / 1;
    min-height: 38px;
    background: #201d2e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #a7abbf;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.ep-grid-btn:hover {
    background: #2c2740;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.ep-grid-btn.active {
    background: #393354;
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   UNIVERSAL SKELETON SHIMMER LOADING FALLBACK (Screenshot 3 & 4)
   ========================================================== */
@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #191b26 0%, #282a3c 50%, #191b26 100%) !important;
    background-size: 200% 100% !important;
    animation: skeletonShimmer 1.5s infinite ease-in-out !important;
    border: none !important;
    color: transparent !important;
}

.skeleton-shimmer * {
    visibility: hidden !important;
}

@keyframes skeletonPulseDots {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 0.95;
    }
}

.skeleton-dots-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 160px;
}

.skeleton-dots-loader .dot {
    width: 9px;
    height: 9px;
    background-color: #8b8ea8;
    border-radius: 50%;
    display: inline-block;
    animation: skeletonPulseDots 1.4s infinite ease-in-out both;
}

.skeleton-dots-loader .dot:nth-child(1) { animation-delay: -0.32s; }
.skeleton-dots-loader .dot:nth-child(2) { animation-delay: -0.16s; }
.skeleton-dots-loader .dot:nth-child(3) { animation-delay: 0s; }

/* Detail Page Skeleton Structure (Matches Screenshot 4) */
.detail-skeleton-wrap {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    width: 100%;
}

.detail-skeleton-poster {
    width: 210px;
    aspect-ratio: 2 / 3;
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
}

.detail-skeleton-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-skeleton-tags-row {
    display: flex;
    gap: 8px;
}

.detail-skeleton-pill {
    width: 48px;
    height: 18px;
    border-radius: 4px;
}

.detail-skeleton-title {
    width: 70%;
    height: 32px;
    border-radius: 6px;
    margin: 4px 0;
}

.detail-skeleton-subtitle {
    width: 45%;
    height: 18px;
    border-radius: 4px;
}

.detail-skeleton-badges {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}

.detail-skeleton-btn {
    width: 150px;
    height: 42px;
    border-radius: 22px;
    margin: 8px 0;
}

.detail-skeleton-line {
    width: 100%;
    height: 12px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.detail-skeleton-avatar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.detail-skeleton-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

.detail-skeleton-specs {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #13121d;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Watch Page Mini Sidebar Skeleton */
.watch-skeleton-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.watch-skeleton-poster {
    width: 210px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    border-radius: 12px;
    align-self: center;
    margin-bottom: 14px;
}

.watch-skeleton-title {
    width: 85%;
    height: 20px;
    border-radius: 4px;
}

.watch-skeleton-badges {
    display: flex;
    gap: 6px;
}

.watch-skeleton-pill {
    width: 38px;
    height: 18px;
    border-radius: 3px;
}

.watch-skeleton-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.watch-skeleton-act-btn {
    width: 100%;
    height: 38px;
    border-radius: 20px;
}

/* Card Skeleton (For grids on home, filter, detail related) */
.anime-card-skeleton {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.anime-card-skeleton-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
}

.anime-card-skeleton-line {
    height: 12px;
    border-radius: 3px;
}


/* ==========================================================
   ANIKOTO-STYLE SCHEDULE PAGE (schedule.html)
   ========================================================== */
.sched-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}
.sched-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.sched-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sched-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-cyan), #6c5ce7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,240,255,0.3);
    flex-shrink: 0;
}
.sched-title-text h1 { font-size: 22px; font-weight: 800; color: #fff; margin: 0; }
.sched-title-text p  { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }
.sched-header-right  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sched-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,42,133,0.12);
    border: 1px solid rgba(255,42,133,0.35);
    color: #ff529c;
    padding: 6px 13px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.sched-live-dot {
    width: 7px; height: 7px;
    background: #ff2a85;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff2a85;
    animation: liveDotPulse 1.4s infinite ease-in-out;
}
.sched-clock {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: rgba(0,240,255,0.07);
    border: 1px solid rgba(0,240,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
}
/* Controls */
.sched-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.sched-search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 340px;
}
.sched-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 13px;
    pointer-events: none;
}
.sched-search-box input {
    width: 100%;
    background: #1a1729;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 9px 14px 9px 36px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.sched-search-box input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}
.sched-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 12px;
    color: #b1b4c7;
    white-space: nowrap;
}
.sched-stat-chip i { color: var(--accent-cyan); font-size: 11px; }
.sched-stat-chip strong { color: #fff; font-weight: 700; }
.sched-view-toggle { display: flex; gap: 6px; margin-left: auto; }
.sched-view-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #1a1729;
    border: 1px solid rgba(255,255,255,0.07);
    color: #7b7e93;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sched-view-btn:hover, .sched-view-btn.active {
    background: rgba(0,240,255,0.1);
    color: var(--accent-cyan);
    border-color: rgba(0,240,255,0.3);
}
/* Day Tab Bar */
.sched-day-bar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}
@media (max-width: 900px) {
    .sched-day-bar {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
    }
    .sched-day-tab {
        min-width: 100px;
    }
}
.sched-day-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 13px 10px;
    border-radius: 12px;
    background: #1a1729;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    text-align: center;
}
.sched-day-tab:hover {
    background: #221f35;
    border-color: rgba(0,240,255,0.25);
    transform: translateY(-1px);
}
.sched-day-tab.active { background: rgba(0,240,255,0.1); border-color: var(--accent-cyan); }
.sched-tab-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.sched-day-tab.today-tab .sched-tab-label,
.sched-day-tab.active .sched-tab-label { color: rgba(0,240,255,0.7); }
.sched-tab-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; }
.sched-day-tab.active .sched-tab-name,
.sched-day-tab.today-tab .sched-tab-name { color: var(--accent-cyan); }
.sched-tab-count {
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2px 8px;
    margin-top: 2px;
    font-weight: 600;
}
.sched-day-tab.active .sched-tab-count { background: rgba(0,240,255,0.15); color: rgba(0,240,255,0.8); }
/* 7-Column Week View */
.sched-all-columns {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    align-items: start;
}
.sched-col-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px;
    background: #1c1a2d;
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: 2px solid transparent;
    border-radius: 12px 12px 0 0;
}
.sched-col-header.col-today {
    background: rgba(0,240,255,0.07);
    border-bottom-color: var(--accent-cyan);
}
.sched-col-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sched-col-day-name { font-size: 13px; font-weight: 800; color: #d1d3e2; letter-spacing: 0.03em; }
.sched-col-header.col-today .sched-col-day-name { color: var(--accent-cyan); }
.sched-col-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sched-col-count-badge {
    font-size: 10px;
    background: rgba(255,255,255,0.08);
    color: #9da0b5;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 700;
}
.sched-col-header.col-today .sched-col-count-badge { background: rgba(0,240,255,0.15); color: var(--accent-cyan); }
.sched-col-body {
    border: 1px solid rgba(255,255,255,0.05);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #12111c;
    min-height: 80px;
    display: flex;
    flex-direction: column;
}
/* Mini card in week view */
.sched-mini-card {
    display: flex;
    gap: 10px;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    align-items: flex-start;
}
.sched-mini-card:last-child { border-bottom: none; }
.sched-mini-card:hover { background: rgba(255,255,255,0.04); }
.sched-mini-card.card-active-now {
    background: rgba(0,240,255,0.05);
    border-left: 3px solid var(--accent-cyan);
    padding-left: 7px;
}
.sched-mini-thumb {
    position: relative;
    flex-shrink: 0;
    width: 42px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
}
.sched-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sched-mini-thumb-play {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sched-mini-card:hover .sched-mini-thumb-play { background: rgba(0,0,0,0.5); }
.sched-mini-thumb-play i { color: #fff; font-size: 12px; opacity: 0; transition: opacity 0.2s; }
.sched-mini-card:hover .sched-mini-thumb-play i { opacity: 1; }
.sched-mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sched-mini-time {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-cyan);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sched-now-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: hw-pulse 1.2s ease-in-out infinite;
    display: inline-block;
    flex-shrink: 0;
}
.sched-mini-title {
    font-size: 11px;
    font-weight: 600;
    color: #d8dae8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}
.sched-mini-card:hover .sched-mini-title { color: #fff; }
.sched-mini-meta { display: flex; align-items: center; gap: 4px; }
.sched-ep-badge {
    font-size: 9px;
    font-weight: 700;
    background: rgba(52,211,153,0.15);
    color: #34d399;
    border-radius: 4px;
    padding: 1px 6px;
}
.sched-new-badge {
    font-size: 9px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(236,72,153,0.25));
    color: #f472b6;
    border: 1px solid rgba(236,72,153,0.4);
    border-radius: 4px;
    padding: 1px 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sched-new-ep-tag {
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(236,72,153,0.2)) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(236,72,153,0.3) !important;
}
/* Day list view */
.sched-list-wrapper { width: 100%; max-width: 100%; margin: 0; }
.sched-list-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sched-list-heading h2 { font-size: 19px; font-weight: 800; color: #fff; margin: 0; }
.sched-today-badge {
    background: rgba(0,240,255,0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0,240,255,0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}
/* NOW separator */
.sched-now-separator { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; }
.sched-now-separator-line { flex: 1; height: 1px; background: rgba(0,240,255,0.35); }
.sched-now-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(0,240,255,0.1);
    border: 1px solid rgba(0,240,255,0.3);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
/* List items */
.sched-list-item {
    display: flex;
    gap: 16px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #13121e;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 9px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    align-items: center;
}
.sched-list-item:hover {
    background: #1a1829;
    border-color: rgba(0,240,255,0.2);
    transform: translateX(3px);
}
.sched-list-item.list-active {
    background: rgba(0,240,255,0.06);
    border-color: rgba(0,240,255,0.35);
    border-left: 3px solid var(--accent-cyan);
    padding-left: 13px;
}
.sched-list-time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 58px;
    text-align: center;
}
.sched-list-time { font-size: 15px; font-weight: 800; color: #e8eaf0; font-variant-numeric: tabular-nums; }
.sched-list-item.list-active .sched-list-time { color: var(--accent-cyan); }
.sched-list-airing-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,240,255,0.7);
    animation: hw-pulse 1.2s ease-in-out infinite;
}
.sched-list-poster { flex-shrink: 0; width: 52px; height: 72px; border-radius: 7px; overflow: hidden; }
.sched-list-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.sched-list-item:hover .sched-list-poster img { transform: scale(1.06); }
.sched-list-info { flex: 1; min-width: 0; }
.sched-list-title { font-size: 14px; font-weight: 700; color: #e8eaf0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; }
.sched-list-item:hover .sched-list-title { color: #fff; }
.sched-list-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 5px; }
.sched-list-sub-tag { font-size: 10px; font-weight: 700; background: rgba(52,211,153,0.15); color: #34d399; padding: 2px 6px; border-radius: 4px; }
.sched-list-dub-tag { font-size: 10px; font-weight: 700; background: rgba(92,210,230,0.15); color: #5cd2e6; padding: 2px 6px; border-radius: 4px; }
.sched-list-ep-tag { font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.06); color: #9da0b5; padding: 2px 8px; border-radius: 4px; }
.sched-list-genres { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-list-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.sched-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-cyan);
    color: #0b0914;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.sched-watch-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.sched-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    color: #b1b4c7;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.sched-info-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
/* Empty */
.sched-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--text-muted); font-size: 14px; text-align: center; }
.sched-empty i { font-size: 36px; color: #2e2b40; }
/* Responsive */
@media (max-width: 1200px) { .sched-all-columns { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 860px)  { .sched-all-columns { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .sched-all-columns { grid-template-columns: 1fr; } }

/* ==========================================================
   ANIMATED ESTIMATED SCHEDULE ROADMAP PAGE (old, kept for reference)
   ========================================================== */
.schedule-page-container {
    max-width: 1320px;
    margin: 30px auto 60px auto;
    padding: 0 20px;
}


/* Roadmap Hero Section */
.roadmap-hero {
    background: linear-gradient(135deg, rgba(26, 23, 42, 0.95), rgba(18, 16, 30, 0.95));
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.roadmap-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

.roadmap-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.roadmap-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.roadmap-hero-title i {
    color: var(--accent-gold);
    text-shadow: 0 0 12px rgba(255, 184, 0, 0.4);
}

.roadmap-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 42, 133, 0.15);
    border: 1px solid rgba(255, 42, 133, 0.4);
    color: #ff529c;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.roadmap-live-dot {
    width: 8px;
    height: 8px;
    background-color: #ff2a85;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff2a85;
    animation: liveDotPulse 1.4s infinite ease-in-out;
}

@keyframes liveDotPulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ff2a85; }
    100% { transform: scale(0.85); opacity: 0.7; }
}

.roadmap-hero-subtitle {
    color: #9da0b5;
    font-size: 14px;
    line-height: 1.6;
    max-width: 780px;
    margin-bottom: 20px;
}

.roadmap-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.roadmap-stat-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    color: #d1d3e2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.roadmap-stat-chip strong {
    color: var(--accent-gold);
}

/* Roadmap Toolbar: Filters & Views */
.roadmap-toolbar {
    background-color: #171424;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roadmap-toolbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.roadmap-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 400px;
}

.roadmap-search-box input {
    width: 100%;
    background-color: #242033;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 9px 16px 9px 38px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

.roadmap-search-box input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.2);
}

.roadmap-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b7e93;
    font-size: 13px;
}

.roadmap-view-toggles {
    display: flex;
    gap: 8px;
}

.roadmap-toggle-btn {
    background: #242033;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #9da0b5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.roadmap-toggle-btn:hover {
    color: #fff;
    border-color: rgba(255, 184, 0, 0.3);
}

.roadmap-toggle-btn.active {
    background-color: var(--accent-gold);
    color: #1a1200;
    border-color: var(--accent-gold);
}

/* Day Pills in Roadmap */
.roadmap-days-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.roadmap-day-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 20px;
    background: #201c30;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #b1b4c9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.roadmap-day-chip:hover {
    background: #29243c;
    color: #ffffff;
    border-color: rgba(255, 184, 0, 0.3);
}

.roadmap-day-chip.active {
    background: var(--accent-gold);
    color: #1a1200;
    border-color: var(--accent-gold);
    font-weight: 700;
}

.roadmap-day-chip .chip-count {
    font-size: 11px;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 7px;
    border-radius: 10px;
}

/* Animated Timeline Roadmap Layout */
.roadmap-timeline-wrapper {
    position: relative;
    padding: 30px 0 60px 0;
}

/* Central glowing animated spine */
.roadmap-spine-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(180deg, #ffb800 0%, #ff2a85 35%, #7c3aed 70%, #ffb800 100%);
    background-size: 100% 400%;
    border-radius: 4px;
    box-shadow: 0 0 16px rgba(255, 184, 0, 0.45);
    animation: spineFlow 12s linear infinite;
    z-index: 1;
}

@keyframes spineFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 400%; }
}

.roadmap-items-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    z-index: 2;
}

/* Timeline Node Row */
.roadmap-item {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.roadmap-item.left-branch {
    justify-content: flex-start;
}

.roadmap-item.right-branch {
    justify-content: flex-end;
}

/* Center Node Dot with pulsing radar ring */
.roadmap-center-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: #171424;
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(255, 184, 0, 0.6);
    z-index: 3;
    transition: var(--transition);
}

.roadmap-item.active-now .roadmap-center-node {
    border-color: #ff2a85;
    background: #ff2a85;
    box-shadow: 0 0 20px #ff2a85;
}

.roadmap-center-node::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 184, 0, 0.4);
    animation: nodeRotate 8s linear infinite;
}

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

/* Branch connector line */
.roadmap-branch-line {
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 184, 0, 0.6), rgba(255, 42, 133, 0.6));
    z-index: 1;
}

.roadmap-item.left-branch .roadmap-branch-line {
    left: calc(50% - 40px);
    width: 40px;
    transform: translateY(-50%);
}

.roadmap-item.right-branch .roadmap-branch-line {
    left: 50%;
    width: 40px;
    transform: translateY(-50%);
}

/* The Roadmap Card */
.roadmap-card {
    width: calc(50% - 50px);
    background: #171424;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.roadmap-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 184, 0, 0.15);
}

.roadmap-item.active-now .roadmap-card {
    border-color: rgba(255, 42, 133, 0.5);
    box-shadow: 0 0 25px rgba(255, 42, 133, 0.2);
}

/* Poster Thumbnail */
.roadmap-card-poster {
    width: 90px;
    min-width: 90px;
    height: 125px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #242033;
}

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

.roadmap-card:hover .roadmap-card-poster img {
    transform: scale(1.08);
}

.roadmap-card-poster .poster-play-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: var(--accent-gold);
    font-size: 24px;
}

.roadmap-card:hover .roadmap-card-poster .poster-play-icon {
    opacity: 1;
}

/* Card Content Area */
.roadmap-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.roadmap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.roadmap-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(255, 184, 0, 0.12);
    padding: 3px 9px;
    border-radius: 6px;
}

.roadmap-day-tag {
    font-size: 11px;
    font-weight: 600;
    color: #9da0b5;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
}

.roadmap-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.roadmap-card:hover .roadmap-card-title {
    color: var(--accent-gold);
}

.roadmap-card-genres {
    font-size: 11.5px;
    color: #7b7e93;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roadmap-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.roadmap-ep-badge {
    background-color: #242033;
    color: #ffb800;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.roadmap-card-actions {
    display: flex;
    gap: 6px;
}

.roadmap-action-btn {
    border: none;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.roadmap-action-btn.play {
    background: var(--accent-gold);
    color: #14121f;
}

.roadmap-action-btn.play:hover {
    background: #ffc83b;
    transform: scale(1.05);
}

.roadmap-action-btn.detail {
    background: rgba(255, 255, 255, 0.06);
    color: #c5c7d8;
}

.roadmap-action-btn.detail:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Weekly Calendar Grid View */
.roadmap-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.roadmap-grid-card {
    background: #171424;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.roadmap-grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 184, 0, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.roadmap-grid-poster {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: #242033;
}

.roadmap-grid-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.roadmap-grid-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.roadmap-grid-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive adjustments for timeline */
@media (max-width: 900px) {
    .roadmap-spine-line {
        left: 20px;
    }
    .roadmap-center-node {
        left: 20px;
    }
    .roadmap-item.left-branch,
    .roadmap-item.right-branch {
        justify-content: flex-start;
        padding-left: 50px;
    }
    .roadmap-item.left-branch .roadmap-branch-line,
    .roadmap-item.right-branch .roadmap-branch-line {
        left: 20px;
        width: 30px;
    }
    .roadmap-card {
        width: 100%;
    }
}

/* ==========================================================
   HOME PAGE — WEEKLY SCHEDULE WIDGET (Crunchyroll-style)
   ========================================================== */

.home-weekly-schedule-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

/* --- Day Header Bar --- */
.hw-header {
    background: #0d0d14;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hw-days-bar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.hw-day-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 6px;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
    position: relative;
}

.hw-day-cell:last-child { border-right: none; }

.hw-day-cell:hover { background: rgba(255,255,255,0.04); }

.hw-day-cell.hw-day-active {
    background: rgba(0, 240, 255, 0.08);
    border-bottom: 2px solid var(--accent-cyan);
}

.hw-day-cell.hw-day-today .hw-today-tag {
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hw-month-label {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hw-day-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.hw-day-cell.hw-day-active .hw-day-name {
    color: var(--accent-cyan);
}

.hw-ep-count {
    font-size: 10px;
    color: var(--text-muted);
}

.hw-day-cell.hw-day-active .hw-ep-count {
    color: rgba(0,240,255,0.6);
}

/* --- Filter Row --- */
.hw-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #111118;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
    flex-wrap: wrap;
}

.hw-lang-tabs {
    display: flex;
    gap: 6px;
}

.hw-lang-btn {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.hw-lang-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.hw-lang-btn.hw-lang-active {
    background: var(--accent-cyan);
    color: #0d0d14;
    border-color: var(--accent-cyan);
}

.hw-date-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hw-live-clock {
    font-variant-numeric: tabular-nums;
    color: var(--accent-cyan);
    font-weight: 600;
}

.hw-view-all {
    font-size: 12px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}
.hw-view-all:hover { opacity: 0.75; }

/* --- Timeline --- */
.hw-timeline {
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,240,255,0.25) transparent;
}
.hw-timeline::-webkit-scrollbar { width: 4px; }
.hw-timeline::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.3); border-radius: 2px; }

/* --- NOW Marker --- */
.hw-now-marker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    background: rgba(0, 240, 255, 0.07);
    border-top: 1px solid rgba(0,240,255,0.4);
    border-bottom: 1px solid rgba(0,240,255,0.4);
}

.hw-now-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    min-width: 48px;
    font-variant-numeric: tabular-nums;
}

.hw-now-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.12em;
    background: rgba(0,240,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

/* --- Schedule Row --- */
.hw-row {
    display: grid;
    grid-template-columns: 72px 68px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: background 0.18s;
}

.hw-row:hover { background: rgba(255,255,255,0.04); }

.hw-row.hw-row-active {
    background: rgba(0,240,255,0.06);
    border-left: 3px solid var(--accent-cyan);
    padding-left: 17px;
}

.hw-row.hw-row-past { opacity: 0.45; }

/* Time column */
.hw-row-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hw-time-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}

.hw-time-now { color: var(--accent-cyan) !important; }

.hw-dot-node {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.hw-dot-node.hw-dot-active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.6);
    animation: hw-pulse 1.5s ease-in-out infinite;
}

@keyframes hw-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0,240,255,0.5); }
    50% { box-shadow: 0 0 18px rgba(0,240,255,0.9); }
}

/* Thumbnail */
.hw-row-thumb {
    position: relative;
    width: 52px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.hw-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.hw-row:hover .hw-row-thumb img { transform: scale(1.06); }

.hw-thumb-glow {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-cyan);
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,240,255,0.4);
    pointer-events: none;
}

/* Info column */
.hw-row-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

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

.hw-sub-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.04em;
}

.hw-dub-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(92, 210, 230, 0.2);
    color: #5cd2e6;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.04em;
}

.hw-ep-num {
    font-size: 11px;
    color: var(--text-muted);
}

.hw-row-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.hw-row-desc {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Action column */
.hw-row-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 90px;
    text-align: right;
}

.hw-airing-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
}

.hw-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: hw-pulse 1.2s ease-in-out infinite;
}

.hw-countdown {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.04em;
}

.hw-past-badge {
    font-size: 11px;
    color: var(--text-muted);
}

.hw-watch-btn {
    background: rgba(0, 240, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0,240,255,0.25);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-family);
    transition: var(--transition);
    white-space: nowrap;
}

.hw-watch-btn:hover {
    background: var(--accent-cyan);
    color: #0d0d14;
}

/* Empty state */
.hw-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.hw-empty i { font-size: 28px; color: #3a3a50; }

/* ==========================================================
   HOME PAGE RESPONSIVE — WEEKLY SCHEDULE WIDGET
   ========================================================== */
@media (max-width: 768px) {
    .hw-days-bar {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .hw-days-bar::-webkit-scrollbar { display: none; }
    .hw-day-cell { min-width: 68px; }
    .hw-row {
        grid-template-columns: 60px 52px 1fr;
        gap: 10px;
    }
    .hw-row-action { display: none; }
    .hw-filter-row { padding: 10px 14px; }
}


/* ==========================================================================
   APPLE / GSAP-STYLE 3D SCROLL-DRIVEN LANDING PAGE (INDEX.HTML REDESIGN)
   Unified with home.html Palette: Electric Cyan (#00f0ff) & Royal Gold (#ffb800)
   4-Scene Pinned Viewport (440vh) • 120-Frame Canvas Scrubber • CSS 3D Stage
   ========================================================================== */

:root {
    --scene-accent: #00f0ff;
    --scene-secondary: #ffb800;
    --scene-glow: rgba(0, 240, 255, 0.36);
    --scene-gold-glow: rgba(255, 184, 0, 0.32);
    --scene-bg-radial: rgba(0, 240, 255, 0.13);
}

body.landing-3d-body {
    background-color: var(--bg-main, #101014);
    color: var(--text-primary, #f2f2f5);
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-family, 'Poppins', sans-serif);
}

/* --- Clean Top Navigation Bar (Matching home.html & classic index.html) --- */
.clean-landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    background: rgba(16, 16, 20, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.16);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.clean-landing-nav-inner,
.clean-nav-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.clean-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.6px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.clean-nav-brand .brand-logo-img {
    height: 42px;
    max-width: 185px;
}

.clean-nav-brand:hover {
    transform: scale(1.02);
}

.clean-nav-brand .logo-accent {
    color: var(--accent-cyan, #00f0ff);
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.55);
}

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

.clean-nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

/* Sleek Cyber-Glass Navigation Tags */
.clean-nav-tag,
.clean-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #c9cddb;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
}

.clean-nav-tag i,
.clean-nav-link i {
    font-size: 12.5px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.clean-nav-tag:hover,
.clean-nav-link:hover {
    color: #ffffff;
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.42);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.22), inset 0 0 10px rgba(0, 240, 255, 0.05);
    transform: translateY(-1.5px);
}

.clean-nav-tag:hover i,
.clean-nav-link:hover i {
    transform: scale(1.15);
    color: #00f0ff;
}

.clean-nav-tag.active,
.clean-nav-link.active {
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.28);
}

.clean-nav-tag.tag-gold:hover,
.clean-nav-tag.tag-gold.active {
    color: #ffb800;
    background: rgba(255, 184, 0, 0.10);
    border-color: rgba(255, 184, 0, 0.50);
    box-shadow: 0 0 16px rgba(255, 184, 0, 0.24);
}

.clean-nav-tag.tag-gold:hover i {
    color: #ffb800;
}

.clean-nav-tag.tag-wl {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.05);
}

.clean-nav-tag .nav-wl-badge {
    background: linear-gradient(135deg, #00f0ff, #0095ff);
    color: #0a0b0e;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    line-height: 1.35;
    margin-left: 4px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

@media (max-width: 1024px) {
    .clean-landing-navbar {
        height: auto;
        min-height: 64px;
        padding: 10px 0;
    }
    .clean-landing-nav-inner,
    .clean-nav-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        gap: 14px;
    }
    .clean-nav-links {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0;
        gap: 8px;
    }
    .clean-nav-links::-webkit-scrollbar {
        display: none;
    }
    .clean-nav-tag,
    .clean-nav-link {
        padding: 7px 14px;
        font-size: 12.5px;
        gap: 6px;
    }
}

/* ==========================================================================
   1. PINNED 3D VIEWPORT CONTAINER (h-[440vh] -> 100vh Sticky Stage)
   ========================================================================== */
.scroll-3d-track {
    position: relative;
    height: 440vh;
    width: 100%;
}

.scroll-3d-sticky-stage {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    perspective: 1400px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 62% 45%, var(--scene-bg-radial) 0%, rgba(16, 16, 20, 0) 62%),
        radial-gradient(circle at 22% 25%, rgba(255, 184, 0, 0.08) 0%, transparent 52%),
        #101014;
    transition: background 0.5s ease;
}

/* Interactive 120-Frame 3D Canvas Layer */
#anime-3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ambient Cyberpunk Grid & Vignette Overlay */
.stage-cyber-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(to right, rgba(0, 240, 255, 0.028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 184, 0, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 80%);
    pointer-events: none;
}

.stage-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(12, 12, 18, 0.9) 100%);
    pointer-events: none;
}

/* Giant Background Kinetic Kanji Watermark */
.stage-bg-kanji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, -260px);
    font-size: clamp(90px, 17vw, 250px);
    font-weight: 900;
    color: rgba(0, 240, 255, 0.028);
    white-space: nowrap;
    letter-spacing: 0.12em;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}

/* ==========================================================================
   CENTRAL 3D HOLOGRAPHIC MONOLITH RIG (Rotates & Morphs Across Scenes 1–4)
   ========================================================================== */
.monolith-3d-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 470px;
    margin-top: -235px;
    margin-left: -170px;
    z-index: 6;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    pointer-events: none;
}

.monolith-card-core {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(24, 24, 34, 0.92), rgba(14, 14, 20, 0.97));
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.85),
        0 0 48px var(--scene-glow),
        0 0 22px rgba(255, 184, 0, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.22);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.monolith-card-core::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent 55%, var(--accent-cyan, #00f0ff), var(--accent-gold, #ffb800), transparent 100%);
    opacity: 0.5;
    z-index: 0;
    filter: blur(12px);
}

.monolith-char-img-wrap {
    position: absolute;
    inset: 6px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    background: #101014;
}

.monolith-char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    filter: contrast(1.08) saturate(1.12);
}

.monolith-holo-sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(16, 16, 20, 0.04) 0%, rgba(16, 16, 20, 0.25) 55%, rgba(16, 16, 20, 0.96) 100%),
        linear-gradient(125deg, rgba(0, 240, 255, 0.14) 0%, transparent 42%, transparent 60%, rgba(255, 184, 0, 0.12) 100%);
}

.monolith-meta-overlay {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    transform: translateZ(35px);
}

.monolith-power-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.16);
    border: 1px solid rgba(255, 184, 0, 0.45);
    color: var(--accent-gold, #ffb800);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    box-shadow: 0 0 14px rgba(255, 184, 0, 0.25);
}

.monolith-char-name {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 4px 0;
    letter-spacing: -0.4px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.monolith-char-sub {
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.monolith-char-kanji {
    color: var(--accent-cyan, #00f0ff);
    font-weight: 800;
    letter-spacing: 1px;
}

/* Floating 3D Orbital Halo Rings around the Monolith */
.monolith-orbital-ring {
    position: absolute;
    inset: -36px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.28);
    transform: rotateX(72deg) rotateY(12deg) translateZ(-20px);
    pointer-events: none;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.22);
}

.monolith-orbital-ring.ring-2 {
    inset: -68px;
    border-style: solid;
    border-color: rgba(255, 184, 0, 0.22);
    transform: rotateX(65deg) rotateY(-22deg) translateZ(-40px);
}

/* ==========================================================================
   EXPLODED VIEW SHARDS (SCENE 2 — Scatter Outward in 3D Space)
   ========================================================================== */
.exploded-shards-layer {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    transform-style: preserve-3d;
}

.exploded-shard-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(24, 24, 32, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.5);
    will-change: transform, opacity;
}

.exploded-shard-card img {
    width: 54px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 184, 0, 0.35);
}

.shard-info h4 {
    margin: 0 0 3px 0;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
}

.shard-info span {
    display: block;
    font-size: 11px;
    color: #9e9ea8;
}

.shard-info .shard-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: var(--accent-gold, #ffb800);
}

/* ==========================================================================
   SCENE OVERLAY PANELS (SCENES 1, 2, 3, 4) — STRICT POINTER-EVENTS GUARD
   ========================================================================== */
.scroll-scene-layer {
    position: absolute;
    inset: 64px 0 58px 0;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none !important;
    visibility: hidden;
    will-change: transform, opacity;
}

.scroll-scene-layer:not(.active-scene) * {
    pointer-events: none !important;
}

.scroll-scene-layer.active-scene {
    visibility: visible;
    pointer-events: auto !important;
    z-index: 15;
}

/* --- SCENE 1: HERO (Madara Uchiha & Electric Cyan + Gold Typography) --- */
.scene-1-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}

.scene-1-copy {
    max-width: 660px;
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

/* Spotlight Tag Pill — Exact Gold Style from home.html */
.eyebrow-3d-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.38);
    color: var(--accent-gold, #ffb800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow-3d-pill .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-gold, #ffb800);
    box-shadow: 0 0 10px var(--accent-gold, #ffb800);
    animation: pulseGlowDot 1.8s infinite;
}

@keyframes pulseGlowDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.6; }
}

.hero-3d-headline {
    font-size: clamp(34px, 5vw, 66px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.hero-3d-headline .serif-italic {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan, #00f0ff) 0%, #38bdf8 45%, var(--accent-gold, #ffb800) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 6px;
}

.hero-3d-sub {
    font-size: clamp(13.5px, 1.15vw, 16px);
    color: #c7c9dc;
    line-height: 1.65;
    margin: 0 0 22px 0;
    max-width: 560px;
}

.hero-3d-sub strong {
    color: var(--accent-cyan, #00f0ff);
}

/* Hero Glass Search Bar */
.hero-3d-search-form {
    position: relative;
    max-width: 540px;
    margin-bottom: 14px;
}

.hero-3d-search-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-card, #181820);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-3d-search-wrap:focus-within {
    border-color: var(--accent-cyan, #00f0ff);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.28);
}

.hero-3d-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    padding: 8px 0;
}

.hero-3d-search-wrap input::placeholder {
    color: #676775;
}

.hero-3d-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--accent-cyan, #00f0ff), #0095ff);
    color: #0a0d14;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-3d-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

/* Quick Trending Search Tags */
.hero-3d-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-3d-tags .tag-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold, #ffb800);
    margin-right: 4px;
}

.hero-3d-tag-chip {
    font-size: 11px;
    font-weight: 600;
    color: #c7c9dc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 11px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-3d-tag-chip:hover {
    color: #1a1200;
    border-color: var(--accent-gold, #ffb800);
    background: var(--accent-gold, #ffb800);
}

.hero-3d-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 30;
}

/* Primary CTA Button — Exact Electric Cyan Style from home.html */
.btn-3d-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-cyan, #00f0ff), #0095ff) !important;
    color: #0a0d14 !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 240, 255, 0.38);
    transition: all 0.25s ease;
}

.btn-3d-primary i,
.btn-3d-primary span {
    color: #0a0d14 !important;
}

.btn-3d-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0, 240, 255, 0.55);
}

.btn-3d-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(24, 24, 32, 0.85);
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: var(--accent-gold, #ffb800);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-3d-secondary:hover {
    background: var(--accent-gold, #ffb800);
    border-color: var(--accent-gold, #ffb800);
    color: #1a1200;
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.3);
}

.btn-3d-secondary:hover i {
    color: #1a1200 !important;
}

/* --- SCENE 2: EXPLODED ARCHITECTURE SPECS --- */
.scene-2-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px 1fr;
    align-items: center;
    gap: 24px;
}

.exploded-spec-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-glass-card {
    background: rgba(24, 24, 32, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.spec-glass-card:hover {
    border-color: var(--accent-gold, #ffb800);
    transform: translateY(-4px);
}

.spec-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.spec-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan, #00f0ff);
    font-size: 16px;
}

.spec-code-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--accent-gold, #ffb800);
    font-variant-numeric: tabular-nums;
}

.spec-glass-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.spec-glass-card p {
    font-size: 12.5px;
    color: #9e9ea8;
    line-height: 1.6;
    margin: 0;
}

/* --- SCENE 3: COLOR / CHARACTER REALM JOURNEY --- */
.scene-3-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px 1fr;
    align-items: center;
    gap: 28px;
}

.realm-story-panel {
    background: rgba(24, 24, 32, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.realm-quote-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: clamp(18px, 2vw, 23px);
    color: var(--accent-gold, #ffb800);
    line-height: 1.4;
    margin: 12px 0 14px 0;
}

.realm-desc-text {
    font-size: 13px;
    color: #c7c9dc;
    line-height: 1.65;
    margin-bottom: 20px;
}

.realm-selector-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.realm-switch-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(24, 24, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #c7c9dc;
    transition: all 0.25s ease;
}

.realm-switch-card:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    color: #ffffff;
}

.realm-switch-card.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--accent-gold, #ffb800);
    box-shadow: 0 0 24px rgba(255, 184, 0, 0.22);
    transform: translateX(-6px);
}

.realm-swatch-dot {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1.5px solid var(--accent-gold, #ffb800);
}

.realm-switch-meta strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
}

.realm-switch-meta span {
    font-size: 11px;
    color: #9e9ea8;
}

/* --- SCENE 4: FINAL CONVERSION PORTAL & STICKY CTA --- */
.scene-4-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portal-cta-card {
    max-width: 780px;
    width: 100%;
    padding: 40px 36px;
    border-radius: 28px;
    background: rgba(24, 24, 32, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 240, 255, 0.32);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.85),
        0 0 60px rgba(0, 240, 255, 0.18);
}

.portal-cta-title {
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 10px 0 12px 0;
    line-height: 1.1;
}

.portal-cta-sub {
    font-size: 14.5px;
    color: #c7c9dc;
    max-width: 560px;
    margin: 0 auto 26px auto;
    line-height: 1.6;
}

.portal-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.portal-stat-box {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 184, 0, 0.22);
}

.portal-stat-box strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--accent-gold, #ffb800);
}

.portal-stat-box span {
    font-size: 11px;
    color: #9e9ea8;
}

/* ==========================================================================
   BOTTOM TELEMETRY & 120-FRAME SCRUBBER HUD
   ========================================================================== */
.scroll3d-hud-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    z-index: 20;
    background: linear-gradient(180deg, transparent, rgba(16, 16, 20, 0.94));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    pointer-events: none;
}

.hud-frame-readout {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #9e9ea8;
    font-variant-numeric: tabular-nums;
}

.hud-frame-badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan, #00f0ff);
}

.hud-progress-track {
    width: 200px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hud-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan, #00f0ff), var(--accent-gold, #ffb800));
    transition: width 0.08s linear;
}

.hud-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-gold, #ffb800);
    pointer-events: auto;
    cursor: pointer;
}

/* ==========================================================================
   BELOW-THE-FOLD: CREATIVE ANIMATED SHOWCASE & KINETIC BENTO HUB
   ========================================================================== */
.landing-details-wrapper {
    position: relative;
    z-index: 25;
    background: var(--bg-main, #101014);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    padding: 0 0 70px 0;
}

/* 1. Infinite Animated Cyber Ticker / Marquee Strip */
.cyber-marquee-strip {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(255, 184, 0, 0.1), rgba(0, 240, 255, 0.08));
    border-bottom: 1px solid rgba(255, 184, 0, 0.22);
    padding: 14px 0;
    margin-bottom: 64px;
}

.cyber-marquee-track {
    display: flex;
    width: max-content;
    gap: 42px;
    animation: cyberMarqueeScroll 32s linear infinite;
}

@keyframes cyberMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f2f2f5;
    white-space: nowrap;
}

.marquee-item i {
    color: var(--accent-gold, #ffb800);
}

.marquee-item .cyan-highlight {
    color: var(--accent-cyan, #00f0ff);
}

.landing-section-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header-3d {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.section-header-3d h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.8px;
    margin: 8px 0 12px 0;
}

.section-header-3d h2 .text-gradient-cyan-gold {
    background: linear-gradient(135deg, var(--accent-cyan, #00f0ff) 0%, var(--accent-gold, #ffb800) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header-3d p {
    font-size: 14.5px;
    color: #9e9ea8;
    line-height: 1.6;
}

/* Iconic Characters 6-Card Grid */
.legends-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-bottom: 72px;
}

.legend-char-card {
    position: relative;
    border-radius: 20px;
    background: var(--bg-card, #181820);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.legend-char-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan, #00f0ff);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 28px rgba(0, 240, 255, 0.18);
}

.legend-avatar-img {
    width: 88px;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 184, 0, 0.4);
}

.legend-card-body {
    flex: 1;
    min-width: 0;
}

.legend-role-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold, #ffb800);
    display: block;
    margin-bottom: 3px;
}

.legend-card-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.legend-anime-title {
    font-size: 12px;
    color: #9e9ea8;
    margin-bottom: 12px;
    display: block;
}

.legend-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-legend-watch {
    padding: 7px 14px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent-cyan, #00f0ff), #0095ff);
    color: #0a0d14;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-legend-watch:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0, 240, 255, 0.4);
}

.btn-legend-wl {
    padding: 7px 11px;
    border-radius: 9px;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: var(--accent-gold, #ffb800);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-legend-wl:hover {
    background: var(--accent-gold, #ffb800);
    color: #1a1200;
}

/* ==========================================================================
   CREATIVE ANIMATED INFO & COMPARISON CARDS (Replaces Plain Text in Screenshot 2)
   ========================================================================== */

/* Scroll-Triggered Reveal Animation Class */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 1. Animated Hero Statement Card */
.creative-hero-showcase-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(145deg, #181822 0%, #12121a 100%);
    border: 1px solid rgba(0, 240, 255, 0.28);
    padding: 34px 32px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 240, 255, 0.08);
}

.creative-hero-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan, #00f0ff), var(--accent-gold, #ffb800), transparent);
    animation: borderBeamSweep 4.5s ease-in-out infinite;
}

@keyframes borderBeamSweep {
    0% { left: -60%; }
    100% { left: 120%; }
}

.showcase-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cyber-chip-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.14);
    border: 1px solid rgba(255, 184, 0, 0.4);
    color: var(--accent-gold, #ffb800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cyber-chip-cyan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--accent-cyan, #00f0ff);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.creative-showcase-title {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 14px 0;
    background: linear-gradient(90deg, #ffffff 0%, var(--accent-cyan, #00f0ff) 55%, var(--accent-gold, #ffb800) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creative-showcase-lead {
    font-size: 14.5px;
    color: #c7c9dc;
    line-height: 1.75;
    margin-bottom: 18px;
}

.creative-showcase-lead strong {
    color: var(--accent-gold, #ffb800);
    font-weight: 700;
}

.hianime-callout-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(255, 184, 0, 0.08));
    border-left: 4px solid var(--accent-gold, #ffb800);
    color: #e2e4f0;
    font-size: 13.5px;
    line-height: 1.6;
}

.hianime-callout-banner i {
    font-size: 24px;
    color: var(--accent-gold, #ffb800);
    flex-shrink: 0;
}

/* 2. Animated 9-Card Bento Grid (Why Real Anime is Better) */
.creative-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 900;
    color: #ffffff;
    margin: 36px 0 18px 0;
}

.creative-section-heading i {
    color: var(--accent-gold, #ffb800);
    filter: drop-shadow(0 0 10px rgba(255, 184, 0, 0.45));
}

.creative-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.creative-bento-card {
    position: relative;
    border-radius: 18px;
    background: var(--bg-card, #181820);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.creative-bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.creative-bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan, #00f0ff);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 22px rgba(0, 240, 255, 0.16);
}

.creative-bento-card:hover::after {
    opacity: 1;
}

.creative-bento-card.gold-variant:hover {
    border-color: var(--accent-gold, #ffb800);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 184, 0, 0.18);
}

.bento-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bento-icon-orb {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--accent-cyan, #00f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.creative-bento-card.gold-variant .bento-icon-orb {
    background: rgba(255, 184, 0, 0.14);
    border-color: rgba(255, 184, 0, 0.4);
    color: var(--accent-gold, #ffb800);
    box-shadow: 0 0 16px rgba(255, 184, 0, 0.22);
}

.bento-num-tag {
    font-size: 11px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 1px;
}

.creative-bento-card h3 {
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.creative-bento-card.gold-variant h3 {
    color: var(--accent-gold, #ffb800);
}

.creative-bento-card p {
    font-size: 12.8px;
    color: #9e9ea8;
    line-height: 1.6;
    margin: 0;
}

/* 3. Popular Anime Creative Interactive Showcase Grid */
.creative-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}

.popular-pill-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(145deg, #181820, #14141c);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.28s ease;
}

.popular-pill-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--accent-gold, #ffb800);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 184, 0, 0.18);
}

.pop-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.pop-card-head strong {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--accent-cyan, #00f0ff);
}

.pop-card-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255, 184, 0, 0.15);
    color: var(--accent-gold, #ffb800);
    border: 1px solid rgba(255, 184, 0, 0.35);
}

.popular-pill-card p {
    font-size: 12px;
    color: #9e9ea8;
    line-height: 1.5;
    margin: 0;
}

/* 4. Interactive Comparison Matrix (Real Anime vs Competitors) */
.creative-vs-matrix {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 42px;
}

.vs-row-card {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-radius: 16px;
    background: var(--bg-card, #181820);
    border: 1px solid rgba(0, 240, 255, 0.14);
    transition: all 0.25s ease;
}

.vs-row-card:hover {
    border-color: var(--accent-cyan, #00f0ff);
    background: #1d1d28;
    transform: translateX(6px);
}

.vs-matchup-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs-matchup-title .vs-pill {
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--accent-gold, #ffb800);
    color: #1a1200;
}

.vs-matchup-desc {
    font-size: 13px;
    color: #c7c9dc;
    line-height: 1.5;
}

.vs-winner-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--accent-cyan, #00f0ff);
    white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE & PREFERS-REDUCED-MOTION ACCESSIBILITY FALLBACK
   ========================================================================== */
@media (max-width: 1100px) {
    .scene-1-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .scene-1-copy {
        margin: 0 auto;
    }
    .hero-3d-search-form,
    .hero-3d-tags {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-3d-tags,
    .hero-3d-cta-row {
        justify-content: center;
    }
    .scene-2-layout,
    .scene-3-layout {
        grid-template-columns: 1fr;
        overflow-y: auto;
        max-height: calc(100vh - 140px);
    }
    .monolith-3d-stage {
        opacity: 0.22 !important;
        pointer-events: none;
    }
    .vs-row-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .clean-landing-nav-inner {
        padding: 0 14px;
    }
    .clean-nav-links {
        gap: 14px;
        font-size: 12px;
    }
    .portal-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .portal-cta-card {
        padding: 26px 18px;
    }
    .hud-progress-track {
        width: 90px;
    }
}

/* Reduced Motion Mode (OS Preference) */
@media (prefers-reduced-motion: reduce) {
    body.landing-3d-body .scroll-3d-track {
        height: auto !important;
    }
    body.landing-3d-body .scroll-3d-sticky-stage {
        position: relative !important;
        height: auto !important;
        min-height: 100vh;
        padding: 100px 0 60px;
        display: block;
    }
    body.landing-3d-body .scroll-scene-layer {
        position: relative !important;
        inset: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        margin-bottom: 48px;
    }
    body.landing-3d-body .monolith-3d-stage,
    body.landing-3d-body .exploded-shards-layer {
        display: none !important;
    }
}
