/* ==========================================================================
   PACO STYLE.CSS V3.1 - SPA FULL WEBSITE REDESIGN
   Tech Stack: Pure CSS3, Custom Properties, Responsive, 2D Comic Graphic Style
   Color Palette: Sage Green (#8BAA8B), Coral Red (#E86A5A), Cream (#FFF8F0), Wood (#D9B382)
   ========================================================================== */

/* 1. SETUP VARIABLES & COLOR PALETTES */
@font-face {
    font-family: 'SVN-Chicken Noodle Soup';
    src: url('assets/fonts/SVN-Chicken Noodle Soup.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #8BAA8B;     /* Sage Green */
    --color-secondary: #E86A5A;   /* Coral Red */
    --color-bg: #E2F0D9;          /* Paco soft pastel green background (grass pastel green) */
    --color-cream: #FFF8F0;       /* Cream */
    --color-wood: #D9B382;        /* Wood color */
    --color-navy: #2B4A30;        /* Paco Dark Green outline / text */
    --color-navy-light: #4A6E50;
    --color-white: #ffffff;
    --color-gray-light: #f4f6fa;
    
    /* Pastel colors for cards */
    --pastel-paco: #e2f2ed;
    --pastel-mica: #fdf5df;
    --pastel-bong: #fde8dd;
    --pastel-cam: #e8f3fd;
    --pastel-tu: #f2e7de;
    --pastel-mit: #fde2e2;

    --font-title: 'SVN-Chicken Noodle Soup', 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    --border-thickness: 4px;
    --border-thickness-thick: 6px;
    
    --shadow-flat: 4px 4px 0px var(--color-navy);
    --shadow-flat-thick: 6px 6px 0px var(--color-navy);
    --shadow-flat-hover: 7px 7px 0px var(--color-navy);
    
    --border-radius-large: 35px;
    --border-radius-medium: 22px;
}

/* 2. RESET & GLOBAL STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-navy);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 500;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-paco {
    position: relative;
    width: 220px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-avatar {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.bandana-spin {
    display: none;
}

.loader-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-navy);
}

.loader-bar {
    width: 220px;
    height: 14px;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    border: var(--border-thickness) solid var(--color-navy);
}

.loader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 20px;
}

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

/* Clouds background (Bluey Style) */
.bluey-cloud {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 100px;
    pointer-events: none;
    z-index: 1;
}

.bluey-cloud::before, .bluey-cloud::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.cloud-1 { top: 80px; left: -50px; width: 180px; height: 60px; animation: drift 35s infinite linear; }
.cloud-1::before { width: 80px; height: 80px; top: -40px; left: 30px; }
.cloud-1::after { width: 60px; height: 60px; top: -30px; right: 30px; }

.cloud-2 { top: 220px; right: -80px; width: 220px; height: 70px; animation: drift-reverse 45s infinite linear; }
.cloud-2::before { width: 90px; height: 90px; top: -45px; left: 40px; }
.cloud-2::after { width: 70px; height: 70px; top: -35px; right: 40px; }

.cloud-3 { top: 600px; left: 8%; width: 150px; height: 50px; animation: drift 28s infinite linear; }
.cloud-3::before { width: 60px; height: 60px; top: -30px; left: 25px; }
.cloud-3::after { width: 50px; height: 50px; top: -20px; right: 25px; }

@keyframes drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}
@keyframes drift-reverse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-100px); }
}

/* 3. SPA ROUTING ENGINE PAGES */
.spa-page {
    display: none;
    animation: pageFadeIn 0.35s ease-in-out forwards;
}

.spa-page.active {
    display: block;
}

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

/* 4. MAIN HEADER (BLUEY PILL STYLE) */
.main-header {
    position: sticky;
    top: 25px;
    left: 0;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 1000;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.nav-wrapper-pill {
    background-color: var(--color-white);
    border-radius: 40px;
    box-shadow: 0 8px 30px rgba(63, 74, 107, 0.08);
    padding: 3px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    margin-left: 20px;
    transform: translateY(6px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-navy);
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    transform: translateY(-5px);
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    object-fit: cover;
    transition: transform 0.25s ease;
}

.logo-area:hover .logo-img {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.7rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 10;
}

.nav-link {
    text-decoration: none;
    color: #2B4A30;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: calc(1.05rem + 5px);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link i {
    font-size: calc(0.75rem + 4px) !important;
}

@media (max-width: 1280px) {
    .nav-link {
        font-size: calc(1.05rem + 3px);
        padding: 6px 12px;
    }
    .nav-link i {
        font-size: calc(0.75rem + 2px) !important;
    }
}

@media (max-width: 1024px) {
    .nav-link {
        font-size: calc(1.05rem + 1px);
        padding: 5px 10px;
    }
    .nav-link i {
        font-size: calc(0.75rem + 1px) !important;
    }
}

.nav-link:hover, .nav-link.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    padding: 10px 22px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-download:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ================= PAGE 1: HOME STYLES ================= */

/* Section 1: Hero (Full screen) */
.home-hero-section {
    position: relative;
    padding: 60px 0 100px;
    z-index: 2;
}

.home-hero-container {
    background-color: #a5d3f7;
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 40px;
    padding: 60px;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-flat-thick);
    position: relative;
    overflow: hidden;
}

.hero-left-text {
    z-index: 3;
}

.hero-main-title {
    font-family: var(--font-title);
    font-size: 5rem;
    line-height: 0.9;
    color: var(--color-navy);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.hero-sub-traits {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0 var(--color-navy);
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 30px;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-hero-watch:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-flat-hover);
}

.btn-hero-meet {
    display: inline-flex;
    background-color: var(--color-white);
    color: var(--color-navy);
    border: var(--border-thickness) solid var(--color-navy);
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 30px;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-hero-meet:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-flat-hover);
}

/* Mascot Area - Hà Nội skyline hint & chớp mắt */
.hero-mascot-area {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.paco-3d-character {
    position: relative;
    width: 260px;
    height: 260px;
    animation: float-mascot 5s infinite ease-in-out;
}

@keyframes float-mascot {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.speech-bubble-hero {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.speech-bubble-hero::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: var(--color-navy) transparent;
}

.paco-avatar-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: var(--border-thickness-thick) solid var(--color-navy);
    overflow: hidden;
    background-color: var(--color-white);
    position: relative;
    box-shadow: var(--shadow-flat-thick);
}

.paco-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Eye Blinking Effect mỗi 8-12 giây */
.paco-eye-blink {
    position: absolute;
    top: 36%;
    width: 24px;
    height: 24px;
    background-color: #000;
    border-radius: 50%;
    animation: blink-eye 10s infinite linear;
}

.eye-left { left: 33%; }
.eye-right { right: 33%; }

@keyframes blink-eye {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.1); }
}

/* Bandana đung đưa */
.bandana-wave-overlay {
    position: absolute;
    bottom: 0px;
    left: 20%;
    width: 60%;
    height: 50px;
    background-color: var(--color-secondary);
    border-radius: 50% 50% 10px 10px;
    border: var(--border-thickness) solid var(--color-navy);
    transform-origin: top center;
    animation: bandana-swing 3s infinite ease-in-out;
}

@keyframes bandana-swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.hanoi-skyline-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.85rem;
    color: rgba(62, 77, 140, 0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Section 2: Meet Paco */
.home-meet-section {
    padding: 80px 0;
}

.meet-layout-bluey {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 40px;
    padding: 50px;
    box-shadow: var(--shadow-flat);
}

.meet-img-side {
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--color-white);
}

.meet-paco-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meet-text-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.meet-hello {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.meet-intro-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.meet-likes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.meet-likes-list li {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meet-likes-list li i {
    color: var(--color-primary);
}

.btn-meet-more {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    padding: 12px 28px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-meet-more:hover {
    background-color: var(--color-secondary);
    transform: translateX(4px);
}

/* Section 3: Explore My World (Card lớn) */
.home-explore-world {
    padding: 20px 0 10px;
    margin-top: -30px; /* Dịch chuyển sát lên gần phần video */
    position: relative;
    z-index: 10;
}

.explore-section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #557F32; /* Màu xanh cỏ đậm của Sếp */
}

.explore-grid-bluey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.explore-card {
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: var(--border-radius-large);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Hover rung nhẹ */
.explore-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-flat-hover);
    animation: card-shake 0.4s ease-in-out;
}

@keyframes card-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.explore-card-icon {
    font-size: 3rem;
    color: var(--color-navy);
}

.explore-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-navy);
}

/* Section 4: Meet My Friends (Carousel) */
.home-friends-carousel {
    padding: 80px 0;
}

.carousel-section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.carousel-section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-navy-light);
    margin-bottom: 40px;
}

.friends-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: var(--border-thickness) solid var(--color-navy);
    background-color: var(--color-white);
    color: var(--color-navy);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.15s ease;
}

.carousel-nav-btn:hover {
    background-color: var(--color-bg-bluey);
    transform: scale(1.05);
}

.friends-cards-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 0;
}

.friends-cards-track::-webkit-scrollbar {
    display: none;
}

.friend-card {
    flex: 0 0 calc(20% - 16px);
    scroll-snap-align: start;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.friend-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.friend-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    object-fit: cover;
    margin-bottom: 10px;
}

.friend-card h4 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--color-navy);
}

/* ================= PAGE 2: PROFILE STYLES ================= */
.profile-hero-section {
    padding: 80px 0 60px;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.paco-large-render-frame {
    background-color: var(--color-white);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-flat-thick);
}

.paco-render-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-char-name {
    font-family: var(--font-title);
    font-size: 4.5rem;
    color: var(--color-navy);
    line-height: 0.9;
    margin-bottom: 10px;
}

.profile-char-tagline {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 35px;
}

.profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-item-bluey {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 20px;
    padding: 15px 25px;
    font-size: 1.15rem;
    box-shadow: var(--shadow-flat);
}

.meta-item-bluey span {
    font-family: var(--font-title);
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 10px;
}

/* Personality Section */
.profile-personality {
    padding: 60px 0;
}

.profile-section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 40px;
}

.personality-grid-bluey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.personality-card-bluey {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.personality-card-bluey:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.p-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    margin: 0 auto 15px;
}

.p-icon.orange { background-color: var(--color-secondary); }
.p-icon.yellow { background-color: var(--color-wood); }
.p-icon.blue { background-color: var(--color-navy-light); }
.p-icon.green { background-color: var(--color-primary); }

.personality-card-bluey h4 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.personality-card-bluey p {
    font-size: 0.95rem;
    color: var(--color-navy-light);
}

/* Expressions Section */
.profile-expressions {
    padding: 60px 0;
}

.expressions-grid-bluey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.expr-card {
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.expr-card:hover {
    transform: scale(1.03);
}

.expr-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.expr-card h4 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.expr-card p {
    font-size: 0.95rem;
    color: var(--color-navy-light);
}

/* Signature Items */
.profile-signature-items {
    padding: 80px 0;
}

.signature-layout-bluey {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 40px;
    padding: 50px;
    box-shadow: var(--shadow-flat);
}

.sig-item-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.sig-question {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-navy-light);
    margin-bottom: 15px;
}

.sig-story-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.bandana-large-circle {
    width: 200px;
    height: 200px;
    background-color: var(--color-secondary);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 45% 55% 50% 50% / 40% 45% 55% 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--color-white);
    box-shadow: var(--shadow-flat-thick);
    animation: rotate-bandana 6s infinite ease-in-out;
}

@keyframes rotate-bandana {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg) scale(1.05); }
}

/* ================= PAGE 3: WATCH STYLES (NETFLIX KIDS) ================= */
.watch-netflix-kids {
    padding: 80px 0;
}

.netflix-kids-header {
    margin-bottom: 40px;
    text-align: center;
}

.watch-page-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.watch-page-subtitle {
    font-size: 1.2rem;
    color: var(--color-navy-light);
}

.netflix-row {
    margin-bottom: 50px;
}

.netflix-row-title {
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    padding-left: 5px;
    border-left: 6px solid var(--color-secondary);
}

.netflix-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: thin;
}

.netflix-card {
    flex: 0 0 320px;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.netflix-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-flat-hover);
}

.netflix-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: var(--border-thickness) solid var(--color-navy);
}

.netflix-duration-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: 15px;
    padding: 3px 10px;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
}

.netflix-card:nth-child(even) .netflix-duration-tag {
    background-color: var(--color-primary);
}

.netflix-card-info {
    padding: 15px;
}

.netflix-card-info h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--color-navy);
}

/* Video Popup Modal */
.video-popup {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(21, 41, 61, 0.9);
    justify-content: center;
    align-items: center;
}

.video-popup-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-white);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.video-popup-close:hover {
    color: var(--color-secondary);
    transform: scale(1.1);
}

.video-popup-inner {
    background-color: var(--color-white);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 35px;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.3);
}

.video-popup-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    text-align: center;
}

.video-popup-body {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.popup-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-popup-desc {
    font-size: 1.05rem;
    color: var(--color-navy-light);
    text-align: center;
}

/* ================= PAGE 4: WORLD STYLES (INTERACTIVE APARTMENT) ================= */
.world-apartment-section {
    padding: 80px 0;
}

.world-page-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.world-page-subtitle {
    font-size: 1.2rem;
    color: var(--color-navy-light);
    margin-bottom: 50px;
}

/* Apartment Blueprint Grid */
.apartment-blueprint-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.blueprint-room {
    position: relative;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    padding: 25px;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueprint-room:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-flat-hover);
    background-color: var(--pastel-mica);
}

