/*
 * ═══════════════════════════════════════════════════════════
 *  AI BLACK THEME — AnimeStream Premium Overlay
 *  Pure Black + Neon Green + Emerald
 *  Glassmorphism • Glow Effects • Micro-Animations
 * ═══════════════════════════════════════════════════════════
 */

/* ──────────────────────────────────
   CSS VARIABLES
   ────────────────────────────────── */
:root {
    --ai-black: #000000;
    --ai-surface: #000000;
    --ai-surface-2: #050505;
    --ai-surface-3: #0a0a0a;
    --ai-card: rgba(255, 255, 255, 0.02);
    --ai-card-hover: rgba(0, 255, 136, 0.04);
    --ai-border: rgba(255, 255, 255, 0.06);
    --ai-border-hover: rgba(0, 255, 136, 0.15);
    --ai-cyan: #00ff88;
    --ai-violet: #00cc6a;
    --ai-cyan-dim: rgba(0, 255, 136, 0.4);
    --ai-violet-dim: rgba(0, 204, 106, 0.4);
    --ai-text: #ffffff;
    --ai-text-muted: rgba(255, 255, 255, 0.7);
    --ai-text-bright: #ffffff;
    --ai-glow-sm: 0 0 8px rgba(0, 255, 136, 0.15);
    --ai-glow-md: 0 0 15px rgba(0, 255, 136, 0.2), 0 0 30px rgba(0, 255, 136, 0.05);
    --ai-glow-lg: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 60px rgba(0, 255, 136, 0.1);
    --ai-gradient: linear-gradient(135deg, #00ff88, #00cc6a);
    --ai-gradient-subtle: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 106, 0.1));
    --ai-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ai-fire: linear-gradient(135deg, #ff6b35, #ff3c00);
    --ai-fire-glow: 0 0 12px rgba(255, 107, 53, 0.3), 0 0 24px rgba(255, 60, 0, 0.1);
}


/* ──────────────────────────────────
   KEYFRAME ANIMATIONS
   ────────────────────────────────── */
@keyframes neonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes glowBreathe {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.1);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2), 0 0 30px rgba(0, 255, 136, 0.05);
    }
}

@keyframes fireGlow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 107, 53, 0.2);
        border-color: rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 60, 0, 0.35), 0 0 36px rgba(255, 107, 53, 0.1);
        border-color: rgba(255, 107, 53, 0.5);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(0, 255, 136, 0.08);
    }

    50% {
        border-color: rgba(0, 255, 136, 0.2);
    }
}


/* ──────────────────────────────────
   1. GLOBAL FOUNDATIONS
   ────────────────────────────────── */
body {
    background: var(--ai-black) !important;
    color: var(--ai-text) !important;
}

a {
    color: var(--ai-cyan) !important;
    transition: var(--ai-transition);
}

a:hover {
    color: var(--ai-text-bright) !important;
    text-shadow: 0 0 8px var(--ai-cyan-dim);
}

::selection {
    background: var(--ai-cyan);
    color: var(--ai-black);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ai-black);
}

::-webkit-scrollbar-thumb {
    background: var(--ai-surface-3);
    border-radius: 4px;
    border: 1px solid var(--ai-border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ai-cyan);
}


/* ──────────────────────────────────
   2. HEADER (.th)
   ────────────────────────────────── */
.th {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95)) !important;
    border-bottom: 1px solid var(--ai-border) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.8) !important;
}

.th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ai-gradient);
    opacity: 0.3;
}

.circular-logo {
    box-shadow: 0 0 0 2px var(--ai-border), var(--ai-glow-sm) !important;
}

.circular-logo:hover {
    box-shadow: 0 0 0 2px var(--ai-cyan), var(--ai-glow-md) !important;
}


/* ──────────────────────────────────
   3. NAVIGATION (#main-menu)
   ────────────────────────────────── */
#main-menu {
    background: var(--ai-surface) !important;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--ai-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

#main-menu ul li a {
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
    position: relative;
}

#main-menu ul li a:hover {
    color: var(--ai-text-bright) !important;
    background: rgba(0, 255, 136, 0.08) !important;
    text-shadow: 0 0 10px var(--ai-cyan-dim);
}

#main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ai-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#main-menu ul li a:hover::after {
    width: 80%;
}

#main-menu ul li ul {
    background: rgba(10, 10, 10, 0.98) !important;
    border: 1px solid var(--ai-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), var(--ai-glow-sm) !important;
    backdrop-filter: blur(20px);
}

#main-menu ul li ul li a {
    color: var(--ai-text-muted) !important;
}

#main-menu ul li ul li a:hover {
    color: var(--ai-text-bright) !important;
    background: rgba(0, 255, 136, 0.06) !important;
}

.surprise {
    background: rgba(0, 255, 136, 0.1) !important;
    color: var(--ai-cyan) !important;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px !important;
    transition: var(--ai-transition);
}

.surprise:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
    box-shadow: var(--ai-glow-md);
}

/* Mobile menu */
#main-menu input[type=checkbox]:checked~#menu-menu {
    background: var(--ai-surface) !important;
}


