* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary-blue: #6B9FFF;
    --soft-blue: #A8C9FF;
    --light-blue: #E3F0FF;
    --purple: #B8A4FF;
    --white: #FFFFFF;
    --dark-text: #2D3748;
    --light-text: #718096;
    --shadow: rgba(107, 159, 255, 0.2);
    --shadow-hover: rgba(107, 159, 255, 0.35);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #E3F0FF 0%, #F0E8FF 100%);
    color: var(--dark-text);
    overflow-x: hidden;
    font-size: clamp(14px, 1vw, 16px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    padding: 14px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px var(--shadow);
    border-bottom: 1px solid rgba(107, 159, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--purple));
    border-radius: 10px;
}

.nav-buttons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.nav-buttons a {
    display: flex;
    align-items: stretch;
    text-decoration: none;
}

.nav-buttons a button {
    width: 100%;
}

/* Mobile Menu Toggle — Animated Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(107, 159, 255, 0.1);
    border: none;
    border-radius: 10px;
    padding: 10px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 1002;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(107, 159, 255, 0.2);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: center;
}

.mobile-nav-toggle.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-nav-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn-secondary,
.btn-primary {
    padding: clamp(0.625rem, 1.2vw, 0.75rem) clamp(1.25rem, 2.5vw, 1.875rem);
    font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.hero-section {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(168, 201, 255, 0.3), rgba(184, 164, 255, 0.3));
    border-radius: 40px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 164, 255, 0.3), transparent);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.btn-explore {
    padding: clamp(0.875rem, 1.8vw, 1.125rem) clamp(2rem, 4vw, 3.125rem);
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px var(--shadow);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--shadow-hover);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-placeholder {
    width: 400px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.character-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(107, 159, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 40px;
    border-radius: 10px;
    background: var(--primary-blue);
}

.content-section {
    margin-top: 80px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.section-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 25px;
}

.featured-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    min-width: 0;
    overflow: hidden;
}

.artwork-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.artwork-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    background: white;
}

.artwork-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.artwork-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.artwork-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-card:hover .card-overlay {
    transform: translateY(0);
}

.card-title {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.search-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    min-width: 0;
    overflow: hidden;
}

.search-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag {
    background: linear-gradient(135deg, rgba(168, 201, 255, 0.4), rgba(184, 164, 255, 0.4));
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tag:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    transform: translateX(5px);
}

.categories-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 35px;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    min-width: 0;
}

.category-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-card {
    background: linear-gradient(135deg, rgba(168, 201, 255, 0.3), rgba(184, 164, 255, 0.3));
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.category-card.fantasy {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
}

.category-card.scifi {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(138, 43, 226, 0.2));
}

.category-card.romance {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(255, 105, 180, 0.3));
}

.category-icon {
    font-size: 32px;
}

.category-name {
    font-weight: 600;
    font-size: 16px;
}

.coming-soon-section {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 232, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: 80px 60px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
}

.coming-soon-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.coming-soon-text {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--light-text);
    margin-bottom: 50px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.time-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 25px;
    box-shadow: 0 8px 25px var(--shadow);
    min-width: 120px;
    transition: all 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.time-value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-label {
    display: block;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--light-text);
    margin-top: 10px;
    font-weight: 500;
}

.notify-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 18px 30px;
    border: 2px solid var(--soft-blue);
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px var(--shadow);
}

.btn-notify {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px var(--shadow);
}

.btn-notify:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--shadow-hover);
}

.footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    color: var(--light-text);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 40px;
        margin-top: 40px;
    }
    
    .character-placeholder {
        margin-top: 30px;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .featured-section,
    .search-section,
    .categories-section {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-content {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .nav-buttons a {
        text-decoration: none;
    }
    
    .hero-section {
        padding: 40px 25px;
        margin-top: 30px;
        border-radius: 30px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .character-placeholder {
        margin-top: 25px;
        max-width: 280px;
        height: auto;
    }
    
    .slider-indicators {
        margin-top: 25px;
    }
    
    .content-section {
        margin-top: 50px;
    }
    
    .artwork-cards {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .artwork-cards::-webkit-scrollbar {
        display: none;
    }

    .artwork-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
    }
    
    .artwork-card img {
        aspect-ratio: 2 / 3;
        height: auto;
    }
    
    .featured-section,
    .search-section,
    .categories-section {
        padding: 20px;
        border-radius: 25px;
    }
    
    .coming-soon-section {
        margin-top: 50px;
        padding: 50px 25px;
        border-radius: 30px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .time-box {
        min-width: 90px;
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .notify-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .email-input,
    .btn-notify {
        width: 100%;
    }
    
    .footer {
        margin-top: 40px;
        padding: 25px 0;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        right: 16px;
        width: 220px;
        height: auto;
        max-height: calc(100vh - 90px);
        background: white;
        display: flex !important;
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(107, 159, 255, 0.1);
        transform: translateY(-8px) scale(0.96);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    visibility 0.25s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        color: var(--dark-text) !important;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 500;
        display: block;
        border-radius: 8px;
        margin: 2px 8px;
        white-space: normal;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-blue) !important;
        background: rgba(107, 159, 255, 0.08);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-content {
        justify-content: space-between;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-content {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 15px 0;
        border-radius: 0 0 25px 25px;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .hero-section {
        padding: 30px 20px;
        margin-top: 25px;
        border-radius: 25px;
    }
    
    .character-placeholder {
        max-width: 240px;
        margin-top: 20px;
    }
    
    .slider-indicators {
        margin-top: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 30px;
    }
    
    .content-section {
        margin-top: 40px;
    }
    
    .content-grid {
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .featured-section,
    .search-section,
    .categories-section {
        padding: 18px;
        border-radius: 20px;
    }
    
    .artwork-card img {
        aspect-ratio: 2 / 3;
        height: auto;
    }
    
    .card-title {
        font-size: 0.875rem;
    }
    
    .tag {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
    
    .category-card {
        padding: 16px;
        border-radius: 18px;
    }
    
    .category-icon {
        font-size: 28px;
    }
    
    .category-name {
        font-size: 0.875rem;
    }
    
    .coming-soon-section {
        margin-top: 40px;
        padding: 40px 20px;
        border-radius: 25px;
    }
    
    .countdown-timer {
        gap: 10px;
        margin-bottom: 35px;
    }
    
    .time-box {
        min-width: 75px;
        padding: 16px 12px;
        border-radius: 18px;
    }
    
    .time-value {
        font-size: 1.75rem;
    }
    
    .time-label {
        font-size: 0.6875rem;
        margin-top: 8px;
    }
    
    .email-input {
        padding: 14px 20px;
        font-size: 0.875rem;
    }
    
    .btn-notify {
        padding: 14px 30px;
        font-size: 0.875rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-content {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 1.375rem;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 0.45rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .hero-section {
        padding: 25px 15px;
        margin-top: 20px;
    }
    
    .character-placeholder {
        max-width: 200px;
    }
    
    .featured-section,
    .search-section,
    .categories-section {
        padding: 15px;
    }
    
    .artwork-card img {
        aspect-ratio: 2 / 3;
        height: auto;
    }
    
    .time-box {
        min-width: 70px;
        padding: 14px 10px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .coming-soon-section {
        padding: 35px 15px;
    }
}

/* ==============================================
   Contact Info Box (featured-section)
   ============================================== */