.room-living { grid-column: 1 / 2; grid-row: 1 / 3; background-color: var(--pastel-cam); }
.room-kitchen { grid-column: 2 / 3; grid-row: 1 / 2; background-color: var(--pastel-paco); }
.room-bedroom { grid-column: 2 / 3; grid-row: 2 / 3; background-color: var(--pastel-bong); }
.room-balcony { grid-column: 1 / 3; grid-row: 3 / 4; background-color: var(--pastel-mit); }

.room-label {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-navy);
    font-weight: 700;
}

/* Mini Paco avatar trồi lên */
.mini-paco-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--color-navy);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--color-white);
    pointer-events: none;
}

.mini-paco-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blueprint-room:hover .mini-paco-avatar {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(10deg);
}

/* Room Display Panel */
.room-info-display-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: var(--border-radius-large);
    padding: 35px;
    box-shadow: var(--shadow-flat);
}

.room-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.room-info-img-side {
    border: 3px solid var(--color-navy);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.room-info-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info-text-side h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.room-info-text-side p {
    font-size: 1.1rem;
    color: var(--color-navy-light);
}

/* ================= PAGE 5: LEARN STYLES ================= */
.learn-hub-section {
    padding: 80px 0;
}

.learn-page-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

/* ================= NEW CHARACTER DETAIL VIEW (4-SECTIONS) ================= */

.char-detail-view {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 60px;
}

/* 1. Header / Hero Section */
.char-detail-hero-new {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 40px);
    height: 480px; /* Mở rộng chiều dọc ảnh để hiển thị trọn vẹn chi tiết hơn */
    display: flex;
    align-items: center;
    margin: 0 auto 50px; /* Không trải hết chiều ngang, căn giữa và tạo khoảng cách dưới */
    border-radius: 40px;
    overflow: hidden; /* Cắt ảnh nền và các lớp phủ theo bo góc */
    z-index: 5;
}

.hero-bg-wrapper-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 40px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
}

.hero-bg-blur-bottom-new {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px; /* Tăng nhẹ chiều cao blur để chuyển tiếp mềm mại hơn */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: var(--dynamic-bg-color, var(--color-bg)); /* Sử dụng màu nền động của từng nhân vật để nối mềm mịn 100% xuống nền dưới */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 4;
    pointer-events: none;
}

.detail-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.hero-bg-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Loại bỏ hoàn toàn lớp phủ trắng để ảnh nền sắc nét, rực rỡ nhất */
    z-index: 2;
}

.hero-content-inner-new {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 30px 50px;
    gap: 20px; /* Giảm khoảng cách để dịch chuyển nội dung sang trái */
}

.detail-hero-left {
    flex: 0 0 180px; /* Thu hẹp chiều rộng cột mascot từ 250px xuống 180px để đẩy text sang trái */
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.detail-hero-mascot-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.12));
    z-index: 4;
}

.detail-hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-bottom: 10px;
    position: relative;
    z-index: 6;
}

.detail-name-3d-new {
    font-family: var(--font-title);
    font-size: 5rem; /* Thu nhỏ từ 6rem xuống 5rem để tên dài như HƯƠNG ONLINE không bị tràn phải */
    line-height: 1;
    color: var(--color-white);
    margin: 0 0 15px;
    letter-spacing: -2px;
    white-space: nowrap;
    text-shadow: 
        -4px -4px 0 #7A9E7A,  
         4px -4px 0 #7A9E7A,
        -4px  4px 0 #7A9E7A,
         4px  4px 0 #7A9E7A,
         6px  6px 0 var(--color-navy),
         10px 10px 0 rgba(0,0,0,0.15);
}

.detail-quote-bracket-new {
    font-family: var(--font-body);
    font-size: 1.3rem; /* Thu nhỏ chữ nhẹ để ôm trong bong bóng */
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.4;
    max-width: 520px; /* Giới hạn chiều rộng tối đa tránh tràn viền */
    position: relative;
    background: var(--color-white); /* Nền trắng đặc hoàn toàn */
    border-radius: 20px; /* Bo tròn dạng bong bóng */
    padding: 10px 25px 10px 35px; /* Đệm chữ thông thoáng */
    box-shadow: 4px 4px 0 var(--color-navy); /* Đổ bóng phẳng 3D đồng bộ với style chung */
    border: 3px solid var(--color-navy); /* Viền navy đậm siêu tương phản */
    width: fit-content; /* Ôm khít theo độ dài text */
    display: inline-block;
}

.detail-quote-bracket-new::before {
    content: '“';
    font-size: 2.6rem;
    color: #7A9E7A;
    position: absolute;
    left: 10px; /* Đưa nháy kép vào trong bong bóng đệm */
    top: -5px;
    font-family: var(--font-title);
}

.detail-quote-bracket-new::after {
    content: '”';
    font-size: 2.6rem;
    color: #7A9E7A;
    display: inline; /* Chuyển sang inline để luôn cùng dòng với chữ cuối cùng */
    vertical-align: -0.4rem; /* Căn chỉnh vị trí dấu nháy to cho đẹp mắt */
    line-height: 0;
    margin-left: 5px;
    font-family: var(--font-title);
}

/* 2. Quick Facts Section */
.char-detail-facts-section-new {
    margin-bottom: 40px;
}

.detail-section-title-new {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-title-icon-new {
    height: 2.2rem; /* Đồng bộ chiều cao với kích thước chữ tiêu đề */
    width: auto;
    object-fit: contain;
}

.facts-layout-container-new {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.facts-box-left {
    background-color: var(--color-white);
    border: 3px solid #E2D7C5;
    border-radius: 30px;
    padding: 20px 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fact-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px dashed rgba(63, 74, 107, 0.15);
    padding-bottom: 5px;
}

.fact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.char-detail-facts-section-new .fact-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: #4F6D2F;
    width: 160px;
    flex-shrink: 0;
}

.char-detail-facts-section-new .fact-value {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
    color: #707070;
}

.facts-img-right {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    height: auto;
    box-shadow: none;
}

.fact-secondary-mascot-img {
    height: 620px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.08));
    animation: floatAnimation 3s infinite ease-in-out;
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* 3. Story Section */
.char-detail-story-section-new {
    margin-bottom: 40px;
}

.story-box-new {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.profile-char-bio-box p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-navy);
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-char-bio-box p:last-child {
    margin-bottom: 0;
}

.voice-pill-container-new {
    display: flex;
    justify-content: flex-start;
    margin-top: 25px;
}

