/* ══════════════════════════════════════════════════════════════ */
/*  💙🖤 SKILLFORGE ACADEMY – STYLE.CSS  │  BLUE × BLACK EDITION  */
/*  Tema: Biru Gelap Mewah × Hitam Elegan × Teks Putih Kristal  */
/* ══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ─── TOKENS ────────────────────────────────────────────────── */
:root {
    /* fonts */
    --font-primary:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-display:  'Space Grotesk',     'Plus Jakarta Sans', sans-serif;
    --font-icons:    'Material Symbols Outlined', sans-serif;

    /* backgrounds – near-black charcoal stack */
    --bg-primary:    #03060f;
    --bg-secondary:  #060c1a;
    --bg-tertiary:   #0a1428;
    --bg-card:       #070e1e;
    --bg-hover:      #101d35;

    /* text */
    --text-primary:   #f0f6ff;
    --text-secondary: #a8bcdc;
    --text-tertiary:  #5a7aaa;
    --text-inverse:   #f0f6ff;

    /* blue palette */
    --red-100: #e8f0ff;
    --red-200: #bdd3ff;
    --red-400: #60a5fa;
    --red-500: #3b82f6;
    --red-600: #2563eb;
    --red-700: #1d4ed8;
    --red-800: #e8f0ff;
    --red-900: #f0f6ff;

    /* accent aliases */
    --accent-primary:       #3b82f6;
    --accent-primary-hover: #2563eb;
    --accent-secondary:     #60a5fa;
    --accent-warm:          #93c5fd;
    --accent-dim:           #1d4ed8;
    --accent-pink:          #bfdbfe;
    --accent-green:         #22c55e;
    --accent-yellow:        #fbbf24;
    --accent-red:           #3b82f6;

    /* gradients */
    --gradient-hero:  linear-gradient(135deg, #3b82f6 0%, #1d4ed8 45%, #1e3a8a 100%);
    --gradient-cta:   linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    --gradient-promo: linear-gradient(135deg, #000814 0%, #0f2d6e 50%, #3b82f6 100%);
    --gradient-glow:  radial-gradient(circle at 50% 0%, rgba(59,130,246,.22) 0%, transparent 68%);
    --gradient-card:  linear-gradient(160deg, #080f20 0%, #070e1e 100%);

    /* borders */
    --border-color: rgba(59, 130, 246, 0.22);
    --border-light: rgba(59, 130, 246, 0.10);
    --border-glow:  rgba(59, 130, 246, 0.50);

    /* shadows */
    --shadow-sm:        0 1px 4px rgba(0,0,0,.65), 0 0 0 1px rgba(59,130,246,.06);
    --shadow-md:        0 4px 20px rgba(0,0,0,.70), 0 0 12px rgba(59,130,246,.08);
    --shadow-lg:        0 12px 44px rgba(0,0,0,.75), 0 0 24px rgba(59,130,246,.12);
    --shadow-xl:        0 24px 64px rgba(0,0,0,.88), 0 0 60px rgba(59,130,246,.20);
    --shadow-card-hover:0 20px 52px rgba(0,0,0,.78), 0 0 44px rgba(59,130,246,.28);
    --shadow-glow:      0 0 40px rgba(59,130,246,.45);

    /* radii */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* easing */
    --ease-out:    cubic-bezier(0.22,1,0.36,1);
    --ease-spring: cubic-bezier(0.34,1.56,0.64,1);

    /* transitions */
    --transition-fast:   0.15s var(--ease-out);
    --transition-smooth: 0.30s var(--ease-out);
    --transition-bounce: 0.50s var(--ease-spring);

    /* shimmer tones */
    --shimmer-1: #0a1428;
    --shimmer-2: #102040;
}

/* ─── DARK VARIANT ──────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-primary:   #020508;
    --bg-secondary: #050b16;
    --bg-tertiary:  #08101f;
    --bg-card:      #060c1a;
    --bg-hover:     #0d1830;

    --border-color: rgba(59, 130, 246, 0.26);
    --border-light: rgba(59, 130, 246, 0.13);

    --shadow-xl:         0 24px 64px rgba(0,0,0,.95), 0 0 72px rgba(59,130,246,.26);
    --shadow-card-hover: 0 24px 56px rgba(0,0,0,.85), 0 0 52px rgba(59,130,246,.34);

    --shimmer-1: #0d1830;
    --shimmer-2: #152a50;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ─── MATERIAL ICONS ────────────────────────────────────────── */
.material-symbols-outlined, .icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal; font-style: normal;
    font-size: 24px; line-height: 1;
    display: inline-block; white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.icon { font-size: 1.15rem; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--red-700); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ─── SELECTION ─────────────────────────────────────────────── */
::selection { background: rgba(59,130,246,.35); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   PROMO BAR
══════════════════════════════════════════════════════════════ */
.promo-bar {
    background: var(--gradient-promo);
    color: white;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 16px rgba(59,130,246,.35), 0 0 40px rgba(59,130,246,.15);
    border-bottom: 1px solid rgba(59,130,246,.25);
    background-size: 200% 100%;
    animation: promoPulse 6s ease-in-out infinite;
}
@keyframes promoPulse {
    0%,100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.promo-bar .promo-label {
    background: rgba(255,255,255,.15);
    padding: .28rem .85rem;
    border-radius: var(--radius-full);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    display: flex; align-items: center; gap: .3rem;
    border: 1px solid rgba(255,255,255,.18);
}
.promo-bar .countdown-timer {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    background: rgba(0,0,0,.28);
    padding: .35rem 1.1rem;
    border-radius: var(--radius-full);
    letter-spacing: .06em;
    min-width: 132px;
    display: inline-block;
    text-align: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(59,130,246,.3);
    box-shadow: 0 0 20px rgba(59,130,246,.2);
}
.promo-bar .promo-code {
    background: white;
    color: var(--red-700);
    padding: .32rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: .04em;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px dashed var(--red-500);
    white-space: nowrap;
}
.promo-bar .promo-code:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(59,130,246,.4);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(3,6,15,.85);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: all var(--transition-smooth);
    padding: 0 1.5rem;
}
.navbar.scrolled {
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(59,130,246,.08);
}
.navbar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-cta);
    opacity: .7;
}
.navbar-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 1.5rem;
}
.nav-brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.45rem;
    color: var(--text-primary);
    letter-spacing: -.04em;
    flex-shrink: 0;
}
.nav-brand .logo-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-hero);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(59,130,246,.4);
}
.nav-search { flex: 1; max-width: 420px; position: relative; }
.nav-search input {
    width: 100%;
    padding: .72rem 1rem .72rem 2.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: .9rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: all var(--transition-smooth);
    outline: none;
}
.nav-search input::placeholder { color: var(--text-tertiary); }
.nav-search input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59,130,246,.15), 0 0 20px rgba(59,130,246,.10);
    background: var(--bg-hover);
}
.nav-search .search-icon {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--text-tertiary); pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-btn {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}
.nav-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 18px rgba(59,130,246,.25);
}
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--red-600);
    color: white;
    font-size: .7rem; font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-secondary);
    transition: transform var(--transition-bounce);
    box-shadow: 0 0 10px rgba(59,130,246,.5);
}
.cart-badge.bump { animation: badgeBump .4s ease-out; }
@keyframes badgeBump {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.45); }
}
.theme-toggle {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}
.theme-toggle:hover {
    background: var(--bg-hover);
    transform: rotate(22deg);
    border-color: var(--accent-primary);
    box-shadow: 0 0 16px rgba(59,130,246,.22);
}
.nav-register-btn {
    height: 42px; padding: 0 20px;
    border-radius: var(--radius-full);
    background: var(--gradient-cta);
    color: white;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    font-size: .85rem; font-weight: 800;
    border: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(59,130,246,.30), 0 0 0 0 rgba(59,130,246,.4);
    letter-spacing: -.01em;
}
.nav-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,130,246,.45), 0 0 32px rgba(59,130,246,.18);
    filter: brightness(1.08);
}
.nav-register-btn .material-symbols-outlined,
.nav-register-btn .icon { font-size: 1.1rem; }