.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(107, 159, 255, 0.08), rgba(150, 100, 255, 0.08));
    border: 1.5px solid rgba(107, 159, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    background: linear-gradient(135deg, rgba(107, 159, 255, 0.13), rgba(150, 100, 255, 0.13));
    border-color: rgba(107, 159, 255, 0.4);
}

.contact-info-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-info-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.contact-info-desc {
    font-size: 0.75rem;
    color: var(--light-text);
    line-height: 1.55;
    margin: 0;
}

.contact-info-email {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(107, 159, 255, 0.1);
    border-radius: 20px;
    transition: all 0.25s ease;
    align-self: flex-start;
    margin-top: 2px;
}

.contact-info-email:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Fix emoji di dalam section-title agar tidak kena gradient text */
.title-emoji {
    -webkit-text-fill-color: initial;
    background: none;
    display: inline;
    font-style: normal;
}

/* ==============================================
   Statistik Platform Section
   ============================================== */
.stats-section {
    display: flex !important;
    flex-direction: column;
}

.stats-subtitle {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: -10px;
    margin-bottom: 20px;
    font-style: italic;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 3px 14px var(--shadow);
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 22px var(--shadow-hover);
    background: rgba(255, 255, 255, 0.95);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--light-text);
    letter-spacing: 0.3px;
}

