/*
Theme Name: MangaReader Premium
Description: MangaOrzo Dark Theme
Version: 4.0
Author: Manga Zero
*/

/* ══ 1. VARIABLES ══ */
:root {
    --bg-deep: #0d0d12;
    --bg-card: #15151e;
    --bg-hover: #1c1c28;
    --accent: #ffffff;
    --accent2: #cbd5e1;
    --accent-gradient: linear-gradient(135deg, #ffffff, #cbd5e1);
    --accent-glow: rgba(255, 255, 255, 0.4);
    --gold: #fbbf24;
    --green: #4ade80;
    --red: #f87171;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --glass: rgba(13, 13, 18, 0.92);
    --border-color: rgba(255, 255, 255, 0.07);
    --radius: 12px;
}

/* ══ 2. RESET ══ */
*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ══ 4. NAVBAR ══ */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    background: rgba(13, 13, 18, .88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: .15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    padding: .4rem .95rem;
    border-radius: 8px;
    transition: all .2s;
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, .06);
}

.nav-links a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: 0;
    padding-bottom: .5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: .4rem 1rem;
    transition: border-color .2s;
}

.search-box:focus-within {
    border-color: var(--accent);
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    color: var(--text-main);
    font-size: .84rem;
    width: 160px;
}

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

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .8rem;
    color: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}

.avatar:hover {
    border-color: var(--accent);
}

.mobile-only {
    display: none;
}

/* ══ MOBILE SEARCH ══ */
.mobile-search-wrapper {
    display: none;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 0;
    position: relative;
    z-index: 999;
}

.mobile-search-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--text-main);
    outline: none;
    font-family: inherit;
}

/* ══ HAMBURGER TRIGGER ══ */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.04);
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.nav-hamburger:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.18);
}

.nav-hamburger > span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.nav-hamburger:hover > span { background: var(--text-main); }
.nav-hamburger > span:nth-child(1) { width: 16px; }
.nav-hamburger > span:nth-child(2) { width: 11px; }
.nav-hamburger > span:nth-child(3) { width: 14px; }
.nav-hamburger:hover > span:nth-child(2) { width: 16px; }

/* ══ USER DROPDOWN ══ */
.user-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 260px;
    background: #0f0f18;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    display: block !important;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* — Header block — */
.udrop-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(168,85,247,0.14) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.udrop-avatar-large {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}