/* logo shimmer */
.logo-shimmer-wrap {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 150px; height: 46px;
    overflow: hidden;
    border-radius: 10px;
}
.nav-logo-img {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
    position: relative; z-index: 1;
    transition: transform .35s ease, filter .35s ease;
}
.logo-shimmer-wrap::after {
    content: '';
    position: absolute; top: 0; left: -120%;
    width: 70%; height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(96,165,250,.12) 45%,
        rgba(147,197,253,.32) 50%,
        rgba(96,165,250,.12) 55%,
        transparent 100%);
    transform: skewX(-20deg);
    animation: logoShimmer 2.8s infinite;
    z-index: 2; pointer-events: none;
}
@keyframes logoShimmer {
    0%   { left: -120%; }
    55%  { left: 140%;  }
    100% { left: 140%;  }
}
.logo-shimmer-wrap:hover .nav-logo-img { transform: scale(1.04); }

/* ══════════════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════════════ */
.marquee-section {
    padding: 1rem 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 120px;
    z-index: 2; pointer-events: none;
}
.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}
.marquee-row {
    display: flex; width: max-content; gap: 0;
    align-items: center; padding: .5rem 0;
    user-select: none;
}
.marquee-row.row-rtl { animation: marqueeRTL 28s linear infinite; }
.marquee-row.row-ltr { animation: marqueeLTR 28s linear infinite; }
@keyframes marqueeRTL { 0% { transform:translateX(0); }    100% { transform:translateX(-50%); } }
@keyframes marqueeLTR { 0% { transform:translateX(-50%); } 100% { transform:translateX(0); } }
.marquee-row:hover { animation-play-state: paused; }
.marquee-item {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem 1.3rem; margin: 0 .4rem;
    border-radius: var(--radius-full);
    font-weight: 600; font-size: .88rem;
    white-space: nowrap; letter-spacing: -.01em;
    transition: all var(--transition-fast);
    cursor: default; flex-shrink: 0;
}
.marquee-row.row-rtl .marquee-item {
    background: var(--bg-tertiary); color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}
.marquee-row.row-rtl .marquee-item:nth-child(odd) {
    background: rgba(59,130,246,.08);
    border-color: rgba(59,130,246,.25);
    color: var(--accent-primary);
}
.marquee-row.row-ltr .marquee-item {
    background: var(--bg-tertiary); color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}
