
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }

  :root {
    --bg-dark: #0c0e14;
    --bg-darker: #07080c;
    --bg-surface: #12151f;
    --bg-card: #171b26;
    --bg-card-inner: #1c2130;
    --bg-card-hover: #222738;
    --bg-input: #151824;
    --border-color: #272d40;
    --border-light: #3b435e;
    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-orange: #2563eb;
    --accent-orange-hover: #1d4ed8;
    --accent-red: #ef4444;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
  }

  body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% -120px, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0.03) 40%, transparent 70%);
    background-repeat: no-repeat;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  /* --- 1. HEADER & NAVBAR UTAMA --- */
  .navbar {
    background-color: rgba(18, 21, 31, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav-top-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .brand-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
  }

  .brand-logo-img {
    height: 96px;
    max-width: none;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
  }

  .brand-logo-img:hover {
    transform: scale(1.04);
  }

  .brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #818cf8;
    line-height: 1.2;
  }

  .search-container {
    flex: 1;
    max-width: 580px;
    position: relative;
  }

  .search-input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 42px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
  }

  .search-input:focus {
    border-color: var(--accent-primary);
    background-color: #1a1e2d;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }

  .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Status Sistem Pill (Gaya Discord / SaaS) */
  .header-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: #151824;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
  }

  .header-status-pill .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-dot 2s infinite ease-in-out;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
  }

  /* Saldo Header Pill dengan Bendera Bulat Merah Putih & ID / IDR [amount] */
  .flag-circle-svg {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  .saldo-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    background: #151824;
    border: 1.5px solid #272d40;
    padding: 0 12px 0 6px;
    border-radius: 999px;
    color: #f8fafc;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    margin: 0;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .saldo-header-pill:hover {
    background: #1c2130;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
  }

  .saldo-text-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    white-space: nowrap;
  }

  .saldo-prefix {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.2px;
  }

  .saldo-amount {
    font-size: 13.5px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: -0.2px;
  }

  .saldo-header-plus {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: #0c0e14;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-left: 2px;
    transition: transform 0.25s ease, background-color 0.2s ease;
  }

  .saldo-header-pill:hover .saldo-header-plus {
    background: #34d399;
    transform: rotate(90deg) scale(1.08);
  }

  .saldo-header-pill.guest {
    border-color: #272d40;
  }

  .saldo-header-pill.guest .saldo-amount {
    color: #cbd5e1;
  }

  .saldo-header-pill.guest:hover {
    background: #1c2130;
    border-color: #6366f1;
  }

  .lang-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
  }

  .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-login:hover {
    background-color: var(--bg-card);
    border-color: var(--border-light);
  }

  /* Sub-Nav Bar (Tab Navigasi) */
  .sub-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sub-nav::-webkit-scrollbar {
    display: none;
  }

  .sub-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  .sub-nav-item svg {
    color: var(--text-muted);
    transition: color 0.2s ease;
  }

  .sub-nav-item:hover,
  .sub-nav-item.active {
    color: var(--accent-orange);
  }

  .sub-nav-item:hover svg,
  .sub-nav-item.active svg {
    color: var(--accent-orange);
  }

  .sub-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 3px 3px 0 0;
  }

  /* --- 2. HERO CAROUSEL BANNER (FOTO ASLI HAYABUSA) --- */
  .hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 20px auto 32px auto;
    padding: 0 24px;
    position: relative;
  }

  .carousel-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }

  .carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
  }

  .carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
  }

  .banner-img-element {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1024 / 400;
    object-fit: cover;
  }

  .carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    padding: 5px 12px;
    background: rgba(10, 12, 18, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
  }

  .carousel-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #6366f1;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.75);
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(18, 19, 24, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
  }

  .carousel-arrow:hover {
    background-color: #6366f1;
    border-color: #6366f1;
  }

  .carousel-arrow.prev { left: 16px; }
  .carousel-arrow.next { right: 16px; }

  /* --- 3. SEKSI FLASH SALE --- */
  .section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 36px auto;
    padding: 0 24px;
  }

  .flashsale-box {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
  }

  .flashsale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .flashsale-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .flashsale-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--accent-orange);
    text-transform: uppercase;
  }

  .countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .timer-block {
    background-color: #2b2d3b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 28px;
    text-align: center;
  }

  .timer-sep {
    color: var(--text-muted);
    font-weight: 700;
  }

  .flashsale-sub {
    font-size: 13px;
    color: var(--text-muted);
  }

  .flashsale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .flash-icon-svg {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .flash-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .flash-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.18);
  }

  .flash-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 2px;
  }

  .flash-card-game {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .flash-card-icon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .flash-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
  }

  .flash-price-wrap {
    display: flex;
    flex-direction: column;
  }

  .flash-price-now {
    font-size: 15.5px;
    font-weight: 800;
    color: #f59e0b;
  }

  .flash-price-old {
    font-size: 11.5px;
    color: var(--text-muted);
    text-decoration: line-through;
  }

  .flash-progress {
    margin-bottom: 12px;
  }

  .progress-bg {
    width: 100%;
    height: 5px;
    background-color: #2b2d3b;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 4px;
  }

  .progress-bar-fill {
    height: 100%;
    background-color: var(--accent-red);
    border-radius: 999px;
  }

  .progress-text {
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    display: block;
  }

  .flash-btn {
    width: 100%;
    padding: 8px 12px;
    background-color: #1c2130;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
  }

  .flash-card:hover .flash-btn {
    background-color: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
  }

  /* --- 4. SEKSI TRENDING (FOTO ASLI GAME ICONS) --- */
  .trending-box {
    width: 100%;
    background-color: var(--bg-surface);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 8px 8px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
  }

  .trending-header {
    margin-bottom: 18px;
  }

  .trending-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .trending-sub {
    font-size: 13px;
    color: var(--text-muted);
  }

  .trending-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .trending-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .trending-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.16);
  }

  .trending-thumb-img {
    width: 48px;
    height: 48px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  }

  .trending-info {
    flex: 1;
    min-width: 0;
  }

  .trending-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .trending-info p {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* --- 5. SEKSI DAFTAR GAME (FOTO ASLI COVER ART 6 KOLOM) --- */
  .catalog-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
    position: relative;
  }

  .filter-arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: var(--accent-orange);
    color: #ffffff;
    border: none;
    display: none; /* Hanya muncul di layar mobile */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    transition: transform 0.15s ease, background-color 0.2s ease;
  }

  .filter-arrow-btn:active {
    transform: scale(0.92);
  }

  .catalog-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    scroll-behavior: smooth;
  }

  .catalog-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .cat-pill {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  .cat-pill:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
  }

  .cat-pill.active {
    background-color: var(--accent-orange);
    color: #ffffff;
    border-color: var(--accent-orange);
  }

  /* Floating Customer Support Chat Button */
  .floating-chat-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0ea5e9;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .floating-chat-btn:hover {
    transform: scale(1.08);
  }

  .catalog-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .catalog-game-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 140px;
  }

  .catalog-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  }

  .catalog-thumb-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .catalog-cover-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #ffffff;
    transition: transform 0.3s ease;
  }

  .catalog-game-card:hover .catalog-cover-img {
    transform: scale(1.05);
  }

  .catalog-wave-wrap {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 22px;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
    color: var(--bg-card);
  }

  .catalog-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .catalog-card-info {
    padding: 7px 10px 10px 10px;
    flex-grow: 1;
    background-color: var(--bg-card);
  }

  .catalog-card-info h4 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-card-info p {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.15;
  }

  .load-more-wrap {
    text-align: center;
    margin-top: 36px;
  }

  .btn-load-more {
    padding: 11px 32px;
    border-radius: 999px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-load-more:hover {
    background-color: var(--bg-card);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
  }

  /* --- 6. CHECKOUT MODAL INTERAKTIF --- */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .checkout-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  }

  .checkout-header {
    position: sticky;
    top: 0;
    background-color: rgba(24, 25, 32, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
  }

  .modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
  }

  .checkout-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .step-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
  }

  .step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .step-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .input-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
  }

  .input-field {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
  }

  .input-field:focus {
    border-color: var(--accent-orange);
  }

  .nominal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .nominal-pill {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .nominal-pill.active {
    border-color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.1);
  }

  .pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .pay-pill {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .pay-pill.active {
    border-color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.1);
  }

  .checkout-bottom-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
  }

  .btn-submit-order {
    padding: 12px 32px;
    border-radius: 12px;
    border: none;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
  }

  /* --- 7. FOOTER --- */
  .footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 44px 24px 32px 24px;
    margin-top: 60px;
  }

  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
  }

  /* --- LIQUID FLOATING NAVIGATION DOCK (KHUSUS MOBILE) --- */
  .liquid-nav-container {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    left: 12px;
    right: 12px;
    z-index: 999;
    display: none; /* Disembunyikan di layar desktop */
    justify-content: center;
    pointer-events: none;
  }

  .liquid-dock {
    width: 100%;
    max-width: 440px;
    height: 64px;
    background: rgba(18, 21, 31, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid #272d40;
    border-radius: 32px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    pointer-events: auto;
    --active-index: 0;
  }

  /* Liquid Sliding Bubble Indicator (Left-Driven) */
  .liquid-blob {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc((100% - 12px) / 5);
    border-radius: 26px;
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.55);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
  }

  .liquid-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.25s ease;
    border-radius: 26px;
    outline: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .liquid-item.active {
    color: #ffffff;
  }

  .liquid-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  }

  .liquid-item.active .liquid-icon-wrapper {
    transform: translateY(-2px) scale(1.15);
    color: #818cf8;
  }

  .liquid-item svg {
    width: 20px;
    height: 20px;
  }

  /* Responsivitas */
  @media (max-width: 1100px) {
    .flashsale-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .trending-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-grid { grid-template-columns: repeat(6, 1fr); gap: 8px; }
    .catalog-cover-img { max-height: none; aspect-ratio: 1 / 1; }
  }

  @media (max-width: 768px) {
    body {
      padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 84px);
    }
    .sub-nav {
      display: none !important;
    }
    .liquid-nav-container {
      display: flex;
    }
    .section-container,
    .hero-container {
      width: 100%;
      padding: 0 14px;
    }
    .nav-top-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      gap: 10px;
    }
    .brand-logo-link {
      height: 36px;
      order: 1;
    }
    .brand-logo-img {
      height: 80px;
    }
    .nav-actions {
      order: 2;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .search-container {
      order: 3;
      max-width: 100%;
      width: 100%;
      margin-top: 4px;
    }

    /* Flash Sale Grid pada mobile: 2 kolom sama rata */
    .flashsale-box {
      width: 100%;
      padding: 16px 12px;
      border-radius: 18px;
    }
    .flashsale-grid {
      width: 100%;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px;
    }
    .flash-card {
      width: 100%;
      padding: 12px 10px;
      border-radius: 14px;
    }
    .flash-card-title {
      font-size: 12px;
      line-height: 1.25;
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .flash-card-game {
      font-size: 11px;
      margin-bottom: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .flash-price-now {
      font-size: 13.5px;
    }
    .flash-price-old {
      font-size: 10.5px;
    }
    .flash-btn {
      padding: 7px 8px;
      font-size: 11px;
    }

    /* Trending Grid pada mobile: 2 kolom sama rata */
    .trending-box {
      width: 100%;
      padding: 16px 12px;
      border-radius: 18px;
    }
    .trending-grid {
      width: 100%;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px;
    }
    .trending-card {
      width: 100%;
      min-width: 0;
      padding: 8px 10px;
      gap: 10px;
      border-radius: 14px;
    }
    .trending-thumb-img {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      flex-shrink: 0;
    }
    .trending-info {
      flex: 1;
      min-width: 0;
    }
    .trending-info h4 {
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }
    .trending-info p {
      font-size: 11px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }

    /* Katalog Grid pada mobile: 3 kolom ringkas & proporsional sesuai referensi HP */
    .catalog-grid {
      width: 100%;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 8px !important;
    }
    .catalog-game-card {
      border-radius: 13px !important;
    }
    .catalog-thumb-box {
      border-top-left-radius: 12px !important;
      border-top-right-radius: 12px !important;
    }
    .catalog-cover-img {
      width: 100%;
      height: 100%;
      aspect-ratio: 1 / 1 !important;
      max-height: none !important;
      object-fit: cover;
      object-position: center;
    }
    .catalog-wave-wrap {
      height: 18px !important;
    }
    .catalog-card-info {
      padding: 5px 7px 8px 7px !important;
    }
    .catalog-card-info h4 {
      font-size: 11px !important;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 2px;
    }
    .catalog-card-info p {
      font-size: 9.5px !important;
      line-height: 1.15;
    }
    .filter-arrow-btn {
      width: 32px !important;
      height: 32px !important;
      border-radius: 10px !important;
      display: flex !important;
    }
    .floating-chat-btn {
      bottom: calc(env(safe-area-inset-bottom, 20px) + 84px);
      right: 16px;
      width: 46px;
      height: 46px;
    }
  }

  @media (max-width: 480px) {
    .section-container,
    .hero-container {
      padding: 0 10px;
    }
    .brand-logo-link {
      height: 32px;
    }
    .brand-logo-img {
      height: 72px;
    }

    /* Flash Sale Grid pada layar kecil: 2 kolom */
    .flashsale-box {
      width: 100%;
      padding: 14px 10px;
    }
    .flashsale-grid {
      width: 100%;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px;
    }
    .flash-card {
      padding: 10px 8px;
      border-radius: 12px;
    }
    .flash-card-title {
      font-size: 11px;
    }
    .flash-price-now {
      font-size: 12px;
    }
    .flash-btn {
      padding: 6px;
      font-size: 10px;
    }

    /* Trending Grid pada layar kecil: 2 kolom */
    .trending-box {
      width: 100%;
      padding: 14px 10px;
    }
    .trending-grid {
      width: 100%;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px;
    }
    .trending-card {
      width: 100%;
      min-width: 0;
      padding: 7px 8px;
      gap: 8px;
      border-radius: 12px;
    }
    .trending-thumb-img {
      width: 34px;
      height: 34px;
      border-radius: 8px;
      flex-shrink: 0;
    }
    .trending-info {
      flex: 1;
      min-width: 0;
    }
    .trending-info h4 {
      font-size: 11.5px;
      width: 100%;
    }
    .trending-info p {
      font-size: 10px;
      width: 100%;
    }

    /* Katalog Grid pada layar kecil: 3 kolom proporsional & ramping */
    .catalog-grid {
      width: 100%;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 6px !important;
    }
    .catalog-game-card {
      border-radius: 11px !important;
    }
    .catalog-thumb-box {
      border-top-left-radius: 10px !important;
      border-top-right-radius: 10px !important;
    }
    .catalog-cover-img {
      width: 100%;
      height: 100%;
      aspect-ratio: 1 / 1 !important;
      max-height: none !important;
      object-fit: cover;
      object-position: center;
    }
    .catalog-wave-wrap {
      height: 15px !important;
    }
    .catalog-card-info {
      padding: 4px 6px 7px 6px !important;
    }
    .catalog-card-info h4 {
      font-size: 10px !important;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1px;
    }
    .catalog-card-info p {
      font-size: 8.5px !important;
      line-height: 1.1;
    }
    .filter-arrow-btn {
      width: 28px !important;
      height: 28px !important;
      border-radius: 8px !important;
    }
  }

  /* --- 7. TOPUP DETAIL & RESPONSIVE FORM GRID (ALL DEVICES) --- */
  .topup-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
  }

  .topup-step-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  .topup-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
  }

  .step-number-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #818cf8;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .nominal-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .nominal-card:hover {
    background: var(--bg-card-hover);
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
  }

  .nominal-card.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 1px #6366f1, 0 8px 20px rgba(99, 102, 241, 0.2);
  }

  .badge-instant {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }

  /* Responsive Rules: All Devices */
  @media (max-width: 1024px) {
    .topup-grid-wrapper {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
    }
  }

  @media (max-width: 768px) {
    .topup-step-card {
      padding: 18px 14px !important;
      border-radius: 16px !important;
    }
    .topup-step-title {
      font-size: 14.5px !important;
      margin-bottom: 14px !important;
    }
    .nominal-card {
      padding: 10px 12px !important;
      border-radius: 12px !important;
    }
    .header-status-pill {
      display: none !important;
    }
  }

