
/* ----------------------------------------------------------------------
   GLOBAL STYLES - MAIN.CSS
   Mendefinisikan palet warna utama yang digunakan di seluruh website 
   dan reset default browser styling
   - Menggunakan CSS variables untuk memudahkan perubahan tema
   - Warna terinspirasi dari budaya Nusantara (maroon, coklat sogan, hijau zamrud, dll)
   - Box-sizing border-box untuk layout yang lebih predictable
   ------------------------------------------------------------------------- */

:root {
    --merah-maroon: #800000;    /* Warna utama navbar, footer, aksen */
    --orange: #FF6B35;          /* Warna aksen hover, tombol, highlight - melambangkan semangat */
    --orange-tua: #CC5500;
    --biru-toska: #1ABC9C;      /* Warna untuk elemen fresh/alami - melambangkan kesejukan */
    --hijau-zamrud: #2E8B57;    /* Warna untuk status tersedia/sukses - melambangan kemakmuran */
    --coklat-sogan: #8B4513;    /* Warna untuk tema tradisional - melambangkan bumi/tanah */
    --dark-text: #333;          /* Teks utama untuk kenyamanan membaca */
    --light-bg: #F9F5EB;        /* Background utama yang hangat - warna krem tradisional */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;     /* Padding dan border tidak menambah lebar element */
}

body {
    font-family: var(--font-display);
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;           /* Jarak antar baris untuk readability */
}


/* ==========================================================================
   NAVBAR STYLES — CCN Cross Culture Nusantara
   Kompatibel dengan Bootstrap 5 + logo asli
   ============================================================================ */

.navbar {
    background-color: #FCA804 !important;
    padding: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    position: relative;
    z-index: 9999;
}

.navbar-gold-top {
    display: none;
}

.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -55deg,
        rgba(255,255,255,0.018) 0px,
        rgba(255,255,255,0.018) 1px,
        transparent 1px,
        transparent 22px
    );
    pointer-events: none;
    z-index: 0;
}

.navbar-gold-bottom {
    display: none;
}

.navbar .container {
    position: relative;
    z-index: 1;
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-collapse {
    position: relative;
    z-index: 9999;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    text-decoration: none;
    padding: 4px 0;
}

.navbar-brand:hover { opacity: 0.9; }

.admin-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
    margin-bottom: 0;
    margin-right: 0;
}

.navbar-brand:hover .admin-logo {
    transform: rotate(-3deg) scale(1.05);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 10px;
    font-weight: 600;
    color: var(--merah-maroon);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

.nav-link {
    font-weight: 600 !important;
    color: var(--merah-maroon) !important;
    transition: color 0.22s ease, background 0.22s ease !important;
    padding: 10px 16px !important;
    margin: 0 2px;
    font-size: 0.95rem !important;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border-radius: 7px;
}

.nav-link-icon {
    font-size: 11px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.nav-link::after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 3px !important;
    width: auto !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: var(--orange-tua) !important;
    box-shadow: none !important;
    transform: scaleX(0);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.07) !important;
}

.nav-link:hover::after { transform: scaleX(1) !important; }

.nav-link.active {
    color: var(--orange-tua) !important;
    background: rgba(200,168,75,0.1) !important;
}

.nav-link.active::after { transform: scaleX(1) !important; }

.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon { opacity: 0.9; }

.btn-masuk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border: 2px solid rgba(255,255,255,0.35);
    border-color: var(--orange-tua);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange-tua) 0%, #6d0000 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(139,0,0,0.35);
}

.btn-masuk:hover {
    background: linear-gradient(135deg, var(--orange-tua) 0%, #6d0000 100%);
    border-color: var(--orange-tua);
    box-shadow: 0 8px 25px rgba(139,0,0,0.35);
    color: #fff;
    text-decoration: none;
}

.btn-masuk i { font-size: 13px; }

.btn-daftar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange-tua) 0%, #6d0000 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(139,0,0,0.35);
}

.btn-daftar:hover {
    background: linear-gradient(135deg, var(--orange-tua) 0%, #6d0000 100%);
    box-shadow: 0 8px 25px rgba(139,0,0,0.35);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.btn-daftar:active { transform: translateY(0); }
.btn-daftar i { font-size: 13px; }

.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(200,168,75,0.4);
    background: rgba(200,168,75,0.1);
    color: rgba(200,168,75,0.95);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.nav-admin-btn:hover {
    background: rgba(200,168,75,0.22);
    border-color: rgba(200,168,75,0.65);
    color: #f0d070;
    text-decoration: none;
}

.nav-admin-btn i { font-size: 12px; }

.user-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 8px !important;
    padding: 7px 14px 7px 7px !important;
    cursor: pointer;
    transition: all 0.22s ease !important;
    text-decoration: none !important;
    color: rgba(255,255,255,0.88) !important;
}

.user-pill:hover,
.user-pill.show {
    background: rgba(255,255,255,0.16) !important;
    border-color: rgba(255,255,255,0.32) !important;
}

.user-pill::after { display: none !important; }

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8a84b, #a8861e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #3a2200;
    flex-shrink: 0;
    letter-spacing: -0.3px;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chevron {
    font-size: 9px;
    color: rgba(255,255,255,0.45);
    margin-left: 2px;
    transition: transform 0.22s ease;
}

.user-pill.show .user-chevron { transform: rotate(180deg); }

.dropdown-menu {
    z-index: 99999 !important;
}


.navbar-dropdown-menu {
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1) !important;
    padding: 8px !important;
    min-width: 210px;
    margin-top: 10px !important;
}

.navbar-dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 12px;
}

.dropdown-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--merah-maroon), #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.dropdown-user-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.dropdown-user-role {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    font-weight: 500;
}

.navbar-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 9px;
    padding: 9px 12px !important;
    font-size: 13.5px;
    font-weight: 500;
    color: #444 !important;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.navbar-dropdown-item i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: #bbb;
    transition: color 0.18s ease;
}

.navbar-dropdown-item:hover {
    background: #f5f5f5 !important;
    color: #111 !important;
}

.navbar-dropdown-item:hover i { color: var(--merah-maroon); }
.navbar-dropdown-item.logout { color: #c0392b !important; }
.navbar-dropdown-item.logout i { color: #e74c3c; }
.navbar-dropdown-item.logout:hover { background: #fdf0f0 !important; }

.navbar-toggler {
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    transition: all 0.2s ease !important;
}

.navbar-toggler:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
    .navbar .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 12px;
        padding-top: 12px;
        padding-bottom: 10px;
    }

    .nav-link {
        border-radius: 8px;
        margin: 2px 0 !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }

    .nav-link::after { display: none !important; }

    .btn-masuk,
    .btn-daftar,
    .nav-admin-btn {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
        padding: 10px 22px;
    }

    .user-pill {
        width: 100% !important;
        justify-content: flex-start;
    }

    .user-name { max-width: none !important; }
    .admin-logo { width: 56px; height: 56px; }
    .brand-name { font-size: 15px; }
    .brand-tagline { font-size: 9px; }
}


/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    animation: cinematicPan 14s ease-in-out infinite alternate;
}

@keyframes cinematicPan {
    0%   { background-position: center 50%; }
    50%  { background-position: center 45%; }
    100% { background-position: center 55%; }
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 20px 0 40px;
    opacity: 0.95;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.carousel,
.carousel-inner,
.carousel-item {
    background: transparent !important;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all .9s ease;
}

.carousel-item.active .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.active .hero-content > *:nth-child(1) { transition-delay: .4s; }
.carousel-item.active .hero-content > *:nth-child(2) { transition-delay: .8s; }
.carousel-item.active .hero-content > *:nth-child(3) { transition-delay: 1.2s; }

/* ==========================================================================
   BUTTONS - Styling untuk semua komponen button
   - Variasi warna (orange, toska) sesuai dengan brand identity
   - Efek hover dengan transform translateY untuk ilusi tombol terangkat
   - Box shadow untuk efek kedalaman saat hover
   - Konsisten untuk seluruh halaman
   ============================================================================= */

.btn {
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-lg {
    padding: 14px 35px;         /* Ukuran lebih besar untuk tombol utama */
    font-size: 1rem;
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange) 0%, #e05a2a 100%);
    border: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

/* Shine effect */
.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #ff7a45 0%, #cc4e24 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.5);
}

.btn-orange:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.35);
}