.udrop-avatar-guest {
    background: linear-gradient(135deg, #334155, #475569) !important;
    box-shadow: none !important;
    font-size: 16px;
}

.udrop-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.udrop-name {
    font-size: 14px;
    font-weight: 800;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.udrop-role {
    font-size: 11px;
    font-weight: 600;
    color: #a855f7;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* — Body links — */
.udrop-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.udrop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #94a3b8 !important;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.18s ease;
    cursor: pointer;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
}

.udrop-item:hover {
    background: rgba(255,255,255,0.05);
    color: #e2e8f0 !important;
}

.udrop-item:hover .udrop-arrow { opacity: 1; transform: translateX(2px); }

.udrop-item-accent { color: #a78bfa !important; }
.udrop-item-accent:hover { background: rgba(167,139,250,0.08) !important; color: #c4b5fd !important; }

.udrop-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.udrop-item:hover .udrop-icon { transform: scale(1.12); }

.udrop-icon-bm  { background: rgba(248,113,113,0.12); color: #f87171; }
.udrop-icon-up  { background: rgba(139,92,246,0.14);  color: #a78bfa; }
.udrop-icon-add { background: rgba(52,211,153,0.12);  color: #34d399; }
.udrop-icon-pf  { background: rgba(56,189,248,0.12);  color: #38bdf8; }

.udrop-label { flex: 1; }

.udrop-arrow {
    font-size: 10px;
    opacity: 0;
    color: #475569;
    transition: all 0.18s;
}

/* — Footer — */
.udrop-footer {
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.udrop-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px;
    border-radius: 12px;
    background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.15);
    color: #f87171 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.18s;
}

.udrop-logout:hover {
    background: rgba(248,113,113,0.18) !important;
    border-color: rgba(248,113,113,0.4);
    transform: none;
}

@media (max-width: 800px) {
    nav { padding: 0 1rem; }
    .nav-links { display: none !important; }
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .nav-right { gap: 8px !important; }
    .user-dropdown {
        position: fixed;
        right: 15px;
        top: 60px;
        width: calc(100% - 30px);
    }
}

/* ══ 9. LIVE SEARCH ══ */
.live-search_sb {
    background: #15151e !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85) !important;
    overflow: hidden !important;
    margin-top: 10px !important;
}

.live-search_sb ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.live-search_header {
    padding: 10px 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.live-search_lnk {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    transition: 0.2s !important;
}

.live-search_lnk:last-child {
    border-bottom: none !important;
}

.live-search_lnk:hover,
.live-search_selected {
    background: rgba(168, 85, 247, 0.09) !important;
}

.search-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
}

.search-item img {
    width: 45px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

.search-info {
    display: flex !important;
    flex-direction: column !important;
}

.search-info strong {
    color: var(--text-main) !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
}

.search-info span {
    color: var(--text-muted) !important;
    font-size: 11px !important;
}

/* ══ 10. TYPE BADGES ══ */
.type-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: var(--accent-gradient) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.type-badge.manhua {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9) !important;
}

/* ══ 11. HERO EPIC SLIDER ══ */
.hero.main-hero-slider {
    background: #0a0a0f;
    padding: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.main-hero-slider {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

.hds-slide {
    position: relative;
    height: 460px;
    overflow: hidden;
    display: flex !important;
    align-items: center;
}

.hds-bg {
    position: absolute;
    inset: 0;
    background: #050508;
    z-index: 0;
}

.hds-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.hds-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 45px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 40px;
    height: 100%;
}

.hds-cover-wrap {
    position: relative;
    flex-shrink: 0;
}

.hds-cover-glow {
    position: absolute;
    inset: -18px;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.45) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: hds-glow 3s ease-in-out infinite;
}

@keyframes hds-glow {

    0%,
    100% {
        opacity: .55;
        transform: scale(1)
    }

    50% {
        opacity: 1;
        transform: scale(1.1)
    }
}

.hds-cover-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(168, 85, 247, 0.3);
    transition: transform 0.4s;
}

.hds-cover-link:hover {
    transform: scale(1.03) translateY(-5px);
}

.hds-cover-img {
    display: block;
    width: 195px;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.hds-score-badge {
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7, #d946ef);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
}

.hds-score-badge i {
    color: #fbbf24;
    font-size: 11px;
}

.hds-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.hds-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hds-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid;
}

.hds-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: hds-blink 2s ease-in-out infinite;
}

@keyframes hds-blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.hds-genre-badge {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
}

.hds-title {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.hds-title a {
    text-decoration: none;
    background: linear-gradient(90deg, #fff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s;
}

.hds-title a:hover {
    opacity: 0.8;
}

.hds-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.hds-btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #a855f7, #d946ef);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    padding: 13px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(168, 85, 247, 0.45);
    transition: all 0.3s;
}

.hds-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(168, 85, 247, 0.65);
}

.hds-btn-shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: hds-shine 3s infinite;
}

@keyframes hds-shine {
    0% {
        left: -75%
    }

    40%,
    100% {
        left: 150%
    }
}

.hds-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 12px;
    transition: all 0.3s;
}

.hds-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transform: translateY(-2px);
}

/* OWL Dots */
.hero-slider-owl .owl-nav {
    display: none !important;
}

.hero-slider-owl .owl-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-slider-owl .owl-dot {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
}

.hero-slider-owl .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    display: block;
    border-radius: 50% !important;
    transition: all 0.3s !important;
    margin: 0 4px !important;
}

.hero-slider-owl .owl-dot.active span {
    width: 28px !important;
    border-radius: 4px !important;
    background: var(--accent) !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6) !important;
}

/* Slide Animations */
.owl-item.active .hds-info {
    animation: hds-from-right .7s ease-out both;
}

.owl-item.active .hds-cover-wrap {
    animation: hds-from-bottom .6s ease-out both;
}

@keyframes hds-from-right {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

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

@keyframes hds-from-bottom {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

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

@media (max-width: 768px) {
    .hds-slide {
        height: auto !important;
        min-height: 300px;
    }

    .hds-inner {
        padding: 20px 16px 35px;
        gap: 16px;
        align-items: flex-start;
    }

    .hds-cover-img {
        width: 105px;
        height: 155px;
    }

    .hds-title {
        font-size: 16px;
    }

    .hds-desc {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }

    .hds-btn-primary {
        font-size: 12px;
        padding: 10px 16px;
    }

    .hds-btn-ghost {
        display: none;
    }
}

@media (max-width: 480px) {
    .hds-cover-img {
        width: 85px;
        height: 125px;
    }

    .hds-genre-badge {
        display: none;
    }
}

/* ══ 12. DISCORD BANNER ══ */
.discord-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #5865F2, #7289da);
    padding: 15px 30px;
    border-radius: 14px;
    color: #fff;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
    transition: 0.3s;
}

.discord-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.5);
}

