/* ==========================================================================
   Betruyen - Artistic Home Stylesheet (home-art.css)
   Theme Version: 6.9.4.0 (Fresh Chronicles Bento & Section Headers Fluid Polish)
   Style: Celestial, Artistic, Ethereal & Luxury Aesthetics
   ========================================================================== */

/* --- 1. THEME VARIABLES & PALETTE --- */
:root {
    --art-primary: #ff4b72;
    --art-primary-rgb: 255, 75, 114;
    --art-primary-hover: #f43f5e;
    
    --art-accent-purple: #8b5cf6;
    --art-accent-cyan: #06b6d4;
    --art-accent-gold: #f59e0b;
    --art-accent-emerald: #10b981;

    --art-bg-page: #f8f9fd;
    --art-bg-card: rgba(255, 255, 255, 0.85);
    --art-bg-card-hover: #ffffff;
    --art-border: rgba(226, 232, 240, 0.8);
    --art-border-hover: rgba(255, 75, 114, 0.4);
    --art-text-main: #1e293b;
    --art-text-muted: #64748b;
    --art-text-light: #94a3b8;
    
    --art-glass-bg: rgba(255, 255, 255, 0.75);
    --art-glass-border: rgba(255, 255, 255, 0.8);
    --art-glass-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03);

    --art-glow-color: rgba(255, 75, 114, 0.25);
    --art-gold-glow: rgba(245, 158, 11, 0.35);
    
    --art-radius-sm: 0.75rem;
    --art-radius-md: 1.15rem;
    --art-radius-lg: 1.5rem;
    --art-radius-xl: 2rem;
    
    --art-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
html.dark-mode, body.dark-mode {
    --art-bg-page: #0b0f19;
    --art-bg-card: rgba(18, 24, 38, 0.75);
    --art-bg-card-hover: rgba(26, 34, 52, 0.9);
    --art-border: rgba(255, 255, 255, 0.08);
    --art-border-hover: rgba(255, 75, 114, 0.5);
    --art-text-main: #f8fafc;
    --art-text-muted: #94a3b8;
    --art-text-light: #64748b;
    
    --art-glass-bg: rgba(18, 24, 38, 0.7);
    --art-glass-border: rgba(255, 255, 255, 0.1);
    --art-glass-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 6px 16px -4px rgba(0, 0, 0, 0.4);

    --art-glow-color: rgba(255, 75, 114, 0.35);
}

/* --- 2. GLOBAL ART CONTAINER & AMBIENT GLOWS --- */
.bt-art-home {
    position: relative;
    overflow-x: hidden;
    color: var(--art-text-main);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-bottom: 5rem;
}

/* Ambient Floating Lights (Cosmic Aurora Glows) */
.art-ambient-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.art-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    animation: artFloatSlow 18s ease-in-out infinite alternate;
}

.dark-mode .art-glow-orb {
    opacity: 0.28;
    filter: blur(120px);
}

.art-glow-1 {
    top: -5%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 75, 114, 0.6), transparent 70%);
}

.art-glow-2 {
    top: 15%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%);
    animation-delay: -6s;
}

.art-glow-3 {
    top: 45%;
    left: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%);
    animation-delay: -11s;
}

.art-glow-4 {
    top: 75%;
    right: 15%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
    animation-delay: -4s;
}

@keyframes artFloatSlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 40px) scale(1.08);
    }
    100% {
        transform: translate(-30px, 20px) scale(0.95);
    }
}

/* Ensure foreground content sits above ambient orbs */
.bt-art-home > .container,
.bt-art-home > section {
    position: relative;
    z-index: 1;
}

/* --- 3. SECTION HEADINGS (ARTISTIC STYLING) --- */
.art-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
    position: relative;
}

.art-head-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1 1 auto;
}

.art-head-text,
.art-head-title-wrap > div:not(.art-head-icon) {
    min-width: 0;
    flex: 1 1 auto;
}

.art-head-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--art-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--art-primary), var(--art-accent-purple));
    box-shadow: 0 6px 16px -2px var(--art-glow-color);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.art-head-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: artIconShimmer 4s infinite linear;
}

@keyframes artIconShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.art-head-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--art-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.art-head-subtitle {
    font-size: 0.875rem;
    color: var(--art-text-muted);
    margin-top: 0.15rem;
    font-weight: 500;
}

.art-view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--art-primary);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 75, 114, 0.08);
    border: 1px solid rgba(255, 75, 114, 0.2);
    transition: var(--art-transition);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    word-break: keep-all !important;
    line-height: 1.2;
}

.art-view-more-btn span,
.art-view-more-btn i {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    word-break: keep-all !important;
    display: inline-block;
}

.art-view-more-btn:hover {
    background: var(--art-primary);
    color: #fff;
    border-color: var(--art-primary);
    transform: translateX(3px);
    box-shadow: 0 4px 12px var(--art-glow-color);
}