.btn-toska {
    background: linear-gradient(135deg, var(--biru-toska) 0%, #16a085 100%);
    border: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 188, 156, 0.35);
}

/* Shine effect */
.btn-toska::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-toska:hover::before {
    left: 100%;
}

.btn-toska:hover {
    background: linear-gradient(135deg, #1abc9c 0%, #138d75 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(26, 188, 156, 0.5);
}

.btn-toska:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(26, 188, 156, 0.35);
}


/* ==========================================================================
   FEATURES SECTION - Styling untuk feature cards
   - Card dengan efek hover translateY (terangkat)
   - Icon dengan warna biru toska sebagai identitas
   - Shadow halus untuk kedalaman
   - Link dengan efek geser ke kanan saat hover
   ============================================================================= */

.features-section {
    padding: 110px 0 0 0;
}

.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); /* Shadow subtle untuk depth */
    transition: all 0.3s ease;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-10px);      /* Efek floating saat hover - card terangkat */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Shadow lebih besar saat hover */
}

.feature-icon {
    font-size: 3rem;
    color: var(--biru-toska);         /* Icon menggunakan warna brand */
}

.feature-card h3 {
    color: #333;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;                 /* Jarak antar baris untuk readability */
    font-size: 0.95rem;
}

.link-orange {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-orange:hover {
    color: var(--merah-maroon);
    padding-left: 5px;               /* Efek geser ke kanan saat hover */
}

/* ==========================================
   WHAT'S INSIDE
   ========================================== */

.whats-inside-section {
    padding: 140px 0;
    background-color: #FCA804;
}

.whats-box {
    background: linear-gradient(
        135deg,
        var(--merah-maroon),
        var(--coklat-sogan)
    );
    border-radius: 45px;
    padding: 90px 60px;
    overflow: hidden;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.55),
        0 30px 60px rgba(0, 0, 0, 0.40),
        0 10px 25px rgba(0, 0, 0, 0.30),
        0 2px 6px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: white;
}

.section-header p {
    color: rgba(255,255,255,0.9);
    max-width: 750px;
    margin: 20px auto 0;
    font-size: 1.05rem;
}

/* Carousel */
.carousel {
    overflow: hidden;
    position: relative;
}

/* Edge fade kiri & kanan */
.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(139,0,0,0.6), transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(139,69,19,0.6), transparent);
}

.carousel-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: scrollLoop 32s linear infinite;
    padding: 16px 4px 24px;
}

/* Pause saat hover */
.carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* ==========================================
   INSIDE CARD — 
   ========================================== */

.inside-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    width: 260px;
    flex-shrink: 0;
    text-align: center;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.10),
        0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

/* Top accent bar — warna bergilir */
.inside-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--merah-maroon), var(--coklat-sogan));
    transition: height 0.35s ease;
    z-index: 1;
}

.inside-card:nth-child(5n+2)::before {
    background: linear-gradient(90deg, #1ABC9C, #16a085);
}
.inside-card:nth-child(5n+3)::before {
    background: linear-gradient(90deg, #F39C12, #e67e22);
}
.inside-card:nth-child(5n+4)::before {
    background: linear-gradient(90deg, #8B0000, #c0392b);
}
.inside-card:nth-child(5n+5)::before {
    background: linear-gradient(90deg, #2E8B57, #1ABC9C);
}

.inside-card:hover::before {
    height: 6px;
}

/* Hover lift */
.inside-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.10);
}

/* ==========================================
   Image wrapper
   ========================================== */
.inside-card-img-wrap {
    background: #ffffff;
    padding: 28px 20px 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}

.inside-card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    mix-blend-mode: multiply;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.10));
}

.inside-card:hover img {
    transform: scale(1.1) translateY(-4px);
}

/* Text area */
.inside-card-body {
    padding: 16px 22px 26px;
}

.inside-card h5 {
    font-weight: 800;
    font-size: 1rem;
    color: var(--merah-maroon);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.inside-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* Auto Loop Animation */
@keyframes scrollLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================================
   FOOTER STYLES - Styling untuk footer
   - Layout 3 kolom dengan padding spesifik untuk kerapian
   - Warna background maroon (konsisten dengan navbar)
   - Social media icons dengan hover effect transform
   - Newsletter subscription form dengan styling custom
   - Flexbox untuk icon dan text sejajar
   ============================================================================= */

.footer {
    background-color: #FCA804;
    color: white;
    padding: 20px 0 20px;
    margin-top: 60px;
}

.footer .container {
    max-width: 1200px;
}

/* Custom padding untuk layout 3 kolom yang rapi */
.footer .row > .col-md-4:nth-child(1) {
    padding-left: 0px;
    padding-right: 20px;
}

.footer .row > .col-md-4:nth-child(2) {
    padding-left: 135px;            /* Memberi jarak lebih untuk kolom tengah */
    padding-right: 15px;
}

.footer .row > .col-md-4:nth-child(3) {
    padding-left: 10px;
    padding-right: 0px;
}

.footer h4,
.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.footer p {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    color: #ddd;
    font-size: 0.9rem;
    text-align: left;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    padding-left: 5px;             /* Efek geser ke kanan saat hover */
}

.footer .col-md-4:first-child p {
    text-align: justify;
    hyphens: auto;                 /* Hyphenation untuk teks rata kanan-kiri */
}

/* Kontak section dengan icon dan text sejajar menggunakan flexbox */
.footer-kontak ul li {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-kontak ul li i {
    min-width: 20px;              /* Lebar minimum untuk icon */
    text-align: center;
}

/* Newsletter form styling */
.footer .input-group .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.footer .input-group .form-control::placeholder {
    color: rgba(255,255,255,0.5); /* Placeholder dengan opacity */
}

.footer .input-group .form-control:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--orange);
    color: white;
    box-shadow: none;             /* Menghilangkan default bootstrap focus */
}

.footer .btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.footer .btn-outline-light:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

/* Social media icons - ukuran lebih besar */
.footer .text-end a {
    font-size: 1.3rem;
    margin-left: 15px;
}

.footer .text-end a:hover {
    color: var(--orange);
    padding-left: 0;
    transform: translateY(-3px);   /* Efek float ke atas */
    display: inline-block;
}

/* ==========================================================================
   FOOTER SOCIAL MEDIA ICONS - Efek animasi transform
   - Setiap icon punya warna brand dan efek unik saat hover
   - Transition smooth untuk semua properti transform
   - display: inline-block wajib agar transform bekerja pada elemen <a>
   ============================================================================= */

.footer .footer-social a {
    font-size: 1.7rem;
    margin-left: 18px;
    display: inline-block;                          /* Wajib agar transform aktif */
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    will-change: transform;                         /* Optimasi rendering GPU */
}

/* Instagram - efek rotate + scale dengan warna gradient brand */
.footer .footer-social a:nth-child(1):hover {
    color: #e1306c;
    transform: rotate(-15deg) scale(1.3);
    text-shadow: 0 4px 15px rgba(225, 48, 108, 0.5);
}

/* Facebook - efek bounce ke atas dengan warna brand */
.footer .footer-social a:nth-child(2):hover {
    color: #1877f2;
    transform: translateY(-6px) scale(1.2);
    text-shadow: 0 6px 15px rgba(24, 119, 242, 0.5);
}

/* Twitter/X - efek scale pop dengan warna brand */
.footer .footer-social a:nth-child(3):hover {
    color: #1da1f2;
    transform: scale(1.35) rotate(10deg);
    text-shadow: 0 4px 15px rgba(29, 161, 242, 0.5);
}