.voice-pill-btn-new {
    background-color: var(--color-white);
    color: #4F6D2F;
    border: 2px solid #4F6D2F;
    border-radius: 40px;
    padding: 10px 25px 10px 15px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.voice-pill-btn-new:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.voice-pill-btn-new:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.speaker-icon-new {
    background-color: #4F6D2F;
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* 4. Highlight Videos Section */
.char-detail-videos-section-new {
    margin-bottom: 60px;
}

.videos-layout-container-new {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
}

.video-player-left-new {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.video-wrapper-16-9-new {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--color-navy);
    border: 4px solid var(--color-white);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.video-wrapper-16-9-new video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-title-label-new {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.video-playlist-right-new {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.playlist-scroll-btn-new {
    background-color: #4F6D2F;
    color: var(--color-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.playlist-scroll-btn-new:hover {
    background-color: #3e5625;
    transform: scale(1.1);
}

.playlist-thumbnails-wrapper-new {
    flex: 1;
    width: 100%;
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px;
}

/* Hide scrollbar */
.playlist-thumbnails-wrapper-new::-webkit-scrollbar {
    display: none;
}
.playlist-thumbnails-wrapper-new {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.playlist-thumb-item-new {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #D1DBC2;
    border: none;
    border-radius: 15px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.playlist-thumb-item-new:hover {
    transform: translateY(-2px);
    background-color: #C3CDB4;
}

.playlist-thumb-item-new.active {
    background-color: #B2C0A0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.playlist-thumb-img-wrap {
    width: 90px;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

.playlist-thumb-play-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.playlist-thumb-item-new:hover .playlist-thumb-play-icon,
.playlist-thumb-item-new.active .playlist-thumb-play-icon {
    opacity: 1;
}

.playlist-thumb-info {
    flex: 1;
    overflow: hidden;
}

.playlist-thumb-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

/* ================= PAGE 7: SHOP STYLES ================= */
.shop-hub-section {
    padding: 80px 0;
}

.shop-page-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.shop-page-subtitle {
    font-size: 1.2rem;
    color: var(--color-navy-light);
    margin-bottom: 50px;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card-bluey {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.product-card-bluey:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.prod-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: var(--border-thickness) solid var(--color-navy);
}

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

.prod-info {
    padding: 25px;
    text-align: center;
}

.prod-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.prod-price {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-prod-buy {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-prod-buy:hover {
    background-color: var(--color-secondary);
}

/* ================= 14. FOOTER & BANNERS ================= */
.main-footer {
    background-color: var(--color-bg-bluey);
    padding: 80px 0 45px;
    z-index: 2;
    position: relative;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Promo Banner Movie */
.bluey-promo-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background-color: var(--color-white);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-flat-thick);
}

.promo-text-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

.promo-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-navy);
}

.promo-desc {
    font-size: 1.1rem;
    color: var(--color-navy-light);
    line-height: 1.6;
}

.btn-promo-more {
    display: inline-flex;
    background-color: var(--color-navy);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 26px;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.btn-promo-more:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

.promo-img-side {
    width: 100%;
    height: 100%;
    border-left: var(--border-thickness) solid var(--color-navy);
}

.promo-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Watch On Banner */
.watch-on-banner {
    position: relative;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    padding: 25px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-flat);
    min-height: 120px;
}

.watch-logos-wrapper {
    text-align: center;
}

.watch-logos-wrapper h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-navy-light);
    margin-bottom: 12px;
}

.logos-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.logo-text-item {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-navy);
}

.logo-text-item i {
    color: var(--color-secondary);
    margin-right: 5px;
}

.banner-mascot-left {
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 75px;
    height: 90px;
    object-fit: cover;
    border-radius: 50% 50% 0 0;
    border: 3px solid var(--color-navy);
    border-bottom: none;
}

.banner-mascot-right {
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 75px;
    height: 90px;
    object-fit: cover;
    border-radius: 50% 50% 0 0;
    border: 3px solid var(--color-navy);
    border-bottom: none;
}

.footer-bottom {
    border-top: 2px solid rgba(62, 77, 140, 0.15);
    padding-top: 25px;
}

.footer-bottom .copyright {
    font-size: 0.95rem;
    color: var(--color-navy-light);
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(62, 77, 140, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border: var(--border-thickness-thick) solid var(--color-white);
    border-radius: 30px;
}

.lightbox-close {
    position: absolute;
    top: 35px;
    right: 45px;
    color: var(--color-white);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: var(--color-white);
    padding: 15px 0;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ================= 15. RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1024px) {
    .home-hero-container {
        grid-template-columns: 1fr;
        padding: 40px;
        min-height: auto;
        gap: 35px;
        text-align: center;
    }
    
    .hero-left-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .meet-layout-bluey {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .meet-img-side {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .friend-card {
        flex: 0 0 calc(33.33% - 14px);
    }

    .profile-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .paco-large-render-frame {
        max-width: 320px;
        margin: 0 auto;
    }

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

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

    .signature-layout-bluey {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .apartment-blueprint-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .room-living, .room-kitchen, .room-bedroom, .room-balcony {
        grid-column: auto;
        grid-row: auto;
        height: 120px;
    }

    .room-info-grid {
        grid-template-columns: 1fr;
    }

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

    .bluey-promo-banner {
        grid-template-columns: 1fr;
    }

    .promo-img-side {
        border-left: none;
        border-top: var(--border-thickness) solid var(--color-navy);
        aspect-ratio: 16/9;
    }

    /* Responsive cho Layout 4 phần mới */
    .char-detail-hero-new {
        height: auto;
        min-height: 460px;
        flex-direction: column;
        justify-content: center;
        padding: 0;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 25px !important;
        margin: 0 0 30px !important;
    }
    .hero-content-inner-new {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        gap: 20px;
    }
    .detail-hero-left {
        flex: 0 0 auto;
        height: 200px;
        align-items: flex-end;
        justify-content: center;
    }
    .detail-hero-mascot-img {
        max-height: 100%;
    }
    .detail-hero-right {
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }
    .detail-name-3d-new {
        font-size: 4rem;
        letter-spacing: -1px;
    }
    .detail-quote-bracket-new {
        max-width: 100% !important;
        padding: 10px 20px !important;
        width: fit-content !important;
        margin: 0 auto !important; /* Căn giữa bong bóng chữ trên mobile */
    }
    .detail-quote-bracket-new::before,
    .detail-quote-bracket-new::after {
        display: none;
    }
    .facts-layout-container-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .facts-img-right {
        background: none;
        border: none;
        padding: 0;
        height: auto;
        box-shadow: none;
    }
    .fact-secondary-mascot-img {
        max-height: 220px;
    }
    .fact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .char-detail-facts-section-new .fact-label {
        width: 100%;
        font-size: 1.4rem;
    }
    .char-detail-facts-section-new .fact-value {
        font-size: 1.15rem;
    }
    .videos-layout-container-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .video-playlist-right-new {
        height: auto;
        max-height: none;
    }
    .playlist-thumbnails-wrapper-new {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .main-header {
        width: 95%;
    }

    .nav-wrapper-pill {
        display: none;
    }

    .hero-main-title {
        font-size: 3.5rem;
    }

    .friend-card {
        flex: 0 0 calc(50% - 10px);
    }

    .personality-grid-bluey {
        grid-template-columns: 1fr;
    }

    .expressions-grid-bluey {
        grid-template-columns: 1fr;
    }

    .netflix-card {
        flex: 0 0 260px;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
    }

    .watch-on-banner {
        padding: 25px 20px;
    }

    .banner-mascot-left, .banner-mascot-right {
        display: none;
    }

    .logos-row {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile detail view styles */
    .fact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .char-detail-facts-section-new .fact-label {
        width: 100%;
    }
    .voice-pill-btn-new {
        padding: 12px 25px;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }
    .playlist-thumb-item-new {
        padding: 6px;
    }
    .playlist-thumb-img-wrap {
        width: 80px;
    }
    .playlist-thumb-title {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   DYNAMIC BLUEY-STYLE CHARACTER PROFILE CSS
   ========================================================================== */
.profile-selection-section {
    margin-bottom: 40px;
    text-align: center;
}

.profile-selection-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.profile-selection-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 40px;
    padding: 15px 25px;
    box-shadow: var(--shadow-flat);
}

.profile-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px;
    border-radius: 20px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 95px;
}

.profile-select-card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    object-fit: cover;
    background-color: var(--color-white);
    transition: transform 0.2s ease;
}

.profile-select-card span {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-navy);
}

.profile-select-card:hover {
    transform: scale(1.08);
}

.profile-select-card:hover img {
    transform: rotate(10deg);
}

.profile-select-card.active {
    background-color: var(--color-navy);
}

.profile-select-card.active img {
    border-color: var(--color-secondary);
}

.profile-select-card.active span {
    color: var(--color-white);
}

/* Detail Panel */
.profile-detail-panel {
    background-color: var(--pastel-paco);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 45px;
    padding: 50px;
    box-shadow: var(--shadow-flat-thick);
    margin-bottom: 50px;
    transition: background-color 0.4s ease;
    background-image: radial-gradient(rgba(62, 77, 140, 0.05) 20%, transparent 20%);
    background-size: 24px 24px;
}

.profile-char-name-3d {
    font-family: var(--font-title);
    font-size: 5.5rem;
    text-align: center;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -2px;
    text-shadow: 
        -3px -3px 0 #fff,  
         3px -3px 0 #fff,
        -3px  3px 0 #fff,
         3px  3px 0 #fff,
        -5px -5px 0 var(--color-navy),
         5px -5px 0 var(--color-navy),
        -5px  5px 0 var(--color-navy),
         5px  5px 0 var(--color-navy),
         0px  8px 0px var(--color-navy);
}

.profile-char-quote-wrapper {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

#profile-char-quote {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-secondary);
    font-weight: 700;
    font-style: italic;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    padding: 12px 30px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: var(--shadow-flat);
}

/* Detail Grid */
.profile-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.profile-detail-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.profile-char-img-frame {
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-char-img-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 0 var(--color-navy));
    animation: character-bounce 4s infinite ease-in-out;
}

@keyframes character-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(0.98); }
}

.profile-char-bio-box {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.profile-char-bio-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-navy);
}

/* Quick Facts Cards Deck (Ảnh 1 Style) */
.quick-facts-card-deck {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 0.82;
}

.quick-facts-card-bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: 1;
    background-image: radial-gradient(rgba(62, 77, 140, 0.15) 20%, transparent 20%);
    background-size: 14px 14px;
    transition: background-color 0.4s ease;
}

.quick-facts-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    padding: 25px;
    z-index: 2;
    box-shadow: var(--shadow-flat);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.quick-facts-card h3 {
    font-family: var(--font-title);
    font-size: 1.55rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    border-bottom: 3px dashed var(--color-navy);
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

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

.fact-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fact-label {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--color-navy-light);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.fact-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
}

.mini-card-avatar-wrapper {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 2px 2px 0 var(--color-navy);
}

.mini-card-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Extras container animation */
#profile-paco-extras {
    transition: all 0.4s ease;
}

/* Responsive profiles */
@media (max-width: 768px) {
    .profile-selection-bar {
        padding: 10px;
        gap: 8px;
    }
    .profile-select-card {
        width: 75px;
    }
    .profile-select-card img {
        width: 48px;
        height: 48px;
    }
    .profile-select-card span {
        font-size: 0.8rem;
    }
    .profile-detail-panel {
        padding: 25px;
    }
    .profile-char-name-3d {
        font-size: 3.5rem;
    }
    #profile-char-quote {
        font-size: 1.15rem;
        padding: 8px 18px;
    }
    .profile-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-char-img-frame {
        width: 220px;
        height: 220px;
    }
    .quick-facts-card-deck {
        aspect-ratio: 0.82;
        width: 100%;
        max-width: 320px;
    }
}

/* ==========================================================================
   PACO HOMEPAGE & WATCH COLLECTIONS REDESIGN CSS
   ========================================================================== */

/* Background overrides */
body {
    background-color: var(--color-bg) !important;
}

/* Hide unused sections from old code */
.home-meet-section, .home-friends-carousel, .watch-netflix-kids, .main-footer {
    display: none !important;
}

/* 1. Hero Section ban công Hà Nội */
.home-hero-section {
    position: relative;
    padding: 40px 0 60px;
    z-index: 2;
}

.home-hero-container {
    background-color: #a5d3f7; /* Nền trời xanh */
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 40px;
    padding: 50px;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-flat-thick);
    position: relative;
    overflow: hidden;
}

.hero-welcome-sub {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0 var(--color-navy);
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.hero-main-title {
    font-family: var(--font-title);
    font-size: 6rem;
    line-height: 0.85;
    color: var(--color-navy);
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.hero-sub-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-welcome-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-navy);
    margin-bottom: 35px;
    font-weight: 700;
}

/* Balcony Hà Nội Scene */
.hero-mascot-area-new {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hanoi-balcony-scene {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 35px;
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: var(--shadow-flat);
}

.balcony-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mascots-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-mica-back {
    position: absolute;
    bottom: -10px;
    right: 5%;
    width: 140px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(3px 3px 0 var(--color-navy));
}

.hero-paco-center {
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 180px;
    height: 180px;
    z-index: 3;
}

.hero-paco-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 0 var(--color-navy));
}

/* 2. Explore Paco World 3 Cards (Sườn hình 2) */
.explore-3cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.explore-3card {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    position: relative;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 35px; /* Tạo khoảng trống cho icon nhô lên */
}

.explore-3card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.card-icon-header {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
}

.mini-char-icon-left, .mini-char-icon-right {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid var(--color-navy);
    background-color: var(--color-white);
    object-fit: cover;
    position: absolute;
}

.mini-char-icon-left { left: 5px; z-index: 2; }
.mini-char-icon-right { right: 5px; z-index: 1; }

.font-icon-wrapper {
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--color-navy);
    box-shadow: 2px 2px 0 var(--color-navy);
}

.card-inner-content {
    margin-top: 30px;
}

.card-inner-content h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.card-inner-content p {
    font-size: 1.05rem;
    color: var(--color-navy-light);
    margin-bottom: 25px;
    font-weight: 700;
}

.btn-card-viewall {
    background-color: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.explore-3card:hover .btn-card-viewall {
    background-color: var(--color-secondary);
}

/* Card bg colors */
.bg-cream { background-color: var(--color-cream); }
.bg-cam { background-color: var(--pastel-cam); }
.bg-paco { background-color: var(--pastel-paco); }

/* 3. Paco Dictionary Section (Tương tác sườn hình 3) */
.home-paco-dictionary {
    padding: 10px 0 30px;
}

.dictionary-promo-box {
    position: relative;
    display: flex;
    background-color: #FDF1DC; /* Nền vàng kem nhạt sáng giống Hình 2 */
    border: none; /* Bỏ viền theo yêu cầu Sếp */
    border-radius: 20px; /* Giảm bo tròn */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(63, 74, 107, 0.06); /* Shadow nhẹ nhàng */
    min-height: 480px; /* Kích thước rộng rãi giống hình 2 */
    width: 90%;
    max-width: 1100px; /* Giới hạn chiều rộng để tỉ lệ cân đối giống hình 2 */
    margin: 0 auto; /* Căn giữa trang */
}

/* Ảnh Paco Dict ở bên phải */
.paco-dict-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%; /* Chiếm 65% chiều rộng ở bên phải */
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Lớp phủ blur vàng chuyển tiếp từ trái sang phải */
.paco-dict-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient chuyển từ màu nền vàng kem đặc 100% ở bên trái sang trong suốt ở bên phải */
    background: linear-gradient(to right, 
        #FDF1DC 0%, 
        #FDF1DC 35%, 
        rgba(253, 241, 220, 0.9) 45%, 
        rgba(253, 241, 220, 0) 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* Khối chữ bên trái */
.dictionary-promo-left-new {
    position: relative;
    width: 45%;
    padding: 60px 0 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    z-index: 3;
}

.promo-step-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0 var(--color-navy);
    margin-bottom: 5px;
}

.promo-main-title {
    font-family: var(--font-title);
    font-size: 4rem;
    line-height: 0.9;
    color: #557F32; /* Màu xanh cỏ đậm của Sếp */
    margin-bottom: 20px;
}

.promo-desc {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 30px;
    font-weight: 700;
}

.btn-promo-explore {
    background-color: #557F32;
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(85, 127, 50, 0.2);
    align-self: flex-start;
}

.btn-promo-explore:hover {
    background-color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Container cho các từ lơ lửng */
.dictionary-words-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.dictionary-words-overlay .floating-word {
    pointer-events: auto; /* Bật lại click cho từ */
}

/* Floating Words */
.floating-word {
    position: absolute;
    background-color: var(--color-white);
    border: 2px solid var(--color-navy);
    border-radius: 15px;
    padding: 6px 14px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-navy);
    box-shadow: 2px 2px 0 var(--color-navy);
    cursor: pointer;
    transition: all 0.15s ease;
    animation: word-float 3s infinite ease-in-out;
}

.floating-word:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 3px 3px 0 var(--color-navy);
}

@keyframes word-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.word-apple { top: 60px; left: 15%; animation-delay: 0s; }
.word-bird { top: 120px; right: 10%; animation-delay: 0.5s; }
.word-happy { top: 280px; left: 18%; animation-delay: 1s; }
.word-friend { top: 320px; right: 12%; animation-delay: 1.5s; }
.word-explore { top: 40px; right: 35%; animation-delay: 2s; }

/* 4. Featured Episode */
.home-featured-episode {
    padding: 50px 0;
}

.featured-episode-box {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 35px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-flat);
}

.featured-section-label {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.featured-episode-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.featured-video-preview {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-flat);
}

.featured-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-featured-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.15s ease;
}

.btn-featured-play:hover {
    transform: translate(-50%, -52%) scale(1.05);
    box-shadow: var(--shadow-flat-hover);
}

/* 5. Explore Characters Grid 6 Cards (Sườn hình 4) */
.home-explore-characters-grid {
    padding: 30px 0;
}

.chars-grid-layout {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.char-grid-card {
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.char-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--color-white);
    border: 2px solid var(--color-navy);
    margin-bottom: 12px;
}

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

.char-grid-card h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--color-navy);
}

/* Chars Grid background colors */
.bg-primary-sage { background-color: var(--color-primary); }
.bg-soft-yellow { background-color: #fff275; }
.bg-navy-card { background-color: #5d6d9e; }
.bg-lavender { background-color: #E2D2FE; }
.bg-wood-card { background-color: var(--color-wood); }
.bg-coral-card { background-color: var(--color-secondary); }

/* 6. Fun Learning Activities 2x2 */
.home-fun-activities {
    padding: 50px 0;
}

.activities-section-title {
    font-family: var(--font-title);
    font-size: 2.4rem;
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 40px;
}

.activities-2x2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-card {
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    padding: 35px;
    display: flex;
    gap: 25px;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s ease;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-flat-hover);
}

.act-icon {
    font-size: 3rem;
    color: var(--color-navy);
}

.activity-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.activity-card p {
    font-size: 1.05rem;
    color: var(--color-navy-light);
    font-weight: 700;
}

/* 7. Newsletter Section */
.home-newsletter {
    padding: 50px 0 80px;
}

.newsletter-inner-box {
    background-color: var(--color-cream);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 35px;
    padding: 45px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: var(--shadow-flat);
}

.newsletter-inner-box h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.newsletter-inner-box p {
    font-size: 1.1rem;
    color: var(--color-navy-light);
    margin-bottom: 25px;
    font-weight: 700;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.input-email-news {
    flex: 1;
    border: 3px solid var(--color-navy);
    border-radius: 25px;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.btn-subscribe-news {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 25px;
    padding: 12px 30px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 var(--color-navy);
}

.btn-subscribe-news:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--color-navy);
}

/* 8. New standard footer - Màu xanh cỏ đậm của Sếp */
.main-footer-new {
    background-color: #557F32; /* Nền xanh cỏ đậm */
    color: var(--color-white);
    padding: 60px 0 40px;
    border-top: none; /* Bỏ viền navy */
    position: relative;
    z-index: 2;
}

.footer-container-new {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    gap: 40px;
}

.footer-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    max-width: 650px;
}

.footer-right-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Email Subscription Box kiểu phẳng ngộ nghĩnh của Sếp */
.footer-subscribe-form-new {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 380px;
}

.footer-subscribe-input-new {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 3px solid var(--color-navy);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-navy);
    background-color: var(--color-white);
    outline: none;
    transition: border-color 0.2s ease;
}