/* ──────────────────────────────────
   4. SEARCH
   ────────────────────────────────── */
.search-toggle-btn {
    background: var(--ai-gradient) !important;
    box-shadow: var(--ai-glow-sm) !important;
}

.search-toggle-btn:hover {
    box-shadow: var(--ai-glow-lg) !important;
}

.search-inline-box {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid var(--ai-border) !important;
    box-shadow: var(--ai-glow-md) !important;
}

.search-inline-box input {
    color: var(--ai-text-bright) !important;
}

.searchx #form #s {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

.searchx #form #s:focus {
    border-color: var(--ai-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1) !important;
}

.searchx #form #submit {
    color: var(--ai-cyan) !important;
}

#live-search_results {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), var(--ai-glow-sm) !important;
}

.live-search_result_container li {
    border-bottom: 1px solid var(--ai-border) !important;
    color: var(--ai-text-muted) !important;
}

.live-search_result_container li:hover {
    background: var(--ai-card-hover) !important;
}

.live-search_result_container .post-thumbnail {
    background: none !important;
}

.live-search_result_container .over span {
    color: var(--ai-text-muted) !important;
}


/* ──────────────────────────────────
   5. CONTENT BOXES (.bixbox)
   ────────────────────────────────── */
.bixbox {
    background: var(--ai-card) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    transition: var(--ai-transition);
    animation: fadeInUp 0.5s ease-out;
}

.bixbox:hover {
    border: none !important;
}

/* Section headers — flat dark bar */
.releases {
    border: none !important;
    border-radius: 0 !important;
    background: #111111 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 12px 15px !important;
}

.releases::after {
    display: none !important;
}

.releases h1,
.releases>h2,
.releases h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: 0.3px;
    text-shadow: none !important;
}

.releases .vl {
    background: var(--ai-surface-3) !important;
    color: #ffffff !important;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.releases.hothome {
    background: #111111 !important;
    box-shadow: none !important;
    animation: none !important;
}

.releases.hothome h3 {
    color: #ffffff !important;
    text-shadow: none !important;
}

.releases.latesthome {
    background: #111111 !important;
}

.releases.latesthome h3 {
    color: #ffffff !important;
}

.releases.latesthome .vl {
    background: var(--ai-surface-3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ──────────────────────────────────
   6. ANIME CARDS (.bs .bsx)
   ────────────────────────────────── */
.bs .bsx {
    transition: var(--ai-transition);
    border-radius: 6px;
    overflow: hidden;
}

.bs .bsx:hover {
    transform: translateY(-4px);
    box-shadow: var(--ai-glow-md) !important;
}

.bs .bsx .limit {
    background: var(--ai-surface-2) !important;
    border-radius: 6px;
    overflow: hidden;
}

.bs .bsx .limit .ply {
    background: rgba(0, 0, 0, 0.7) !important;
}

.bs .bsx .tt {
    color: var(--ai-text) !important;
}

/* Style 1: Hide default bottom overlay, show clean image */
.bs:not(.styleegg):not(.styletere):not(.styletwo) .bsx .limit .b {
    display: none !important;
}

.bs .bsx .limit .b .bt .status span {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
}

.bs .bsx .limit .typez {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 11px;
}

.bs .bsx .limit .typez.TV {
    background: rgba(0, 255, 136, 0.15) !important;
    color: #00ff88 !important;
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: inset 0 0 8px rgba(0, 255, 136, 0.1);
}

.bs .bsx .limit .typez.Movie {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ffab40 !important;
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: inset 0 0 8px rgba(255, 152, 0, 0.1);
}

.bs .bsx .limit .typez.OVA {
    background: rgba(156, 39, 176, 0.15) !important;
    color: #ce93d8 !important;
    border-color: rgba(156, 39, 176, 0.3);
    box-shadow: inset 0 0 8px rgba(156, 39, 176, 0.1);
}

.bs .bsx .limit .typez.Drama {
    background: rgba(244, 67, 54, 0.15) !important;
    color: #ef9a9a !important;
    border-color: rgba(244, 67, 54, 0.3);
    box-shadow: inset 0 0 8px rgba(244, 67, 54, 0.1);
}

/* Style Two / Three cards */
.bs.styletere .tt {
    color: var(--ai-text) !important;
}

.bs.styletere .bsx .epdate {
    color: var(--ai-text-muted) !important;
}

/* Style Four (full cards) */
.stylefor a {
    color: var(--ai-text-bright) !important;
}

.stylefor a:hover {
    color: var(--ai-cyan) !important;
}

.stylefor .bsx {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--ai-border);
    border-radius: 8px !important;
    overflow: hidden;
}

.stylefor .bsx:hover {
    border-color: var(--ai-cyan) !important;
    box-shadow: var(--ai-glow-md) !important;
}

/* Style Five */
.stylefiv .bsx .inf span {
    color: var(--ai-text-muted) !important;
}

/* Style Six */
.stylesix {
    border-bottom: 1px solid var(--ai-border) !important;
}

.stylesix .bsx .upscore {
    background: var(--ai-gradient) !important;
    border-radius: 8px !important;
}

.stylesix .bsx .inf span a {
    color: var(--ai-cyan) !important;
}

/* Style Seven */
.seventh .main-seven .limit {
    background: var(--ai-surface-2) !important;
}

.seventh .main-seven .tt .sosev span {
    color: var(--ai-text-muted) !important;
}

.seventh .main-seven .tt .sosev span a {
    color: var(--ai-text-muted) !important;
}

.seventh .main-seven .tt .sosev span a:hover {
    color: var(--ai-cyan) !important;
}

/* Style Egg — info below image instead of overlay */
.bs.styleegg .bsx .egghead {
    position: relative !important;
    background: #000000 !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 10px !important;
}

.bs.styleegg .bsx .egghead .eggtitle {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600;
    margin: 0 0 4px 0 !important;
    text-align: center !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs.styleegg .bsx .egghead .eggmeta {
    display: flex !important;
    justify-content: space-between;
    margin: 0 !important;
}

.bs.styleegg .bsx .egghead .eggmeta .eggtype {
    display: none !important;
}

.bs.styleegg .bsx .egghead .eggmeta .eggepisode {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.65) !important;
    color: #00ff88 !important;
    font-size: 12px !important;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 0 4px 0 0;
    letter-spacing: 0.3px;
    z-index: 2;
    white-space: normal !important;
    max-width: 90%;
    line-height: 1.3;
}

/* Download Badge Overlay */
.bs.styleegg .bsx .limit .dl-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(30, 30, 30, 0.8) !important;
    color: #00ff88 !important;
    font-size: 10px !important;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.5px;
}