.marquee-row.row-ltr .marquee-item:nth-child(even) {
    background: rgba(29,78,216,.10);
    border-color: rgba(29,78,216,.28);
    color: var(--red-400);
}
.marquee-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.row-rtl .marquee-dot { background: var(--accent-primary); box-shadow: 0 0 6px var(--accent-primary); }
.row-ltr .marquee-dot { background: var(--red-400);       box-shadow: 0 0 6px var(--red-400); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
    max-width: 1320px; margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; top: -80px; left: -80px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0%   { opacity: .5; transform: scale(1); }
    100% { opacity: 1;  transform: scale(1.12); }
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -.04em;
    margin-bottom: 1.2rem;
}
.hero-content h1 .gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(59,130,246,.5));
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.72;
}
.hero-stats { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-stat .stat-number {
    font-family: var(--font-display);
    font-size: 1.9rem; font-weight: 900;
    color: var(--accent-primary);
    text-shadow: 0 0 28px rgba(59,130,246,.45);
}
.hero-stat .stat-label { font-size: .85rem; color: var(--text-tertiary); }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .88rem 1.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary); font-weight: 700;
    font-size: .95rem; cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none; white-space: nowrap;
    letter-spacing: -.01em;
}
.btn-primary {
    background: var(--gradient-cta);
    color: white;
    box-shadow: var(--shadow-xl);
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    transform: translateX(-100%);
    transition: transform .6s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(59,130,246,.08);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(59,130,246,.12);
}
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-illustration.hero-image-wrap {
    position: relative;
    width: 100%; max-width: 520px;
    aspect-ratio: 1/1; padding: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 30% 20%, rgba(96,165,250,.18), transparent 30%),
        linear-gradient(135deg, #000814 0%, #0f2d6e 45%, #3b82f6 100%);
    box-shadow: var(--shadow-xl), 0 0 80px rgba(59,130,246,.25);
    display: flex; align-items: center; justify-content: center;
}
.hero-image {
    width: 100%; height: 100%;
    object-fit: fill; object-position: center;
    display: block; position: relative; z-index: 1;
    transition: transform .55s ease, filter .55s ease;
}
.hero-illustration.hero-image-wrap:hover .hero-image {
    transform: scale(1.05);
    filter: brightness(1.08) saturate(1.14);
}
.hero-illustration.hero-image-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(96,165,250,.06), transparent 35%),
        radial-gradient(circle at center, rgba(59,130,246,.14), transparent 60%);
    pointer-events: none; z-index: 2;
}
.hero-illustration.hero-image-wrap::after {
    content: '';
    position: absolute; top: 0; left: -140%; width: 70%; height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(96,165,250,.10) 35%,
        rgba(59,130,246,.40) 50%,
        rgba(96,165,250,.10) 65%,
        transparent 100%);
    transform: skewX(-22deg);
    animation: heroImageShimmer 3s infinite;
    pointer-events: none; z-index: 3;
}
@keyframes heroImageShimmer {
    0%   { left: -140%; }
    55%  { left: 145%;  }
    100% { left: 145%;  }
}
.hero-illustration {
    max-width: 520px; aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    background: var(--gradient-hero);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-illustration .hero-icon {
    font-size: clamp(5rem,12vw,10rem);
    color: white; position: relative; z-index: 1;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(-18px); }
}
.floating-badge {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: .75rem 1.2rem;
    font-weight: 700; font-size: .85rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    display: flex; align-items: center; gap: .5rem;
    animation: floatBadge 4s ease-in-out infinite;
    color: var(--text-primary);
}
.floating-badge.top-right  { top: 10%; right: 8%; animation-delay: .5s; }
.floating-badge.bottom-left{ bottom: 12%; left: 6%; animation-delay: 1.5s; }
@keyframes floatBadge {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(-10px); }
}
.badge-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #00d26a;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%,100% { box-shadow:0 0 0 0 rgba(0,210,106,.4); }
    50% { box-shadow:0 0 0 10px rgba(0,210,106,0); }
}

/* ══════════════════════════════════════════════════════════════
   SECTION HELPERS
══════════════════════════════════════════════════════════════ */
.section-container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.container         { max-width: 1320px; margin: 0 auto; padding: 0 28px; width: 100%; }
.text-center       { text-align: center; }
.mx-auto           { margin-left: auto; margin-right: auto; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 900; letter-spacing: -.04em;
    color: var(--text-primary);
    display: flex; align-items: center; gap: .5rem;
    line-height: 1.15;
    margin: 0 0 14px;
}
.section-subtitle {
    max-width: 760px; font-size: 1rem;
    line-height: 1.75; color: rgba(168,188,220,.92);
}
.section-label {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 7px 14px; margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(59,130,246,.10);
    border: 1px solid rgba(59,130,246,.28);
    color: var(--accent-primary);
    font-size: .78rem; font-weight: 800;
    letter-spacing: .07em; text-transform: uppercase;
    box-shadow: 0 0 18px rgba(59,130,246,.10);
}
.section-label .icon { font-size: 1rem; color: var(--accent-primary); }
.category-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.category-chip {
    padding: .55rem 1.2rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-primary); font-weight: 500; font-size: .85rem;
    transition: all var(--transition-fast); white-space: nowrap;
    display: flex; align-items: center; gap: .3rem;
}
.category-chip:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(59,130,246,.08);
    box-shadow: 0 0 14px rgba(59,130,246,.12);
}
.category-chip.active {
    background: var(--gradient-cta);
    color: white; border-color: transparent;
    box-shadow: 0 4px 18px rgba(59,130,246,.35);
}