/* Live indicator di footer stats */
.stats-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(107, 159, 255, 0.15);
}

.stats-live-dot {
    width: 8px;
    height: 8px;
    background: #43e97b;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseLive 1.8s infinite;
    box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.5);
}

@keyframes pulseLive {
    0%   { box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(67, 233, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 233, 123, 0); }
}

.stats-live-text {
    font-size: 0.72rem;
    color: var(--light-text);
    font-style: italic;
}

/* ==============================================
   Quick Search Box (kept for reference, unused)
   ============================================== */
.quick-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.quick-search-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(107, 159, 255, 0.25);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: all 0.3s ease;
}

.quick-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(107, 159, 255, 0.15);
}

.quick-search-btn {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px var(--shadow);
    white-space: nowrap;
}

.quick-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

/* Genre Tags (di bawah search box) */
.genre-tags-home {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.genre-tag-home {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(107, 159, 255, 0.12);
    color: var(--primary-blue);
    border: 1.5px solid rgba(107, 159, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.genre-tag-home:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Skeleton loaders */
.genre-tag-skeleton {
    display: inline-block;
    width: 70px;
    height: 30px;
    background: rgba(107, 159, 255, 0.12);
    border-radius: 20px;
    animation: shimmer 1.2s infinite;
}

.category-card-skeleton {
    height: 90px;
    background: rgba(107, 159, 255, 0.1);
    border-radius: 18px;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* ==============================================
   Dynamic Category Cards (Jelajahi Genre)
   ============================================== */

/* Override layout khusus untuk genreCardsHome agar tidak pakai flex column */
#genreCardsHome {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    flex-direction: unset !important;
    gap: 10px !important;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom scrollbar */
#genreCardsHome::-webkit-scrollbar {
    width: 5px;
}
#genreCardsHome::-webkit-scrollbar-track {
    background: rgba(107, 159, 255, 0.1);
    border-radius: 10px;
}
#genreCardsHome::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-blue), var(--purple));
    border-radius: 10px;
}

.category-card-dyn {
    border-radius: 14px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    min-height: 75px;
}

.category-card-dyn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.category-icon-dyn {
    font-size: 1.6rem;
    line-height: 1;
}

.category-name-dyn {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Responsive quick search */
@media (max-width: 768px) {
    .quick-search-box {
        flex-direction: column;
    }

    .quick-search-btn {
        width: 100%;
    }
}

/* ==============================================
   Popular Comics Badge
   ============================================== */
.popular-card {
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.45);
    letter-spacing: 0.3px;
}

.card-meta {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 5px;
}

/* ==============================================
   Tombol Lihat Semua
   ============================================== */
.btn-view-all {
    display: inline-block;
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    white-space: nowrap;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--shadow-hover);
}

/* ==============================================
   Why Velvixie Section
   ============================================== */
.why-section {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(240, 232, 255, 0.85));
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
}

.why-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.why-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--light-text);
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    padding: 30px 18px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px var(--shadow-hover);
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: block;
}

.why-card h3 {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.why-card p {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    color: var(--light-text);
    line-height: 1.6;
}

/* ==============================================
   Update Terbaru Section
   ============================================== */
.recent-section {
    margin-top: 50px;
    margin-bottom: 60px;
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding: 0 4px;
}

.recent-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--dark-text);
}