/* YouTube - efek scale + sedikit turun seperti tombol ditekan */
.footer .footer-social a:nth-child(4):hover {
    color: #ff0000;
    transform: scaleX(1.3) scaleY(1.15);
    text-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

.footer .row.align-items-center p {
    text-align: left;
}


/* ==========================================================================
   MERCHANDISE PAGE
   ============================================================================= */

/* ----- HERO ----- */
.merch-hero {
    background: #FCA804;
    padding: 100px 0 75px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.merch-hero::before {
    display: none;
}

.merch-hero::after {
    display: none;
}

.merch-hero .container { position: relative; z-index: 1; }

.hero-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.merch-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 6px 28px rgba(0,0,0,0.35);
    animation: fadeInDown 0.6s 0.15s ease both;
}

.merch-hero-title span { color: #800000; }

.merch-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 42px;
    line-height: 1.7;
    animation: fadeInDown 0.6s 0.25s ease both;
}

.hero-stats-row {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 30px 50px;
    gap: 45px;
    animation: fadeInDown 0.6s 0.35s ease both;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-stat-item { text-align: center; }

.hero-stat-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    color: #f0c040;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-lbl {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.merch-hero-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.35);
    font-size: 1rem;
    animation: bounceY 1.8s ease-in-out infinite;
    z-index: 1;
}

@keyframes bounceY {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ----- FILTER STRIP ----- */
.merch-filter-strip {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.merch-filter-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.merch-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    border-radius: 60px;
    border: 2px solid #e0dbd0;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    color: #777;
    cursor: pointer;
    font-family: var(--font-display);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.merch-filter-btn i { font-size: 1.2rem; }

.filter-count {
    background: rgba(0,0,0,0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.merch-filter-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s ease;
}

.merch-filter-btn:hover::before { left: 100%; }

.merch-filter-btn:hover {
    border-color: var(--orange-tua);
    color: var(--orange-tua);
    transform: translateY(-2px);
}

.merch-filter-btn.active {
    background: linear-gradient(135deg, var(--orange-tua) 0%, #6d0000 100%);
    border-color: var(--orange-tua);
    color: #fff;
    box-shadow: 0 8px 25px rgba(139,0,0,0.35);
}

.merch-filter-btn.active .filter-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.merch-filter-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139,0,0,0.45);
}

.merch-filter-btn:not(.active) .filter-count {
    background: rgba(0,0,0,0.07);
    color: #666;
}

/* ----- PRODUCTS SECTION ----- */
.merch-products-section {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, #f8f6f1 0%, #fff 55%, #f8f6f1 100%);
}

.merch-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

/* ----- PRODUCT CARD ----- */
.merch-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(22px);
    animation: cardReveal 0.5s ease forwards;
}

.merch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.13);
}

.merch-card:nth-child(1) { animation-delay: 0.05s; }
.merch-card:nth-child(2) { animation-delay: 0.10s; }
.merch-card:nth-child(3) { animation-delay: 0.15s; }
.merch-card:nth-child(4) { animation-delay: 0.20s; }
.merch-card:nth-child(5) { animation-delay: 0.25s; }
.merch-card:nth-child(6) { animation-delay: 0.30s; }
.merch-card:nth-child(7) { animation-delay: 0.35s; }
.merch-card:nth-child(8) { animation-delay: 0.40s; }
.merch-card:nth-child(n+9) { animation-delay: 0.45s; }

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

.merch-card.hidden { display: none; }

.merch-card-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f0ede6;
    flex-shrink: 0;
}

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

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

.merch-card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
    pointer-events: none;
}

.merch-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.merch-badge-available { background: rgba(16,185,129,0.92); color: #fff; }
.merch-badge-preorder  { background: rgba(255,107,53,0.92);  color: #fff; }

.merch-card-lowstock {
    position: absolute;
    bottom: 10px; left: 12px;
    background: rgba(220,38,38,0.88);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.merch-card-body {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.merch-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 7px;
    line-height: 1.35;
}

.merch-card-desc {
    font-size: 0.84rem;
    color: #888;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ----- INFO BOX ----- */
.merch-info-box {
    background: linear-gradient(135deg, #faf9f6 0%, #f3f0e8 100%);
    border: 1px solid rgba(139,69,19,0.08);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Setiap baris: label kiri, value kanan */
.merch-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(139,69,19,0.10);
}

.merch-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.merch-info-row:first-child {
    padding-top: 0;
}

.merch-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.merch-info-label i {
    font-size: 0.72rem;
    opacity: 0.8;
}

/* Harga — besar & maroon */
.merch-price-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--merah-maroon);
    letter-spacing: -0.3px;
}

/* Value umum */
.merch-info-value {
    font-size: 0.84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dark-text);
}

/* Stok warna */
.merch-stock-ok    { color: var(--hijau-zamrud); }
.merch-stock-low   { color: var(--orange); }
.merch-stock-empty { color: #dc2626; }

/* Status warna */
.merch-status-available { color: var(--hijau-zamrud); }
.merch-status-preorder  { color: var(--orange); }

/* Tanggal rilis */
.merch-release-val {
    color: var(--biru-toska);
    font-weight: 700;
}

/* ----- ACTION BUTTON ----- */
.merch-card-action { margin-top: auto; }

.merch-btn-order {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    text-decoration: none;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.merch-btn-order::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.55s ease;
}

.merch-btn-order:hover::before { left: 100%; }

.merch-btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.28);
}

.merch-btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(37,211,102,0.45);
    color: #fff;
}

.merch-btn-po {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59,130,246,0.28);
}

.merch-btn-po:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(59,130,246,0.45);
    color: #fff;
}

.merch-btn-login {
    background: linear-gradient(135deg, var(--orange) 0%, #e05a2a 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,107,53,0.28);
}

.merch-btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255,107,53,0.45);
    color: #fff;
}

/* ----- ORDER MODAL ----- */
.merch-modal .modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.22);
}

.merch-modal-header {
    background: linear-gradient(135deg, #5c0000 0%, var(--merah-maroon) 100%);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.merch-modal-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.merch-modal-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.merch-modal-thumb {
    width: 52px; height: 52px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.22);
    flex-shrink: 0;
}

.merch-modal-eyebrow {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.merch-modal-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.merch-modal-product-price {
    font-size: 0.8rem;
    color: #f0c040;
    font-weight: 600;
    margin: 0;
}

.merch-modal-close {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.merch-modal-close:hover { opacity: 1; transform: rotate(90deg); }

.merch-modal-body {
    padding: 28px 28px 24px;
    background: #fafaf8;
}

.merch-modal-field { margin-bottom: 20px; }

.merch-modal-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.merch-modal-field label i {
    color: var(--merah-maroon);
    font-size: 0.88rem;
}

.merch-modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-display);
    background: #fff;
    color: var(--dark-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.merch-modal-input:focus {
    outline: none;
    border-color: var(--biru-toska);
    box-shadow: 0 0 0 4px rgba(26,188,156,0.12);
    transform: translateY(-2px);
}

.merch-qty-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.25s ease;
}

.merch-qty-wrap:focus-within {
    border-color: var(--biru-toska);
    box-shadow: 0 0 0 4px rgba(26,188,156,0.12);
}

.merch-qty-btn {
    width: 46px; height: 46px;
    border: none;
    background: #f3f1ec;
    color: var(--dark-text);
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.merch-qty-btn:hover { background: #e8e5de; }

.merch-qty-input {
    flex: 1;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-display);
    color: var(--dark-text);
    padding: 10px 6px;
    background: transparent;
}

.merch-qty-input:focus { outline: none; }

.merch-modal-total {
    background: linear-gradient(135deg, #5c0000 0%, var(--merah-maroon) 100%);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 22px rgba(139,0,0,0.22);
    position: relative;
    overflow: hidden;
}

.merch-modal-total::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.merch-total-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.merch-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0c040;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.merch-modal-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.merch-modal-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.55s ease;
}

.merch-modal-submit:hover::before { left: 100%; }

.merch-submit-wa {
    background: linear-gradient(135deg, var(--hijau-zamrud) 0%, var(--biru-toska) 100%);
    color: #fff;
    box-shadow: 0 5px 18px rgba(46,139,87,0.28);
}

.merch-submit-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(46,139,87,0.45);
}

.merch-submit-po {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: #fff;
    box-shadow: 0 5px 18px rgba(59,130,246,0.28);
}

.merch-submit-po:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(59,130,246,0.45);
}