/* --- 4. CELESTIAL LIVE NOTICE (SMOOTH TICKER) --- */
.art-notice-bar {
    background: var(--art-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--art-glass-border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: var(--art-glass-shadow);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.art-notice-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.art-live-dot {
    width: 7px;
    height: 7px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: artPulseDot 1.4s infinite ease-in-out;
}

@keyframes artPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Smooth Hardware-Accelerated Infinite Ticker (60fps / 120fps) */
.art-ticker-wrapper {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

.art-ticker-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: artTickerScroll 35s linear infinite;
}

.art-notice-bar:hover .art-ticker-track {
    animation-play-state: paused;
}

.art-ticker-item {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.875rem;
    color: var(--art-text-main);
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.5;
}

.art-ticker-item strong {
    display: inline-block;
    margin: 0 0.35rem;
    font-weight: 700;
}

.art-ticker-separator {
    display: inline-block;
    margin: 0 1.5rem;
    color: var(--art-primary);
    opacity: 0.7;
    font-size: 0.85rem;
}

@keyframes artTickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- 5. MASTERPIECE SPOTLIGHT HERO --- */
.art-hero-section {
    margin-top: 2rem;
}

.art-hero-card {
    background: var(--art-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--art-glass-border);
    border-radius: var(--art-radius-xl);
    box-shadow: var(--art-glass-shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .art-hero-card {
        padding: 3rem;
    }
}

.art-hero-backdrop-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 75, 114, 0.25), rgba(139, 92, 246, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.art-hero-content {
    position: relative;
    z-index: 1;
}

.art-hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--art-primary), var(--art-accent-purple));
    box-shadow: 0 4px 14px var(--art-glow-color);
    margin-bottom: 1.25rem;
}

.art-hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--art-text-main);
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .art-hero-title {
        font-size: 2.5rem;
    }
}

.art-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--art-transition);
}

.art-hero-title a:hover {
    color: var(--art-primary);
}

.art-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--art-text-muted);
}

.art-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.art-hero-meta-item i {
    color: var(--art-primary);
}

.art-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.dark-mode .art-hero-rating {
    color: #fbbf24;
}

.art-hero-excerpt {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--art-text-muted);
    margin-bottom: 1.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.art-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--art-primary), #ec4899);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px -2px var(--art-glow-color);
    transition: var(--art-transition);
    position: relative;
    overflow: hidden;
}

.art-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -2px var(--art-glow-color);
    background: linear-gradient(135deg, #f43f5e, #db2777);
}

.art-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--art-glass-border);
    color: var(--art-text-main) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--art-transition);
}

.art-btn-glass:hover {
    background: var(--art-bg-card-hover);
    border-color: var(--art-border-hover);
    color: var(--art-primary) !important;
    transform: translateY(-2px);
}

/* 3D Curved Book Cover in Hero */
.art-hero-book-wrap {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.art-book-3d {
    width: 230px;
    height: 330px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-14deg) rotateX(6deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    border-radius: 12px;
    box-shadow: -15px 20px 35px rgba(0, 0, 0, 0.35),
                0 0 40px var(--art-glow-color);
}

@media (min-width: 992px) {
    .art-book-3d {
        width: 270px;
        height: 385px;
    }
}

.art-book-3d:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-8px);
    box-shadow: -18px 25px 45px rgba(0, 0, 0, 0.4),
                0 0 50px var(--art-glow-color);
}

.art-book-cover {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.art-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3D Spine and Sheen */
.art-book-spine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.2) 40%, rgba(0,0,0,0.2) 80%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.art-book-sheen {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 45%);
    pointer-events: none;
    z-index: 2;
}

/* --- 6. CURATED SHOWCASE GALLERY (SLIDER) --- */
.art-showcase-section {
    margin-top: 3rem;
}

/* Swiper Slides Equal Height Stretch */
.art-swiper-curated .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.art-swiper-curated .swiper-slide {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.art-card-showcase {
    background: var(--art-bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--art-border);
    border-radius: var(--art-radius-md);
    overflow: hidden;
    transition: var(--art-transition);
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: var(--art-glass-shadow);
}

.art-card-showcase:hover {
    transform: translateY(-8px);
    border-color: var(--art-border-hover);
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.15), 0 0 25px var(--art-glow-color);
}

.dark-mode .art-card-showcase:hover {
    box-shadow: 0 22px 40px -8px rgba(0, 0, 0, 0.6), 0 0 30px var(--art-glow-color);
}

.art-card-poster {
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: #1e293b;
}

.art-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.art-card-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.85) 0%, transparent 100%);
    pointer-events: none;
}

.art-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.art-card-rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

.art-card-body {
    padding: 1rem;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.art-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--art-text-main);
    margin-bottom: 0.4rem;
    line-height: 1.35;
    min-height: 2.7em;
    height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: var(--art-transition);
}

.art-card-title:hover {
    color: var(--art-primary);
}

.art-card-footer-info {
    margin-top: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--art-text-muted);
    font-weight: 600;
}

/* Swiper Controls Custom Styling */
.art-swiper-wrap {
    position: relative;
    padding-bottom: 0.5rem;
}

.art-swiper-wrap .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px;
    z-index: 10 !important;
}

.art-swiper-curated {
    padding-bottom: 0 !important;
}

.art-swiper-curated .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 1.5rem !important;
}

.art-swiper-wrap .swiper-pagination-bullet {
    background: var(--art-text-muted);
    opacity: 0.35;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    transition: var(--art-transition);
    cursor: pointer;
}

.art-swiper-wrap .swiper-pagination-bullet-active {
    background: var(--art-primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--art-glow-color);
}

.art-swiper-btn {
    width: 38px;
    height: 38px;
    background: var(--art-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--art-glass-border);
    border-radius: 50%;
    color: var(--art-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: var(--art-glass-shadow);
    transition: var(--art-transition);
    cursor: pointer;
}

.art-swiper-btn:hover {
    background: var(--art-primary);
    color: #fff;
    border-color: var(--art-primary);
    box-shadow: 0 4px 14px var(--art-glow-color);
}

.art-swiper-btn::after {
    display: none;
}

/* --- 7. HALL OF FAME (BẢNG VÀNG DANH VỌNG) --- */
.art-hall-section {
    margin-top: 3.5rem;
}

.art-tab-nav {
    display: inline-flex;
    background: var(--art-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--art-glass-border);
    padding: 0.3rem;
    border-radius: 999px;
    gap: 0.3rem;
}

.art-tab-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--art-text-muted);
    cursor: pointer;
    transition: var(--art-transition);
}