.bs.styleegg .bsx .limit .dl-badge i {
    margin-right: 3px;
}

/* Style Nine */
.stylenine {
    border-color: var(--ai-border) !important;
}

.stylenine .bsx .inf {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.stylenine .bsx .inf span a {
    color: var(--ai-cyan) !important;
}


/* ──────────────────────────────────
   7. SIDEBAR
   ────────────────────────────────── */
#sidebar .section {
    background: var(--ai-card) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}

#sidebar .section h3 {
    color: var(--ai-text-bright) !important;
}

#sidebar .section>ul>li {
    border-bottom: 1px solid var(--ai-border) !important;
}

#sidebar .section ul.genre {
    padding: 10px 0 15px;
}

#sidebar .section ul.genre li a {
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

#sidebar .section ul.genre li a:hover {
    color: var(--ai-cyan) !important;
}

#sidebar .section ul.genre::before,
#sidebar .section ul.genre::after {
    background: var(--ai-border) !important;
}

#sidebar .section ul.season li::before {
    background: var(--ai-cyan) !important;
}

#sidebar .section ul.season::-webkit-scrollbar-track {
    background: var(--ai-black) !important;
}

#sidebar .section ul.season::-webkit-scrollbar-thumb {
    background: var(--ai-cyan) !important;
}

/* Sidebar series list */
.serieslist ul li {
    border-bottom: 1px solid var(--ai-border) !important;
}

.serieslist ul li .ctr {
    color: var(--ai-cyan) !important;
    border-color: var(--ai-cyan) !important;
}

.serieslist ul li .leftseries span {
    color: var(--ai-text-muted) !important;
}

.serieslist ul li .imgseries {
    background: none !important;
}

/* Ongoing sidebar */
#sidebar .section .ongoingseries ul li {
    border-bottom: 1px solid var(--ai-border) !important;
}

#sidebar .section .ongoingseries ul li:hover {
    background: var(--ai-card-hover) !important;
}

#sidebar .section .ongoingseries ul li a .l .fas {
    background: var(--ai-cyan) !important;
}

#sidebar .section .ongoingseries ul li a .r {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

/* Sidebar popular top item */
.serieslist.pop ul li.topone .limit .bw .ctr {
    background: var(--ai-gradient) !important;
}

/* Scrollbar in sidebar */
#sidebar .section .ongoingseries ul::-webkit-scrollbar-thumb {
    background: var(--ai-cyan) !important;
}


/* ──────────────────────────────────
   8. VIDEO PLAYER & META
   ────────────────────────────────── */
.megavid {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--ai-border);
    border-radius: 8px !important;
    overflow: hidden;
}

.item {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.meta {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    background: var(--ai-card);
    border: 1px solid var(--ai-border);
    border-radius: 8px !important;
}

.meta h1 {
    color: var(--ai-text-bright) !important;
}

.meta .epx {
    color: var(--ai-text-muted) !important;
}

.meta .epx .lg {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
}

select.mirror {
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
    background: var(--ai-surface-2) !important;
}

/* Nav episodes */
.naveps .nvs a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
    border: 1px solid var(--ai-border);
    transition: var(--ai-transition);
}

.naveps .nvs a:hover {
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
    box-shadow: var(--ai-glow-sm);
}

.naveps .nvsc a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    border: none !important;
}