.db-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #5865F2;
    border-radius: 12px;
    border-bottom-right-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}

.db-icon::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 12px;
    height: 12px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.db-left {
    display: flex;
    align-items: center;
}

.db-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.db-info p {
    margin: 2px 0 0;
    font-size: 13px;
    opacity: 0.9;
    color: #eee;
}

.db-btn {
    background: #fff;
    color: #5865F2;
    padding: 8px 25px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
}

/* ══ 13. SECTION HEADERS ══ */
.releases,
.bixbox .releases,
.hotslid .releases,
.hothome .releases {
    background: transparent !important;
    border: none !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
}

.releases h2,
.bixbox h2 {
    background: transparent !important;
    color: var(--text-main) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    border: none !important;
    border-left: 4px solid var(--accent) !important;
    line-height: 1.2 !important;
}

.releases h2 i {
    margin-right: 8px;
    color: var(--accent);
}

.releases h2:after {
    display: none !important;
}

.view-all,
.vl {
    background: transparent !important;
    color: var(--accent) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}

.view-all:hover,
.vl:hover {
    color: var(--accent2) !important;
    opacity: 0.8 !important;
}

/* ══ 14. POPULAR SLIDER ══ */
.popconslide.owl-carousel {
    display: block !important;
    position: relative;
    padding: 0 5px;
}

.hotslid {
    padding: 15px 0 35px !important;
}

.bixbox {
    padding: 35px 0 !important;
}

.hotslid,
.hothome,
.postbody .bixbox {
    margin-bottom: 50px !important;
}

.popularslider .slider-item {
    border-radius: 10px;
    overflow: hidden;
    background: #15151e;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .3s, border-color .3s;
}

.popularslider .slider-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.popularslider .slider-title-wrap {
    padding: 10px;
    background: #15151e;
}

.popularslider .slider-item .tt {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
    line-height: 1.4;
}

/* ══ SECTIONS ══ */
.section {
    max-width: 1200px;
    margin: 1.75rem auto 0;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 999px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.see-all {
    font-size: .8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s;
}

.see-all:hover {
    opacity: .65;
}

/* ══ MANGA GRID ══ */
.manga-grid,
.listupd.normal {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 1rem !important;
}

.manga-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform .22s, box-shadow .22s;
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none;
    animation: cardIn .35s ease both;
}

.manga-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent);
}

.manga-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.manga-card:hover img {
    transform: scale(1.07);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 18, .95) 28%, transparent 68%);
}

.card-chapter {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: var(--accent);
    color: var(--bg-deep);
    font-size: .62rem;
    font-weight: 700;
    padding: .18rem .5rem;
    border-radius: 4px;
}

.card-status {
    position: absolute;
    top: .5rem;
    left: .5rem;
    font-size: .6rem;
    font-weight: 700;
    padding: .18rem .5rem;
    border-radius: 4px;
    text-transform: capitalize;
}

.status-ongoing {
    background: rgba(74, 222, 128, .13);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, .28);
}

.status-completed {
    background: rgba(248, 113, 113, .13);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, .28);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .65rem;
}