/* ----- EMPTY STATES ----- */
.merch-empty-filter,
.merch-empty-full {
    text-align: center;
    padding: 90px 20px;
}

.merch-empty-filter i,
.merch-empty-full i {
    font-size: 4.5rem;
    color: #d5d0c5;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.merch-empty-filter h3,
.merch-empty-full h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

.merch-empty-filter p,
.merch-empty-full p { color: #999; font-size: 0.95rem; }

/* ----- TOAST ----- */
.merch-toast {
    position: fixed;
    top: 24px; right: 24px;
    min-width: 315px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.13);
    padding: 16px 18px 20px;
    z-index: 9999;
    transform: translateX(130%);
    opacity: 0;
    transition: all 0.45s cubic-bezier(.22,.68,0,1.2);
    overflow: hidden;
}

.merch-toast.show { transform: translateX(0); opacity: 1; }

.merch-toast-inner { display: flex; align-items: center; gap: 12px; }

.merch-toast-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.merch-toast-icon.success { background: #d1fae5; color: var(--hijau-zamrud); }
.merch-toast-icon.error   { background: #fee2e2; color: #dc2626; }

.merch-toast-body { flex: 1; }

.merch-toast-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2px;
}

.merch-toast-msg { font-size: 0.8rem; color: #888; margin: 0; }

.merch-toast-close {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #bbb;
    cursor: pointer;
    padding: 0 3px;
}

.merch-toast-close:hover { color: #888; }

.merch-toast-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 100%;
    border-radius: 0 0 14px 14px;
    animation: toastProgress 4s linear forwards;
}

.merch-toast-bar.success { background: linear-gradient(90deg, var(--hijau-zamrud), #10b981); }
.merch-toast-bar.error   { background: linear-gradient(90deg, #dc2626, #ef4444); }

/* ----- ANIMATIONS ----- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 0.8; }
}

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

@keyframes toastProgress {
    from { width: 100%; }
    to   { width: 0%; }
}

/* ==========================================================================
   TUTORIAL PAGE — Cross Culture Nusantara
   Font: Plus Jakarta Sans (display) + Lora (body serif, editorial feel)
   Theme: Cultural Heritage — warm siennas, deep indigo, batik-inspired accents
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ── CSS Variables ── */
:root {
    /* Palette — warm terracotta meets deep indigo */
    --indigo-950:  #0f0e2a;
    --indigo-800:  #1e1b6e;
    --indigo-600:  #3730a3;
    --indigo-400:  #818cf8;
    --indigo-100:  #e0e7ff;
    --indigo-50:   #eef2ff;

    --sienna-700:  #9a3412;
    --sienna-500:  #c2410c;
    --sienna-300:  #fdba74;
    --sienna-100:  #ffedd5;

    --gold-500:    #d97706;
    --gold-300:    #fcd34d;
    --gold-50:     #fffbeb;

    --neutral-950: #0c0a09;
    --neutral-800: #292524;
    --neutral-600: #57534e;
    --neutral-400: #a8a29e;
    --neutral-200: #e7e5e4;
    --neutral-100: #f5f5f4;
    --neutral-50:  #fafaf9;

    --surface: #ffffff;
    --bg:      #f7f6f3;

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Shadows */
    --shadow-xs:     0 1px 4px rgba(0,0,0,0.05);
    --shadow-sm:     0 3px 12px rgba(0,0,0,0.07);
    --shadow-md:     0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg:     0 20px 60px rgba(0,0,0,0.13);
    --shadow-indigo: 0 8px 28px rgba(30,27,110,0.30);
    --shadow-sienna: 0 8px 28px rgba(154,52,18,0.25);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-serif:   'Lora', Georgia, serif;

    /* Motion */
    --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --t: all 0.28s var(--ease-in-out);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Page base ── */
body {
    font-family: var(--font-display);
    background: var(--bg);
    color: var(--neutral-800);
    -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   HERO
   ============================================================================ */

.tutorial-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 24px 90px;
    text-align: center;
    background: #FCA804;
    color: #fff;
    font-family: var(--font-display);
}

/* Batik-inspired diagonal line pattern */
.tutorial-hero::before { display: none; }

/* Large decorative circle */
.tutorial-hero::after { display: none; }

.tutorial-hero .container {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.tutorial-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* Accent underline on title */
.tutorial-hero h1 span {
    position: relative;
    display: inline;
}

.tutorial-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 3px;
    border-radius: 2px;
}

.tutorial-hero h5 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero scroll indicator */
.tutorial-hero-scroll {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    animation: heroFloat 2.2s ease-in-out infinite;
}

.tutorial-hero-scroll span {
    display: block;
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    position: relative;
}

.tutorial-hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.6);
    animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

@keyframes scrollDot {
    0%   { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 22px; }
}


/* ==========================================================================
   DOWNLOAD BOX
   ============================================================================ */

.download-section { padding: 0 0 8px; }

.download-box {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 28px 34px;
    margin: 48px 0 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--t);
}

/* Decorative left accent */
.download-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--indigo-600), var(--sienna-500));
    border-radius: var(--r-xl) 0 0 var(--r-xl);
}

.download-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--indigo-100);
}

.download-box-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: var(--indigo-50);
    border: 1px solid var(--indigo-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--indigo-600);
    flex-shrink: 0;
}

.download-box-text { flex: 1; }

.download-box h3 {
    margin: 0 0 5px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--neutral-800);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.download-box p {
    margin: 0;
    color: var(--neutral-400);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--indigo-800) 0%, var(--indigo-600) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: var(--t);
    box-shadow: var(--shadow-indigo);
}

/* Shine sweep */
.btn-download::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.6s ease;
}

.btn-download:hover::before { left: 100%; }

.btn-download:hover {
    background: linear-gradient(135deg, var(--indigo-950) 0%, var(--indigo-800) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30,27,110,0.42);
    color: #fff;
    text-decoration: none;
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: var(--shadow-indigo);
}

.btn-download i { font-size: 0.85rem; }


/* ==========================================================================
   VIDEO SECTION
   ============================================================================ */

.video-section {
    padding: 80px 24px;
    background: var(--neutral-50);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle top border */
.video-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--indigo-100), var(--sienna-100), transparent);
}

.video-section .container { position: relative; z-index: 1; }

.video-section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sienna-500);
    margin-bottom: 10px;
}

.video-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: -0.03em;
    color: var(--neutral-950);
    line-height: 1.15;
}

.video-wrapper {
    max-width: 860px;
    margin: 0 auto;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    /* 16:9 ratio */
    position: relative;
    padding-top: 0;
}

.video-wrapper iframe {
    display: block;
    width: 100%;
}

.video-meta {
    margin-top: 16px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--neutral-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.video-meta i { font-size: 0.75rem; color: var(--sienna-300); }


/* ==========================================================================
   STEPS SECTION
   ============================================================================ */

.steps-section {
    padding: 88px 24px 100px;
    background: var(--bg);
    position: relative;
}

.steps-section .container { max-width: 860px; }

.steps-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.steps-section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--indigo-600);
    margin-bottom: 10px;
}

.steps-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--neutral-950);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.steps-section h2 em {
    font-style: normal;
    color: var(--indigo-600);
}

/* Step connector line */
.steps-list {
    position: relative;
    padding-left: 0;
}

.steps-list::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: linear-gradient(to bottom,
        var(--indigo-100) 0%,
        var(--sienna-100) 50%,
        var(--indigo-100) 100%
    );
    z-index: 0;
}

/* Step Item */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface);
    padding: 24px 28px 24px 24px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    margin-bottom: 14px;
    transition: var(--t);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-16px);
    animation: stepReveal 0.5s var(--ease-out) forwards;
}