.footer-subscribe-input-new:focus {
    border-color: var(--color-secondary);
}

.footer-subscribe-btn-new {
    padding: 12px 24px;
    border-radius: 30px;
    border: 3px solid var(--color-navy);
    background-color: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 var(--color-navy);
}

.footer-subscribe-btn-new:hover {
    background-color: var(--color-secondary);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--color-navy);
}

.copyright-text-new {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-row-links-new {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.footer-link-item-new {
    font-family: var(--font-title);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-link-item-new:hover {
    color: var(--color-secondary);
}

.footer-row-social-new {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-new {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    border-radius: 50%;
    color: #557F32;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icon-new:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: scale(1.1);
}

/* ==========================================================================
   CHARACTERS OVERVIEW & FAN CLUB CSS STYLES
   ========================================================================== */

/* Overview Hero background */
.char-overview-tree-bg {
    position: absolute;
    right: 30px;
    bottom: -15px;
    width: 250px;
    height: 250px;
    background-image: url('assets/world/3_key_prop_wooden_bird_perch.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 1;
}

.flex-carousel {
    justify-content: center !important;
    flex-wrap: wrap;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 1. Character Hero Detail (Fan Club) */
.char-hero-detail-section {
    background-color: var(--color-white);
    border: var(--border-thickness-thick) solid var(--color-navy);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-flat-thick);
}

.char-hero-detail-container {
    position: relative;
    padding: 60px;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('assets/world/living_room_day.png');
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease;
}

.char-hero-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(221, 238, 255, 0.4) 0%, rgba(63, 74, 107, 0.8) 100%);
    pointer-events: none;
}

.char-hero-detail-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.detail-name-3d {
    font-family: var(--font-title);
    font-size: 6.5rem;
    color: var(--color-white);
    line-height: 0.85;
    margin-bottom: 5px;
    letter-spacing: -2px;
    text-shadow: 
        -4px -4px 0 var(--color-navy),  
         4px -4px 0 var(--color-navy),
        -4px  4px 0 var(--color-navy),
         4px  4px 0 var(--color-navy),
         0px  8px 0px rgba(0,0,0,0.3);
}

.detail-tagline {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0 var(--color-navy);
    margin-bottom: 25px;
}

.detail-char-quote-box {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    padding: 10px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-flat);
    display: inline-block;
}

.detail-char-quote-box span {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--color-secondary);
    font-weight: 700;
    font-style: italic;
}

/* Quick Facts Tilt card */
.font-card-deck-tilt {
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.font-card-deck-tilt:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Voice button hover */
.voice-btn:hover {
    background-color: var(--color-primary) !important;
}

/* Favorites Grid 6 */
.favorites-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.favorite-lore-card {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-flat);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.favorite-lore-card:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: var(--shadow-flat-hover);
}

.favorite-lore-card.selected {
    border-color: var(--color-secondary);
    background-color: var(--pastel-bong);
    box-shadow: var(--shadow-flat-hover);
}

.favorite-lore-card-icon {
    font-size: 2.8rem;
    color: var(--color-navy);
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.favorite-lore-card span {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-navy);
}

/* ==========================================================================
   WATCH COLLECTIONS & EPISODES CSS
   ========================================================================== */

/* Collections cards grid */
.collections-cards-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.collection-card-new {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.collection-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-flat-hover);
}

.col-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: var(--border-thickness) solid var(--color-navy);
}

.col-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card-new:hover .col-card-thumb-wrap img {
    transform: scale(1.05);
}

.col-card-info {
    padding: 25px;
    text-align: center;
}

.col-card-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.col-card-info p {
    font-size: 1rem;
    color: var(--color-navy-light);
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-col-watch {
    background-color: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1rem;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collection-card-new:hover .btn-col-watch {
    background-color: var(--color-secondary);
}

/* Video grid */
.video-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card-new {
    background-color: var(--color-white);
    border: var(--border-thickness) solid var(--color-navy);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-flat-hover);
}

.video-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-bottom: var(--border-thickness) solid var(--color-navy);
    overflow: hidden;
}

.video-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(63, 74, 107, 0.85);
    color: var(--color-white);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--color-white);
}

.video-card-info {
    padding: 15px 20px;
    text-align: center;
}

.video-card-info h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--color-navy);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADDITIONAL OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .home-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-welcome-sub {
        font-size: 1.3rem;
    }
    .hero-main-title {
        font-size: 4.5rem;
    }
    .explore-3cards-grid {
        grid-template-columns: 1fr;
    }
    .dictionary-promo-box {
        flex-direction: column-reverse;
        min-height: auto;
        padding: 35px 25px;
        text-align: center;
        gap: 30px;
    }
    .paco-dict-bg-img {
        position: relative;
        width: 100%;
        height: 240px;
        border-radius: 15px;
        z-index: 1;
    }
    .paco-dict-fade-overlay {
        display: none;
    }
    .dictionary-promo-left-new {
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }
    .dictionary-words-overlay {
        display: none;
    }
    .chars-grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
    .activities-2x2-grid {
        grid-template-columns: 1fr;
    }
    .collections-cards-grid-new {
        grid-template-columns: 1fr;
    }
    .video-grid-new {
        grid-template-columns: 1fr 1fr;
    }
    .favorites-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .chars-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .chars-grid-layout-new {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 300px);
        gap: 16px;
        align-items: end;
    }
    .chars-grid-layout-new .char-card-3,
    .chars-grid-layout-new .char-card-4 {
        height: 300px;
    }
    .chars-grid-layout-new .char-card-1,
    .chars-grid-layout-new .char-card-2 {
        height: 240px;
    }
    .video-grid-new {
        grid-template-columns: 1fr;
    }
    .favorites-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   PACO PREMIUM NEW REDESIGN IMPLEMENTATION
   ========================================================================== */

/* Logo tách nền tràn viền (Header) */
.logo-img-new {
    height: 100px;
    width: auto;
    margin: -15px -5px -15px -5px;
    border-radius: 0;
    border: none;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo-area:hover .logo-img-new {
    transform: scale(1.08) rotate(2deg);
}

/* Logo tách nền (Footer) */
.footer-logo-img-new {
    height: 110px;
    width: auto;
    border-radius: 0;
    border: none;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.12));
}

/* Section 2: Explore Paco World 3 Card Mới (Emoji nhô 50% & Carousel) */
.explore-carousel-container {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #557F32; /* Màu xanh cỏ đậm giống Sếp yêu cầu */
    border: none;
    color: var(--color-white);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}
.carousel-btn:hover {
    background-color: var(--color-navy);
    transform: scale(1.1);
}
.explore-3cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 130px auto 10px; /* margin-top tăng lên 130px để chừa chỗ cho emoji to nhô lên, margin-bottom nhỏ */
    flex-grow: 1;
}
.explore-3card-new {
    background-color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-medium);
    padding: 145px 25px 30px; /* Padding top tăng từ 110px lên 145px để tránh emoji cỡ lớn 230px đè lên tiêu đề */
    text-align: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(63, 74, 107, 0.08);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.explore-3card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(63, 74, 107, 0.15);
}
.card-image-top {
    position: absolute;
    top: -115px; /* Nhô lên trên mép viền 50% của emoji 230px */
    left: 50%;
    transform: translateX(-50%);
    width: 230px; /* Phóng to từ 180px lên 230px theo yêu cầu của Sếp */
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.explore-emoji-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(63, 74, 107, 0.18)); /* Đổi shadow phẳng sang shadow mờ cho mượt mà đồng bộ */
    transition: transform 0.25s ease;
}
.explore-3card-new:hover .explore-emoji-img {
    transform: scale(1.15) rotate(-5deg);
}
.card-inner-content-new h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}
.card-inner-content-new p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-navy-light);
    margin-bottom: 25px;
    line-height: 1.4;
}
.btn-card-viewall-new {
    background-color: #557F32; /* Màu xanh cỏ đậm */
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(85, 127, 50, 0.2);
    transition: all 0.15s ease;
}
.explore-3card-new:hover .btn-card-viewall-new {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Section 5: Explore Characters Grid mới (4 cột, 2 dòng, card giữa to, phong cách phẳng không viền của Bluey) */
.chars-grid-layout-new {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr; /* Mom & Dad ở 2 rìa to hơn Paco & Mica ở giữa */
    grid-template-rows: 460px; /* Chiều cao tối đa của dòng */
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
    align-items: end; /* Căn sát đáy để các nhân vật đứng cùng một mặt đất */
}
.char-grid-card-new {
    border: none; /* Không viền */
    border-radius: 16px; /* Bo tròn góc nhẹ */
    padding: 0; /* Bỏ padding để ảnh tràn viền */
    text-align: center;
    cursor: pointer;
    box-shadow: none; /* Không đổ bóng */
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Đẩy sát đáy card */
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.char-grid-card-new:hover {
    transform: scale(1.05); /* Phóng to nhẹ khi hover */
}
.char-grid-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đổi sang cover để ảnh tràn viền không khung */
    object-position: bottom center; /* Căn sát đáy card */
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.06)); /* Đổ bóng nhân vật nhẹ */
    transition: transform 0.25s ease;
}
.char-grid-card-new:hover img {
    transform: scale(1.05);
}
/* Kích thước khung khác nhau để tránh méo/zoom ảnh nhân vật */
.chars-grid-layout-new .char-card-3,
.chars-grid-layout-new .char-card-4 {
    height: 460px; /* Khung Mom & Dad to hơn hẳn (460px) */
}
.chars-grid-layout-new .char-card-1,
.chars-grid-layout-new .char-card-2 {
    height: 320px; /* Khung Paco & Mica nhỏ hơn (320px) */
}
.other-chars-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.other-chars-text {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.other-chars-icon {
    font-size: 2rem;
    color: var(--color-navy);
    transition: transform 0.2s ease;
}
.chars-grid-layout-new .char-card-5:hover .other-chars-icon {
    transform: translateX(10px);
}

.bg-soft-green { background-color: var(--pastel-bong); }
.bg-soft-blue { background-color: var(--pastel-cam); }
.bg-soft-orange { background-color: #fde8dd; }
.bg-soft-pink { background-color: #fce4ec; }
.bg-soft-teal { background-color: var(--pastel-paco); }
.bg-soft-yellow { background-color: var(--pastel-mica); }
.bg-soft-sky { background-color: #e3f2fd; }

/* Nút VIEW ALL kiểu viên thuốc bo tròn màu xanh cỏ đậm của Sếp */
.btn-viewall-pill-new {
    background-color: #557F32; /* Đổi sang màu xanh cỏ đậm của Sếp */
    color: var(--color-white);
    border: none;
    border-radius: 40px;
    padding: 14px 40px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}
.btn-viewall-pill-new:hover {
    background-color: var(--color-navy); /* Hover sang navy đậm */
    transform: scale(1.05);
}

/* Character Fan Club Detail Page: Hero */
.char-hero-detail-section-new {
    position: relative;
    width: 100%;
    height: 480px;
    border: 4px solid var(--color-navy);
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-flat-thick);
}
.char-hero-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.95);
    transform: scale(1.05);
    z-index: 1;
}
.char-hero-layered-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
}
.detail-name-3d-huge {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 10rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 
        0px 3px 0px var(--color-navy),
        0px 6px 0px var(--color-navy),
        0px 9px 0px var(--color-navy),
        0px 12px 0px var(--color-navy),
        4px 14px 15px rgba(0,0,0,0.4);
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
}
.detail-char-img-large-wrapper {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 380px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.detail-char-img-large-front {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(8px 8px 0 rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}
.detail-char-img-large-front:hover {
    transform: scale(1.03) rotate(1deg);
}
.detail-char-meta-front {
    position: relative;
    z-index: 4;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.detail-tagline-new {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0 var(--color-navy), -2px -2px 0 var(--color-navy), 2px -2px 0 var(--color-navy), -2px 2px 0 var(--color-navy);
    font-weight: 700;
}
.detail-char-quote-box-new {
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 20px;
    padding: 8px 20px;
    box-shadow: 4px 4px 0 var(--color-navy);
}
.detail-char-quote-box-new span {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    font-style: italic;
}

/* Watch Collections Cards Grid */
.collections-cards-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}
.collection-card-new {
    background-color: var(--color-white);
    border: 4px solid var(--color-navy);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}
.collection-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-flat-hover);
}
.col-card-thumb-wrap {
    width: 100%;
    height: 200px;
    border-bottom: 4px solid var(--color-navy);
    overflow: hidden;
}
.col-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.collection-card-new:hover .col-card-thumb-wrap img {
    transform: scale(1.05);
}
.col-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.col-card-info h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-navy);
}
.col-card-info p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-navy-light);
    font-weight: 700;
}
.btn-col-watch {
    margin-top: 8px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 20px;
    padding: 8px 20px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--color-navy);
    transition: all 0.15s ease;
}
.collection-card-new:hover .btn-col-watch {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--color-navy);
}