/* ══════════════════════════════════════════════════════════════
   COURSE / GAME CARDS
══════════════════════════════════════════════════════════════ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem; padding-bottom: 1.5rem;
}
.course-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    cursor: pointer;
    display: flex; flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.course-card:hover {
    transform: translateY(-8px) scale(1.012);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(59,130,246,.45);
}
.card-image-wrapper {
    position: relative; width: 100%; aspect-ratio: 16/10;
    overflow: hidden; background: var(--shimmer-1);
    border-bottom: 1px solid rgba(59,130,246,.16);
}
.card-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: contain; padding: 28px;
    background:
        radial-gradient(circle at center, rgba(59,130,246,.08), transparent 55%),
        #070e1e;
    display: block;
    transition: transform .55s ease, filter .55s ease, opacity .5s ease;
    opacity: 0; position: relative; z-index: 1;
}
.card-image-wrapper img.loaded { opacity: 1; }
.course-card:hover .card-image-wrapper img.loaded {
    transform: scale(1.07);
    filter: brightness(1.08) saturate(1.12);
}
.course-card:hover .card-image-wrapper {
    box-shadow: inset 0 0 40px rgba(59,130,246,.12);
}
.shimmer-placeholder {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--shimmer-1) 0%, var(--shimmer-2) 40%, var(--shimmer-1) 70%);
    background-size: 200% 100%;
    animation: shimmerSlide 1.6s ease-in-out infinite;
    z-index: 2; pointer-events: none;
    transition: opacity .5s ease-out;
}
.shimmer-placeholder.fade-out { opacity: 0; pointer-events: auto; }
@keyframes shimmerSlide {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.card-image-wrapper::after {
    content: '';
    position: absolute; top: 0; left: -140%;
    width: 70%; height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(59,130,246,.08) 35%,
        rgba(59,130,246,.32) 50%,
        rgba(59,130,246,.08) 65%,
        transparent 100%);
    transform: skewX(-22deg);
    animation: globalImageShimmer 3s infinite;
    pointer-events: none; z-index: 5;
}
.course-card:nth-child(2n) .card-image-wrapper::after { animation-delay: .4s; }
.course-card:nth-child(3n) .card-image-wrapper::after { animation-delay: .8s; }
.course-card:nth-child(4n) .card-image-wrapper::after { animation-delay: 1.2s; }
@keyframes globalImageShimmer {
    0%   { left: -140%; }
    55%  { left: 145%;  }
    100% { left: 145%;  }
}
.card-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    padding: .3rem .8rem; border-radius: var(--radius-full);
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; gap: .25rem;
}
.badge-best    { background: rgba(59,130,246,.90); color: white; }
.badge-new     { background: rgba(29,78,216,.88); color: white; }
.badge-popular { background: rgba(15,40,100,.92); color: var(--red-200); }
.card-body {
    padding: 1.2rem 1.3rem; flex: 1;
    display: flex; flex-direction: column; gap: .6rem;
}
.card-category-label {
    font-size: .75rem; font-weight: 700;
    color: var(--accent-primary); text-transform: uppercase; letter-spacing: .05em;
}
.card-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    line-height: 1.35; color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
    display: flex; align-items: center; gap: .8rem;
    font-size: .8rem; color: var(--text-tertiary); flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: .25rem; }
.card-rating { display: flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--accent-yellow); }
.card-footer {
    padding: .9rem 1.3rem;
    border-top: 1px solid rgba(59,130,246,.10);
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.card-price {
    font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
    color: var(--accent-primary);
    text-shadow: 0 0 14px rgba(59,130,246,.28);
}
.card-price .original {
    text-decoration: line-through; color: var(--text-tertiary);
    font-weight: 400; font-size: .78rem; margin-right: .4rem;
}
.add-to-cart-btn {
    padding: .58rem 1.15rem;
    border-radius: var(--radius-full); border: none;
    background: var(--gradient-cta);
    color: white;
    cursor: pointer; font-weight: 800; font-size: .82rem;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    display: flex; align-items: center; gap: .35rem;
    white-space: nowrap; text-decoration: none; justify-content: center;
    box-shadow: 0 4px 14px rgba(59,130,246,.28);
}
.add-to-cart-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(59,130,246,.45);
}
.add-to-cart-btn.added { background: #00d26a; pointer-events: none; box-shadow: 0 4px 14px rgba(0,210,106,.3); }
.winrate-bar {
    width: 100%; height: 7px;
    background: rgba(255,255,255,.07);
    border-radius: 999px; overflow: hidden;
    margin-top: 6px;
}
.winrate-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--red-700), var(--red-400), var(--accent-warm));
    box-shadow: 0 0 14px rgba(59,130,246,.35);
}

/* ─── TOMBOL LOAD MORE ──────────────────────────────────── */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}
.btn-load-more {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.01em;
}
.btn-load-more:hover {
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}
.btn-load-more:active { transform: scale(0.98); }
.btn-load-more .material-symbols-outlined {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}
.btn-load-more:hover .material-symbols-outlined { transform: translateY(2px); }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials-section {
    padding: 3rem 0 2rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: .5;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
    gap: 1.3rem;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex; flex-direction: column; gap: .8rem;
    position: relative; overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute; top: -8px; right: 16px;
    font-family: var(--font-display); font-size: 6rem;
    color: rgba(59,130,246,.06); line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59,130,246,.3);
}
.testimonial-header { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-hero);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0; font-family: var(--font-display);
    box-shadow: 0 0 18px rgba(59,130,246,.3);
    position: relative; overflow: hidden;
}
.testimonial-info .testimonial-name { font-weight: 700; font-size: .95rem; color: var(--text-primary); }
.testimonial-info .testimonial-course { font-size: .78rem; color: var(--accent-primary); font-weight: 600; }
.testimonial-stars { color: var(--accent-yellow); font-size: .9rem; letter-spacing: .05em; }
.testimonial-text { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; font-style: italic; }
.testimonial-time { font-size: .75rem; color: var(--text-tertiary); display: flex; align-items: center; gap: .25rem; }