/* Staggered reveal */
.step-item:nth-child(1) { animation-delay: 0.05s; }
.step-item:nth-child(2) { animation-delay: 0.10s; }
.step-item:nth-child(3) { animation-delay: 0.15s; }
.step-item:nth-child(4) { animation-delay: 0.20s; }
.step-item:nth-child(5) { animation-delay: 0.25s; }
.step-item:nth-child(6) { animation-delay: 0.30s; }
.step-item:nth-child(7) { animation-delay: 0.35s; }
.step-item:nth-child(n+8) { animation-delay: 0.40s; }

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

.step-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--indigo-100);
}

/* Hover right accent */
.step-item::after {
    content: '';
    position: absolute;
    right: 0; top: 20px; bottom: 20px;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(to bottom, var(--indigo-600), var(--sienna-500));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.step-item:hover::after { opacity: 1; }

/* Step Number bubble */
.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-indigo);
    /* Cycle through 3 color schemes */
}

/* Alternate step number colors */
.step-item:nth-child(3n+1) .step-number {
    background: linear-gradient(135deg, var(--indigo-800), var(--indigo-600));
}
.step-item:nth-child(3n+2) .step-number {
    background: linear-gradient(135deg, var(--sienna-700), var(--sienna-500));
    box-shadow: var(--shadow-sienna);
}
.step-item:nth-child(3n+3) .step-number {
    background: linear-gradient(135deg, var(--gold-500), #b45309);
    box-shadow: 0 8px 24px rgba(180,83,9,0.28);
}

.step-content { flex: 1; padding-top: 2px; }

.step-content h3 {
    font-family: var(--font-display);
    margin: 0 0 7px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--neutral-800);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.step-content p {
    font-family: var(--font-display);
    margin: 0;
    color: var(--neutral-600);
    line-height: 1.75;
    font-size: 0.92rem;
}

/* Step chevron */
.step-chevron {
    color: var(--neutral-200);
    font-size: 0.75rem;
    padding-top: 6px;
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.step-item:hover .step-chevron {
    color: var(--indigo-400);
    transform: translateX(4px);
}


/* ==========================================================================
   KEYFRAMES (global)
   ============================================================================ */

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


/* ==========================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .tutorial-hero { padding: 72px 20px 64px; }
    .tutorial-hero h1 { font-size: 2rem; }

    .download-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 22px 22px 28px;
    }

    .steps-list::before { left: 26px; }

    .step-item {
        padding: 20px 20px 20px 20px;
        gap: 16px;
    }

    .step-number { width: 46px; height: 46px; font-size: 1.05rem; }

    .video-section { padding: 56px 16px; }
    .steps-section { padding: 60px 16px 72px; }
}

@media (max-width: 480px) {
    .tutorial-hero h1 { font-size: 1.65rem; }
    .download-box h3  { font-size: 1rem; }
    .btn-download     { width: 100%; justify-content: center; }
}


/* ==========================================================================
   ACCESSIBILITY
   ============================================================================ */

.btn-download:focus-visible {
    outline: 3px solid rgba(55, 48, 163, 0.5);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ==========================================================================
   ABOUT PAGE — Cross Culture Nusantara
   Font: Playfair Display (heritage display) + Plus Jakarta Sans (clean body)
   Theme: Warm Heritage — deep sogan brown, ivory, terracotta gold
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
    /* Heritage Brown palette */
    --brown-950:  #1a0a00;
    --brown-800:  #6d3410;
    --brown-700:  #8a4318;
    --brown-500:  #b45c2a;
    --brown-200:  #e8c4a0;
    --brown-100:  #f5e6d3;
    --brown-50:   #fdf6ef;

    /* Gold accent */
    --gold-600:   #b45309;
    --gold-400:   #d97706;
    --gold-200:   #fcd34d;
    --gold-50:    #fffbeb;

    /* Teal accent */
    --teal-700:   #0f766e;
    --teal-500:   #14b8a6;
    --teal-100:   #ccfbf1;

    /* Neutrals */
    --neutral-950: #0c0a09;
    --neutral-800: #292524;
    --neutral-600: #57534e;
    --neutral-400: #a8a29e;
    --neutral-200: #e7e5e4;
    --neutral-100: #f5f5f4;
    --neutral-50:  #fafaf9;

    --surface: #ffffff;
    --bg:      #f8f4ef;

    /* Radii */
    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  22px;
    --r-xl:  30px;

    /* Shadows */
    --shadow-xs:    0 1px 4px rgba(0,0,0,0.05);
    --shadow-sm:    0 3px 14px rgba(0,0,0,0.07);
    --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.13);
    --shadow-brown: 0 8px 28px rgba(109,52,16,0.28);
    --shadow-teal:  0 8px 24px rgba(20,184,166,0.25);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;

    /* Motion */
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --t:           all 0.28s var(--ease-in-out);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-display);
    background: var(--bg);
    color: var(--neutral-800);
    -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   HERO
   ============================================================================ */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 24px 90px;
    text-align: center;
    background: #FCA804;
    color: #fff;
}

/* Batik-inspired diagonal weave */
.about-hero::before { display: none; }

/* Decorative arc */
.about-hero::after { display: none; }

.about-hero .container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-bottom: 22px;
    animation: slideDown 0.7s var(--ease-out) both;
}

.about-hero-eyebrow::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold-200);
    flex-shrink: 0;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0,0,0,0.35);
    animation: slideDown 0.7s 0.08s var(--ease-out) both;
}

.about-hero h1 em {
    font-style: italic;
    color: var(--gold-200);
}

.about-hero .lead {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: rgba(255,255,255,0.65);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.72;
    font-weight: 400;
    animation: slideDown 0.7s 0.16s var(--ease-out) both;
}

/* Decorative divider below hero */
.about-hero-divider {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 48px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}


/* ==========================================================================
   PHILOSOPHY SECTION
   ============================================================================ */

.philosophy-section {
    padding: 80px 0 64px;
    background: var(--bg);
}

.philosophy-card {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 52px 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s var(--ease-out) both;
}

/* Subtle corner ornament */
.philosophy-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brown-100) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--brown-100), var(--brown-200));
    border-radius: 50%;
    border: 1px solid var(--brown-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    position: relative;
    z-index: 1;
    overflow: hidden; /* penting supaya gambar ikut bulat */
}

.philosophy-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.philosophy-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--neutral-950);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative; z-index: 1;
}

.philosophy-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--neutral-600);
    max-width: 820px;
    margin: 0 auto;
    position: relative; z-index: 1;
}

/* Story Card */
.story-card {
    background: var(--brown-50);
    border-radius: var(--r-xl);
    padding: 40px 44px;
    border: 1px solid var(--brown-200);
    border-left: 5px solid var(--brown-700);
    animation: slideUp 0.6s 0.08s var(--ease-out) both;
    position: relative;
    overflow: hidden;
}

.story-card::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180,92,42,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.story-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--brown-800), var(--brown-700));
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-brown);
}

.story-icon i {
    font-size: 1.6rem;
    color: #fff;
}

.story-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brown-800);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.story-text {
    font-size: 0.97rem;
    line-height: 1.82;
    color: var(--neutral-600);
    margin-bottom: 14px;
}

.story-text:last-child { margin-bottom: 0; }


/* ==========================================================================
   TEAM SECTION
   ============================================================================ */

.team-section {
    padding: 88px 0 96px;
    background: var(--surface);
    position: relative;
}

.team-section-header {
    text-align: center;
    margin-bottom: 58px;
}

.team-section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown-700);
    margin-bottom: 10px;
}

.team-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--neutral-950);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--teal-500));
    border-radius: 3px;
}

/* Team Card */
.team-card {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 34px 22px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: var(--t);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Top color bar */
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brown-700), var(--gold-400), var(--teal-500));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brown-200);
}

.team-card:hover::before { opacity: 1; }

.team-avatar {
    width: 130px; height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--neutral-100);
    transition: var(--t);
    flex-shrink: 0;
    position: relative;
}