.naveps.bignav .nvs a {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--ai-border);
}

.naveps.bignav .nvs a:hover {
    background: var(--ai-surface-2) !important;
    color: var(--ai-cyan) !important;
    border-color: var(--ai-border-hover);
}

.naveps.bignav .nvs.nvsc a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

.naveps.bignav .nvs .nolink {
    background: var(--ai-surface) !important;
    color: var(--ai-text-muted) !important;
}

/* Icon toolbar */
.iconx a {
    border: 1px solid var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
    transition: var(--ai-transition);
}

.iconx a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
}


/* ──────────────────────────────────
   9. EPISODE LISTS (.bxcl)
   ────────────────────────────────── */
.bxcl ul li {
    border-bottom: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.bxcl ul li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02) !important;
}

.bxcl ul li:hover {
    background: rgba(0, 255, 136, 0.08) !important;
    color: var(--ai-text-bright) !important;
    border-color: rgba(0, 255, 136, 0.15) !important;
}

.bxcl ul li:hover a {
    color: var(--ai-text-bright) !important;
}

.bxcl ul li span.dt a {
    background: rgba(0, 255, 136, 0.15) !important;
    color: var(--ai-cyan) !important;
}

.bxcl ul::-webkit-scrollbar-thumb,
.quickfilter .filters .filter .scrollz::-webkit-scrollbar-thumb {
    background: var(--ai-cyan) !important;
}

.bxcl ul::-webkit-scrollbar-track,
.quickfilter .filters .filter .scrollz::-webkit-scrollbar-track {
    background: var(--ai-black) !important;
}

.epcheck .ephead {
    color: var(--ai-text-bright) !important;
    border-bottom: 1px solid var(--ai-border) !important;
}


/* ──────────────────────────────────
   10. SINGLE ANIME PAGE
   ────────────────────────────────── */
.bigcontent .infox h1 {
    color: var(--ai-text-bright) !important;
}

.bigcontent .infox .alter {
    color: var(--ai-text-muted) !important;
}

.bigcontent .infox .desc {
    color: var(--ai-text) !important;
}

.bigcontent .infox .spe span::before {
    background: var(--ai-cyan) !important;
}

.bigcontent .infox .genxed a {
    color: var(--ai-cyan) !important;
    border-color: rgba(0, 255, 136, 0.3) !important;
    background: rgba(0, 255, 136, 0.05) !important;
    transition: var(--ai-transition);
}

.bigcontent .infox .genxed a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
    box-shadow: var(--ai-glow-sm);
}

.bigcontent .rt .rating {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border);
    color: var(--ai-text) !important;
}

.bigcontent .thumb {
    border: 3px solid var(--ai-border) !important;
    box-shadow: var(--ai-glow-sm);
}

.animefull .bottom {
    background: rgba(0, 0, 0, 0.5) !important;
    border-top: 1px solid var(--ai-border) !important;
    color: var(--ai-text-muted) !important;
}

.animefull .bottom a {
    color: var(--ai-text) !important;
}

.animefull .bottom a:hover {
    color: var(--ai-cyan) !important;
}

.bottom.tags a {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

.bottom.tags a:hover {
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
}

/* Single info */
.single-info.bixbox .infox .infolimit h2 {
    color: var(--ai-cyan) !important;
}

.single-info.bixbox .infox .rating {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border);
}

.single-info.bixbox .infox .spe span::before {
    background: var(--ai-cyan) !important;
}

.single-info.bixbox .infox .genxed a {
    color: var(--ai-cyan) !important;
    border-color: rgba(0, 255, 136, 0.3) !important;
    background: rgba(0, 255, 136, 0.05) !important;
}

.single-info.bixbox .infox .genxed a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
}

.single-info.bixbox .infox .desc.mindes .colap {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text-muted) !important;
    border: 1px solid var(--ai-border);
}

/* Single episode info panel */
.bixbox.infx.singleinfo .navepsx {
    background: var(--ai-surface) !important;
    border-bottom: 1px solid var(--ai-border);
}

.bixbox.infx.singleinfo .navepsx .nvs.nvsc a {
    border-color: var(--ai-border) !important;
}

.bixbox.infx.singleinfo .navepsx .nvs a:hover {
    background: var(--ai-surface-2) !important;
}

.bixbox.infx.singleinfo ul li {
    background: var(--ai-surface) !important;
}

/* Last/First episode links */
.lastend .inepcx a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    transition: var(--ai-transition);
}

.lastend .inepcx a:hover {
    box-shadow: var(--ai-glow-md);
    transform: translateY(-2px);
}


/* ──────────────────────────────────
   11. DOWNLOAD BOXES
   ────────────────────────────────── */
.dlbox ul li {
    border-bottom: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.dlbox ul li:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}

.dlbox ul li span a {
    color: var(--ai-cyan) !important;
}

.dlbox ul li span a:hover {
    color: var(--ai-text-bright) !important;
    text-shadow: 0 0 8px var(--ai-cyan-dim);
}