/* responsive overrides cho các class mới */
@media (max-width: 1024px) {
    .explore-3cards-grid {
        grid-template-columns: 1fr;
        gap: 115px; /* Tăng từ 75px lên 115px để tránh emoji cỡ 200px của card dưới đè lên đáy card trên */
        margin-top: 100px; /* Đẩy xuống một chút để chừa khoảng trống cho emoji nhô lên */
        padding: 0 20px;
    }
    .explore-3card-new {
        padding-top: 130px; /* Tăng padding top trên mobile để tránh emoji 200px đè lên text */
    }
    .card-image-top {
        width: 200px; /* Emoji trên mobile thu nhỏ về 200px cho cân đối */
        height: 200px;
        top: -100px; /* Nhô lên 50% của 200px */
    }
    .hero-container-box {
        width: 95%;
        aspect-ratio: auto;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    .hero-bg-landscape-new {
        border-radius: 20px;
        height: 300px; /* Chiều cao cố định cho ảnh nền trên mobile */
        object-fit: cover;
    }
    .hero-characters-new {
        position: absolute !important;
        bottom: -15px !important; /* Đẩy lún trên mobile để chân chạm thảm cỏ */
        right: -4% !important; /* Dịch phải nhẹ trên mobile */
        left: auto !important;
        top: auto !important;
        width: 78% !important; /* Phóng to thêm trên mobile (từ 76% lên 78%) */
        height: 98% !important;
        object-fit: contain !important;
        object-position: center bottom !important;
        z-index: 15 !important;
        transform: none !important;
    }
    .hero-content-wrapper-new {
        position: relative; /* Trở về dòng chảy thường để card xếp dưới ảnh nền */
        height: auto;
        padding: 20px 10px;
        justify-content: center;
        align-items: center;
        pointer-events: auto;
    }
    .hero-intro-card-new {
        max-width: 90%;
        transform: none; /* Không xoay nghiêng trên mobile để dễ đọc */
        margin-right: 0;
        margin-top: 20px; /* Khoảng cách với ảnh nền phía trên */
        border-radius: 20px;
        border-width: 6px;
        padding: 20px;
    }
    .chars-grid-layout-new {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 360px);
        gap: 20px;
        padding: 0 20px;
        align-items: end;
    }
    .chars-grid-layout-new .char-card-3,
    .chars-grid-layout-new .char-card-4 {
        height: 360px;
    }
    .chars-grid-layout-new .char-card-1,
    .chars-grid-layout-new .char-card-2 {
        height: 300px;
    }
    .collections-cards-grid-new {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .detail-name-3d-huge {
        font-size: 6rem;
    }
    .detail-char-img-large-wrapper {
        height: 280px;
    }
    .char-hero-detail-section-new {
        height: 380px;
    }
}
@media (max-width: 576px) {
    .chars-grid-layout-new {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
        padding: 0 16px;
    }
    .chars-grid-layout-new .char-card-3,
    .chars-grid-layout-new .char-card-4 {
        height: 340px;
    }
    .chars-grid-layout-new .char-card-1,
    .chars-grid-layout-new .char-card-2 {
        height: 260px;
    }
    .detail-name-3d-huge {
        font-size: 4.5rem;
    }
    .detail-char-img-large-wrapper {
        height: 220px;
    }
    .char-hero-detail-section-new {
        height: 320px;
    }
}

/* ==========================================================================
   PACO PREMIUM HOME HERO SECTION REDESIGN (BLUEY STYLE)
   ========================================================================== */

.home-hero-section-new {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto; /* Chiều cao tự động dựa theo box bên trong */
    padding: 50px 0 20px; /* Khoảng trống dư nền ở trên và dưới */
    margin: 0;
    border: none;
    overflow: visible; /* Để card giới thiệu có thể nhô lấn ra ngoài lề */
    box-shadow: none;
    background-color: var(--color-bg); /* Màu nền xanh pastel đồng bộ toàn trang */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container-box {
    position: relative;
    width: 92%;
    max-width: 1280px; /* Tăng chiều rộng tối đa lên 1280px (đúng bằng kích thước gốc của ảnh phong cảnh Sếp gửi) */
    aspect-ratio: 1280 / 714; /* Tỉ lệ vàng gốc của ảnh giúp giữ độ nét tối đa 1:1 pixel */
    border-radius: 35px;
    background-color: var(--color-white);
    box-shadow: 0 20px 50px rgba(63, 74, 107, 0.12); /* Đổ bóng mịn màng */
    overflow: visible; /* Cho phép card giới thiệu nhô lấn ra ngoài viền */
}

.hero-bg-landscape-new {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Phủ kín box 1100px */
    border-radius: 35px; /* Bo tròn viền ảnh */
    display: block;
    image-rendering: -webkit-optimize-contrast; /* Làm nét hình lên */
    image-rendering: crisp-edges;
}
.hero-characters-new {
    position: absolute;
    bottom: -25px; /* Đẩy lún xuống dưới lề để chân chạm thảm cỏ */
    right: -5%; /* Dịch sang bên phải một chút xíu nữa */
    left: auto;
    top: auto;
    width: 76%; /* To thêm nữa (từ 74% lên 76%) */
    height: 102%; /* Tăng chiều cao lên 102% để lún xuống đáy */
    object-fit: contain; /* Giữ nguyên tỷ lệ gốc */
    object-position: center bottom; /* Căn giữa dưới trong khung chứa */
    z-index: 15; /* Layer cao nhất, đè lên card giới thiệu */
    pointer-events: none; /* Click xuyên qua ảnh */
    image-rendering: -webkit-optimize-contrast; /* Tối ưu hóa làm nét hình */
    image-rendering: crisp-edges;
    transition: all 0.3s ease;
}

/* Lớp phủ chuyển mờ màu xanh lá pastel ở đáy hero section */
.hero-fade-overlay {
    display: none; /* Ẩn đi vì ảnh đã thu nhỏ bo góc lơ lửng, không cần dải chuyển màu nữa để giữ độ nét */
}

.hero-content-wrapper-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 25px 85px 0 0; /* Đẩy nhẹ card lùi vào từ mép phải của box để ngón trỏ chạm vào */
    box-sizing: border-box;
    pointer-events: none; /* Click xuyên qua wrapper */
}

/* Card giới thiệu màu trắng bo góc rộng viền xanh nhạt của Bluey - Xoay nghiêng và dịch trái */
.hero-intro-card-new {
    background-color: var(--color-white);
    border-radius: 30px;
    border: 8px solid #a5d3f7; /* Viền xanh nhạt dày như hình mẫu */
    padding: 30px 25px;
    max-width: 380px; /* Giảm nhẹ chiều rộng để vừa vặn trong box 1100px */
    z-index: 4;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    gap: 8px; /* Đặt gap là 8px để khoảng cách chữ và logo cân đối sau khi đã trim sạch viền ảnh */
    transform: rotate(-3deg); /* Nghiêng chéo chéo nghệ thuật kiểu Bluey */
    transform-origin: center center;
    margin-right: -55px; /* Nhô lấn một phần sang lề phải của box ảnh */
    margin-top: -30px; /* Nhô lấn nhẹ lên trên cạnh trên của box ảnh */
    pointer-events: auto; /* Tương tác bình thường */
}

.hero-welcome-sub-new {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--color-navy-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-welcome-sub-new-custom {
    font-family: var(--font-title);
    font-size: 1.45rem; /* Điều chỉnh nhỏ lại để chữ PARROT không bị xuống dòng */
    color: #557F32; /* Màu xanh cỏ đậm của Sếp */
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center; /* Ra giữa */
    margin: 0; /* Reset margin mặc định để sát logo */
}

.hero-card-logo-small {
    width: 140px; /* Phóng to logo thực tế lên 140px sau khi đã cắt sạch viền trong suốt thừa */
    height: auto;
    object-fit: contain;
    align-self: center; /* Ra giữa */
    margin: 6px 0; /* Khoảng cách trên dưới nhỏ nhắn, tự nhiên */
}

.hero-main-title-new {
    font-family: var(--font-title);
    font-size: 4rem;
    color: #434c76; /* Tông màu tím navy của Bluey */
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
}

.hero-welcome-desc-new {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-navy);
    line-height: 1.45;
    font-weight: 700;
    text-align: center; /* Căn giữa cho đồng bộ đẹp mắt */
    margin: 0; /* Reset margin mặc định */
}

.hero-cta-buttons-new {
    display: flex;
    gap: 12px;
}

/* Responsive Overrides cho Hero Section mới */
@media (max-width: 1024px) {
    .home-hero-section-new {
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }
    .hero-intro-card-new {
        max-width: 90%;
        text-align: center;
        align-items: center;
    }
    .hero-cta-buttons-new {
        justify-content: center;
    }
}

/* Responsive cho Footer mới của Sếp */
@media (max-width: 768px) {
    .footer-container-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
        padding: 0 20px;
    }
    .footer-left-col {
        align-items: center;
        text-align: center;
    }
    .footer-subscribe-form-new {
        justify-content: center;
    }
    .footer-row-links-new {
        justify-content: center;
        gap: 16px;
    }
    .footer-right-col {
        justify-content: center;
        width: 100%;
    }
    .footer-row-social-new {
        justify-content: center;
    }
}

/* ==========================================================================
   PACO WORLD SECTION (EXPLORE THE SHOP GRID STYLE)
   ========================================================================== */
.home-paco-world-section {
    padding: 30px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.world-section-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    text-align: center;
    color: #557F32; /* Màu xanh cỏ đậm */
    margin-bottom: 5px;
    text-transform: uppercase;
}

.world-section-subtitle {
    font-family: var(--font-title);
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.world-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.world-grid-card {
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    cursor: pointer;
    border: var(--border-thickness) solid var(--color-navy);
    box-shadow: var(--shadow-flat);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.world-grid-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-flat-hover);
}

.world-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 100%);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Nội dung chữ nằm ở đáy card */
}

.world-card-content {
    text-align: left;
}

.world-card-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-navy); /* Đổ bóng chữ dạng comic */
    margin-bottom: 2px;
    text-transform: uppercase;
}

.world-card-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-cream);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Tọa độ Grid Desktop */
.world-grid-layout .world-card-1 { grid-column: 1; grid-row: 1; }
.world-grid-layout .world-card-2 { grid-column: 1; grid-row: 2; }
.world-grid-layout .world-card-3 { grid-column: 2; grid-row: 1; }
.world-grid-layout .world-card-4 { grid-column: 2; grid-row: 2; }
.world-grid-layout .world-card-5 { grid-column: 3; grid-row: span 2; } /* Card cao ở giữa */
.world-grid-layout .world-card-6 { grid-column: 4; grid-row: 1; }
.world-grid-layout .world-card-7 { grid-column: 4; grid-row: 2; }

/* Responsive cho Paco World */
@media (max-width: 1024px) {
    .home-paco-world-section {
        padding: 40px 20px;
    }
    .world-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
        gap: 16px;
    }
    .world-grid-layout .world-card-1 { grid-column: 1; grid-row: 1; }
    .world-grid-layout .world-card-2 { grid-column: 1; grid-row: 2; }
    .world-grid-layout .world-card-3 { grid-column: 2; grid-row: 1; }
    .world-grid-layout .world-card-4 { grid-column: 2; grid-row: 2; }
    .world-grid-layout .world-card-5 { grid-column: 1; grid-row: span 2; } /* Card dọc chuyển sang cột 1 */
    .world-grid-layout .world-card-6 { grid-column: 2; grid-row: 3; }
    .world-grid-layout .world-card-7 { grid-column: 2; grid-row: 4; }
}

@media (max-width: 576px) {
    .world-grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    .world-grid-layout .world-grid-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        height: 220px;
    }
}

/* Hiệu ứng ẩn hiện trôi nhẹ cho lá cây, cọng gỗ, quả táo ở nền xanh lá */
.bg-floating-deco {
    position: fixed;
    pointer-events: none; /* Không cản trở click */
    z-index: -1; /* Nằm dưới nội dung chính, trên màu nền body */
    opacity: 0;
    user-select: none;
    transform: translate(0, 0) rotate(0deg);
    animation: floatDriftFade 8s ease-in-out forwards;
}

@keyframes floatDriftFade {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 0.3; /* Độ mờ vừa phải, ẩn hiện nhẹ nhàng thư thái */
        transform: translate(5px, -10px) rotate(10deg);
    }
    85% {
        opacity: 0.3;
        transform: translate(25px, -50px) rotate(35deg);
    }
    100% {
        opacity: 0;
        transform: translate(30px, -60px) rotate(45deg);
    }
}

/* ==========================================================================
   CHARACTERS SUB-PAGE REDESIGN (Mockup của Sếp)
   ========================================================================== */

/* Nền xanh pastel đồng bộ toàn bộ view danh sách */
.char-overview-view {
    background-color: var(--color-bg) !important;
    padding-bottom: 80px;
}

/* Tái cấu trúc Hero Sector */
.char-overview-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 55px 0 !important;
    border-radius: 0 !important;
    padding: 0 !important; /* bỏ padding mặc định để container kiểm soát */
    background-size: cover !important;
    background-position: center 70% !important; /* Ghim dịch chuyển để hiển thị tán lá táo ở trên và bãi cỏ ở dưới */
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

/* Lớp gradient/blur mờ dần ở chân ảnh giúp kết nối mượt mà với nền cỏ bên dưới */
.char-overview-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(226, 240, 217, 0) 0%, var(--color-bg) 100%);
    pointer-events: none;
    z-index: 1;
}



.hero-content-container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Chuyển sang xếp chồng dọc */
    justify-content: space-between;
    align-items: stretch;
    min-height: 900px; /* Khớp chiều cao Hero mới (900px) */
    z-index: 2;
    position: relative;
    padding: 50px 0 15px 0; /* Nâng chân EMOJI đứng vững vàng trên bãi cỏ đã được kéo lên */
    box-sizing: border-box;
}