/* ══════════════════════════════════════════════════════════════
   POPUP NOTIFICATION — Drop from top
══════════════════════════════════════════════════════════════ */

.popup-notification {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    padding-top: 80px; /* turun tepat di bawah navbar (68px) + sedikit gap */
}

/* HAPUS: background overlay, backdrop-filter, opacity fade, inset */
/* Tidak ada lagi background gelap yang nutupin layar */

.popup-notification .popup-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    max-width: 400px; width: calc(100% - 2rem);
    position: relative;
    box-shadow:
        var(--shadow-xl),
        0 0 40px rgba(59, 130, 246, 0.18);
    display: flex; flex-direction: column;
    align-items: center; gap: .75rem;

    /* Animasi: mulai dari atas, tersembunyi */
    transform: translateY(-120%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
}

/* Garis aksen atas */
.popup-notification .popup-content::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #3b82f6);
    background-size: 200% 100%;
    animation: accentFlow 3s linear infinite;
}

@keyframes accentFlow {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* State aktif — turun masuk */
.popup-notification.show .popup-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Animasi keluar — naik kembali */
.popup-notification.hide .popup-content {
    transform: translateY(-110%) scale(0.95);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.55, 0, 1, 0.45),
        opacity 0.25s ease;
}

/* ── Tombol tutup ── */
.popup-close-notif {
    position: absolute; top: 10px; right: 12px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 13px;
    color: var(--text-tertiary);
    transition: all 0.2s ease;
    line-height: 1; padding: 0;
}
.popup-close-notif:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

/* ── Ikon ── */
.popup-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gradient-cta);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
    position: relative; overflow: hidden;
    flex-shrink: 0;
}

/* ── Info teks ── */
.popup-info { text-align: center; width: 100%; }

.popup-customer {
    font-weight: 700; font-size: .95rem;
    color: var(--text-primary);
    display: flex; align-items: center;
    justify-content: center; gap: .3rem;
}

.popup-item {
    font-size: .85rem;
    color: var(--text-secondary);
    margin: .3rem 0;
    line-height: 1.5;
}