.recent-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.recent-grid::-webkit-scrollbar {
    display: none;
}
.recent-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.recent-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 0;
}

.recent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px var(--shadow-hover);
}

.recent-cover {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.recent-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.recent-title-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.recent-card:hover .recent-title-text.marquee-active {
    animation: marqueeTitleScroll 5s ease-in-out infinite alternate;
    overflow: visible;
    text-overflow: clip;
}

@keyframes marqueeTitleScroll {
    0%, 20%   { transform: translateX(0); }
    80%, 100% { transform: translateX(var(--marquee-offset, -100px)); }
}

.recent-chapter {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.recent-time {
    font-size: 0.75rem;
    color: var(--light-text);
}

/* ==============================================
   Responsive: Why & Recent (tablet)
   ============================================== */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-grid {
        flex: initial;
    }

    .why-section {
        padding: 45px 28px;
        margin-top: 50px;
    }
}

/* ==============================================
   Responsive: Why & Recent (mobile)
   ============================================== */
@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .recent-grid {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
    }

    .recent-card {
        flex: 0 0 80vw;
        max-width: 300px;
        min-width: 0;
    }

    .why-section {
        padding: 35px 18px;
        border-radius: 28px;
    }

    .why-card {
        padding: 22px 14px;
    }

    .recent-section {
        margin-bottom: 40px;
    }
}

/* ══════════════════════════════════════════════════════════════
   User Nav — logged-in state dropdown
   ══════════════════════════════════════════════════════════════ */
.user-nav-wrap {
    position: relative;
}

.user-nav-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(107,159,255,.1);
    border: 1.5px solid rgba(107,159,255,.25);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all .2s;
}
.user-nav-trigger:hover,
.user-nav-trigger.open {
    background: rgba(107,159,255,.18);
    border-color: var(--primary-blue);
}

.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-nav-name {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-nav-arrow {
    font-size: .65rem;
    color: var(--light-text);
    transition: transform .2s;
}
.user-nav-trigger.open .user-nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.user-nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    display: none;
    animation: dropIn .2s ease;
}
.user-nav-dropdown.open { display: block; }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-nav-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(107,159,255,.08), rgba(184,164,255,.08));
}
.user-nav-full  { font-weight: 700; font-size: .9rem; color: var(--dark-text); }
.user-nav-email { font-size: .75rem; color: var(--light-text); margin-top: 2px;
                  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.user-nav-divider { height: 1px; background: #f0f0f0; }

.user-nav-item {
    display: block;
    padding: 11px 16px;
    font-size: .875rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: background .15s;
}
.user-nav-item:hover { background: #f7f8ff; }
.user-nav-item:last-child { color: #e53e3e; }
.user-nav-item:last-child:hover { background: #fff5f5; }

/* =========================================================
   VELVIXIE — CLEAN MODERN REDESIGN v11 (ABSOLUTE PERFECTION)
   ========================================================= */

/* ── Prevent Horizontal Scrolling & Baseline Reset ── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ── Navbar: Precise Vertical Alignment & Mobile Placement ── */
.navbar {
    padding: 12px 0 !important;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(107, 159, 255, 0.12);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 12px;
}

.logo-text {
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-buttons a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-buttons .btn-primary,
.nav-buttons .btn-secondary {
    height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-sizing: border-box;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(107, 159, 255, 0.12);
    border: 1px solid rgba(107, 159, 255, 0.25);
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(107, 159, 255, 0.22);
}

.burger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: center;
}

/* ── Hero Section ── */
.hero-section {
    margin-top: 20px !important;
    padding: 32px 36px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(168, 201, 255, 0.35), rgba(184, 164, 255, 0.25)) !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(107, 159, 255, 0.12) !important;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(1.35rem, 2.5vw, 2rem) !important;
    font-weight: 800 !important;
    color: #1a202c !important;
    background: none !important;
    -webkit-text-fill-color: #1a202c !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    animation: none !important;
}

.hero-subtitle {
    font-size: 0.88rem !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    max-width: 440px;
    animation: none !important;
}

.hero-badge-text {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    padding: 3px 10px;
    background: rgba(107,159,255,0.12);
    border-radius: 20px;
}

.hero-cover {
    flex: 0 0 auto;
    width: 180px;
}
.hero-cover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(107,159,255,0.22);
    display: block;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
    padding: 9px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.86rem;
    box-shadow: 0 4px 14px rgba(107,159,255,0.32);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(107,159,255,0.42);
}
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    color: #4a5568 !important;
    -webkit-text-fill-color: #4a5568 !important;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1.5px solid #d6e4ff;
    transition: all 0.2s;
}
.hero-btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
    -webkit-text-fill-color: var(--primary-blue) !important;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.hdot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(107,159,255,0.25);
    cursor: pointer;
    transition: all 0.3s;
}
.hdot.active {
    width: 26px;
    border-radius: 8px;
    background: var(--primary-blue);
}

/* ── 2-Column Home Layout ── */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    margin-top: 26px;
    align-items: start;
}
.home-main {
    min-width: 0;
    width: 100%;
}
.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ── Section Headers ── */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.sec-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}
.sec-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 3px 12px;
    background: rgba(107,159,255,0.1);
    border-radius: 14px;
    transition: background 0.18s;
    white-space: nowrap;
}
.sec-link:hover {
    background: rgba(107,159,255,0.2);
}