.card-title {
    font-size: .79rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-genre-tag {
    display: inline-block;
    font-size: .6rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .06);
    padding: .14rem .4rem;
    border-radius: 4px;
    margin: .1rem .15rem .1rem 0;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .7rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: .2rem;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

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

@media (max-width: 800px) {
    .section {
        padding: 0 1rem;
    }

    .manga-grid,
    .listupd.normal {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {

    .manga-grid,
    .listupd.normal {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ══ LATEST CHAPTERS ══ */
.chapters-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: .75rem;
}

.chapter-item {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .65rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none;
    position: relative;
}

.chapter-item:hover {
    border-color: var(--accent);
    background: rgba(168, 85, 247, .04);
}

.chapter-thumb {
    width: 50px;
    height: 65px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
}

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

.chapter-manga-name {
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.chapter-num {
    font-size: .74rem;
    color: var(--accent);
    font-weight: 600;
    margin: 2px 0;
}

.chapter-time {
    font-size: .67rem;
    color: var(--text-muted);
}

.chapter-new-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: .5px;
}

/* ══ GENRES ══ */
.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.genre-tag {
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.genre-tag:hover,
.genre-tag.active {
    background: rgba(168, 85, 247, .14);
    border-color: var(--accent);
    color: var(--accent);
}

/* ══ 16. GENRES ══ */
.recommend-section {
    padding-bottom: 40px;
}

.recommend-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.recommend-item {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
    border-radius: 999px !important;
    padding: 9px 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .22s !important;
}

.recommend-item:hover {
    border-color: var(--accent) !important;
    background: rgba(168, 85, 247, .12) !important;
    transform: translateY(-2px) !important;
}

.rec-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.rec-name {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.rec-count {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    opacity: .55;
}

.recommend-item:hover .rec-name {
    color: var(--accent) !important;
}

.recommend-item:hover .rec-count {
    color: var(--accent) !important;
    opacity: 1;
}

/* ══ 17. PAGINATION ══ */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    background: var(--bg-card) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color) !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-weight: 600;
    transition: .2s;
}

.pagination .current,
.pagination .page-numbers:hover {
    background: var(--accent) !important;
    color: var(--bg-deep) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 14px var(--accent-glow) !important;
}

.pagination-premium {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    clear: both;
}

.pagination-premium .page-numbers {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-main) !important;
    border-radius: 50%;
    text-decoration: none !important;
    border: 1px solid var(--border-color);
    transition: .3s cubic-bezier(.175, .885, .32, 1.275);
    font-size: 14px;
    font-weight: 700;
}

.pagination-premium .current,
.pagination-premium .page-numbers:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--bg-deep) !important;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.1);
}

.pagination-premium .dots {
    color: #555;
    background: transparent;
    border: none;
    width: auto;
    cursor: default;
}

.pagination-premium .dots:hover {
    transform: none;
    box-shadow: none;
}

/* ══ 18. FOOTER ══ */
footer {
    border-top: 1px solid var(--border-color);
    padding: 35px 0;
    text-align: center;
    color: var(--text-muted);
    background: #0a0a0f;
    margin-top: 60px;
    font-size: 13px;
}

/* ══ 19. ANNOUNCEMENTS ══ */
.hades-announcements-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hades-announcement-item.standard-ann {
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-left-width: 4px;
    border-left-style: solid;
    transition: .3s;
}

.hades-announcement-item.standard-ann:hover {
    transform: translateX(4px);
}

.ann-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ann-body {
    flex: 1;
}

.ann-title {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
}

.ann-content {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: .9;
}

.hades-announcement-item.custom-ann {
    width: 100%;
}

/* ══ 20. PREVIEW POPUP ══ */
#manga-preview-popup {
    position: absolute;
    width: 320px;
    background: #15151e;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .85);
    z-index: 9999;
    pointer-events: none;
    display: none;
    overflow: hidden;
    animation: previewFadeIn .3s ease;
    backdrop-filter: blur(15px);
}

@keyframes previewFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.95)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.preview-content {
    display: flex;
    flex-direction: column;
}

.preview-top {
    position: relative;
    height: 180px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.6);
}

.preview-title-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, #15151e, transparent);
}

.preview-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.preview-body {
    padding: 20px;
}

.preview-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.preview-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.preview-badge.status {
    background: rgba(74, 222, 128, .1);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, .2);
}

.preview-badge.type {
    background: rgba(168, 85, 247, .1);
    color: var(--accent);
    border: 1px solid rgba(168, 85, 247, .2);
}

.preview-synopsis {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-chapters {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 15px;
}

.preview-ch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 12px;
    color: #ccc;
}

.preview-ch-name {
    font-weight: 600;
    color: var(--text-main);
}

.preview-ch-time {
    color: var(--text-muted);
    font-weight: 700;
}

@media (max-width:1024px) {
    #manga-preview-popup {
        display: none !important;
    }
}

/* ══ 21. SCROLLBAR ══ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, .4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ══ 22. SERIES BANNER ══ */
.bigcover {
    position: relative;
    width: 100%;
    height: 350px;
    background: #000;
    overflow: hidden;
    margin-bottom: -150px;
}

.bigbanner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: .4;
}

.bigcover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-deep), transparent);
}

.img-blur {
    filter: blur(20px);
    transform: scale(1.1);
}