.popup-time {
    font-size: .75rem; color: var(--text-tertiary);
    display: flex; align-items: center;
    justify-content: center; gap: .2rem;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .popup-notification {
        padding-top: 70px; /* navbar mobile lebih pendek (60px) */
    }
    .popup-notification .popup-content {
        padding: 1.25rem 1.25rem;
        border-radius: var(--radius-md);
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .popup-notification .popup-content,
    .popup-notification.hide .popup-content {
        transition: opacity 0.2s ease;
        transform: none;
    }
}
/* ══════════════════════════════════════════════════════════════
   PORTFOLIO / PROVIDER GRID
══════════════════════════════════════════════════════════════ */
#portofolio { padding: 60px 0 48px; }
#portofolio .text-center { max-width: 860px; margin: 0 auto; }
#portofolio .section-title {
    background: linear-gradient(135deg, #e8f4ff, #3b82f6, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block !important; width: 100%;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important; margin-right: auto !important;
}
#portofolio .section-subtitle { color: rgba(234,244,255,.72); }
.portfolio-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 14px; margin-top: 36px;
}
.portfolio-slide {
    position: relative; overflow: hidden;
    border-radius: 14px; aspect-ratio: 4/3;
    background: #070e1e; cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 1px rgba(59,130,246,.10);
    border: 1px solid rgba(59,130,246,.14);
    opacity: 0; transform: translateY(18px);
    animation: fadeInUp .45s ease forwards;
    animation-delay: calc(var(--i) * .05s);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.portfolio-slide:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 30px rgba(59,130,246,.25);
    border-color: rgba(59,130,246,.4);
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.portfolio-slide img {
    width: 100%; height: 100%; object-fit: fill; display: block;
    transition: transform .4s ease, filter .4s ease;
    background: #060c1a;
}
.portfolio-slide:hover img { transform: scale(1.05); filter: brightness(1.08) saturate(1.12); }
.portfolio-slide::after {
    content: '';
    position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(59,130,246,.09) 35%,
        rgba(59,130,246,.30) 50%,
        rgba(59,130,246,.09) 65%,
        transparent 100%);
    transform: skewX(-22deg);
    animation: shimmer 3s infinite;
    animation-delay: calc(var(--i) * .22s);
    pointer-events: none; z-index: 3;
}
@keyframes shimmer { 0% { left:-120%; } 55% { left:145%; } 100% { left:145%; } }
.portfolio-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 12px 12px;
    background: linear-gradient(to top, rgba(2,5,15,.95) 0%, rgba(2,5,15,.55) 50%, transparent 100%);
    color: #fff;
    transform: translateY(10px); opacity: 0;
    transition: all .3s ease; z-index: 2;
}
.portfolio-slide:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-tag {
    display: inline-block;
    background: var(--gradient-cta);
    color: white;
    font-size: .58rem; font-weight: 800;
    padding: 3px 8px; border-radius: 999px;
    margin-bottom: 5px;
    letter-spacing: .04em; text-transform: uppercase;
}
.portfolio-overlay p { font-size: .68rem; line-height: 1.3; margin: 0; color: rgba(220,235,255,.9); }

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.4rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.product-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(59, 130, 246, 0.04) 40%,
        rgba(59, 130, 246, 0.09) 50%,
        rgba(59, 130, 246, 0.04) 60%,
        transparent 100%
    );
    background-size: 250% 250%;
    background-position: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.6s ease;
    z-index: 0; pointer-events: none;
}
.product-card::after {
    content: '';
    position: absolute; inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0) 0%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0) 100%
    );
    background-size: 200% 200%;
    background-position: 200% 200%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease, background-position 0.6s ease;
    pointer-events: none;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-card-hover),
                0 0 40px rgba(59, 130, 246, 0.12),
                0 0 80px rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.5);
}
.product-card:hover::before { opacity: 1; background-position: 0% 0%; }
.product-card:hover::after  { opacity: 1; background-position: 0% 0%; }
.product-card > * { position: relative; z-index: 1; }
.product-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    background: var(--gradient-cta);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.25),
        0 0 28px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.product-card:hover .product-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.35),
        0 0 36px rgba(59, 130, 246, 0.55),
        0 0 80px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.product-card h3 {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    color: var(--text-primary); margin: 0; letter-spacing: -0.01em;
}
.product-card p {
    font-size: 0.85rem; color: var(--text-secondary);
    text-align: center; line-height: 1.5; margin: 0;
}
.product-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--text-tertiary); }
.product-meta span { display: flex; align-items: center; gap: 0.3rem; }
.btn-product {
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    background: var(--gradient-cta);
    color: white; font-weight: 700;
    text-decoration: none; font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 4px 16px rgba(59, 130, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative; overflow: hidden;
}
.btn-product::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
    border-radius: inherit; pointer-events: none;
}
.btn-product:hover {
    filter: brightness(1.12);
    transform: scale(1.05) translateY(-1px);
    box-shadow:
        0 8px 28px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-product:active { transform: scale(0.98) translateY(0); }

/* ══════════════════════════════════════════════════════════════
   MERCHANT SECTION
══════════════════════════════════════════════════════════════ */
#merchants .section-title { color: var(--text-primary); }
#merchants .section-title .material-symbols-outlined { color: var(--accent-primary); }
.merchant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  justify-items: center;
}
.merchant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem 0.75rem;
  width: 100%; max-width: 160px;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.merchant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(59, 130, 246, 0.15);
  border-color: var(--accent-primary);
}
.merchant-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: background 0.2s;
  background: #ffff;
}
.merchant-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.merchant-card h4 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-primary);
  margin: 0; text-align: center; line-height: 1.3; word-break: break-word;
}
@media (max-width: 640px) {
  .merchant-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  #merchants .section-title { font-size: 1.5rem; }
}
@media (max-width: 400px) {
  .merchant-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   EVENT CARDS
══════════════════════════════════════════════════════════════ */
.events-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 1.25rem;
    position: relative; overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease, box-shadow 0.3s ease;
}
.event-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--gradient-cta);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    opacity: 0; transition: opacity 0.3s ease;
}
.event-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(
        ellipse 60% 80% at -10% 50%,
        rgba(59, 130, 246, 0.06) 0%,
        transparent 70%
    );
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.event-card:hover {
    transform: translateX(4px) translateY(-3px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.1);
}
.event-card:hover::before { opacity: 1; }
.event-card:hover::after  { opacity: 1; }
.event-card > * { position: relative; z-index: 1; }
.event-date {
    background: var(--gradient-promo);
    color: white;
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    text-align: center;
    font-weight: 700; font-family: var(--font-display);
    min-width: 82px;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 0 24px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.event-card:hover .event-date {
    transform: scale(1.04) rotate(-1deg);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.3),
        0 0 32px rgba(59, 130, 246, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.event-date .date-number { font-size: 2rem; line-height: 1; display: block; }
.event-date .date-month {
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.08em; opacity: 0.9; display: block;
}
.event-info h3 {
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
    color: var(--text-primary); margin: 0 0 0.4rem; letter-spacing: -0.01em;
}
.event-info p {
    font-size: 0.85rem; color: var(--text-secondary);
    margin: 0 0 0.6rem; line-height: 1.5;
}
.event-prize {
    font-size: 0.82rem; font-weight: 700;
    color: var(--accent-primary);
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 1.5rem 2rem;
    position: relative; overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 500px; max-width: 90vw; height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.3) 20%,
        rgba(59, 130, 246, 0.8) 50%,
        rgba(59, 130, 246, 0.3) 80%,
        transparent 100%
    );
}
.site-footer::after {
    content: '';
    position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 300px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 65%);
    pointer-events: none;
}
.footer-inner {
    max-width: 1320px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; position: relative; z-index: 1;
}
.footer-col h4 {
    font-family: var(--font-display); font-weight: 700;
    margin-bottom: 1.1rem; font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.02em; text-transform: uppercase;
}
.footer-col a {
    display: block; color: var(--text-tertiary);
    text-decoration: none; font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
    position: relative;
}
.footer-col a::before {
    content: '';
    position: absolute; left: -12px; top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 6px; height: 1.5px;
    background: var(--accent-primary);
    transform-origin: left center;
    transition: transform 0.25s ease;
}
.footer-col a:hover {
    color: var(--accent-primary);
    padding-left: 12px;
    text-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}