/* ── Update Terbaru: Horizontal Rows ── */
.row-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.row-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f4f8;
    cursor: pointer;
    min-width: 0;
}
.row-card:last-child {
    border-bottom: none;
}
.row-card:hover {
    background: #f7faff;
}
.rc-thumb {
    width: 48px;
    height: 64px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.rc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rc-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.rc-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}
.rc-type {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: var(--primary-blue);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    flex-shrink: 0;
}
.rc-chapter {
    font-weight: 600;
    color: var(--primary-blue);
}
.rc-time {
    font-size: 0.7rem;
    color: #a0aec0;
    margin-left: auto;
    flex-shrink: 0;
}
.row-card-sk {
    height: 80px;
    background: linear-gradient(90deg, #f0f4ff 25%, #e8eeff 50%, #f0f4ff 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-bottom: 1px solid #edf2f7;
}

/* ── Komik Populer Grid ── */
.pop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.pop-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.pop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(107,159,255,0.14);
}
.pop-thumb {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0f4ff;
}
.pop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.pop-card:hover .pop-thumb img {
    transform: scale(1.04);
}
.pop-rank {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ff4b6e, #ff7f50);
    padding: 2px 6px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.pop-body {
    padding: 7px 8px 8px;
}
.pop-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 4px;
}
.pop-ch {
    font-size: 0.68rem;
    color: var(--primary-blue);
    font-weight: 600;
}
.pop-card-sk {
    border-radius: 12px;
    aspect-ratio: 3/4.5;
    background: linear-gradient(90deg, #f0f4ff 25%, #e8eeff 50%, #f0f4ff 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

/* ── Sidebar Box (sbox) ── */
.sbox {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    min-width: 0;
    box-sizing: border-box;
}
.sbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.sbox-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}
.tab-row {
    display: flex;
    gap: 2px;
    background: #edf2f7;
    border-radius: 8px;
    padding: 2px;
}
.tab-btn {
    border: none;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 700;
    color: #718096;
    padding: 3px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.15s;
}
.tab-btn.active {
    background: #ffffff;
    color: var(--primary-blue);
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

/* ── Ranking Items ── */
.rk-list {
    display: flex;
    flex-direction: column;
}
.rk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 4px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f4f6f9;
    transition: background 0.13s;
    border-radius: 6px;
    min-width: 0;
}
.rk-item:last-child {
    border-bottom: none;
}
.rk-item:hover {
    background: #f7faff;
}
.rk-num {
    min-width: 20px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #cbd5e0;
    flex-shrink: 0;
}
.rk-top {
    font-size: 0.95rem;
}
.rk-thumb {
    width: 34px;
    height: 46px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}
.rk-info {
    flex: 1;
    min-width: 0;
}
.rk-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.rk-stat {
    font-size: 0.67rem;
    color: #a0aec0;
}
.rk-stat strong {
    color: #4a5568;
}
.rk-sk {
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f4ff 25%, #e8eeff 50%, #f0f4ff 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    margin-bottom: 4px;
}

/* ── Platform Stats: 2x2 Clean Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.stat-box {
    background: #f6f9fe;
    border: 1px solid #dce8fa;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    box-sizing: border-box;
}
.stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
}
.stat-lbl {
    font-size: 0.65rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ── Jelajahi Genre (Clean Matrix Grid) ── */
.genre-full-section {
    margin-top: 36px;
}
.genre-chip-wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.gchip {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.gchip:hover {
    background: var(--primary-blue);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(107,159,255,0.25);
    transform: translateY(-2px);
}

/* ── Kenapa Harus Baca Section ── */
.why-section {
    margin-top: 36px;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 18px;
    padding: 30px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.why-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a202c !important;
    background: none !important;
    -webkit-text-fill-color: #1a202c !important;
    margin-bottom: 20px;
    text-align: center;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.why-card {
    text-align: center;
    padding: 16px 10px;
    border-radius: 12px;
    background: #f8faff;
    border: 1px solid #edf2f7;
}
.why-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #ffffff;
}
.why-card h3 {
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a202c;
}
.why-card p {
    font-size: 0.74rem;
    color: #718096;
    line-height: 1.5;
    margin: 0;
}

/* ── SEO Text & FAQ Section ── */
.seo-block {
    margin-top: 28px;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.seo-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a202c !important;
    background: none !important;
    -webkit-text-fill-color: #1a202c !important;
    margin-bottom: 8px;
    line-height: 1.45;
}
.seo-desc {
    font-size: 0.82rem !important;
    color: #4a5568 !important;
    -webkit-text-fill-color: #4a5568 !important;
    background: none !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
}
.seo-desc strong {
    color: #1a202c !important;
    -webkit-text-fill-color: #1a202c !important;
    font-weight: 700;
}
.seo-desc a {
    color: var(--primary-blue) !important;
    -webkit-text-fill-color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid #edf2f7;
    padding-top: 14px;
}
.faq-item {
    background: #f8faff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    overflow: hidden;
}
.faq-item summary {
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 400;
    margin-left: 8px;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    padding: 0 14px 10px;
    font-size: 0.78rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}
.faq-item p a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* ── Footer: 100% PERFECT CENTERED ON ALL SCREENS ── */
.footer {
    margin-top: 40px !important;
    padding: 36px 0 24px !important;
    text-align: center !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 16px auto !important;
}

.footer-mascot {
    width: 80px !important;
    height: auto !important;
    max-height: 105px !important;
    object-fit: contain !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
    filter: drop-shadow(0 6px 16px rgba(107, 159, 255, 0.28)) !important;
    animation: floatMascot 4s ease-in-out infinite !important;
}

@keyframes floatMascot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.footer-logo,
.footer-logo-text,
a.footer-logo-text,
.footer-brand a,
.footer-brand .logo-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #6B9FFF, #B8A4FF) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 0 auto 6px auto !important;
    line-height: 1.2 !important;
}

.footer-desc {
    font-size: 0.8rem !important;
    color: #718096 !important;
    margin: 0 auto !important;
    max-width: 380px !important;
    text-align: center !important;
    line-height: 1.55 !important;
    display: block !important;
}

.footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 20px !important;
    margin: 0 auto 16px auto !important;
    width: 100% !important;
    text-align: center !important;
}