.team-card:hover .team-avatar {
    border-color: var(--brown-300, var(--brown-200));
    box-shadow: 0 0 0 4px var(--brown-100);
}

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

.team-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--neutral-800);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.team-role {
    font-size: 0.8rem;
    color: var(--teal-700);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Team Social Links */
.team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.team-social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--t);
    border: 1.5px solid var(--neutral-200);
    color: var(--neutral-400);
    background: var(--neutral-50);
}

.team-social-btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

/* WhatsApp */
.team-social-btn.wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.40);
}

/* Instagram */
.team-social-btn.ig:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    border-color: #dd2a7b;
    color: #fff;
    box-shadow: 0 4px 14px rgba(221,42,123,0.38);
}

/* TikTok */
.team-social-btn.tt:hover {
    background: #010101;
    border-color: #010101;
    color: #fff;
    box-shadow: 0 4px 14px rgba(1,1,1,0.30);
}


/* ==========================================================================
   CONTACT SECTION
   ============================================================================ */

.contact-section {
    padding: 88px 0 100px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brown-200), transparent);
}

.contact-section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown-700);
    margin-bottom: 10px;
}

.contact-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--neutral-950);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--teal-500));
    border-radius: 3px;
}

.contact-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.contact-card {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Corner decoration */
.contact-card::before {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brown-50) 0%, transparent 70%);
    pointer-events: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--neutral-100);
    margin-bottom: 0;
}

.social-btn {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    transition: var(--t);
    text-decoration: none;
    border: 1.5px solid var(--neutral-200);
    color: var(--neutral-400);
    background: var(--neutral-50);
    position: relative; z-index: 1;
}

.social-btn:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.social-btn:nth-child(1):hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: #fff;
    box-shadow: 0 6px 20px rgba(29,161,242,0.38);
}

.social-btn:nth-child(2):hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,119,181,0.38);
}