/* White Intro Card nổi bên trái - Bỏ viền, mở rộng ngang, dẹt dọc */
.char-overview-card-new {
    background-color: var(--color-white) !important;
    border-radius: 35px !important;
    padding: 25px 45px !important; /* Dẹt lại theo chiều dọc (giảm từ 45px xuống 25px) */
    max-width: 720px !important; /* Rộng chiều ngang ra (tăng từ 480px lên 720px) */
    width: 100% !important;
    box-shadow: 0 15px 35px rgba(63, 74, 107, 0.08) !important;
    border: none !important; /* Bỏ viền đen bao quanh */
    flex-shrink: 0;
    align-self: flex-start !important; /* Ghim ở góc trên bên trái */
    box-sizing: border-box;
}

.char-overview-card-new h1 {
    font-family: var(--font-title) !important;
    font-size: 3.5rem !important;
    color: #557F32 !important; /* Xanh cỏ đậm của Sếp */
    margin: 0 0 15px 0 !important;
    line-height: 0.95 !important;
}

.char-overview-card-new p {
    font-family: var(--font-body) !important;
    font-size: 1.1rem !important;
    color: var(--color-navy-light) !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin: 0 0 25px 0 !important;
}

/* Nút Jump To A-Z xanh cỏ đậm */
.btn-jump-az {
    background-color: #557F32 !important;
    color: var(--color-white) !important;
    border: 3px solid var(--color-navy) !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    box-shadow: 3px 3px 0 var(--color-navy) !important;
    cursor: pointer;
    transition: all 0.15s ease !important;
    display: inline-block;
    text-transform: lowercase;
}

.btn-jump-az:hover {
    background-color: #4C7036 !important;
    transform: translateY(-2px) !important;
    box-shadow: 4px 4px 0 var(--color-navy) !important;
}

.btn-jump-az:active {
    transform: translateY(1px) !important;
    box-shadow: 1px 1px 0 var(--color-navy) !important;
}

/* Cột phải chứa 4 card gia đình */
.hero-family-cards {
    display: flex;
    gap: 35px; /* Giãn cách đẹp mắt */
    align-items: flex-end; /* Căn chân nhân vật cùng chạm cỏ */
    flex-wrap: wrap;
    justify-content: space-between !important; /* Dàn đều từ trái sang phải */
    padding: 0 80px !important; /* Khoảng đệm hai bên lề để tránh sát viền */
    width: 100%;
    margin-top: auto; /* Đẩy sát xuống đáy thảm cỏ */
    box-sizing: border-box;
}

/* Card hình chữ nhật đứng (kiểu mới của Sếp - không có khung viền navy và bóng đổ ngoài) */
.char-card-rect.profile-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    width: 140px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ảnh EMOJI nhân vật đứng dưới gốc cây */
.char-card-rect.profile-select-card .char-emoji-img {
    height: 320px !important; /* Phóng to nhân vật lên 320px */
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
    filter: drop-shadow(2px 8px 6px rgba(63, 74, 107, 0.25)) !important; /* Bóng đổ dưới chân đè lên bãi cỏ */
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

/* Căn chỉnh chiều cao riêng cho Paco nhỏ hơn bố mẹ */
.char-card-rect.profile-select-card .char-emoji-paco {
    height: 245px !important; /* Phóng to Paco lên 245px */
    margin-bottom: 5px !important; /* Căn chỉnh nhẹ để chân Paco chạm cỏ */
}

/* Tăng chiều cao và chiều rộng riêng cho Bố và Mẹ để to lớn tự nhiên */
.char-card-rect.profile-select-card[data-char-key="dad"] .char-emoji-img,
.char-card-rect.profile-select-card[data-char-key="mom"] .char-emoji-img {
    height: 480px !important;
}

.char-card-rect.profile-select-card[data-char-key="dad"],
.char-card-rect.profile-select-card[data-char-key="mom"] {
    width: 200px !important;
}

/* Tinh chỉnh riêng trên thiết bị di động */
@media (max-width: 768px) {
    .char-card-rect.profile-select-card[data-char-key="dad"] .char-emoji-img,
    .char-card-rect.profile-select-card[data-char-key="mom"] .char-emoji-img {
        height: 360px !important;
    }
    
    .char-card-rect.profile-select-card[data-char-key="dad"],
    .char-card-rect.profile-select-card[data-char-key="mom"] {
        width: 150px !important;
    }
}

/* Hộp xám tối giản cho các nhân vật không có cover (Other Characters) */
.char-card-rect.profile-select-card .card-image-box-minimal {
    width: 140px;
    height: 225px;
    background-color: #e8ebf0 !important; /* Màu xám trơn mockup */
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s ease;
    /* Không border, không box-shadow! */
}

.char-card-rect.profile-select-card .card-image-box-minimal img {
    width: 80% !important;
    height: 80% !important;
    border-radius: 0 !important;
    border: none !important;
    object-fit: contain !important;
    background-color: transparent !important;
}

.char-card-rect.profile-select-card span {
    font-family: var(--font-title) !important;
    font-size: 2.1rem !important; /* Tên các nhân vật to lên theo yêu cầu của Sếp */
    color: var(--color-white) !important; /* Màu trắng theo yêu cầu của Sếp */
    text-shadow: 3px 3px 0 var(--color-navy) !important; /* Đổ bóng navy sắc nét hơn khi chữ to lên */
    text-align: center;
    font-weight: normal !important;
    margin-top: 12px !important;
    text-transform: none; /* Giữ nguyên hoa/thường: Paco, Mica, Mica Dad, Mica Mom */
}

/* Hiệu ứng Hover Card */
.char-card-rect.profile-select-card:hover {
    transform: translateY(-8px) !important;
}

.char-card-rect.profile-select-card:hover img {
    transform: scale(1.06) rotate(0deg) !important; /* overrides circle rotate */
}

/* Sections tiêu đề & layout ở dưới */
.other-chars-section {
    margin: 60px auto 65px auto !important;
    width: 92%;
    max-width: 1200px;
    text-align: center;
}

.all-chars-az-section {
    margin: 60px auto 80px auto !important;
    width: 92%;
    max-width: 1200px;
    text-align: center;
}

.char-section-title-new {
    font-family: var(--font-title) !important;
    font-size: 3.2rem !important;
    color: #557F32 !important; /* Xanh cỏ đậm của Sếp */
    margin-bottom: 40px !important;
    text-align: center;
    font-weight: normal !important;
}

/* Container cho 3 card của Other Characters */
.other-chars-flex {
    display: flex;
    gap: 50px; /* Tăng gap nhẹ cho thoáng */
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Ảnh EMOJI của phần Other Characters (đã bỏ khung xám và phóng to) */
.other-char-emoji {
    height: 240px !important; /* Phóng to EMOJI lên 240px cho cân đối */
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
    filter: drop-shadow(2px 8px 6px rgba(63, 74, 107, 0.15)) !important; /* Đổ bóng nhẹ chìm dưới chân */
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

/* Tỷ lệ kích thước riêng cho nhóm Other Characters: Ông nội to nhất, mèo Mướp nhỏ nhất */
.char-card-rect.profile-select-card[data-char-key="ong_son"] .other-char-emoji {
    height: 380px !important;
}

.char-card-rect.profile-select-card[data-char-key="cam"] .other-char-emoji {
    height: 290px !important;
}

.char-card-rect.profile-select-card[data-char-key="muop"] .other-char-emoji {
    height: 180px !important;
}

/* Điều chỉnh riêng trên thiết bị di động */
@media (max-width: 768px) {
    .char-card-rect.profile-select-card[data-char-key="ong_son"] .other-char-emoji {
        height: 280px !important;
    }
    
    .char-card-rect.profile-select-card[data-char-key="cam"] .other-char-emoji {
        height: 210px !important;
    }
    
    .char-card-rect.profile-select-card[data-char-key="muop"] .other-char-emoji {
        height: 130px !important;
    }
}

.char-card-rect.profile-select-card:hover .other-char-emoji {
    transform: scale(1.06) !important;
}

/* Chữ ở phần Other Characters có màu xanh lá nổi lên trên nền sáng */
.other-chars-section .char-card-rect.profile-select-card span {
    color: #557F32 !important; /* Màu xanh cỏ đậm của Sếp */
    text-shadow: none !important; /* Bỏ viền navy của Hero để chữ xanh lá sắc nét tự nhiên */
    font-weight: 700 !important; /* Đậm nét nổi bật */
}

/* Grid A-Z */
.az-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 45px;
    text-align: left;
}

/* Card A-Z */
.char-card-az {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white) !important;
    border: 3.5px solid var(--color-navy) !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--color-navy) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    cursor: pointer;
    padding: 0 !important;
    gap: 0 !important;
    box-sizing: border-box;
}

.char-card-az:hover {
    transform: translateY(-8px) !important;
    box-shadow: 8px 8px 0 var(--color-navy) !important;
}

.char-card-az .card-az-top {
    height: 220px;
    background-color: transparent !important;
    border-bottom: 3.5px solid var(--color-navy) !important;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.char-card-az .card-az-top img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    object-fit: cover !important; /* Tràn viền phủ kín */
    object-position: center top !important; /* Căn sát đỉnh để không mất mặt nhân vật */
    background-color: transparent !important;
    transition: transform 0.25s ease !important;
}

/* Đẩy hình Bông - Mica - Paco lên theo yêu cầu của Sếp */
.char-card-az[data-char-key="bong"] .card-az-top img {
    object-position: center 35% !important;
}
.char-card-az[data-char-key="mica"] .card-az-top img {
    object-position: center 35% !important;
}
.char-card-az[data-char-key="paco"] .card-az-top img {
    object-position: center 60% !important;
}
.char-card-az[data-char-key="ong_binh"] .card-az-top img {
    object-position: center 25% !important;
}
.char-card-az[data-char-key="cam"] .card-az-top img {
    object-position: center 25% !important;
}
.char-card-az[data-char-key="ong_son"] .card-az-top img {
    object-position: center 30% !important;
}

.char-card-az:hover .card-az-top img {
    transform: scale(1.08) !important;
}

.char-card-az .card-az-bottom-new {
    padding: 15px 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-white) !important;
    width: 100%;
    box-sizing: border-box;
}

.char-card-az .card-az-bottom-new h3 {
    font-family: var(--font-title) !important;
    font-size: 1.45rem !important;
    color: #557F32 !important; /* Xanh cỏ nổi bật */
    margin: 0 !important;
    font-weight: normal !important;
    text-transform: none !important;
}

.char-card-az .card-az-bottom {
    padding: 24px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-white) !important;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

.char-az-letter {
    font-family: var(--font-title) !important;
    font-size: 2.4rem !important;
    color: var(--color-navy) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1 !important;
    font-weight: normal !important;
}

.char-az-desc {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--color-navy-light) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    flex-grow: 1;
}

/* Nút Learn More màu vàng nhạt */
.btn-learn-more {
    background-color: #FFF2CC !important; /* Vàng nhạt */
    color: var(--color-navy) !important;
    border: 2.5px solid var(--color-navy) !important;
    border-radius: 20px !important;
    padding: 7px 22px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: all 0.15s ease !important;
    box-shadow: 2px 2px 0 var(--color-navy) !important;
    display: inline-block;
}

.char-card-az:hover .btn-learn-more {
    background-color: #FFE699 !important; /* Vàng đậm hơn chút */
}

/* Nút Load More xanh cỏ đậm */
.btn-load-more {
    background-color: #557F32 !important;
    color: var(--color-white) !important;
    border: 3.5px solid var(--color-navy) !important;
    border-radius: 30px !important;
    padding: 12px 36px !important;
    font-family: var(--font-title) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    box-shadow: 4px 4px 0 var(--color-navy) !important;
    cursor: pointer;
    transition: all 0.15s ease !important;
    display: inline-block;
    margin-top: 10px;
}

.btn-load-more:hover {
    background-color: #4C7036 !important;
    transform: translateY(-2px) !important;
    box-shadow: 5px 5px 0 var(--color-navy) !important;
}

.btn-load-more:active {
    transform: translateY(1px) !important;
    box-shadow: 1px 1px 0 var(--color-navy) !important;
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .az-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .char-overview-hero {
        padding: 40px 0 !important;
    }
    .hero-content-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .char-overview-card-new {
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
    }
    .az-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .az-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-family-cards {
        gap: 15px;
    }
    .char-card-rect.profile-select-card {
        width: 125px !important;
    }
    .char-card-rect.profile-select-card .card-image-box {
        width: 125px;
        height: 190px;
    }
    .other-chars-flex {
        gap: 20px;
    }
}

/* ==========================================================================
   COLOR SCHEME OVERRIDES (SẾP'S DESIGN SYSTEM UPDATES)
   ========================================================================== */
.btn-download,
.btn-meet-more,
.btn-prod-buy,
.btn-promo-more,
.profile-select-card.active,
.btn-card-viewall,
.btn-promo-explore:hover,
.footer-subscribe-btn-new,
.social-icon-new:hover,
.btn-col-watch,
.carousel-btn:hover,
.explore-3card-new:hover .btn-card-viewall-new,
.btn-viewall-pill-new:hover,
.collection-card-new:hover .btn-col-watch,
.btn-load-more {
    background-color: var(--color-secondary) !important;
}

/* Ensure the border and flat box shadows map correctly with the red color */
.footer-subscribe-btn-new,
.btn-load-more,
.btn-download,
.btn-meet-more,
.btn-prod-buy,
.btn-promo-more,
.btn-col-watch {
    border-color: var(--color-navy) !important;
    box-shadow: 2px 2px 0 var(--color-navy) !important;
}