.soraddlx .sorattlx {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

.soraddlx .soraurlx {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.soraddlx .soraurlx strong {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
}

.soraddlx a::after {
    color: var(--ai-border) !important;
}

.soraddl .sorattl {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}


/* ──────────────────────────────────
   12. PAGINATION
   ────────────────────────────────── */
.pagination span.page-numbers.current {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    box-shadow: var(--ai-glow-sm);
}

.pagination a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
    border: 1px solid var(--ai-border);
    transition: var(--ai-transition);
}

.pagination a:hover {
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
    box-shadow: var(--ai-glow-sm);
}

.hpage a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    transition: var(--ai-transition);
}

.hpage a:hover {
    box-shadow: var(--ai-glow-md);
    transform: translateY(-2px);
}

.nav_apb a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
    border: 1px solid var(--ai-border);
    transition: var(--ai-transition);
}

.nav_apb a:hover {
    background: var(--ai-surface-3) !important;
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
}


/* ──────────────────────────────────
   13. FOOTER
   ────────────────────────────────── */
#footer {
    background: var(--ai-black) !important;
    color: var(--ai-text-muted) !important;
    border-top: 1px solid var(--ai-border);
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ai-gradient);
    opacity: 0.3;
}

#footer a {
    color: var(--ai-text) !important;
}

#footer a:hover {
    color: var(--ai-cyan) !important;
}

#footer .footermenu {
    background: var(--ai-surface) !important;
    border-bottom: 1px solid var(--ai-border);
}

.footer-az .az-list li a {
    background: rgba(0, 255, 136, 0.1) !important;
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--ai-cyan) !important;
    transition: var(--ai-transition);
}

.footer-az .az-list li a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
    box-shadow: var(--ai-glow-sm);
}

.footer-az span.ftaz {
    border-right: 1px solid var(--ai-border) !important;
}


/* ──────────────────────────────────
   14. COMMENTS
   ────────────────────────────────── */
.commentx h3 {
    color: var(--ai-text) !important;
}

.comment-list>li {
    border: 1px solid var(--ai-border) !important;
    transition: var(--ai-transition);
}

.comment-list>li:hover {
    box-shadow: var(--ai-glow-sm) !important;
    border-color: var(--ai-border-hover) !important;
}

.comment-list .children {
    border-color: var(--ai-border) !important;
}

.commentx textarea,
.commentx #respond input[type="text"] {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

.commentx textarea:focus,
.commentx #respond input[type="text"]:focus {
    border-color: var(--ai-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1) !important;
}

.commentx #submit {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    border: none !important;
    transition: var(--ai-transition);
}

.commentx #submit:hover {
    box-shadow: var(--ai-glow-md);
    transform: translateY(-2px);
}

.comment-list .comment-body .reply a {
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
    transition: var(--ai-transition);
}

.comment-list .comment-body .reply a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
}


/* ──────────────────────────────────
   15. TOOLTIPS & MISC
   ────────────────────────────────── */
.qtip-default {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), var(--ai-glow-sm) !important;
    border: 1px solid var(--ai-border) !important;
}

.qtip-default a {
    color: var(--ai-cyan) !important;
}

.tooltip .detail .rating {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border);
}

/* Breadcrumbs */
.ts-breadcrumb {
    background: var(--ai-surface) !important;
    color: var(--ai-text-muted) !important;
    border-bottom: 1px solid var(--ai-border);
}

/* Bookmarks */
.bookmark {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    transition: var(--ai-transition);
}

.bookmark:hover {
    box-shadow: var(--ai-glow-md);
}

.bookmark.marked {
    background: var(--ai-surface-2) !important;
    color: var(--ai-cyan) !important;
    border: 1px solid var(--ai-cyan);
}

/* Notifications */
.ntf {
    background: rgba(0, 255, 136, 0.08) !important;
    color: var(--ai-cyan) !important;
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
}

/* Announcements */
.announ {
    background: rgba(0, 255, 136, 0.05) !important;
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1) !important;
    color: var(--ai-text) !important;
}

.announ a {
    color: var(--ai-cyan) !important;
}


/* ──────────────────────────────────
   16. QUICK FILTER / ADVANCED SEARCH
   ────────────────────────────────── */
.quickfilter .filters .filter button {
    background: var(--ai-surface-2) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

.quickfilter .filters .filter button:hover,
.quickfilter .filters .filter.open button {
    background: var(--ai-surface-3) !important;
    border-color: var(--ai-border-hover) !important;
    color: var(--ai-text-bright) !important;
}

.quickfilter .filters .filter.submit button {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
    border: none !important;
}

.quickfilter .filters .filter.submit button:hover {
    box-shadow: var(--ai-glow-md);
}

.quickfilter .filters .filter ul {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

.quickfilter .filters .filter ul label {
    color: var(--ai-text) !important;
}

.quickfilter .filters .filter ul li input+label::before,
.quickfilter .filters .filter ul li input:not(:checked)+label::before {
    background: var(--ai-surface-3) !important;
}

.advancedsearch .lbx {
    background: none !important;
    border: 0 !important;
}

.advancedsearch tr .inputx {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
    border: 1px solid var(--ai-border) !important;
}

.checkmarkx,
.checkmark {
    background: var(--ai-surface-2) !important;
}


/* ──────────────────────────────────
   17. TAX INDEX / GENRES
   ────────────────────────────────── */
.taxindex li a {
    background: rgba(0, 255, 136, 0.1) !important;
    border: 1px solid rgba(0, 255, 136, 0.15);
    color: var(--ai-text-bright) !important;
    transition: var(--ai-transition);
}

.taxindex li a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
    box-shadow: var(--ai-glow-sm);
}

.taxindex li a span.count {
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--ai-text-muted) !important;
}