.footer-links a {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #718096 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.footer-links a:hover {
    color: var(--primary-blue) !important;
}

.footer-copy {
    font-size: 0.74rem !important;
    color: #a0aec0 !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
}

/* ── Dark Mode ── */
body.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
body.dark-mode .sbox,
body.dark-mode .row-list,
body.dark-mode .pop-card,
body.dark-mode .why-section,
body.dark-mode .seo-block {
    background: #1a202c;
    border-color: #2d3748;
}
body.dark-mode .sec-title,
body.dark-mode .sbox-title,
body.dark-mode .why-title,
body.dark-mode .seo-title,
body.dark-mode .rk-name,
body.dark-mode .rc-title,
body.dark-mode .pop-title,
body.dark-mode .why-card h3,
body.dark-mode .faq-item summary {
    color: #f0f4f8 !important;
    -webkit-text-fill-color: #f0f4f8 !important;
}
body.dark-mode .hero-title {
    color: #f0f4f8 !important;
    -webkit-text-fill-color: #f0f4f8 !important;
}
body.dark-mode .row-card:hover,
body.dark-mode .rk-item:hover {
    background: #2d3748;
}
body.dark-mode .row-card {
    border-color: #2d3748;
}
body.dark-mode .stat-box,
body.dark-mode .faq-item,
body.dark-mode .why-card {
    background: #2d3748;
    border-color: #4a5568;
}
body.dark-mode .gchip {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}
body.dark-mode .seo-desc {
    color: #cbd5e0 !important;
    -webkit-text-fill-color: #cbd5e0 !important;
}