.footer-subscribe-btn-new:hover,
.btn-load-more:hover,
.btn-download:hover,
.btn-meet-more:hover,
.btn-prod-buy:hover,
.btn-promo-more:hover,
.btn-col-watch:hover {
    box-shadow: 4px 4px 0 var(--color-navy) !important;
}

/* ==========================================================================
   PACO WATCH PAGE REDESIGN (SOFA HERO & DYNAMIC CAROUSELS)
   ========================================================================== */

.watch-hero-section-new {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto 80px; /* Tăng lề dưới lên 80px để nhường khoảng trống cho card */
    height: 560px; /* Tăng chiều cao để mở rộng chiều dọc ảnh, tránh bị crop dẹt */
    background-image: url('assets/world/hero_watch.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none; /* Bỏ viền bao quanh theo yêu cầu của Sếp */
    border-radius: 40px;
    box-shadow: none; /* Bỏ bóng đổ viền đen để banner phóng khoáng hơn */
    display: flex;
    align-items: center;
    /* Bỏ overflow: hidden để card thông tin có thể chờm ra ngoài */
}

.watch-hero-section-new::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px; /* Lớp phủ gradient ở chân ảnh mờ dần vào nền body */
    background: linear-gradient(to bottom, rgba(226, 240, 217, 0) 0%, var(--color-bg) 100%);
    pointer-events: none;
    z-index: 1;
    border-bottom-left-radius: 40px; /* Bo góc thảm gradient khớp với banner */
    border-bottom-right-radius: 40px;
}

.watch-hero-container-new {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: flex-start; /* Chuyển sang bên trái */
    z-index: 2;
    height: 100%;
    position: relative;
}

.watch-hero-card-new {
    background-color: #ffffff; /* Trắng tinh mềm mại */
    border: 5px solid #ffffff; /* Viền trắng dày vừa phải */
    border-radius: 30px;      /* Bo tròn vừa vặn với card nhỏ */
    padding: 20px 30px;       /* Căn chỉnh padding dẹt dọc, rộng ngang */
    max-width: 560px;         /* Kéo dài chiều ngang ra theo yêu cầu của Sếp */
    width: calc(100% - 100px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.04); /* Bóng đổ mịn nhẹ */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;                /* Thu hẹp gap tối đa */
    animation: cardEntrance 0.6s ease-out;
    position: absolute; /* Định vị tuyệt đối để chờm ra ngoài */
    bottom: -45px;      /* Chờm xuống dưới bên trái */
    left: 40px;
    z-index: 10;        /* Layer cao nhất */
}

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

.watch-hero-card-new h1 {
    font-family: var(--font-title);
    font-size: 2.0rem; /* Thu nhỏ cỡ chữ tiêu đề */
    color: #597e26; /* Xanh lá Paco tự nhiên */
    line-height: 1.1;
    margin: 0;
    text-transform: lowercase; /* Chữ thường toàn bộ theo Bluey style */
}

.watch-hero-card-new p {
    font-size: 0.95rem; /* Thu nhỏ cỡ chữ mô tả */
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.btn-hero-watch-new {
    background-color: #597e26; /* Xanh lá Paco tự nhiên */
    color: var(--color-white);
    border: none; /* Bỏ viền */
    border-radius: 25px; /* Bo tròn vừa vặn */
    padding: 8px 20px; /* Thu nhỏ nút bấm tối đa */
    font-size: 0.95rem; /* Thu nhỏ chữ nút bấm */
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(89, 126, 38, 0.2);
    transition: all 0.2s ease;
}

.btn-hero-watch-new:hover {
    background-color: #4a6c1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(89, 126, 38, 0.3);
}

.btn-hero-watch-new:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(89, 126, 38, 0.15);
}

/* CAROUSEL WRAPPERS */
.watch-section-title-new {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.watch-section-title-new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background-color: var(--color-secondary);
    border-radius: 3px;
}

.carousel-outer-wrapper-new {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.carousel-nav-btn-new {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    border: 3px solid var(--color-navy);
    color: var(--color-white);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--color-navy);
    z-index: 5;
    transition: all 0.2s ease;
}

.carousel-nav-btn-new:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 0 var(--color-navy);
}

.carousel-nav-btn-new:active {
    transform: scale(0.95);
    box-shadow: 2px 2px 0 var(--color-navy);
}

.carousel-nav-btn-new.prev {
    left: -25px;
}

.carousel-nav-btn-new.next {
    right: -25px;
}

/* CAROUSEL CONTAINER */
.watch-episodes-carousel-container,
.watch-collections-carousel-container {
    display: flex;
    gap: 30px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    scrollbar-width: none; /* Ẩn scrollbar trên Firefox */
}

.watch-episodes-carousel-container::-webkit-scrollbar,
.watch-collections-carousel-container::-webkit-scrollbar {
    display: none; /* Ẩn scrollbar trên Chrome/Safari */
}

/* EPISODE CARD NEW */
.watch-episode-card-new {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--color-navy);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.watch-episode-card-new:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 8px 8px 0 var(--color-navy);
}

.episode-card-thumb-new {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 3px solid var(--color-navy);
}

.episode-card-thumb-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.watch-episode-card-new:hover .episode-card-thumb-new img {
    transform: scale(1.05);
}

.episode-card-play-icon-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-navy);
    font-size: 1.3rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--color-navy);
}

.watch-episode-card-new:hover .episode-card-play-icon-new {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.episode-card-tag-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #F8D347; /* Vàng đậm */
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 12px;
    border: 2px solid var(--color-navy);
    box-shadow: 2px 2px 0 var(--color-navy);
}

.episode-card-duration-new {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 8px;
}

.episode-card-info-new {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.episode-card-info-new h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.2;
}

.episode-card-info-new p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-card-watch-now-new {
    align-self: flex-start;
    margin-top: auto;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-navy);
    border-radius: 12px;
    padding: 6px 15px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--color-navy);
    transition: all 0.2s ease;
}

.watch-episode-card-new:hover .btn-card-watch-now-new {
    background-color: var(--color-secondary);
    box-shadow: 3px 3px 0 var(--color-navy);
    transform: translateY(-1px);
}

/* COLLECTION CARD PREVIEW */
.watch-collection-card-preview {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--color-navy);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.watch-collection-card-preview:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 8px 8px 0 var(--color-navy);
}

.collection-card-thumb-new {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 3px solid var(--color-navy);
}

.collection-card-thumb-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.watch-collection-card-preview:hover .collection-card-thumb-new img {
    transform: scale(1.05);
}

.collection-card-info-new {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.collection-card-info-new h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--color-navy);
    margin: 0;
}

.collection-card-info-new p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.btn-collection-watch-new {
    align-self: flex-start;
    margin-top: auto;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-navy);
    border-radius: 12px;
    padding: 6px 15px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--color-navy);
    transition: all 0.2s ease;
}

/* FILTER & SORT ROW */
.filter-sort-row-new {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    background-color: #fdfaf4;
    border: 3px solid var(--color-navy);
    border-radius: 25px;
    padding: 15px 30px;
    box-shadow: var(--shadow-flat);
}

.filter-group-new,
.sort-group-new {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group-new label,
.sort-group-new label {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1rem;
}

.filter-select-new {
    padding: 8px 16px;
    border: 3px solid var(--color-navy);
    border-radius: 15px;
    background-color: var(--color-white);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--color-navy);
    transition: all 0.2s ease;
}

.filter-select-new:focus {
    box-shadow: 3px 3px 0 var(--color-navy);
}

/* ALL EPISODES GRID */
.all-episodes-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.load-more-row-new {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-load-more-new {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 20px;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--color-navy);
    transition: all 0.2s ease;
}

.btn-load-more-new:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 var(--color-navy);
}

.btn-load-more-new:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 var(--color-navy);
}

/* RESPONSIVE WATCH DESIGN */
@media (max-width: 992px) {
    .all-episodes-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    .watch-episode-card-new,
    .watch-collection-card-preview {
        flex: 0 0 calc(50% - 15px);
        min-width: 280px;
    }
    .watch-hero-section-new {
        height: 450px;
        width: 100%;
        margin: 0 0 30px;
    }
}

@media (max-width: 768px) {
    .watch-hero-section-new::after {
        display: none; /* Ẩn gradient body trên mobile */
    }
    .watch-hero-section-new {
        height: auto;
        padding: 40px 20px;
        background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('assets/world/hero_watch.jpg');
        width: 100%;
        margin: 0 0 30px;
        border-radius: 25px;
    }
    .watch-hero-container-new {
        padding: 0;
        justify-content: center;
    }
    .watch-hero-card-new,
    .collection-hero-card-new {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto -30px auto !important; /* Chờm nhẹ xuống dưới trên mobile */
        text-align: center;
        align-items: center;
        border-radius: 30px !important;
        border: 4px solid #ffffff !important;
        padding: 20px !important;
    }
    .carousel-nav-btn-new {
        display: none; /* Ẩn nút điều hướng trên mobile để vuốt touch */
    }
    .watch-episodes-carousel-container,
    .watch-collections-carousel-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .filter-sort-row-new {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 20px;
    }
    .filter-group-new,
    .sort-group-new {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .all-episodes-grid-new {
        grid-template-columns: 1fr;
    }
    .watch-episode-card-new,
    .watch-collection-card-preview {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.back-to-watch-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 20px 10px 50px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .back-to-watch-wrap {
        width: 100%;
        padding: 20px 20px 10px 20px;
    }
}

.btn-back-to-watch-new {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 18px;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-title);
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back-to-watch-new:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.15);
    background-color: var(--color-navy-light);
}

.btn-back-to-watch-new:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.collection-hero-section-new {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto 80px; /* Tăng lề dưới lên 80px để nhường khoảng trống cho card */
    height: 560px; /* Tăng chiều cao để mở rộng chiều dọc ảnh, tránh dẹt vỡ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none; /* Bỏ viền bao quanh theo yêu cầu của Sếp */
    border-radius: 40px;
    box-shadow: none; /* Bỏ bóng đổ viền đen để banner phóng khoáng hơn */
    display: flex;
    align-items: center;
    /* Bỏ overflow: hidden để card thông tin có thể chờm ra ngoài */
}

.collection-hero-section-new::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px; /* Lớp phủ gradient ở chân ảnh */
    background: linear-gradient(to bottom, rgba(226, 240, 217, 0) 0%, var(--color-bg) 100%);
    pointer-events: none;
    z-index: 1;
    border-bottom-left-radius: 40px; /* Bo góc thảm gradient khớp với banner */
    border-bottom-right-radius: 40px;
}

.collection-hero-container-new {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: flex-start; /* Chuyển sang bên trái */
    z-index: 2;
    height: 100%;
    position: relative;
}

.collection-hero-card-new {
    background-color: #ffffff; /* Trắng tinh mềm mại */
    border: 5px solid #ffffff; /* Viền trắng dày vừa phải */
    border-radius: 30px;      /* Bo tròn vừa vặn với card nhỏ */
    padding: 20px 30px;       /* Căn chỉnh padding dẹt dọc, rộng ngang */
    max-width: 560px;         /* Kéo dài chiều ngang ra theo yêu cầu của Sếp */
    width: calc(100% - 100px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.04); /* Bóng đổ mịn nhẹ */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;                /* Thu hẹp gap tối đa */
    animation: cardEntrance 0.6s ease-out;
    position: absolute; /* Định vị tuyệt đối để chờm ra ngoài */
    bottom: -45px;      /* Chờm xuống dưới bên trái */
    left: 40px;
    z-index: 10;        /* Layer cao nhất */
}

.collection-hero-card-new h1 {
    font-family: var(--font-title);
    font-size: 2.0rem; /* Thu nhỏ cỡ chữ tiêu đề */
    color: #597e26; /* Xanh lá Paco tự nhiên */
    line-height: 1.1;
    margin: 0;
    text-transform: lowercase; /* Chữ thường toàn bộ theo Bluey style */
}

.collection-hero-card-new p {
    font-size: 0.95rem; /* Thu nhỏ cỡ chữ mô tả */
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.collection-hero-tag-new {
    background-color: #f78c40; /* Màu cam nổi bật */
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.75rem; /* Thu nhỏ tag đếm số tập */
    padding: 4px 10px; /* Thu nhỏ padding tag */
    border-radius: 10px;
    border: 2px solid var(--color-navy);
    box-shadow: 2px 2px 0 var(--color-navy);
}

.collection-episodes-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.collection-episodes-header-new .watch-section-title-new {
    margin-bottom: 0;
}

/* RESPONSIVE COLLECTION DETAIL DESIGN */
@media (max-width: 992px) {
    .collection-hero-section-new {
        height: 450px;
        width: 100%;
        margin: 0 0 30px;
    }
}

@media (max-width: 768px) {
    .collection-hero-section-new::after {
        display: none; /* Ẩn gradient body trên mobile */
    }
    .collection-hero-section-new {
        height: auto;
        padding: 40px 20px;
        background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)) !important;
        width: 100%;
        margin: 0 0 30px;
        border-radius: 25px;
    }
    .collection-hero-container-new {
        padding: 0;
        justify-content: center;
    }
    .collection-hero-card-new {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    .collection-episodes-header-new {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .collection-episodes-header-new .sort-group-new {
        justify-content: space-between;
    }
}

/* ==========================================
   CATALOGUE SECTION CAROUSEL
   ========================================== */
.catalogue-section {
    margin: 30px auto 30px auto !important;
    width: 92%;
    max-width: 1200px;
    text-align: center;
}

.catalogue-card-new {
    flex: 0 0 320px;
    height: 210px;
    background-color: var(--color-white);
    border: 3px solid var(--color-navy);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 4px 4px 0 var(--color-navy);
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.2s ease;
}

.catalogue-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--color-navy);
}