.series-gen .nav-tabs {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border);
}

.series-gen .nav-tabs li.active a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

.genres {
    background: var(--ai-surface) !important;
    color: var(--ai-text-muted) !important;
}

.genres li a {
    color: var(--ai-text) !important;
}


/* ──────────────────────────────────
   18. BLOG
   ────────────────────────────────── */
.bloglist .blogbox .innerblog .infoblog .entry-content {
    color: var(--ai-text-muted) !important;
}

.blogpost .entry-header {
    border-bottom: 1px solid var(--ai-border) !important;
}

.blogpost .entry-header h1 {
    color: var(--ai-text-bright) !important;
}

.blogpost .entry-header .entry-meta {
    color: var(--ai-text-muted) !important;
}

.blogpost .entry-content {
    color: var(--ai-text) !important;
}


/* ──────────────────────────────────
   19. SINGLE EPISODE SIDEBAR
   ────────────────────────────────── */
#singlepisode {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    border-radius: 8px !important;
}

#singlepisode .headlist {
    background: var(--ai-surface-2) !important;
    border-bottom: 1px solid var(--ai-border) !important;
}


/* ──────────────────────────────────
   20. NEW SEASON CARDS
   ────────────────────────────────── */
.newseason .listseries .card .card-box {
    background: var(--ai-card) !important;
    border: 1px solid var(--ai-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: var(--ai-transition);
}

.newseason .listseries .card .card-box:hover {
    border-color: var(--ai-border-hover) !important;
    box-shadow: var(--ai-glow-sm) !important;
}

.newseason .listseries .card .card-box .card-info .card-info-top .desc {
    color: var(--ai-text-muted) !important;
}

.newseason .listseries .card .card-box .card-info .card-info-top .stats .left span {
    color: var(--ai-text-muted) !important;
}

.newseason .listseries .card .card-box .card-info .card-info-top .stats .right {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text-muted) !important;
}

.newseason .listseries .card .card-box .card-info-bottom {
    background: var(--ai-surface-2) !important;
}


/* ──────────────────────────────────
   21. RECOMMENDED & MISC BARS
   ────────────────────────────────── */