/* ── RESPONSIVE RULES ── */

/* Tablet (max 940px) */
@media (max-width: 940px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
    .home-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .genre-chip-wrap {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Mobile Nav Cleanup ── */
.mobile-nav-toggle, .mobile-nav-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    body {
        padding-bottom: 74px !important;
    }
}

/* ── Velvixie Modern Mobile Bottom Navigation Bar ── */
.vx-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1.5px solid rgba(107, 159, 255, 0.18);
    box-shadow: 0 -4px 25px rgba(107, 159, 255, 0.08);
    z-index: 99999;
    padding: 0 8px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .vx-bottom-nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

.vx-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #64748B;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    gap: 3px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.vx-bnav-item svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: block !important;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.vx-bnav-item:hover,
.vx-bnav-item.active {
    color: #2563EB;
}

.vx-bnav-item.active svg {
    stroke: #2563EB;
    transform: scale(1.12);
}

.vx-bnav-item.active::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 14px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(135deg, #6B9FFF, #8B5CF6);
}

/* Center Highlight Floating Circle */
.vx-bnav-center-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.vx-bnav-center {
    position: relative;
    top: -12px;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B9FFF 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(107, 159, 255, 0.45);
    border: 3px solid #FFFFFF;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.vx-bnav-center svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    stroke: #FFFFFF;
    display: block !important;
}

.vx-bnav-center:hover,
.vx-bnav-center:active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px rgba(107, 159, 255, 0.6);
}