.social-btn:nth-child(3):hover {
    background: #171515;
    border-color: #171515;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}

/* Contact Info */
.contact-info { padding-top: 28px; }

.contact-address,
.contact-email {
    font-size: 0.95rem;
    color: var(--neutral-600);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.5;
}

.contact-address:last-child,
.contact-email:last-child { margin-bottom: 0; }

.contact-address i { color: var(--brown-500); font-size: 1rem; }
.contact-email i   { color: var(--gold-400);  font-size: 1rem; }

.contact-email a {
    color: var(--teal-700);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-email a:hover { color: var(--brown-700); text-decoration: underline; }


/* ==========================================================================
   KEYFRAMES
   ============================================================================ */

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ==========================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .about-hero { padding: 80px 20px 72px; }

    .philosophy-card,
    .story-card { padding: 30px 22px; }

    .contact-card { padding: 32px 22px; }

    .team-section,
    .contact-section { padding: 60px 0 72px; }

    .philosophy-section { padding: 56px 0 48px; }

    .social-btn { width: 50px; height: 50px; font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .about-hero h1 { font-size: 1.9rem; }
    .contact-address,
    .contact-email { flex-direction: column; gap: 5px; text-align: center; }
}


/* ==========================================================================
   ACCESSIBILITY
   ============================================================================ */

.social-btn:focus-visible,
.team-social-btn:focus-visible,
.contact-email a:focus-visible {
    outline: 3px solid rgba(109,52,16,0.45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .team-card,
    .philosophy-card,
    .story-card,
    .contact-card { border: 2px solid #333; }
}

/* ==========================================================================
   POST DETAIL PAGE
   ============================================================================ */

.post-detail-section { padding: 48px 0 100px; min-height: 80vh; }
.post-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .post-detail-grid { grid-template-columns: 1fr; } }

/* Back button */
.post-back-nav { margin-bottom: 24px; }
.post-back-btn { display: inline-flex; align-items: center; gap: 9px; padding: 10px 22px; border-radius: 50px; border: 1.5px solid #e4e4e7; background: #fff; color: var(--hijau-zamrud); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.28s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.post-back-btn i { font-size: 0.75rem; transition: transform 0.25s ease; }
.post-back-btn:hover { background: var(--hijau-zamrud); border-color: var(--hijau-zamrud); color: #fff; box-shadow: 0 8px 28px rgba(20,90,50,0.22); transform: translateY(-1px); text-decoration: none; }
.post-back-btn:hover i { transform: translateX(-4px); }

/* Post detail card */
.post-detail-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,0.09); margin-bottom: 24px; }

.post-detail-header {
    background: radial-gradient(ellipse at 80% 20%, rgba(26,188,156,0.28) 0%, transparent 55%),
                linear-gradient(145deg, #0d3320 0%, var(--hijau-zamrud) 100%);
    padding: 36px 36px 30px;
    position: relative;
    overflow: hidden;
}

.post-detail-header::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,0.04);
    pointer-events: none;
}

.post-detail-cat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 50px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 16px; position: relative; z-index: 1; }
.post-detail-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; color: #fff; line-height: 1.25; margin: 0 0 22px; position: relative; z-index: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.post-detail-meta { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.post-detail-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 800; color: #fff; text-transform: uppercase; flex-shrink: 0; }
.post-detail-author-name { font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0 0 3px; line-height: 1; }
.post-detail-time { font-size: 0.72rem; color: rgba(255,255,255,0.58); display: flex; align-items: center; gap: 5px; }

.post-detail-body { padding: 32px 36px; }
.post-detail-content { font-size: 1rem; color: #52525b; line-height: 1.9; word-break: break-word; }

/* Replies */
.replies-section { margin-bottom: 24px; }
.replies-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.replies-title { font-size: 1rem; font-weight: 800; color: #0a0a0a; margin: 0; display: flex; align-items: center; gap: 9px; }
.replies-title i { color: var(--hijau-zamrud); font-size: 0.95rem; }
.replies-count-badge { background: #edfaf3; color: #145a32; border: 1px solid #a8f0c6; border-radius: 50px; padding: 2px 11px; font-size: 0.72rem; font-weight: 700; }
.replies-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.reply-card { background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f4f4f5; transition: all 0.28s ease; position: relative; overflow: hidden; }
.reply-card::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--hijau-zamrud); opacity: 0; transition: opacity 0.25s ease; }
.reply-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); border-color: #a8f0c6; }
.reply-card:hover::before { opacity: 1; }

.reply-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.reply-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 800; color: #fff; flex-shrink: 0; text-transform: uppercase; background: linear-gradient(135deg, var(--hijau-zamrud), var(--biru-toska)); }
.reply-card:nth-child(3n+2) .reply-avatar { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.reply-card:nth-child(3n+3) .reply-avatar { background: linear-gradient(135deg, #ea580c, var(--orange)); }
.reply-author { font-size: 0.875rem; font-weight: 700; color: #1c1c1e; line-height: 1; margin: 0 0 4px; }
.reply-time { font-size: 0.7rem; color: #a1a1aa; display: flex; align-items: center; gap: 4px; }
.reply-content { font-size: 0.9rem; color: #52525b; line-height: 1.7; margin: 0; padding-left: 47px; word-break: break-word; }

/* Replies empty */
.replies-empty { background: #fff; border-radius: 16px; padding: 48px 24px; text-align: center; border: 1.5px dashed #a8f0c6; margin-bottom: 28px; }
.replies-empty i { font-size: 2.5rem; color: #a8f0c6; margin-bottom: 14px; display: block; }
.replies-empty p { font-size: 0.875rem; color: #a1a1aa; margin: 0; line-height: 1.6; }

/* Reply form */
.reply-form-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,0.09); border: 1px solid #f4f4f5; }
.reply-form-header { padding: 20px 26px 18px; border-bottom: 1px solid #f4f4f5; background: #fafafa; }
.reply-form-title { font-size: 0.875rem; font-weight: 700; color: #1c1c1e; margin: 0; display: flex; align-items: center; gap: 9px; }
.reply-form-title i { color: var(--hijau-zamrud); font-size: 0.85rem; }
.reply-form-body { padding: 22px 26px 24px; }
.reply-textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #e4e4e7; border-radius: 10px; font-size: 0.9rem; color: #1c1c1e; background: #fafafa; resize: vertical; min-height: 120px; outline: none; transition: all 0.28s ease; line-height: 1.65; font-family: inherit; }
.reply-textarea:focus { border-color: var(--hijau-zamrud); box-shadow: 0 0 0 4px rgba(46,139,87,0.09); background: #fff; }
.reply-textarea::placeholder { color: #a1a1aa; }
.reply-submit-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.reply-submit-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 26px; border: none; border-radius: 50px; background: linear-gradient(135deg, var(--hijau-zamrud) 0%, #1a7a44 100%); color: #fff; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: all 0.28s ease; box-shadow: 0 4px 16px rgba(46,139,87,0.3); font-family: inherit; }
.reply-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(46,139,87,0.42); }

/* Login prompt */
.reply-login-prompt { background: #fff; border-radius: 22px; padding: 36px 28px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,0.09); border: 1.5px dashed #a8f0c6; }
.reply-login-prompt i { font-size: 2.6rem; color: var(--hijau-zamrud); margin-bottom: 14px; display: block; opacity: 0.7; }
.reply-login-prompt p { font-size: 0.875rem; color: #a1a1aa; margin-bottom: 18px; line-height: 1.6; }
.reply-login-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 26px; border-radius: 50px; background: linear-gradient(135deg, var(--hijau-zamrud), var(--biru-toska)); color: #fff; font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: all 0.28s ease; box-shadow: 0 4px 14px rgba(46,139,87,0.28); }
.reply-login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,139,87,0.38); color: #fff; text-decoration: none; }

/* Sidebar */
.post-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.post-info-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f4f4f5; }
.post-info-card-header { padding: 15px 20px 13px; border-bottom: 1px solid #f4f4f5; background: #fafafa; }
.post-info-card-title { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: #a1a1aa; margin: 0; display: flex; align-items: center; gap: 7px; }
.post-info-card-title i { color: var(--hijau-zamrud); font-size: 0.78rem; }
.post-info-list { padding: 6px 0; list-style: none; margin: 0; }
.post-info-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; border-bottom: 1px solid #fafafa; font-size: 0.83rem; transition: background 0.2s ease; }
.post-info-item:last-child { border-bottom: none; }
.post-info-item:hover { background: #edfaf3; }
.post-info-key { display: flex; align-items: center; gap: 9px; color: #a1a1aa; font-weight: 500; }
.post-info-key i { font-size: 0.75rem; width: 14px; text-align: center; }
.post-info-val { font-weight: 700; color: #1c1c1e; font-size: 0.83rem; }
.post-info-val.green  { color: var(--hijau-zamrud); }
.post-info-val.orange { color: var(--orange); }

.post-action-card { background: linear-gradient(145deg, #0d3320 0%, var(--hijau-zamrud) 100%); border-radius: 16px; padding: 24px 20px; text-align: center; box-shadow: 0 8px 28px rgba(20,90,50,0.22); position: relative; overflow: hidden; }
.post-action-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(46,204,113,0.18) 0%, transparent 65%); pointer-events: none; }
.post-action-card p { font-size: 0.83rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; line-height: 1.55; position: relative; z-index: 1; }
.post-action-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.83rem; font-weight: 700; text-decoration: none; transition: all 0.28s ease; position: relative; z-index: 1; }
.post-action-card-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); color: #fff; text-decoration: none; }

/* Post toast */
.post-toast { position: fixed; top: 24px; right: 24px; min-width: 310px; max-width: 380px; background: #fff; border-radius: 16px; box-shadow: 0 20px 55px rgba(0,0,0,0.12); padding: 16px 18px 20px; z-index: 9999; transform: translateX(140%) translateY(-8px); opacity: 0; transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease; overflow: hidden; border: 1px solid #f4f4f5; }
.post-toast.show { transform: translateX(0) translateY(0); opacity: 1; }
.post-toast-inner { display: flex; align-items: center; gap: 12px; }
.post-toast-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; flex-shrink: 0; }
.post-toast-icon.success { background: #edfaf3; color: var(--hijau-zamrud); border: 1.5px solid #a8f0c6; }
.post-toast-icon.danger  { background: #fef2f2; color: #dc2626; border: 1.5px solid #fecaca; }
.post-toast-icon.warning { background: #fffbeb; color: var(--orange); border: 1.5px solid #fde68a; }
.post-toast-icon.info    { background: #eff6ff; color: #3b82f6; border: 1.5px solid #bfdbfe; }
.post-toast-msg { flex: 1; font-size: 0.875rem; font-weight: 600; color: #1c1c1e; margin: 0; line-height: 1.45; }
.post-toast-close { border: none; background: transparent; font-size: 1rem; color: #a1a1aa; cursor: pointer; padding: 2px; transition: color 0.2s ease; line-height: 1; }
.post-toast-close:hover { color: #52525b; }
.post-toast-bar { position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 0 0 16px 16px; width: 100%; animation: toastProgress 3.8s linear forwards; }
.post-toast-bar.success { background: linear-gradient(90deg, var(--hijau-zamrud), #2ecc71); }
.post-toast-bar.danger  { background: linear-gradient(90deg, #dc2626, #f87171); }
.post-toast-bar.warning { background: linear-gradient(90deg, #d97706, var(--orange)); }
.post-toast-bar.info    { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }

@media (max-width: 980px) { .post-sidebar { position: static; } }
@media (max-width: 768px) {
    .post-detail-section { padding: 28px 0 72px; }
    .post-detail-header { padding: 26px 22px 22px; }
    .post-detail-body { padding: 22px; }
    .reply-content { padding-left: 0; margin-top: 10px; }
    .post-toast { left: 16px; right: 16px; min-width: unset; top: 16px; }
}

/* ==========================================================================
   FIXED NAVBAR MOBILE & DROPDOWN DESKTOP
   ============================================================================ */

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #FCA804 !important;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        padding: 80px 20px 30px !important;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 1060;
        display: block !important;
        border: 1.5px solid rgba(255,255,255,0.5) !important;
        background: transparent;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .nav-link {
        padding: 12px 16px !important;
        border-radius: 10px !important;
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn-masuk, .btn-daftar, .nav-admin-btn {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
    
    .user-pill {
        width: 100% !important;
        justify-content: flex-start;
        margin-bottom: 10px;
    }
    
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    
    .navbar-overlay.show {
        display: block;
    }
    
    .dropdown-menu {
        background: rgba(0,0,0,0.2) !important;
        border: none !important;
        padding: 8px !important;
        position: static !important;
        width: 100% !important;
        margin-top: 8px !important;
    }
    
    .dropdown-item {
        padding: 10px 16px !important;
        border-radius: 8px;
        color: rgba(255,255,255,0.9) !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
    }
}

/* Desktop styles - INI YANG PENTING untuk logout muncul */
@media (min-width: 992px) {
    /* JANGAN sembunyikan dropdown menu */
    .dropdown-menu {
        display: block;
        position: absolute;
        z-index: 99999;
        background: white;
        border-radius: 14px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.18);
        padding: 8px;
        min-width: 210px;
        margin-top: 10px;
        /* Hanya sembunyikan dengan opacity dan visibility */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.2s ease;
    }
    
    /* Saat dropdown terbuka */
    .dropdown.show .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    
    .user-pill {
        cursor: pointer;
    }
}

/* Navbar Toggler Icon */
.navbar-toggler-icon-custom {
    display: inline-block;
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.navbar-toggler-icon-custom span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    left: 0;
    transition: .25s ease-in-out;
}

.navbar-toggler-icon-custom span:nth-child(1) { top: 0px; }
.navbar-toggler-icon-custom span:nth-child(2) { top: 8px; }
.navbar-toggler-icon-custom span:nth-child(3) { top: 16px; }

/* Toggler selalu tampil sebagai 3 garis (tidak berubah jadi X saat menu terbuka) */
.navbar-toggler.show .navbar-toggler-icon-custom span:nth-child(1),
.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom span:nth-child(1) {
    top: 0px;
    transform: none;
}

.navbar-toggler.show .navbar-toggler-icon-custom span:nth-child(2),
.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom span:nth-child(2) {
    opacity: 1;
    left: 0;
}

.navbar-toggler.show .navbar-toggler-icon-custom span:nth-child(3),
.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom span:nth-child(3) {
    top: 16px;
    transform: none;
}

/* Mobile improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        transition: right 0.3s ease-in-out !important;
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }
    
    .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }
    
    .navbar-collapse::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 4px;
    }
    
    .nav-link, .btn-masuk, .btn-daftar, .nav-admin-btn, .user-pill {
        padding: 12px 16px !important;
        min-height: 48px;
    }
}

/* ==========================================================================
   RESPONSIVE — USER PAGES (index, tutorial, about, forum, merchandise)
   Perbaikan layout mobile & tablet untuk semua halaman user
   ============================================================================ */

/* ---- INDEX: Hero ---- */
@media (max-width: 991px) {
    .hero-slide { min-height: 75vh; }
    .hero-content { padding: 36px 28px; max-width: 100%; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; margin: 16px 0 28px; }
}

@media (max-width: 575px) {
    .hero-slide { min-height: 88vh; }
    .hero-content { padding: 28px 18px; border-radius: 12px; }
    .hero-title { font-size: 1.65rem; letter-spacing: 0; }
    .hero-subtitle { font-size: 0.92rem; margin: 12px 0 22px; }
    .hero-content .d-flex { flex-direction: column; align-items: stretch !important; }
    .hero-content .btn { width: 100%; justify-content: center; }
    .carousel-indicators { bottom: 10px; }
}

/* ---- INDEX: Features Section ---- */
@media (max-width: 991px) {
    .features-section { padding: 70px 0 0; }
}

@media (max-width: 575px) {
    .features-section { padding: 50px 0 0; }
    .feature-card { padding: 0; }
    .feature-card .card-body { padding: 24px 20px !important; }
    .feature-icon { font-size: 2.4rem; }
}

/* ---- INDEX: What's Inside Section ---- */
@media (max-width: 991px) {
    .whats-inside-section { padding: 80px 0; }
    .whats-box { padding: 60px 30px; border-radius: 28px; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 575px) {
    .whats-inside-section { padding: 50px 0; }
    .whats-box { padding: 40px 16px; border-radius: 20px; margin: 0 12px; }
    .section-title { font-size: 1.5rem; }
    .section-header { margin-bottom: 40px; }
    .section-header p { font-size: 0.92rem; }
    .inside-card { width: 200px; }
    .inside-card img { width: 120px; height: 120px; }
    .inside-card-img-wrap { min-height: 130px; padding: 20px 16px 8px; }
    .inside-card-body { padding: 12px 16px 20px; }
    .inside-card-body h5 { font-size: 0.95rem; }
    .inside-card-body p { font-size: 0.8rem; }
    .carousel-track { gap: 16px; }
}

/* ---- TUTORIAL PAGE ---- */
@media (max-width: 991px) {
    .tutorial-hero { padding: 70px 0 50px; }
    .tutorial-hero h1 { font-size: 2rem; }
    .video-section { padding: 60px 0; }
    .steps-section { padding: 60px 0; }
    .download-box { flex-direction: column; text-align: center; gap: 20px; padding: 28px 24px; }
    .download-box-text { text-align: center; }
    .btn-download { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
    .tutorial-hero { padding: 50px 0 36px; }
    .tutorial-hero h1 { font-size: 1.55rem; }
    .tutorial-hero h5 { font-size: 0.95rem; }
    .download-box { padding: 22px 16px; border-radius: 14px; }
    .download-box-icon { font-size: 2rem; }
    .download-box-text h3 { font-size: 1.1rem; }
    .step-card, .steps-grid > * { padding: 20px 16px; }
}

/* ---- ABOUT PAGE ---- */
@media (max-width: 991px) {
    .about-hero { padding: 70px 0 50px; }
    .about-hero h1 { font-size: 2.2rem; }
    .philosophy-section { padding: 70px 0; }
    .philosophy-card, .story-card { padding: 32px 28px; }
    .team-section { padding: 70px 0; }
    .team-card { padding: 28px 20px; }
    .contact-section { padding: 70px 0; }
}

@media (max-width: 575px) {
    .about-hero { padding: 50px 0 36px; }
    .about-hero h1 { font-size: 1.65rem; }
    .about-hero .lead { font-size: 0.95rem; }
    .philosophy-card, .story-card { padding: 24px 18px; border-radius: 16px; margin-bottom: 20px; }
    .philosophy-icon img { width: 70px; height: 70px; }
    .philosophy-title, .story-title { font-size: 1.2rem; }
    .team-card { padding: 24px 16px; }
    .team-avatar { width: 90px; height: 90px; }
    .team-name { font-size: 1rem; }
    .contact-card { padding: 28px 18px; border-radius: 18px; }
}

/* ---- FORUM PAGE ---- */
@media (max-width: 991px) {
    .forum-layout { padding: 40px 0 60px; }
    .forum-hero { padding: 60px 0 44px; }
    .forum-hero-title { font-size: 2rem; }
    .forum-post-card { padding: 22px 22px; }
}

@media (max-width: 575px) {
    .forum-hero { padding: 44px 0 32px; }
    .forum-hero-title { font-size: 1.55rem; }
    .forum-hero-subtitle { font-size: 0.92rem; }
    .forum-stat-chip { padding: 10px 14px; }
    .forum-stat-num { font-size: 1.3rem; }
    .forum-post-card { padding: 16px; }
    .post-card-title { font-size: 1rem; }
    .post-card-meta { flex-wrap: wrap; gap: 6px; font-size: 0.78rem; }
    .post-card-footer { flex-wrap: wrap; gap: 8px; }
    .forum-toolbar { flex-direction: column; gap: 12px; }
    .forum-toolbar .form-select, .forum-toolbar .form-control { width: 100%; }
    .forum-sidebar { display: none; }
}

/* ---- MERCHANDISE PAGE ---- */
@media (max-width: 991px) {
    .merch-hero { padding: 70px 0 50px; }
    .merch-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .hero-stats-row { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .merch-filter-inner { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 575px) {
    .merch-hero { padding: 44px 0 32px; }
    .merch-hero-title { font-size: 1.55rem !important; }
    .merch-hero-desc { font-size: 0.92rem; }
    .hero-stats-row { gap: 6px; }
    .hero-stat-item { padding: 10px 14px; }
    .hero-stat-num { font-size: 1.5rem !important; }
    .merch-products-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .merch-card { border-radius: 16px; }
    .merch-card-img-wrap { height: 200px; }
    .merch-card-body { padding: 18px 16px; }
    .merch-card-title { font-size: 1rem; }
    .merch-btn-order { width: 100%; justify-content: center; }
    .merch-card-action { flex-direction: column; }
    .merch-toast { left: 12px; right: 12px; min-width: unset; bottom: 12px; top: auto; }
    .modal-content { margin: 12px; border-radius: 18px; max-height: calc(100vh - 24px); overflow-y: auto; }
    .merch-filter-inner { gap: 6px; }
    .merch-filter-btn { padding: 8px 14px; font-size: 0.82rem; }
    .merch-filter-strip { padding: 16px 0; }
}

/* ---- GENERAL: Footer responsive ---- */
@media (max-width: 575px) {
    .footer { padding: 50px 0 24px; }
    .footer h4 { font-size: 1.15rem; }
    .footer .col-md-4 { margin-bottom: 24px !important; }
    .footer-social a { font-size: 1.2rem; margin: 0 8px; }
}

/* ---- GENERAL: Section titles on small screens ---- */
@media (max-width: 575px) {
    .section-header h2, .team-section-header h2,
    .contact-section-header h2, .video-section h2 { font-size: 1.65rem; }
    .video-section { padding: 50px 0; }
}