/* ══ 23. SERIES INFO ══ */
.info-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: rgba(13, 13, 18, .6);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .05);
}

.info-poster {
    flex: 0 0 240px;
    position: relative;
}

.info-poster img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .1);
}

.info-details {
    flex: 1;
}

.manga-title {
    font-size: 36px !important;
    line-height: 1.2;
    margin-bottom: 10px !important;
}

.manga-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.manga-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, .05);
}

.manga-btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.manga-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.manga-btn-outline {
    background: rgba(255, 255, 255, .03);
    color: #fff;
}

.manga-btn-outline:hover {
    background: rgba(255, 255, 255, .08);
}

.chapter-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.char-info-box {
    background: rgba(255, 255, 255, .02);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .03);
}

.char-info-box label {
    display: block;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.char-info-box span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* ══ 24. CHAPTER LIST ══ */
.eplister ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eplister li {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: 10px;
    margin-bottom: 0;
    transition: .2s;
}

.eplister li:hover {
    background: rgba(168, 85, 247, .05);
    border-color: var(--accent);
    transform: translateX(5px);
}

.eplister .chbox {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eplister .chbox a {
    text-decoration: none !important;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #eee;
    font-weight: 500;
}

.eplister .chapternum {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.eplister .chapterdate {
    color: #555;
    font-size: 11px;
    font-weight: 400;
}

.eplister .dt a {
    color: var(--accent);
    font-size: 18px;
}

.locked-icon {
    color: #fbbf24;
    font-size: 14px;
    margin-left: 10px;
}

.new-badge {
    background: #f87171;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
}

@media (max-width:800px) {
    .info-header {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }

    .info-poster {
        flex: 0 0 auto;
        width: 200px;
        margin: 0 auto;
    }

    .info-details,
    .genre-list,
    .manga-action-btns {
        text-align: center;
        justify-content: center;
    }

    .manga-title {
        font-size: 28px !important;
    }

    .chapter-status-row {
        grid-template-columns: 1fr;
    }

    .bigcover {
        height: 450px !important;
        margin-top: -160px !important;
        margin-bottom: -180px !important;
    }
}

/* ══ 25. READER ══ */
.chapterbody {
    background: var(--bg-deep);
    padding-bottom: 60px;
    padding-top: 10px !important;
}

.single-manga header,
.single-manga .main-header {
    display: flex !important;
}

.reader-nav-wrapper {
    position: relative !important;
    top: auto !important;
    z-index: 10 !important;
    margin: 30px 0 !important;
}

.reader-nav {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #13131a !important;
    border: 1px solid rgba(255, 255, 255, .05) !important;
    border-radius: 12px !important;
}

.reader-nav .selector select {
    background: #1a1a23 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    min-width: 130px;
}

.reader-nav .selector select:hover {
    border-color: var(--accent) !important;
}

.navrig,
.navlef {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.navrig {
    justify-content: flex-end;
}

.npv {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
}

.npv br {
    display: none !important;
}

.npv a {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    background: var(--accent) !important;
    color: var(--bg-deep) !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    transition: .3s !important;
    white-space: nowrap !important;
}

.npv a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

.npv a.prev {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
}

#readerarea {
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 0 100px rgba(0, 0, 0, .6);
    background: #000;
}

#readerarea img {
    margin: 0 auto !important;
    display: block !important;
    padding: 0 !important;
    border: none !important;
}

.reader-header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(to bottom, rgba(168, 85, 247, .1), transparent);
    margin-bottom: 20px;
}

.reader-header h1 {
    font-size: 38px !important;
    font-weight: 900 !important;
    margin: 15px 0 !important;
    color: #fff !important;
}

.back-to-series {
    background: rgba(255, 255, 255, .05);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, .05);
}

.back-to-series:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.dlx a {
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 18px;
}

.dlx a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.mt-5 {
    margin-top: 50px !important;
}

@media (max-width:800px) {
    .reader-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .navlef,
    .navrig,
    .reader-nav .selector,
    .reader-nav .selector select {
        width: 100%;
        justify-content: center;
    }

    .npv,
    .npv a {
        width: 100%;
        flex: 1;
    }

    .reader-header {
        padding: 40px 15px;
    }

    .reader-header h1 {
        font-size: 26px !important;
    }
}

/* ══ 26. SOCIAL SHARE ══ */
.socialts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    justify-content: center;
}

.socialts a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 16px;
    color: #eee;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}