.catalogue-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* ==========================================
   TRAILER VIDEO SECTION & 3D CAROUSEL (Tràn viền Cover Flow)
   ========================================== */
.home-trailer-section {
    padding: 20px 0 10px;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.trailer-container-new {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trailer-title-new {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.video-carousel-3d-wrapper {
    position: relative;
    width: 100%;
    height: 420px; /* Giảm chiều cao khít với slide video */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0;
}

.video-carousel-3d-container {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-slide-3d {
    position: absolute;
    width: 50%; /* Carousel tràn viền dùng slide 50% màn hình để thanh thoát */
    max-width: 620px;
    background-color: var(--color-cream);
    border: 6px solid var(--color-navy);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 6px 6px 0px var(--color-navy);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

.video-slide-3d:not(.active) iframe {
    pointer-events: none;
}

.video-slide-3d.active {
    transform: translateX(0) scale(1.0);
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}

.video-slide-3d.left-1 {
    transform: translateX(-50%) scale(0.8);
    z-index: 3;
    opacity: 0.75;
    pointer-events: auto;
    cursor: pointer;
}

.video-slide-3d.right-1 {
    transform: translateX(50%) scale(0.8);
    z-index: 3;
    opacity: 0.75;
    pointer-events: auto;
    cursor: pointer;
}

.video-slide-3d.left-2 {
    transform: translateX(-95%) scale(0.65);
    z-index: 1;
    opacity: 0.45;
    pointer-events: auto;
    cursor: pointer;
}

.video-slide-3d.right-2 {
    transform: translateX(95%) scale(0.65);
    z-index: 1;
    opacity: 0.45;
    pointer-events: auto;
    cursor: pointer;
}

.carousel-btn-3d {
    position: absolute;
    width: 55px;
    height: 55px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 4px solid var(--color-navy);
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--color-navy);
    z-index: 10;
    transition: all 0.15s ease;
}

.carousel-btn-3d:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--color-navy);
}

.carousel-btn-3d:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-navy);
}

.btn-3d-left {
    left: 20px;
}

.btn-3d-right {
    right: 20px;
}

.video-container-direct {
    position: relative;
    padding-bottom: 56.25%; /* Tỉ lệ 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
}

.video-container-direct iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
}

/* Responsive cho Carousel */
@media (max-width: 768px) {
    .video-carousel-3d-wrapper {
        height: 320px;
    }
    .video-slide-3d {
        width: 80%;
    }
    .video-slide-3d.left-1 {
        transform: translateX(-25%) scale(0.75);
    }
    .video-slide-3d.right-1 {
        transform: translateX(25%) scale(0.75);
    }
    .video-slide-3d.left-2, .video-slide-3d.right-2 {
        display: none;
    }
    .carousel-btn-3d {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .btn-3d-left {
        left: 5px;
    }
    .btn-3d-right {
        right: 5px;
    }
}

/* ==========================================================================
   ACTIVITIES SUBPAGE STYLES (BLUEY STYLE & PACO FLAT 3D)
   ========================================================================== */
.activities-hero-section {
    background: linear-gradient(180deg, #E0E4E8 0%, #F5F7F8 50%, #E8EFDF 100%);
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.activities-hero-card {
    background-color: var(--color-white);
    border: 3px solid #E8EBE4;
    border-radius: 30px;
    padding: 40px 50px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(63, 74, 107, 0.04);
    text-align: left;
    margin-right: auto; /* Lệch trái giống ảnh */
}

.activities-hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    color: #557F32;
    margin-top: 0;
    margin-bottom: 15px;
}

.activities-hero-desc {
    font-size: 1.1rem;
    color: var(--color-navy-light);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.activities-section-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    color: #557F32;
    text-align: center;
    margin: 60px 0 30px;
}

/* Search bar */
.activities-search-wrapper {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 50px;
}

.activities-search-input {
    width: 100%;
    padding: 20px 35px;
    border-radius: 40px;
    border: 3px solid #E8EBE4;
    font-size: 1.15rem;
    color: var(--color-navy);
    outline: none;
    background-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.activities-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    background: none;
    color: #557F32;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Categories Carousel */
.activities-carousel-outer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.activities-carousel-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    width: 100%;
    scrollbar-width: none;
}

.activities-carousel-container::-webkit-scrollbar {
    display: none;
}

.activities-category-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #557F32;
    box-shadow: 4px 4px 0 #3a5c20;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s ease;
}

.activities-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 #3a5c20;
}

.act-card-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #E2E8F0;
    overflow: hidden;
}

.act-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.act-card-name-bar {
    background-color: #557F32;
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1.4rem;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 3px solid #557F32;
}

.act-card-action-bar {
    background-color: var(--color-white);
    padding: 15px;
    text-align: center;
}

.btn-act-view-all {
    background-color: #557F32;
    color: var(--color-white);
    font-family: var(--font-title);
    border: none;
    border-radius: 20px;
    padding: 8px 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 3px 0 #3a5c20;
    transition: all 0.15s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-act-view-all:hover {
    background-color: var(--color-navy);
    box-shadow: 0 3px 0 var(--color-navy-dark);
}

.activities-carousel-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: #557F32;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 #3a5c20;
    transition: all 0.1s ease;
}

.activities-carousel-nav:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Quiz Section */
.activities-quiz-section {
    padding: 60px 0 100px;
    display: flex;
    justify-content: center;
}

.activities-quiz-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--color-white);
    border-radius: 30px;
    border: 3px solid #E8EBE4;
    padding: 40px 50px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(63, 74, 107, 0.02);
}

.quiz-mascot-wrap {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-mascot-img {
    width: 320px;
    height: auto;
    object-fit: contain;
    max-width: 100%;
}

.quiz-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.quiz-card-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: #557F32;
    margin: 0;
}

.quiz-card-desc {
    font-size: 1.1rem;
    color: var(--color-navy-light);
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
}

.btn-quiz-play-now {
    background-color: #557F32;
    color: var(--color-white);
    font-family: var(--font-title);
    border: none;
    border-radius: 20px;
    padding: 10px 35px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    align-self: flex-start;
    box-shadow: 0 3px 0 #3a5c20;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* Responsive cho Activities page */
@media (max-width: 768px) {
    .activities-category-card {
        flex: 0 0 80%;
    }
    .activities-carousel-outer {
        gap: 10px;
    }
    .activities-quiz-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    .quiz-content-wrap {
        align-items: center;
        text-align: center;
    }
    .btn-quiz-play-now {
        align-self: center;
    }
    .activities-hero-card {
        padding: 30px;
    }
}

/* Giao diện kết quả tìm kiếm từ điển Anh-Việt */
.dict-result-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dict-result-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--color-white);
    border-radius: 25px;
    border: 3px solid #557F32;
    box-shadow: 4px 4px 0 #3a5c20;
    padding: 30px 40px;
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    animation: popIn 0.25s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.dict-result-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dict-result-emoji {
    font-size: 3.5rem;
    margin: 0;
}

.btn-dict-speak {
    background-color: #557F32;
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 3px 0 #3a5c20;
    transition: all 0.1s ease;
}

.btn-dict-speak:active {
    transform: translateY(3px);
    box-shadow: none;
}

.dict-result-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.dict-word-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.dict-word-text {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-navy);
    margin: 0;
}

.dict-word-type {
    font-size: 0.85rem;
    font-weight: 700;
    background-color: #e2f2ed;
    color: #557F32;
    padding: 2px 10px;
    border-radius: 12px;
}

.dict-word-ipa {
    font-size: 1rem;
    color: var(--color-navy-light);
    font-weight: 500;
    margin: 0;
}

.dict-word-translation {
    font-size: 1.3rem;
    font-weight: 700;
    color: #557F32;
    margin: 5px 0 0;
}

.dict-word-example {
    font-size: 1.05rem;
    color: var(--color-navy);
    font-style: italic;
    line-height: 1.4;
    margin: 5px 0 0;
}

.dict-word-example-vn {
    font-size: 0.95rem;
    color: var(--color-navy-light);
    margin: 0;
}

/* Card khi không tìm thấy từ */
.dict-no-result-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: var(--color-white);
    border-radius: 25px;
    border: 3px dashed #b58d63;
    padding: 30px;
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    text-align: left;
}

.dict-no-result-avatar {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.dict-no-result-content h3 {
    font-family: var(--font-title);
    color: #b58d63;
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.dict-no-result-content p {
    font-size: 1rem;
    color: var(--color-navy-light);
    margin: 0 0 12px;
    line-height: 1.4;
}

.dict-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dict-suggest-tag {
    background-color: #f5e6d3;
    color: #b58d63;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dict-suggest-tag:hover {
    background-color: #b58d63;
    color: var(--color-white);
}

@media (max-width: 600px) {
    .dict-result-card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }
    .dict-result-right {
        align-items: center;
        text-align: center;
    }
    .dict-word-header {
        justify-content: center;
    }
    .dict-no-result-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* --- CHỈNH SỬA DICT CARD TRONG SUỐT VÀ MASCOT LAI LÓ (PEEK-OUT) --- */
.dict-result-card.dict-result-card-transparent {
    background-color: transparent !important;
    background: transparent !important;
    position: relative;
    overflow: visible; /* Cho phép mascot thò đầu ra ngoài */
}

/* Ảnh minh họa thay cho Emoji */
.dict-result-img-illustration {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
}

.dict-result-card:hover .dict-result-img-illustration {
    transform: scale(1.08) rotate(-3deg);
}

/* Mascot Paco Upper lấp ló góc khung */
.dict-paco-mascot {
    position: absolute;
    top: -55px; /* Thò đầu ra phía trên */
    right: -25px; /* Thò đầu ra bên phải */
    width: 100px;
    height: auto;
    z-index: 10;
    pointer-events: none; /* Tránh cản chuột tương tác trên card */
    transform: rotate(12deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hiệu ứng ngộ nghĩnh khi hover vào card */
.dict-result-card:hover .dict-paco-mascot {
    transform: rotate(4deg) scale(1.08) translateY(-3px);
}

/* Responsive cho màn hình di động */
@media (max-width: 600px) {
    .dict-paco-mascot {
        width: 75px;
        top: -45px;
        right: -15px;
    }
    .dict-result-img-illustration {
        width: 70px;
        height: 70px;
    }
}

/* --- THANH CHUYỂN ĐỔI NGÔN NGỮ (HEADER LANG SWITCHER) --- */
.nav-lang-divider {
    width: 2px;
    height: 18px;
    background-color: #2B4A30;
    opacity: 0.2;
    align-self: center;
    margin: 0 8px;
}
.nav-lang-slash {
    color: #2B4A30;
    opacity: 0.3;
    align-self: center;
    font-size: 1rem;
    margin: 0 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-lang-link {
    text-decoration: none;
    color: #2B4A30;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: calc(0.9rem + 5px) !important;
    padding: 6px 3px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-lang-link:hover {
    opacity: 0.9;
    color: #557F32;
}
.nav-lang-link.active {
    opacity: 1;
    color: #557F32 !important;
    font-weight: 700;
}

/* Đảm bảo ẩn vạch phân cách trên màn hình siêu nhỏ nếu bị tràn */
@media (max-width: 768px) {
    .nav-lang-divider {
        margin: 0 6px;
    }
    .nav-lang-link {
        padding: 4px 6px;
    }
}

/* ==========================================================================
   CHARACTERS DETAIL ALBUM SECTION
   ========================================================================== */
.char-detail-album-section-new {
    margin-top: 50px;
    margin-bottom: 50px;
}

.album-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.album-img-card-new {
    background-color: var(--color-white, #ffffff);
    border: 3px solid var(--color-navy);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 4px 4px 0px var(--color-navy);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.album-img-card-new:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--color-navy);
}

.album-img-wrapper-new {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid var(--color-navy);
    background-color: #f7f7f7;
}

.album-img-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-img-card-new:hover .album-img-new {
    transform: scale(1.05);
}

/* Hover overlay with zoom icon */
.album-img-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 61, 47, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.album-img-wrapper-new:hover .album-img-overlay-new {
    opacity: 1;
}

.album-img-zoom-icon {
    color: var(--color-white, #ffffff);
    font-size: 1.8rem;
    transform: scale(0.8);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.album-img-wrapper-new:hover .album-img-zoom-icon {
    transform: scale(1);
}

.album-img-caption-new {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--color-navy);
    margin-top: 10px;
    text-align: center;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .album-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .album-grid-new {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin-top: 15px;
        padding-bottom: 12px; /* Dành chỗ cho bóng đổ shadow */
        padding-left: 4px;
        padding-right: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Ẩn scrollbar trên Firefox */
    }
    
    .album-grid-new::-webkit-scrollbar {
        display: none; /* Ẩn scrollbar trên Chrome/Safari/Edge */
    }

    .album-img-card-new {
        flex: 0 0 72%; /* Chiếm 72% chiều rộng để hiển thị lấp ló card tiếp theo */
        scroll-snap-align: start;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 4px 4px 0px var(--color-navy);
    }
    
    .album-img-card-new:hover {
        transform: none; /* Tắt transform di động */
        box-shadow: 4px 4px 0px var(--color-navy);
    }

    .album-img-wrapper-new {
        border-radius: 10px;
    }

    .album-img-caption-new {
        font-size: 0.85rem;
        margin-top: 8px;
    }
}