.recommended {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.recommended h2 {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

.recommended a {
    color: var(--ai-text) !important;
}

/* AZ sort list */
.lista {
    background: var(--ai-surface) !important;
    border-bottom: 1px solid var(--ai-border) !important;
}

.lista a {
    border: 1px solid var(--ai-border) !important;
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
    transition: var(--ai-transition);
}

.lista a:hover {
    background: var(--ai-cyan) !important;
    color: var(--ai-black) !important;
    border-color: var(--ai-cyan) !important;
}

/* Sort list */
.soralist span {
    border-bottom: 1px solid var(--ai-border) !important;
}

.listo {
    color: var(--ai-text-muted) !important;
}

.listo .bx {
    border-bottom: 1px solid var(--ai-border) !important;
}

.listo .bx .imgx {
    background: none !important;
}


/* ──────────────────────────────────
   22. THEME MODE SWITCH (bottom overrides)
   ────────────────────────────────── */
.slider {
    background: rgba(255, 255, 255, 0.08) !important;
}

.slider::before {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

input:checked+.slider {
    background: rgba(255, 255, 255, 0.12) !important;
}


/* ──────────────────────────────────
   23. PAGE CONTENT
   ────────────────────────────────── */
.page {
    color: var(--ai-text) !important;
}

blockquote,
q {
    background: var(--ai-surface) !important;
    border-left: 3px solid var(--ai-cyan) !important;
    color: var(--ai-text) !important;
}

hr {
    border-color: var(--ai-border) !important;
}


/* 24. LOGIN / AUTH — Reverted to original header.php styles
   No overrides needed — uses theme CSS variables naturally */


/* ──────────────────────────────────
   25. MISC OVERRIDES & POLISH
   ────────────────────────────────── */
/* ListUpd items */
.listupd .lexa .dtl {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.listupd .lexa .dtl h2 a {
    color: var(--ai-text-bright) !important;
}

.listupd .lexa {
    border-bottom: 1px solid var(--ai-border) !important;
}

/* Bookmark badges */
.delmark {
    background: rgba(229, 52, 39, 0.9) !important;
}

.hapus {
    background: linear-gradient(135deg, #e53427, #ff5252) !important;
}

/* Hot badge */
.hotbadge {
    background: linear-gradient(135deg, #ff1744, #ff5252) !important;
    box-shadow: 0 2px 8px rgba(255, 23, 68, 0.4);
}

/* Status badges - keep colorful but modernize */
.bs .bsx .limit .bt span.sb,
.meta .year .status {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* GOV multipart */
.gov-multipart>div {
    border-bottom: 1px solid var(--ai-border) !important;
}

.gov-multipart .gov-mr-host {
    color: var(--ai-text) !important;
}

.gov-multipart .gov-the-embed {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
    border-bottom: 3px solid var(--ai-black) !important;
}

.gov-multipart .gov-the-embed:hover {
    background: var(--ai-surface-2) !important;
}

/* Postbody layout bg overrides */
.postbody .boxed .right .lts ul li .dtl {
    background: var(--ai-surface) !important;
}

.expr {
    background: var(--ai-surface) !important;
}

.dtl {
    border-bottom: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.postb {
    border-bottom: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.archx .arche {
    border-bottom: 1px solid var(--ai-border) !important;
}

.archx .arche .inx h2 a {
    color: var(--ai-text-bright) !important;
}

.archx .arche .inx span {
    color: var(--ai-text-muted) !important;
}

/* Warning box */
.warning {
    background: rgba(229, 52, 39, 0.15) !important;
    color: #ff8a80 !important;
    border: 1px solid rgba(229, 52, 39, 0.3) !important;
}

/* Cookie consent styling */
.lightmode blockquote,
.lightmode q {
    background: var(--ai-surface) !important;
    border-color: var(--ai-border) !important;
}

/* Ensure #top-menu works on mobile */
#top-menu.topmobshow {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

#top-menu li a:hover {
    background: rgba(0, 255, 136, 0.08) !important;
    color: var(--ai-cyan) !important;
}

/* Top Menu Desktop */
.topmobile {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

/* Modex action buttons */
.modex a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
    border: 1px solid var(--ai-border);
    transition: var(--ai-transition);
}

.modex a:hover {
    border-color: var(--ai-cyan) !important;
    color: var(--ai-cyan) !important;
}

/* ──────────────────────────────────
   26. MOBILE RESPONSIVE FIXES
   ────────────────────────────────── */
@media only screen and (max-width: 800px) {
    .th {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95)) !important;
    }

    #main-menu {
        background: rgba(0, 0, 0, 0.97) !important;
    }

    .searchx #form #s {
        border: 1px solid var(--ai-border) !important;
    }

    .shme {
        color: var(--ai-cyan) !important;
    }

    .bixbox.episodedl .epwrapper .navimedia .naveps {
        background: var(--ai-surface) !important;
    }
}

@media only screen and (max-width: 650px) {
    .slider.round {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .surprise {
        background: rgba(0, 255, 136, 0.1) !important;
    }
}

/* ──────────────────────────────────
   27. OVERRIDE .lightmode to also be dark
   Force AI theme even if lightmode is set
   ────────────────────────────────── */
.lightmode {
    background: var(--ai-black) !important;
    color: var(--ai-text) !important;
}

.lightmode a {
    color: var(--ai-cyan) !important;
}

.lightmode a:hover {
    color: var(--ai-text-bright) !important;
}

.lightmode .th {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95)) !important;
}

.lightmode .bixbox {
    background: var(--ai-card) !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ai-text) !important;
}

.lightmode .releases h1,
.lightmode .releases h2,
.lightmode .releases h3,
.lightmode #sidebar .section h3 {
    color: var(--ai-text-bright) !important;
}

.lightmode #sidebar .section {
    background: var(--ai-card) !important;
    border: none !important;
    box-shadow: none !important;
}

.lightmode .releases {
    border: none !important;
    border-left: 3px solid #00ff88 !important;
}

.lightmode #footer {
    background: var(--ai-black) !important;
    color: var(--ai-text-muted) !important;
}

.lightmode #footer .footermenu {
    background: var(--ai-surface) !important;
}

.lightmode .item {
    background: var(--ai-surface) !important;
    color: var(--ai-text) !important;
}

.lightmode .meta {
    background: var(--ai-card) !important;
    color: var(--ai-text) !important;
}

.lightmode .meta h1 {
    color: var(--ai-text-bright) !important;
}

.lightmode blockquote,
.lightmode q {
    background: var(--ai-surface) !important;
    border-color: var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.lightmode .searchx #form #s {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.lightmode #live-search_results {
    background: var(--ai-surface) !important;
}

.lightmode .live-search_result_container li {
    border-bottom: 1px solid var(--ai-border) !important;
}

.lightmode .pagination a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
}

.lightmode .commentx textarea,
.lightmode .commentx #respond input[type="text"] {
    background: var(--ai-surface) !important;
    border: 1px solid var(--ai-border) !important;
    color: var(--ai-text) !important;
}

.lightmode .page {
    color: var(--ai-text) !important;
}

.lightmode .ts-breadcrumb {
    background: var(--ai-surface) !important;
}

.lightmode .recommended {
    background: var(--ai-surface) !important;
}