.vx-bnav-center-text {
    font-size: 0.95rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.vx-bnav-center-label {
    position: relative;
    top: -10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #7C3AED;
    font-family: 'Poppins', sans-serif;
}

/* Dark Mode Bottom Nav */
body.dark-mode .vx-bottom-nav {
    background: rgba(15, 23, 42, 0.94);
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
}

body.dark-mode .vx-bnav-item {
    color: #94A3B8;
}

body.dark-mode .vx-bnav-item:hover,
body.dark-mode .vx-bnav-item.active {
    color: #60A5FA;
}

body.dark-mode .vx-bnav-item.active svg {
    stroke: #60A5FA;
}

body.dark-mode .vx-bnav-center {
    border-color: #0F172A;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

body.dark-mode .vx-bnav-center-label {
    color: #A78BFA;
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }

    /* Navbar on Mobile */
    .navbar {
        padding: 8px 0 !important;
        border-radius: 0 0 18px 18px !important;
    }
    .nav-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        height: 44px !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .logo {
        order: 1 !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    .logo-text {
        font-size: 1.25rem !important;
    }
    .mobile-nav-toggle {
        display: none !important;
    }
    .nav-buttons {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    .nav-buttons .btn-primary,
    .nav-buttons .btn-secondary {
        height: 34px !important;
        padding: 0 12px !important;
        font-size: 0.78rem !important;
        border-radius: 16px !important;
    }
    .nav-menu {
        display: none !important;
    }

    /* Hero */
    .hero-section {
        padding: 20px 14px !important;
        margin-top: 14px !important;
        border-radius: 18px !important;
    }
    .hero-content {
        flex-direction: column-reverse;
        gap: 12px;
        text-align: left;
    }
    .hero-cover {
        width: 100px;
        align-self: center;
    }
    .hero-cover img {
        height: 140px;
        border-radius: 12px;
    }
    .hero-title {
        font-size: 1.18rem !important;
    }
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 14px !important;
    }
    .hero-actions {
        gap: 8px;
    }
    .hero-btn-primary, .hero-btn-secondary {
        font-size: 0.78rem;
        padding: 7px 14px;
    }

    /* Sidebar: single column stack */
    .home-sidebar {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Stats: keep 2x2 cleanly */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .stat-box {
        padding: 8px 4px;
    }
    .stat-val {
        font-size: 0.95rem;
    }

    /* Pop grid: 3 cards per row */
    .pop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .pop-title {
        font-size: 0.72rem;
    }

    /* Update Terbaru row card */
    .row-card {
        padding: 8px 10px;
        gap: 10px;
    }
    .rc-thumb {
        width: 44px;
        height: 58px;
    }
    .rc-title {
        font-size: 0.82rem;
    }
    .rc-sub {
        font-size: 0.7rem;
        gap: 6px;
    }

    /* Genre Grid on Mobile: 3 equal clean columns */
    .genre-chip-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .gchip {
        font-size: 0.75rem;
        height: 36px;
        padding: 0 4px;
        border-radius: 10px;
    }

    /* Why Section */
    .why-section {
        padding: 16px 12px;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .why-card {
        padding: 12px 8px;
    }

    /* SEO block */
    .seo-block {
        padding: 16px 14px;
    }

    /* Footer: 100% Center on mobile */
    .footer {
        padding: 28px 0 20px !important;
        text-align: center !important;
    }
    .footer-brand {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    .footer-mascot {
        width: 70px !important;
        max-height: 92px !important;
        margin-bottom: 6px !important;
    }
    .footer-logo {
        text-align: center !important;
        margin: 0 auto 6px auto !important;
    }
    .footer-desc {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .footer-links {
        justify-content: center !important;
        gap: 8px 16px !important;
        margin-bottom: 14px !important;
    }
}

/* Small phone (max 380px) */
@media (max-width: 380px) {
    .pop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .genre-chip-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    .gchip {
        font-size: 0.7rem;
        height: 34px;
    }
}

/* ── User Logged-in Navbar Styles (Static & Instant) ── */
.uc-nav-row { display: flex; align-items: center; gap: 8px; }
.user-nav-wrap { position: relative; }
.user-nav-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    padding: 4px 12px 4px 6px;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}
.user-nav-trigger:hover {
    background: #F1F5F9;
    border-color: #6B9FFF;
}
.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6B9FFF, #8B5CF6);
    color: #FFFFFF;
}
.user-nav-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E293B;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-nav-arrow {
    font-size: 0.65rem;
    color: #94A3B8;
    transition: transform 0.2s;
}
.user-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    padding: 6px 0;
}
.user-nav-dropdown.open { display: block; }
.user-nav-header { padding: 10px 16px; border-bottom: 1px solid #F1F5F9; }
.user-nav-full { font-size: 0.88rem; font-weight: 700; color: #1E293B; }
.user-nav-email { font-size: 0.72rem; color: #94A3B8; overflow: hidden; text-overflow: ellipsis; }
.user-nav-divider { height: 1px; background: #F1F5F9; margin: 4px 0; }
.user-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.82rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s;
}
.user-nav-item:hover { background: #F8FAFC; color: #2563EB; }

@media(max-width:640px) {
    .uc-nav-row { gap: 4px !important; }
    .user-nav-name, .user-nav-arrow { display: none !important; }
    .user-nav-trigger { padding: 3px !important; gap: 0 !important; min-width: 36px; }
    .user-avatar-nav { width: 32px !important; height: 32px !important; }
}