.footer-col a:hover::before { transform: translateY(-50%) scaleX(1); }
.footer-bottom {
    max-width: 1320px; margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center; color: var(--text-tertiary);
    font-size: 0.82rem; position: relative; z-index: 1; line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   HERO BANNER SECTION — Premium Edition
══════════════════════════════════════════════════════════════ */

/* ── Container ── */
.hero-banner {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ── Wrapper dengan glow border ── */
.banner-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(99, 179, 237, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(59, 130, 246, 0.08);
  background: var(--bg-tertiary);
}

/* Glow border animasi */
.banner-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(99, 179, 237, 0.5),
    rgba(139, 92, 246, 0.3),
    rgba(59, 130, 246, 0.5),
    rgba(16, 185, 129, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 20;
  pointer-events: none;
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
}

@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Carousel ── */
.banner-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

/* ── Slide ── */
/* ── Slide ── */
.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HAPUS scale & Ken Burns — pakai object-fit: fill seperti aslinya */
.banner-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: fill;
  z-index: 0;
  filter: saturate(1.15) contrast(1.05);
}

.banner-slide.active img {
  transform: scale(1);
}

/* ── Overlay dengan lapisan ganda ── */
.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(2, 5, 20, 0.92) 0%,
      rgba(2, 5, 20, 0.55) 55%,
      rgba(2, 5, 20, 0.08) 100%),
    linear-gradient(0deg,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 60%);
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem;
}

/* Shimmer sweep di atas overlay */
.banner-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 60%);
  background-size: 200% 100%;
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Teks ── */
.banner-text {
  max-width: 540px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

/* Aksen garis dekoratif di atas judul */
.banner-text::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}

.banner-text h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(59, 130, 246, 0.25);
  letter-spacing: -0.02em;
}

.banner-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ── CTA Button ── */
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 6px 24px rgba(59, 130, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Shine sweep di tombol saat hover */
.banner-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
  transition: left 0.4s ease;
}

.banner-btn:hover::before {
  left: 100%;
}

.banner-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 36px rgba(59, 130, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
}

.banner-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ── Arrow Navigasi ── */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 20, 40, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 179, 237, 0.2);
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.banner-arrow:hover {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-color: transparent;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.25),
    0 8px 28px rgba(59, 130, 246, 0.5);
}

.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }
.banner-arrow .material-symbols-outlined {
  font-size: 26px;
  font-weight: 600;
}

/* ── Dots Indikator ── */
.banner-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 0 transparent;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.25);
}

/* Dot aktif berubah jadi kapsul */
.banner-dot.active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, #60a5fa, #818cf8);
  box-shadow:
    0 0 10px rgba(96, 165, 250, 0.6),
    0 0 20px rgba(96, 165, 250, 0.3);
}

/* ── Responsive: Tablet ── */
@media (max-width: 768px) {
  .banner-slide       { min-height: 260px; }
  .banner-overlay     { padding: 1.75rem; }
  .banner-text h2     { font-size: 1.9rem; }
  .banner-text p      { font-size: 1rem; margin-bottom: 1.5rem; }
  .banner-btn         { padding: 0.75rem 1.8rem; font-size: 0.95rem; }
  .banner-arrow       { width: 40px; height: 40px; }
  .banner-arrow .material-symbols-outlined { font-size: 22px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 480px) {
  .banner-slide { min-height: 220px; }

  .banner-overlay {
    background:
      linear-gradient(0deg, rgba(2,5,20,0.95) 0%, rgba(2,5,20,0.3) 70%, transparent 100%),
      linear-gradient(0deg, rgba(59,130,246,0.1) 0%, transparent 40%);
    align-items: flex-end;
    padding: 1.5rem 1.25rem;
  }

  .banner-text {
    max-width: 100%;
    text-align: center;
  }

  .banner-text::before {
    margin-left: auto;
    margin-right: auto;
  }

  .banner-text h2   { font-size: 1.55rem; letter-spacing: -0.01em; }
  .banner-text p    { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .banner-btn       { padding: 0.7rem 1.6rem; font-size: 0.9rem; }

  .banner-arrow     { width: 34px; height: 34px; }
  .banner-arrow .material-symbols-outlined { font-size: 20px; }
}

/* ── Aksesibilitas & performa ── */
@media (prefers-reduced-motion: reduce) {
  .banner-wrapper::before,
  .banner-overlay::after,
  .banner-slide img {
    animation: none;
    transition: none;
  }
}
/* ══════════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════════ */
#faqSection { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
.section-head h3 {
  font-size: 1.8rem; font-weight: 700;
  color: var(--text-primary);
  display: flex; align-items: center; margin-bottom: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item:hover { border-color: var(--accent-primary); }
.faq-item.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}
.faq-question {
  width: 100%; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; background: transparent; border: none;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-primary); text-align: left; cursor: pointer;
  transition: color 0.2s; font-family: inherit;
}
.faq-item.active .faq-question { color: var(--accent-primary); }
.faq-icon {
  font-size: 1.8rem; font-weight: 700;
  transition: transform 0.35s ease;
  color: var(--text-tertiary); flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--accent-primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 0 1.5rem 1.5rem; }
@media (max-width: 600px) {
  .faq-question { padding: 1rem 1.25rem; font-size: 1rem; }
  .section-head h3 { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   LIVE CHAT WIDGET
══════════════════════════════════════════════════════════════ */
.livechat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  font-family: var(--font-primary);
}
.livechat-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-cta); color: white; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 2px rgba(59, 130, 246, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; font-size: 28px;
}
.livechat-toggle:hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6), 0 0 0 3px var(--accent-primary);
  transform: scale(1.05);
}
.livechat-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: white;
  font-size: 0.7rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.livechat-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 340px; max-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(59,130,246,0.2);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.livechat-panel.open {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.livechat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--gradient-promo); color: white;
  border-bottom: 1px solid rgba(59,130,246,0.3);
}
.livechat-header-info { display: flex; align-items: center; gap: 0.7rem; }
.livechat-avatar-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.livechat-title { font-weight: 700; font-size: 0.95rem; }
.livechat-status {
  font-size: 0.75rem; display: flex; align-items: center;
  gap: 0.3rem; opacity: 0.9; margin-top: 2px;
}
.livechat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.livechat-close {
  background: none; border: none; color: white;
  cursor: pointer; padding: 4px; border-radius: 50%;
  transition: background 0.2s; display: flex;
}
.livechat-close:hover { background: rgba(255,255,255,0.15); }
.livechat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  background: var(--bg-tertiary); scroll-behavior: smooth;
}
.livechat-messages::-webkit-scrollbar { width: 4px; }
.livechat-messages::-webkit-scrollbar-track { background: transparent; }
.livechat-messages::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 4px; }
.livechat-msg { display: flex; gap: 0.6rem; align-items: flex-start; max-width: 90%; }
.msg-member { align-self: flex-start; }
.msg-admin { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-hero); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; flex-shrink: 0;
  font-family: var(--font-display);
  box-shadow: 0 0 10px rgba(59,130,246,0.25);
}
.msg-admin .msg-avatar { background: var(--gradient-cta); }
.msg-content { display: flex; flex-direction: column; gap: 2px; }
.msg-sender-name { font-size: 0.7rem; color: var(--text-tertiary); margin-bottom: 2px; font-weight: 500; }
.msg-bubble {
  padding: 0.6rem 1rem; border-radius: 14px;
  font-size: 0.85rem; line-height: 1.4; word-break: break-word;
}
.msg-member .msg-bubble {
  background: var(--bg-hover); color: var(--text-primary);
  border-top-left-radius: 4px;
  border: 1px solid var(--border-light);
}
.msg-admin .msg-bubble {
  background: var(--gradient-cta); color: white;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}