.lightmode .bs .bsx .tt {
    color: var(--ai-text) !important;
}

.lightmode .naveps .nvs a {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
}

.lightmode .naveps .nvsc a {
    background: var(--ai-gradient) !important;
    color: var(--ai-black) !important;
}

.lightmode .comment-list>li {
    border-color: var(--ai-border) !important;
}

.lightmode .bxcl ul li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02) !important;
}

.lightmode .bxcl ul li {
    border-bottom: 1px solid var(--ai-border) !important;
}

.lightmode .dlbox ul li {
    border-bottom: 1px solid var(--ai-border) !important;
}

.lightmode .dlbox ul li:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}

.lightmode .listupd .lexa .dtl {
    background: var(--ai-surface) !important;
}

.lightmode .quickfilter .filters .filter button {
    background: var(--ai-surface-2) !important;
    color: var(--ai-text) !important;
}

.lightmode .quickfilter .filters .filter ul {
    background: var(--ai-surface) !important;
}

.lightmode .genres {
    background: var(--ai-surface) !important;
}

.lightmode .genres li a {
    color: var(--ai-text) !important;
}

.lightmode .soralist ul {
    color: var(--ai-text-muted) !important;
}

.lightmode .serieslist ul li {
    border-bottom: 1px solid var(--ai-border) !important;
}

.lightmode .newseason .listseries .card .card-box {
    background: var(--ai-card) !important;
}

.lightmode .stylenine .bsx .inf {
    background: var(--ai-surface) !important;
}

.lightmode .stylefiv .bsx .inf span {
    color: var(--ai-text-muted) !important;
}

.lightmode .stylesix {
    border-bottom: 1px solid var(--ai-border) !important;
}

/* ═══════════════════════════════════
   7. STYLE 1 REDESIGN (NEON MATRIX AI)
   ═══════════════════════════════════ */
.style-ai-max {
    margin-bottom: 20px;
}

.style-ai-max .bsx {
    display: block;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0 !important;
}

.style-ai-max .bsx:hover {
    transform: translateY(-6px);
}

.style-ai-max .limit {
    position: relative;
    border-radius: 4px;
    background: #050505;
    border: 1px solid #222;
    overflow: hidden;
    margin-bottom: 12px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.style-ai-max .bsx:hover .limit {
    border-color: #00ff88;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.15), inset 0 0 10px rgba(0, 255, 136, 0.1);
}

.style-ai-max .limit img {
    opacity: 0.9;
    transition: opacity 0.4s ease, transform 0.6s ease;
    width: 100%;
    display: block;
}

.style-ai-max .bsx:hover .limit img {
    opacity: 0.6;
    transform: scale(1.05);
}

/* Vertical Neon Episode Bar */
.style-ai-max .ai-ep-bar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    border-right: 1px solid rgba(0, 255, 136, 0.3);
    padding: 15px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
}

.style-ai-max .ai-ep-bar .ep-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.style-ai-max .ai-ep-bar .ep-num {
    color: #00ff88;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 2px;
}

/* Glowing Type Dot */
.style-ai-max .ai-type-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 10;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    animation: dotPulse 2s infinite alternate;
}

.style-ai-max .ai-type-dot.Movie {
    background: #ffab40;
    box-shadow: 0 0 10px #ffab40, 0 0 20px #ffab40;
}

.style-ai-max .ai-type-dot.OVA,
.style-ai-max .ai-type-dot.ONA {
    background: #ce93d8;
    box-shadow: 0 0 10px #ce93d8, 0 0 20px #ce93d8;
}

@keyframes dotPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Cinematic Scanline */
.style-ai-max .ai-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 255, 136, 0.1) 50%, transparent 100%);
    background-size: 100% 4px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.style-ai-max .bsx:hover .ai-scanline {
    opacity: 1;
    animation: scanlineMove 2s linear infinite;
}

@keyframes scanlineMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100px;
    }
}

/* Hover Play Icon */
.style-ai-max .limit .ply {
    background: rgba(0, 255, 136, 0.15) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88 !important;
}

.style-ai-max .bsx:hover .limit .ply {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* Clean Title Area */
.style-ai-max .tt {
    padding: 0 4px !important;
    text-align: left !important;
    position: relative;
    background: transparent !important;
}

.style-ai-max .tt h2 {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.style-ai-max .bsx:hover .tt h2 {
    color: #f1f1f1 !important;
}

/* Title Hover Line */
.style-ai-max .ai-title-line {
    position: absolute;
    bottom: -6px;
    left: 4px;
    height: 2px;
    width: 0;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.style-ai-max .bsx:hover .ai-title-line {
    width: 40px;
}

/* Hidden defaults inherited from .bs */
.style-ai-max .limit .status,
.style-ai-max .limit .hotbadge {
    z-index: 10;
}

.style-ai-max .limit .hotbadge {
    top: 5px;
    left: 5px;
    right: auto;
}

/* ═══════════════════════════════════
   END AI BLACK THEME
   ═══════════════════════════════════ */