.art-tab-btn.active {
    background: var(--art-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--art-glow-color);
}

.art-tab-panel {
    display: none;
}

.art-tab-panel.active {
    display: block;
    animation: artFadeUp 0.4s ease forwards;
}

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

/* Hall of Fame Cards */
.art-rank-champion {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--art-radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -5px rgba(245, 158, 11, 0.2);
    transition: var(--art-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.art-rank-champion:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -5px rgba(245, 158, 11, 0.3);
}

.art-champion-crown {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 1.8rem;
    color: #f59e0b;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.6));
    animation: artCrownFloat 3s ease-in-out infinite alternate;
}

@keyframes artCrownFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-4px) rotate(4deg); }
}

.art-rank-item {
    background: var(--art-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--art-border);
    border-radius: var(--art-radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
    transition: var(--art-transition);
    text-decoration: none;
    color: inherit;
}

.art-rank-item:hover {
    background: var(--art-bg-card-hover);
    border-color: var(--art-border-hover);
    transform: translateX(5px);
    box-shadow: var(--art-glass-shadow);
}

.art-rank-num {
    font-size: 1.25rem;
    font-weight: 800;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.art-rank-num-1 { color: #f59e0b; text-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.art-rank-num-2 { color: #94a3b8; text-shadow: 0 0 10px rgba(148, 163, 184, 0.5); }
.art-rank-num-3 { color: #d97706; text-shadow: 0 0 10px rgba(217, 119, 6, 0.5); }
.art-rank-num-other { color: var(--art-text-light); }

.art-rank-thumb {
    width: 46px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

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

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

.art-rank-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--art-text-main);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.art-rank-meta {
    font-size: 0.775rem;
    color: var(--art-text-muted);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* --- 8. FRESH CHRONICLES (BENTO GRID LATEST UPDATES) --- */
.art-fresh-section {
    margin-top: 3.5rem;
}

.art-bento-card {
    background: var(--art-bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--art-border);
    border-radius: var(--art-radius-lg);
    padding: 1.15rem;
    transition: var(--art-transition);
    display: flex;
    gap: 1.1rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: var(--art-glass-shadow);
}

.art-bento-card:hover {
    background: var(--art-bg-card-hover);
    border-color: var(--art-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -5px rgba(0, 0, 0, 0.12), 0 0 20px var(--art-glow-color);
}

.art-bento-cover {
    width: 85px;
    height: 120px;
    border-radius: var(--art-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    position: relative;
}

@media (min-width: 576px) {
    .art-bento-cover {
        width: 100px;
        height: 140px;
    }
}

.art-bento-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-bento-card:hover .art-bento-cover img {
    transform: scale(1.08);
}

.art-bento-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.art-bento-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--art-text-main);
    line-height: 1.35;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--art-transition);
}

.art-bento-card:hover .art-bento-title {
    color: var(--art-primary);
}

.art-bento-genre {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--art-accent-purple);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.art-bento-author {
    font-size: 0.8rem;
    color: var(--art-text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.art-bento-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.art-chapter-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--art-primary), #f43f5e);
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 3px 8px var(--art-glow-color);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.15 !important;
    word-break: keep-all !important;
}

.art-chapter-badge * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    word-break: keep-all !important;
}

.art-time-tag {
    font-size: 0.75rem;
    color: var(--art-text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.15 !important;
    word-break: keep-all !important;
}

.art-time-tag * {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    word-break: keep-all !important;
}

/* --- 9. COSMIC REALM EXPLORER (GENRE CARDS) --- */
.art-genre-section {
    margin-top: 3.5rem;
}

.art-genre-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 576px) {
    .art-genre-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .art-genre-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.art-genre-card {
    background: var(--art-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--art-border);
    border-radius: var(--art-radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--art-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--art-glass-shadow);
    position: relative;
    overflow: hidden;
}

.art-genre-card:hover {
    background: var(--art-bg-card-hover);
    border-color: var(--art-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 28px -6px rgba(0,0,0,0.12), 0 0 20px var(--art-glow-color);
}

.art-genre-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    transition: var(--art-transition);
}

.art-genre-card:hover .art-genre-icon {
    transform: scale(1.15) rotate(6deg);
}

.art-genre-name {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--art-text-main);
    margin-bottom: 0.2rem;
}

.art-genre-count {
    font-size: 0.75rem;
    color: var(--art-text-muted);
}

/* --- 10. COMPLETED SAGAS (TRUYỆN HOÀN THÀNH) --- */
.art-completed-section {
    margin-top: 3.5rem;
}

.art-completed-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

/* --- 11. SERVICES ECOSYSTEM (TD_Home_Services Integration) --- */
.art-services-section {
    margin-top: 3.5rem;
}

.art-services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 576px) {
    .art-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .art-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.art-service-card {
    background: var(--art-glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--art-glass-border);
    border-radius: var(--art-radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--art-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--art-glass-shadow);
}

.art-service-card:hover {
    background: var(--art-bg-card-hover);
    border-color: var(--art-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -6px rgba(0,0,0,0.12), 0 0 20px var(--art-glow-color);
}

.art-service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--art-radius-sm);
    background: linear-gradient(135deg, rgba(255, 75, 114, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(255, 75, 114, 0.2);
    color: var(--art-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.15rem;
}

.art-service-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--art-text-main);
    margin-bottom: 0.4rem;
}

.art-service-desc {
    font-size: 0.85rem;
    color: var(--art-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* --- 12. RESPONSIVE REFINEMENTS (FLUID TYPOGRAPHY & COMPACT BUTTONS) --- */

/* Breakpoint 1: Tablet (768px - 991.98px) */
@media (max-width: 991.98px) {
    .art-hero-card {
        padding: 1.5rem 1.25rem;
    }
    .art-hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .art-hero-book-wrap {
        margin-top: 1.25rem;
    }
    .art-book-3d {
        width: 160px;
        height: 230px;
        transform: rotateY(-8deg) rotateX(4deg);
    }
    .art-tab-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.82rem;
        white-space: nowrap !important;
    }
}

/* Breakpoint 2: Mobile Tiêu Chuẩn (max-width: 767.98px) */
@media (max-width: 767.98px) {
    /* 1. Global Spacing & Layout */
    .bt-art-home {
        padding-bottom: 3rem;
    }

    .art-showcase-section,
    .art-hall-section,
    .art-fresh-section,
    .art-genre-section,
    .art-completed-section,
    .art-services-section {
        margin-top: 1.65rem !important;
    }

    /* 2. Notice Bar (Live Pulse) Compact */
    .art-notice-bar {
        padding: 0.35rem 0.65rem;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    .art-notice-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.55rem;
    }
    .art-ticker-item {
        font-size: 0.8rem;
    }
    .art-ticker-separator {
        margin: 0 1rem;
    }

    /* 3. Section Headings Compact */
    .art-section-head {
        margin-bottom: 1rem;
        gap: 0.5rem !important;
    }
    .art-head-title-wrap {
        gap: 0.45rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .art-head-text,
    .art-head-title-wrap > div:not(.art-head-icon) {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .art-head-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.85rem !important;
        border-radius: 0.5rem !important;
        flex-shrink: 0 !important;
    }
    .art-head-title {
        font-size: 1.05rem !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.25 !important;
    }
    .art-head-subtitle {
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
    }
    .art-view-more-btn {
        padding: 0.28rem 0.65rem !important;
        font-size: 0.74rem !important;
        gap: 0.25rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        line-height: 1.15 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        word-break: keep-all !important;
    }
    .art-view-more-btn span,
    .art-view-more-btn i {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        word-break: keep-all !important;
        display: inline-block !important;
    }
    .art-swiper-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.68rem !important;
        flex-shrink: 0 !important;
    }

    /* 4. Hero Section Mobile Optimization */
    .art-hero-section {
        margin-top: 1rem;
    }
    .art-hero-card {
        padding: 1.15rem 0.95rem;
        border-radius: var(--art-radius-lg);
    }
    .art-hero-pill-badge {
        font-size: 0.65rem !important;
        padding: 0.22rem 0.6rem !important;
        margin-bottom: 0.55rem !important;
        gap: 0.35rem !important;
    }
    .art-hero-title {
        font-size: 1.2rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.55rem !important;
        font-weight: 800 !important;
    }
    .art-hero-meta-row {
        gap: 0.25rem 0.45rem !important;
        margin-bottom: 0.6rem !important;
        font-size: 0.75rem !important;
    }
    .art-hero-meta-item,
    .art-hero-rating {
        font-size: 0.72rem !important;
        padding: 0.14rem 0.45rem !important;
    }
    .art-hero-excerpt {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0.75rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    .art-hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.45rem !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    .art-hero-actions .art-btn-primary,
    .art-hero-actions .art-btn-glass {
        flex: 1 1 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;
        justify-content: center !important;
        padding: 0.48rem 0.4rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        text-align: center !important;
        gap: 0.35rem !important;
        box-sizing: border-box !important;
        line-height: 1.2 !important;
    }
    .art-hero-book-wrap {
        margin-top: 0.85rem;
        perspective: 500px;
    }
    .art-book-3d {
        width: 125px !important;
        height: 180px !important;
        transform: rotateY(-6deg) rotateX(3deg);
        box-shadow: -8px 12px 20px rgba(0, 0, 0, 0.28), 0 0 20px var(--art-glow-color);
    }

    /* 5. Curated Showcase Slider */
    .art-swiper-wrap {
        padding-bottom: 0.5rem;
    }
    .art-swiper-wrap .swiper-pagination {
        margin-top: 1.15rem !important;
    }
    .art-card-showcase {
        height: 100% !important;
    }
    .art-card-body {
        padding: 0.65rem 0.55rem !important;
    }
    .art-card-title {
        font-size: 0.82rem !important;
        line-height: 1.32 !important;
        min-height: 2.64em !important;
        height: 2.64em !important;
        margin-bottom: 0.25rem !important;
    }
    .art-card-footer-info {
        font-size: 0.7rem !important;
        margin-top: auto !important;
    }
    .art-card-tag {
        font-size: 0.62rem !important;
        padding: 0.12rem 0.42rem !important;
        top: 6px !important;
        left: 6px !important;
    }
    .art-card-rank-badge {
        width: 23px !important;
        height: 23px !important;
        font-size: 0.65rem !important;
        top: 6px !important;
        right: 6px !important;
    }

    /* 6. Hall of Fame - Compact Tabs & Elegant Button */
    .art-tab-nav {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0.2rem !important;
        gap: 0.2rem !important;
        border-radius: 999px !important;
    }
    .art-tab-nav::-webkit-scrollbar {
        display: none !important;
    }
    .art-tab-btn {
        flex: 1 1 auto !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.38rem 0.65rem !important;
        font-size: 0.76rem !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }
    .art-rank-champion {
        padding: 1rem;
        border-radius: var(--art-radius-md);
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .art-champion-crown {
        font-size: 1.25rem;
        top: 8px;
        right: 12px;
    }
    .art-rank-champion h3 {
        font-size: 1.05rem !important;
        margin-bottom: 0.35rem !important;
    }
    .art-rank-champion p {
        font-size: 0.8rem !important;
        margin-bottom: 0.65rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    .art-rank-champion .art-btn-primary {
        padding: 0.45rem 1.25rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
        width: auto !important;
        align-self: center !important;
        margin: 0 auto !important;
        box-shadow: 0 4px 14px var(--art-glow-color) !important;
    }
    .art-rank-item {
        padding: 0.65rem 0.75rem;
        gap: 0.65rem;
        border-radius: var(--art-radius-sm);
        margin-bottom: 0.65rem;
    }
    .art-rank-num {
        font-size: 1rem;
        width: 24px;
    }
    .art-rank-thumb {
        width: 38px;
        height: 54px;
        border-radius: 4px;
    }
    .art-rank-title {
        font-size: 0.85rem;
    }
    .art-rank-meta {
        font-size: 0.725rem;
        gap: 0.5rem;
    }

    /* 7. Fresh Chronicles Bento Grid (No Line Breaking) */
    .art-bento-card {
        padding: 0.65rem 0.65rem !important;
        gap: 0.65rem !important;
        border-radius: var(--art-radius-md);
    }
    .art-bento-cover {
        width: 65px !important;
        height: 92px !important;
        min-width: 65px !important;
        border-radius: 0.5rem;
        flex-shrink: 0 !important;
    }
    .art-bento-title {
        font-size: 0.88rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .art-bento-genre {
        font-size: 0.65rem !important;
        padding: 0.12rem 0.42rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        align-self: flex-start !important;
    }
    .art-bento-author {
        font-size: 0.72rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .art-bento-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: auto !important;
    }
    .art-chapter-badge {
        font-size: 0.68rem !important;
        padding: 0.16rem 0.48rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        line-height: 1.15 !important;
        border-radius: 999px !important;
        gap: 0.25rem !important;
        word-break: keep-all !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .art-chapter-badge i {
        font-size: 0.62rem !important;
        flex-shrink: 0 !important;
    }
    .art-chapter-badge * {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        word-break: keep-all !important;
    }
    .art-time-tag {
        font-size: 0.66rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        line-height: 1.15 !important;
        gap: 0.25rem !important;
        word-break: keep-all !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .art-time-tag i {
        font-size: 0.62rem !important;
        flex-shrink: 0 !important;
    }
    .art-time-tag * {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        word-break: keep-all !important;
    }

    /* 8. Cosmic Realms Grid */
    .art-genre-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .art-genre-card {
        padding: 0.75rem 0.35rem;
        border-radius: var(--art-radius-sm);
    }
    .art-genre-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }
    .art-genre-name {
        font-size: 0.8rem;
    }
    .art-genre-count {
        font-size: 0.68rem;
    }

    /* 9. Services Grid */
    .art-service-card {
        padding: 1rem;
        border-radius: var(--art-radius-md);
    }
    .art-service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    .art-service-title {
        font-size: 0.95rem;
    }
    .art-service-desc {
        font-size: 0.78rem;
    }
}

/* Breakpoint 3: Mobile Nhỏ & Hẹp (max-width: 480px) */
@media (max-width: 480px) {
    /* Headings & Icons */
    .art-section-head {
        margin-bottom: 0.85rem !important;
        gap: 0.4rem !important;
    }
    .art-head-title-wrap {
        gap: 0.4rem !important;
    }
    .art-head-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 0.78rem !important;
        border-radius: 6px !important;
    }
    .art-head-title {
        font-size: 0.925rem !important;
        line-height: 1.2 !important;
    }
    .art-head-subtitle {
        font-size: 0.66rem !important;
        line-height: 1.15 !important;
    }
    .art-view-more-btn {
        padding: 0.25rem 0.58rem !important;
        font-size: 0.7rem !important;
        gap: 0.22rem !important;
        line-height: 1.1 !important;
    }
    .art-view-more-btn i {
        font-size: 0.62rem !important;
    }
    .art-swiper-btn {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.6rem !important;
    }

    /* Hero Typography & Action Buttons */
    .art-hero-pill-badge {
        font-size: 0.6rem !important;
        padding: 0.18rem 0.5rem !important;
    }
    .art-hero-title {
        font-size: 1.1rem !important;
        line-height: 1.32 !important;
    }
    .art-hero-meta-row {
        gap: 0.2rem 0.35rem !important;
        font-size: 0.7rem !important;
    }
    .art-hero-meta-item,
    .art-hero-rating {
        font-size: 0.68rem !important;
        padding: 0.1rem 0.35rem !important;
    }
    .art-hero-excerpt {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }
    .art-hero-actions .art-btn-primary,
    .art-hero-actions .art-btn-glass {
        padding: 0.42rem 0.3rem !important;
        font-size: 0.75rem !important;
    }
    .art-book-3d {
        width: 115px !important;
        height: 165px !important;
    }

    /* Showcase Cards */
    .art-card-body {
        padding: 0.55rem 0.45rem !important;
    }
    .art-card-title {
        font-size: 0.75rem !important;
        line-height: 1.28 !important;
        min-height: 2.56em !important;
        height: 2.56em !important;
    }
    .art-card-footer-info {
        font-size: 0.65rem !important;
    }

    /* Hall of Fame Tabs & Champion Button */
    .art-tab-nav {
        padding: 0.18rem !important;
        gap: 0.15rem !important;
    }
    .art-tab-btn {
        padding: 0.32rem 0.48rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        line-height: 1.1 !important;
    }
    .art-rank-champion {
        padding: 0.85rem !important;
    }
    .art-rank-champion h3 {
        font-size: 0.95rem !important;
    }
    .art-rank-champion .art-btn-primary {
        padding: 0.42rem 1rem !important;
        font-size: 0.76rem !important;
        width: 90% !important;
    }
    .art-rank-item {
        padding: 0.55rem 0.65rem !important;
    }
    .art-rank-title {
        font-size: 0.8rem !important;
    }
    .art-rank-meta {
        font-size: 0.68rem !important;
    }

    /* Fresh Chronicles Bento Grid Compact */
    .art-bento-card {
        padding: 0.52rem 0.52rem !important;
        gap: 0.52rem !important;
    }
    .art-bento-cover {
        width: 58px !important;
        height: 82px !important;
        min-width: 58px !important;
        border-radius: 6px !important;
    }
    .art-bento-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.15rem !important;
    }
    .art-bento-genre {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.36rem !important;
        margin-bottom: 0.18rem !important;
        line-height: 1.1 !important;
    }
    .art-bento-author {
        font-size: 0.68rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.15 !important;
    }
    .art-bento-footer {
        gap: 0.25rem !important;
    }
    .art-chapter-badge {
        font-size: 0.62rem !important;
        padding: 0.12rem 0.4rem !important;
        gap: 0.2rem !important;
        line-height: 1.1 !important;
    }
    .art-chapter-badge i {
        font-size: 0.56rem !important;
    }
    .art-time-tag {
        font-size: 0.6rem !important;
        gap: 0.2rem !important;
        line-height: 1.1 !important;
    }
    .art-time-tag i {
        font-size: 0.56rem !important;
    }

    /* Cosmic Realms Compact */
    .art-genre-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
    }
    .art-genre-card {
        padding: 0.6rem 0.25rem !important;
    }
    .art-genre-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
        margin-bottom: 0.3rem !important;
    }
    .art-genre-name {
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .art-genre-count {
        font-size: 0.62rem !important;
    }
}

/* Breakpoint 4: Mobile Cực Hẹp (max-width: 360px) */
@media (max-width: 360px) {
    .art-head-icon {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        font-size: 0.72rem !important;
        border-radius: 5px !important;
    }
    .art-head-title {
        font-size: 0.85rem !important;
    }
    .art-head-subtitle {
        font-size: 0.62rem !important;
    }
    .art-view-more-btn {
        padding: 0.22rem 0.48rem !important;
        font-size: 0.66rem !important;
        gap: 0.18rem !important;
    }
    .art-tab-btn {
        padding: 0.25rem 0.35rem !important;
        font-size: 0.65rem !important;
    }
    .art-hero-actions .art-btn-primary,
    .art-hero-actions .art-btn-glass {
        font-size: 0.7rem !important;
        padding: 0.36rem 0.22rem !important;
    }
    .art-bento-card {
        padding: 0.45rem 0.45rem !important;
        gap: 0.45rem !important;
    }
    .art-bento-cover {
        width: 50px !important;
        height: 72px !important;
        min-width: 50px !important;
    }
    .art-bento-title {
        font-size: 0.76rem !important;
    }
    .art-bento-genre {
        font-size: 0.56rem !important;
        padding: 0.08rem 0.3rem !important;
    }
    .art-bento-author {
        font-size: 0.64rem !important;
    }
    .art-bento-footer {
        gap: 0.18rem !important;
    }
    .art-chapter-badge {
        font-size: 0.56rem !important;
        padding: 0.1rem 0.32rem !important;
        gap: 0.15rem !important;
    }
    .art-chapter-badge i {
        font-size: 0.5rem !important;
    }
    .art-time-tag {
        font-size: 0.54rem !important;
        gap: 0.15rem !important;
    }
    .art-time-tag i {
        font-size: 0.5rem !important;
    }
}

/* ==========================================================================
   BETRUYEN - FLOATING GLASS ISLAND HEADER (HEADER ĐẢO THỦY TINH LƠ LỬNG)
   ========================================================================== */

/* 1. Header Container as a Floating Island */
.page-template-page-home-art .site-header,
.page-template-page-home-art-php .site-header,
.site-header.header-art-island {
    position: sticky !important;
    top: 14px !important;
    z-index: 1030 !important;
    margin: 14px auto 0 !important;
    max-width: 1320px !important;
    width: calc(100% - 32px) !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.76) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    padding: 8px 24px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Offset for WordPress Admin Bar */
body.admin-bar .page-template-page-home-art .site-header,
body.admin-bar .page-template-page-home-art-php .site-header,
body.admin-bar .site-header.header-art-island {
    top: 46px !important;
}

@media (max-width: 782px) {
    body.admin-bar .page-template-page-home-art .site-header,
    body.admin-bar .page-template-page-home-art-php .site-header,
    body.admin-bar .site-header.header-art-island {
        top: 60px !important;
    }
}

/* Inner Container layout */
.page-template-page-home-art .site-header .container,
.page-template-page-home-art-php .site-header .container,
.site-header.header-art-island .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. Logo Branding */
.page-template-page-home-art .site-header .navbar-brand,
.page-template-page-home-art-php .site-header .navbar-brand,
.site-header.header-art-island .navbar-brand {
    color: #1e293b !important;
    text-decoration: none;
    padding: 0 !important;
    transition: transform 0.25s ease;
}

.page-template-page-home-art .site-header .navbar-brand:hover,
.page-template-page-home-art-php .site-header .navbar-brand:hover,
.site-header.header-art-island .navbar-brand:hover {
    transform: scale(1.02);
}

.page-template-page-home-art .site-header .bt-text-logo,
.page-template-page-home-art-php .site-header .bt-text-logo,
.site-header.header-art-island .bt-text-logo {
    font-size: 27px !important;
    font-weight: 700;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(135deg, #ff4b72 0%, #8b5cf6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 8px rgba(255, 75, 114, 0.25));
    display: inline-block;
}

/* 3. Navigation Menu Links */
.page-template-page-home-art .site-header .navbar-nav,
.page-template-page-home-art-php .site-header .navbar-nav,
.site-header.header-art-island .navbar-nav {
    align-items: center;
    gap: 4px !important;
}

.page-template-page-home-art .site-header .navbar-nav .nav-link,
.page-template-page-home-art-php .site-header .navbar-nav .nav-link,
.site-header.header-art-island .navbar-nav .nav-link {
    color: #475569 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 7px 16px !important;
    border-radius: 9999px !important;
    transition: all 0.22s ease !important;
    position: relative;
    letter-spacing: -0.01em;
}

.page-template-page-home-art .site-header .navbar-nav .nav-link:hover,
.page-template-page-home-art-php .site-header .navbar-nav .nav-link:hover,
.site-header.header-art-island .navbar-nav .nav-link:hover {
    color: #ff4b72 !important;
    background: rgba(255, 75, 114, 0.08) !important;
}

.page-template-page-home-art .site-header .navbar-nav .nav-link.active,
.page-template-page-home-art-php .site-header .navbar-nav .nav-link.active,
.site-header.header-art-island .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff4b72 0%, #f43f5e 100%) !important;
    box-shadow: 0 4px 12px rgba(255, 75, 114, 0.3) !important;
}

/* Dropdown Menu inside Navigation */
.page-template-page-home-art .site-header .dropdown-menu,
.page-template-page-home-art-php .site-header .dropdown-menu,
.site-header.header-art-island .dropdown-menu {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.1) !important;
    padding: 8px !important;
    margin-top: 8px !important;
}

.page-template-page-home-art .site-header .dropdown-item,
.page-template-page-home-art-php .site-header .dropdown-item,
.site-header.header-art-island .dropdown-item {
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.18s ease !important;
}

.page-template-page-home-art .site-header .dropdown-item:hover,
.page-template-page-home-art-php .site-header .dropdown-item:hover,
.site-header.header-art-island .dropdown-item:hover {
    background: rgba(255, 75, 114, 0.08) !important;
    color: #ff4b72 !important;
    transform: translateX(3px);
}

/* 4. Action Buttons (Dark Mode, Search, Bell) */
.page-template-page-home-art .site-header .btn-light,
.page-template-page-home-art-php .site-header .btn-light,
.site-header.header-art-island .btn-light {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    color: #475569 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.22s ease !important;
}

.page-template-page-home-art .site-header .btn-light:hover,
.page-template-page-home-art-php .site-header .btn-light:hover,
.site-header.header-art-island .btn-light:hover {
    background: #ffffff !important;
    color: #ff4b72 !important;
    border-color: rgba(255, 75, 114, 0.4) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 75, 114, 0.2) !important;
}

/* Notification Button & Tooltip */
.page-template-page-home-art .site-header .td-noti-btn .td-noti-count,
.page-template-page-home-art-php .site-header .td-noti-btn .td-noti-count,
.site-header.header-art-island .td-noti-btn .td-noti-count {
    background: linear-gradient(135deg, #ff4b72 0%, #ef4444 100%) !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
}

/* 5. Floating Search Card (#headerSearch) */
.page-template-page-home-art #headerSearch,
.page-template-page-home-art-php #headerSearch,
body.has-art-header #headerSearch {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 820px !important;
    width: calc(100% - 32px) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
    z-index: 1040 !important;
}

.page-template-page-home-art #headerSearch .container,
.page-template-page-home-art-php #headerSearch .container,
body.has-art-header #headerSearch .container {
    padding: 16px 20px !important;
}

.page-template-page-home-art #headerSearch .input-group,
.page-template-page-home-art-php #headerSearch .input-group,
body.has-art-header #headerSearch .input-group {
    border-radius: 9999px !important;
    overflow: hidden !important;
    border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-template-page-home-art #headerSearch .input-group:focus-within,
.page-template-page-home-art-php #headerSearch .input-group:focus-within,
body.has-art-header #headerSearch .input-group:focus-within {
    border-color: #ff4b72 !important;
    box-shadow: 0 0 0 3px rgba(255, 75, 114, 0.15) !important;
}

.page-template-page-home-art #headerSearch .btn-primary,
.page-template-page-home-art-php #headerSearch .btn-primary,
body.has-art-header #headerSearch .btn-primary {
    background: linear-gradient(135deg, #ff4b72 0%, #f43f5e 100%) !important;
    border: none !important;
    border-radius: 0 9999px 9999px 0 !important;
    padding: 0 24px !important;
}

/* 6. Responsive Mobile Navigation (< 992px) */
@media (max-width: 991.98px) {
    .page-template-page-home-art .site-header,
    .page-template-page-home-art-php .site-header,
    .site-header.header-art-island {
        border-radius: 20px !important;
        width: calc(100% - 20px) !important;
        margin: 10px auto 0 !important;
        padding: 8px 16px !important;
    }

    .page-template-page-home-art .site-header .navbar-toggler,
    .page-template-page-home-art-php .site-header .navbar-toggler,
    .site-header.header-art-island .navbar-toggler {
        color: #1e293b !important;
        padding: 4px 8px !important;
    }

    .page-template-page-home-art .site-header .navbar-collapse,
    .page-template-page-home-art-php .site-header .navbar-collapse,
    .site-header.header-art-island .navbar-collapse {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-radius: 18px !important;
        padding: 16px !important;
        margin-top: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.1) !important;
    }

    .page-template-page-home-art .site-header .navbar-nav,
    .page-template-page-home-art-php .site-header .navbar-nav,
    .site-header.header-art-island .navbar-nav {
        gap: 6px !important;
        width: 100% !important;
    }

    .page-template-page-home-art .site-header .navbar-nav .nav-link,
    .page-template-page-home-art-php .site-header .navbar-nav .nav-link,
    .site-header.header-art-island .navbar-nav .nav-link {
        width: 100% !important;
        border-radius: 12px !important;
        padding: 10px 16px !important;
    }
}

/* 7. Dark Mode Overrides (Celestial Midnight) */
body.dark-mode .page-template-page-home-art .site-header,
body.dark-mode .page-template-page-home-art-php .site-header,
body.dark-mode .site-header.header-art-island,
html.dark-mode .page-template-page-home-art .site-header,
html.dark-mode .page-template-page-home-art-php .site-header,
html.dark-mode .site-header.header-art-island {
    background: rgba(15, 23, 42, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
}

body.dark-mode .page-template-page-home-art .site-header .navbar-brand,
body.dark-mode .page-template-page-home-art-php .site-header .navbar-brand,
body.dark-mode .site-header.header-art-island .navbar-brand {
    color: #f8fafc !important;
}

body.dark-mode .page-template-page-home-art .site-header .navbar-nav .nav-link,
body.dark-mode .page-template-page-home-art-php .site-header .navbar-nav .nav-link,
body.dark-mode .site-header.header-art-island .navbar-nav .nav-link {
    color: #cbd5e1 !important;
}

body.dark-mode .page-template-page-home-art .site-header .navbar-nav .nav-link:hover,
body.dark-mode .page-template-page-home-art-php .site-header .navbar-nav .nav-link:hover,
body.dark-mode .site-header.header-art-island .navbar-nav .nav-link:hover {
    color: #ff4b72 !important;
    background: rgba(255, 75, 114, 0.15) !important;
}

body.dark-mode .page-template-page-home-art .site-header .navbar-nav .nav-link.active,
body.dark-mode .page-template-page-home-art-php .site-header .navbar-nav .nav-link.active,
body.dark-mode .site-header.header-art-island .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff4b72 0%, #f43f5e 100%) !important;
}

body.dark-mode .page-template-page-home-art .site-header .btn-light,
body.dark-mode .page-template-page-home-art-php .site-header .btn-light,
body.dark-mode .site-header.header-art-island .btn-light {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .page-template-page-home-art .site-header .btn-light:hover,
body.dark-mode .page-template-page-home-art-php .site-header .btn-light:hover,
body.dark-mode .site-header.header-art-island .btn-light:hover {
    background: #1e293b !important;
    color: #ff4b72 !important;
    border-color: rgba(255, 75, 114, 0.5) !important;
    box-shadow: 0 4px 12px rgba(255, 75, 114, 0.25) !important;
}

body.dark-mode .page-template-page-home-art .site-header .dropdown-menu,
body.dark-mode .page-template-page-home-art-php .site-header .dropdown-menu,
body.dark-mode .site-header.header-art-island .dropdown-menu {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .page-template-page-home-art .site-header .dropdown-item,
body.dark-mode .page-template-page-home-art-php .site-header .dropdown-item,
body.dark-mode .site-header.header-art-island .dropdown-item {
    color: #cbd5e1 !important;
}

body.dark-mode .page-template-page-home-art .site-header .dropdown-item:hover,
body.dark-mode .page-template-page-home-art-php .site-header .dropdown-item:hover,
body.dark-mode .site-header.header-art-island .dropdown-item:hover {
    background: rgba(255, 75, 114, 0.15) !important;
    color: #ff4b72 !important;
}

body.dark-mode .page-template-page-home-art .site-header .navbar-toggler,
body.dark-mode .page-template-page-home-art-php .site-header .navbar-toggler,
body.dark-mode .site-header.header-art-island .navbar-toggler {
    color: #f8fafc !important;
}

@media (max-width: 991.98px) {
    body.dark-mode .page-template-page-home-art .site-header .navbar-collapse,
    body.dark-mode .page-template-page-home-art-php .site-header .navbar-collapse,
    body.dark-mode .site-header.header-art-island .navbar-collapse {
        background: rgba(15, 23, 42, 0.96) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }
}

body.dark-mode.page-template-page-home-art #headerSearch,
body.dark-mode.page-template-page-home-art-php #headerSearch,
body.dark-mode.has-art-header #headerSearch {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode.page-template-page-home-art #headerSearch .input-group,
body.dark-mode.page-template-page-home-art-php #headerSearch .input-group,
body.dark-mode.has-art-header #headerSearch .input-group {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-mode.page-template-page-home-art #headerSearch .input-group-text,
body.dark-mode.page-template-page-home-art-php #headerSearch .input-group-text,
body.dark-mode.has-art-header #headerSearch .input-group-text {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border-color: transparent !important;
}

body.dark-mode.page-template-page-home-art #headerSearch .form-control,
body.dark-mode.page-template-page-home-art-php #headerSearch .form-control,
body.dark-mode.has-art-header #headerSearch .form-control {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: transparent !important;
}