.msg-time { font-size: 0.65rem; color: var(--text-tertiary); margin-top: 2px; }
.msg-member .msg-time { text-align: left; }
.msg-admin .msg-time { text-align: right; }
.livechat-input-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}
.livechat-input {
  flex: 1; padding: 0.65rem 1rem;
  border-radius: 20px; border: 1px solid var(--border-color);
  background: var(--bg-tertiary); color: var(--text-primary);
  font-size: 0.85rem; outline: none;
}
.livechat-input:disabled { opacity: 0.6; cursor: not-allowed; }
.livechat-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-cta); border: none; color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.livechat-send:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.5); }
@media (max-width: 480px) {
  .livechat-widget { bottom: 16px; right: 16px; }
  .livechat-panel { width: calc(100vw - 40px); right: -8px; max-height: 420px; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION FALLBACK
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card::before, .product-card::after,
    .product-icon, .btn-product, .merchant-card, .merchant-card::before,
    .merchant-logo, .event-card, .event-card::before, .event-card::after,
    .event-date, .footer-col a, .footer-col a::before {
        transition: none; animation: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .portfolio-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 2rem 1rem; }
    .hero::before { display: none; }
    .hero-content p   { max-width: 100%; }
    .hero-stats       { justify-content: center; }
    .hero-cta-group   { justify-content: center; }
    .hero-visual      { order: -1; }
    .hero-illustration{ max-width: 300px; }
    .hero-illustration.hero-image-wrap { max-width: 340px; }
    .nav-search       { display: none; }
    .testimonials-grid{ grid-template-columns: 1fr; }
    .portfolio-grid   { grid-template-columns: repeat(3,1fr); gap: 12px; }
}
@media (max-width: 768px) {
    .logo-shimmer-wrap { width: 125px; height: 38px; }
    .container { padding: 0 18px; }
    .section-label { font-size: .68rem; padding: 6px 11px; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: .9rem; }
}
@media (max-width: 600px) {
    .course-grid     { grid-template-columns: 1fr; gap: 1rem; }
    .section-header  { flex-direction: column; align-items: flex-start; }
    .category-filters{ gap: .35rem; }
    .category-chip   { padding: .45rem .9rem; font-size: .78rem; }
    .navbar-inner    { height: 60px; }
    .nav-brand       { font-size: 1.2rem; }
    .nav-brand .logo-icon { width: 34px; height: 34px; font-size: 1.2rem; }
    .portfolio-grid  { grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 28px; }
    .portfolio-slide { border-radius: 12px; }
    #portofolio      { padding: 45px 0 36px; }
    .hero-illustration.hero-image-wrap { max-width: 300px; border-radius: 22px; }
    .logo-shimmer-wrap { width: 110px; height: 34px; }
    .nav-register-btn { height: 38px; padding: 0 12px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}

.event-card {
  position: relative;
  overflow: hidden; /* biar overlay gak bocor */
}

.event-expired-overlay {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(244, 67, 54, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 0 8px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Efek redup untuk kartu expired (opsional) */
.event-card.expired {
  opacity: 0.65;
  pointer-events: none; /* tidak bisa diklik */
}

.event-card.expired:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border, #e0e0e0);
}