.socialts a:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
}

.socialts a.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.socialts a.twt:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.socialts a.wa:hover {
    background: #25d366;
    border-color: #25d366;
}

.socialts a.tlg:hover {
    background: #0088cc;
    border-color: #0088cc;
}

/* ══ 27. AUTH PAGES ══ */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
    background: var(--bg-deep);
}

.auth-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: -50px;
    right: -50px;
    animation: float 10s infinite alternate;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: #ec4899;
    bottom: -50px;
    left: -50px;
    animation: float 8s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(30px, 50px)
    }
}

.auth-card {
    background: rgba(21, 21, 30, .6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.auth-header p {
    color: #888;
    font-size: 15px;
}

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: .3s;
}

.social-btn.discord {
    background: #5865F2;
    color: #fff;
}

.social-btn.google {
    background: #fff;
    color: #333;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.auth-divider {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.auth-divider:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .05);
}

.auth-divider span {
    background: #15151e;
    padding: 0 10px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: .3s;
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 15px 15px 15px 45px;
    color: #fff;
    font-size: 15px;
    transition: .3s;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, .15);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #aaa;
}

.forgot-pass {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit-btn:hover {
    box-shadow: 0 10px 25px var(--accent-glow);
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #888;
}

.auth-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* ══ 28. PROFILE ══ */
.profile-header-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-cover {
    height: 150px;
    background: var(--accent-gradient);
    opacity: .2;
}

.profile-info-wrap {
    padding: 0 40px 30px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-top: -50px;
    position: relative;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    background: #000;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid var(--bg-card);
    cursor: pointer;
}

.profile-meta {
    flex: 1;
    padding-bottom: 10px;
}

.user-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.user-role {
    background: rgba(168, 85, 247, .15);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 10px;
}

.join-date {
    color: #666;
    font-size: 13px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    padding-bottom: 15px;
}

.stat-box {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    margin-bottom: 30px;
    padding-bottom: 15px;
    overflow-x: auto;
}

.p-tab {
    background: transparent;
    border: none;
    color: #888;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: .3s;
    white-space: nowrap;
}

.p-tab:hover,
.p-tab.active {
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.p-tab.active {
    color: var(--accent);
}

.p-tab.logout {
    margin-left: auto;
    color: #f87171;
}

.p-tab.logout:hover {
    background: rgba(248, 113, 113, .08);
}

.p-tab-content {
    display: none;
    animation: fadeIn .4s;
}

.p-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

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

.welcome-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, .08), transparent);
    border: 1px solid rgba(168, 85, 247, .18);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.welcome-box h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 5px;
}

.welcome-box p {
    color: #aaa;
    margin: 0;
}

.section-header {
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 5px;
}

.section-header .desc {
    color: #666;
    font-size: 14px;
}

.dark-input {
    width: 100%;
    background: var(--bg-deep);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.save-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.danger-btn {
    background: rgba(248, 113, 113, .1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, .3);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.profile-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.loader-wrap {
    text-align: center;
    color: #666;
    padding: 40px;
    grid-column: 1/-1;
}

.loader-spinner {
    border: 3px solid rgba(255, 255, 255, .1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width:768px) {
    .profile-info-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -60px;
    }

    .profile-stats {
        justify-content: center;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, .05);
        padding-top: 15px;
    }
}


/* ══ FIX BUGS AND OVERRIDES ══ */
#new-hero-slider .owl-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

#new-hero-slider .owl-nav button.owl-prev,
#new-hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 0;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.4rem !important;
    color: #fff !important;
    transition: background 0.2s !important;
    pointer-events: auto;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    text-shadow: none !important;
}

#new-hero-slider .owl-nav button.owl-prev:hover,
#new-hero-slider .owl-nav button.owl-next:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

#new-hero-slider .owl-nav button.owl-prev {
    left: 1rem;
}

#new-hero-slider .owl-nav button.owl-next {
    right: 1rem;
}


#new-hero-slider .owl-dots {
    position: absolute !important;
    bottom: 1.25rem !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#new-hero-slider .owl-dots .owl-dot {
    outline: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

#new-hero-slider .owl-dots .owl-dot span {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .22) !important;
    cursor: pointer !important;
    transition: background .2s, width .25s !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#new-hero-slider .owl-dots .owl-dot.active span {
    background: var(--accent) !important;
    width: 22px !important;
    border-radius: 999px !important;
}