:root {
    /* Light Mode Tokens */
    --bg-color: #F0F3F7;
    /* Darker grey to make white cards POP */
    --surface-color: #FFFFFF;
    --surface-hover: #F8FAFC;
    --primary-color: #DE1B38;
    --primary-hover: #B9132C;
    --accent-color: #FF8F00;
    --text-main: #111111;
    --text-muted: #64748B;
    --border-color: #CBD5E1;
    /* Stronger border line */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    /* Larger, softer spread */
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* Lifted shadow */
    --shadow-primary: 0 8px 24px rgba(222, 27, 56, 0.2);
    --radius-md: 12px;
    --radius-lg: 16px;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="dark"] {
    /* Dark Mode Tokens */
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --surface-hover: #2A2A2A;
    --primary-color: #E53935;
    --primary-hover: #F44336;
    --accent-color: #FFCA28;
    --text-main: #F8F9FA;
    --text-muted: #AAAAAA;
    --border-color: #333333;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(229, 57, 53, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body,
html {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    padding-top: 70px;
    /* Compensate for fixed header (only on body) */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: var(--font-display);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color var(--transition-fast);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    position: relative;
    margin: 0 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color var(--transition-fast);
    font-size: 16px;
}

.desktop-cek-transaksi {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.desktop-cek-transaksi:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.mobile-search-toggle,
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color var(--transition-fast);
    font-size: 16px;
}

.desktop-cek-transaksi {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.desktop-cek-transaksi:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.mobile-search-dropdown {
    display: none;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0 15px 0;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 40;
    box-shadow: var(--shadow-sm);
}

.mobile-search-dropdown.active {
    display: block;
}

.search-bar-mobile {
    position: relative;
    width: 100%;
}

.search-bar-mobile input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 24px;
    border: 2px solid var(--primary-color);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
}

.search-bar-mobile input:focus {
    outline: none;
}

.search-bar-mobile i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar (Glassmorphism) */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 101;
    transition: left var(--transition-fast);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

:root[data-theme="dark"] .mobile-sidebar {
    background-color: rgba(18, 18, 18, 0.85);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.close-sidebar {
    font-size: 24px;
    color: var(--text-main);
}

.sidebar-menu {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: opacity var(--transition-fast);
}

.sidebar-link:hover {
    opacity: 0.7;
}

.sidebar-link i {
    color: var(--text-muted);
    font-size: 16px;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.sidebar-btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF !important;
    padding: 12px 20px !important;
    border-radius: var(--radius-md);
    margin-top: 5px;
    box-shadow: var(--shadow-sm);
}

.sidebar-btn-primary i {
    color: #FFFFFF !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* Sections */
.section {
    padding: 30px 0;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.product-count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

/* ── Ultra Premium Member Promo Section ── */
/* ── VIP Member Section ── */
.vip-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 20px 0 16px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Background Effects */
.vip-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vip-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.vip-orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(222, 27, 56, 0.15);
    top: -80px;
    right: -40px;
    animation: vipFloat 6s ease-in-out infinite alternate;
}

.vip-orb-2 {
    width: 140px;
    height: 140px;
    background: rgba(222, 27, 56, 0.08);
    bottom: -60px;
    left: -30px;
    animation: vipFloat 8s ease-in-out infinite alternate-reverse;
}

@keyframes vipFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Particles */
.vip-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: vipSparkle 3s infinite;
}

.vip-particles span:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.vip-particles span:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 0.5s;
}

.vip-particles span:nth-child(3) {
    top: 30%;
    left: 85%;
    animation-delay: 1s;
}

.vip-particles span:nth-child(4) {
    top: 75%;
    left: 30%;
    animation-delay: 1.5s;
}

.vip-particles span:nth-child(5) {
    top: 10%;
    left: 55%;
    animation-delay: 2s;
}

@keyframes vipSparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Content */
.vip-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(222, 27, 56, 0.25), rgba(222, 27, 56, 0.1));
    color: #ff6b7a;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    border: 1px solid rgba(222, 27, 56, 0.4);
}

.vip-title {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-display);
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.vip-title span {
    background: linear-gradient(90deg, #e74c3c, #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vip-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px;
    line-height: 1.5;
    max-width: 360px;
}

/* Feature Pills */
.vip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.vip-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.vip-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(222, 27, 56, 0.4);
    transform: translateY(-2px);
}

.vip-feature-item i {
    color: #ff6b7a;
    font-size: 14px;
}

/* CTA Button */
.vip-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13px;
    padding: 11px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.35);
    transition: all 0.3s ease;
}

.vip-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.6);
    color: #ffffff !important;
}

.vip-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shineVip 3s infinite;
}

@keyframes shineVip {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* 3D Card Visual */
.vip-visual {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    perspective: 800px;
}

.vip-card-3d {
    width: 160px;
    height: 105px;
    animation: vipCardFloat 5s ease-in-out infinite alternate;
    transform-style: preserve-3d;
}

@keyframes vipCardFloat {
    0% {
        transform: rotateY(-8deg) rotateX(5deg) translateY(0);
    }

    100% {
        transform: rotateY(8deg) rotateX(-5deg) translateY(-10px);
    }
}

.vip-card-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c1a1e, #1a1015);
    border-radius: 12px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vip-card-face::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(231, 76, 60, 0.06), transparent, rgba(231, 76, 60, 0.06), transparent);
    animation: vipCardShine 4s linear infinite;
}

@keyframes vipCardShine {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vip-card-chip {
    width: 26px;
    height: 18px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.vip-card-crown {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 18px;
    color: #ff6b7a;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(231, 76, 60, 0.5));
}

.vip-card-label {
    position: absolute;
    bottom: 28px;
    left: 14px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(231, 76, 60, 0.7);
    z-index: 1;
}

.vip-card-name {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    font-family: var(--font-display);
}

/* Light Mode — keep dark bg for this section */
html[data-theme="light"] .vip-section {
    box-shadow: 0 20px 50px rgba(26, 26, 46, 0.2);
}

@media (max-width: 768px) {
    .vip-section {
        padding: 16px;
        margin: 16px 0 12px 0;
        gap: 0;
        border-radius: 14px;
    }

    .vip-visual {
        display: none;
    }

    .vip-badge {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 6px;
        letter-spacing: 1.5px;
    }

    .vip-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .vip-title br {
        display: none;
    }

    .vip-desc {
        font-size: 11px;
        margin-bottom: 10px;
        max-width: 100%;
        line-height: 1.4;
    }

    .vip-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-bottom: 12px;
    }

    .vip-feature-item {
        font-size: 10px;
        padding: 5px 8px;
        gap: 5px;
        border-radius: 6px;
    }

    .vip-feature-item i {
        font-size: 11px;
    }

    .vip-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 8px;
    }

    .vip-orb-1 {
        width: 120px;
        height: 120px;
    }

    .vip-orb-2 {
        width: 80px;
        height: 80px;
    }
}

/* Banners */
.swiper-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    /* Prominent cover/border */
    box-shadow: var(--shadow-sm);
    /* Shadow for banner */
    width: 100%;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.swiper-container:hover {
    box-shadow: var(--shadow-md);
}

.banner-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 420px;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .swiper-container {
        margin-top: 16px !important;
        border-radius: 14px;
    }

    .banner-image {
        aspect-ratio: unset;
        min-height: unset;
        max-height: unset;
        width: 100%;
        height: auto;
    }
}

/* Swiper Pagination Fix */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #FFFFFF !important;
    opacity: 0.4 !important;
    transition: all var(--transition-fast);
    margin: 0 4px !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.swiper-pagination-bullet-active {
    width: 24px !important;
    border-radius: 10px !important;
    background: var(--primary-color) !important;
    opacity: 1 !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Grid Layouts - Using Responsive auto-fill */
.flash-grid,
.products-grid,
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 380px) {

    .flash-grid,
    .products-grid,
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* On Desktop, strict width to prevent stretching */
@media (min-width: 768px) {

    .flash-grid,
    .products-grid,
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
}

/* Flash Sale */
.flash-card {
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.flash-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.flash-image {
    width: 100%;
    height: 140px;
    background-color: var(--bg-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-icon-placeholder {
    font-size: 40px;
    color: var(--text-muted);
    opacity: 0.3;
}

.flash-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.badge-discount {
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(222, 27, 56, 0.4);
}

.badge-time {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #FFCA28;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flash-details {
    padding: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.flash-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.flash-game-name {
    font-size: 11px;
    margin-bottom: 8px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flash-price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.flash-price-new {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Category Filters */
.category-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px 0;
    width: 100%;
}

.filter-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.category-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    flex: 1;
    scroll-behavior: smooth;
    padding: 4px 0;
}

.category-filters::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

/* Subcategory Group */
.subcategory-group {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px dashed var(--border-color);
}

.subcategory-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Subcategory Header */
.subcategory-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.subcategory-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.subcategory-text h3 {
    font-size: 16px;
    margin: 0;
}

.subcategory-text p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

/* Games Grid */
.game-card {
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.game-image {
    width: 100%;
    height: 100px;
    background-color: var(--surface-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.game-bg-blur {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.6);
    z-index: 1;
}

.game-fg-image {
    position: relative;
    z-index: 2;
    width: 75%;
    height: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.game-image .badge-speed {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #2ECC71;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 10;
}

.game-image .speed-yellow {
    background-color: #F39C12;
}

.game-details {
    padding: 8px 6px;
    text-align: center;
    background: var(--surface-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 52px;
    flex-shrink: 0;
    border-top: 2px solid var(--primary-color);
}

.game-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .game-image {
        height: 160px;
    }

    .game-fg-image {
        height: 70%;
        width: auto;
        aspect-ratio: 1;
        background-size: cover;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .game-details {
        height: 55px;
        padding: 10px 8px;
    }

    .game-title {
        font-size: 13px;
        font-weight: 800;
    }
}

.game-publisher {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .game-publisher {
        font-size: 11px;
    }
}

/* Game Packages List (under game card) */
.game-packages {
    background: var(--surface-color);
    border-top: 1px dashed var(--border-color);
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.game-pkg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s;
    gap: 6px;
}

.game-pkg-item:hover {
    background: var(--surface-hover);
}

.game-pkg-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-pkg-price {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.game-pkg-more {
    text-align: center;
    padding: 5px 0 3px;
    border-top: 1px dashed var(--border-color);
    margin-top: auto;
}

.game-pkg-more span {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.game-card:hover .game-pkg-more span {
    gap: 8px;
}

@media (max-width: 480px) {
    .game-fg-image {
        background-size: cover;
    }

    .game-packages {
        padding: 4px 5px;
    }

    .game-pkg-item {
        padding: 3px 4px;
        gap: 3px;
    }

    .game-pkg-label {
        font-size: 9px;
    }

    .game-pkg-price {
        font-size: 9px;
    }

    .game-pkg-more span {
        font-size: 9px;
    }
}

/* Product Cards (Item Terlaris) */
.product-card {
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    width: 100%;
    height: 110px;
    background-color: var(--surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image i {
    font-size: 28px;
    color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
}

.product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    /* Ensure text is left-aligned */
}

.product-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-main);
    line-height: 1.3;
}

.product-publisher {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
}

/* Features / Why Us Section */
.features-grid {
    display: flex;
    gap: 12px;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: rgba(222, 27, 56, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 800;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        gap: 10px;
    }

    .feature-item {
        padding: 14px;
    }
}

/* Footer */
.footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: 60px;
    color: var(--text-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col.brand-col .brand {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-col.brand-col .footer-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-color);
    color: var(--text-muted);
}

.payment-item i {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Overrides */
@media (min-width: 1024px) {

    .flash-grid,
    .products-grid,
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .desktop-login {
        display: none;
    }

    .desktop-cek-transaksi {
        display: none;
    }

    .mobile-search-toggle,
    .mobile-menu-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-col.brand-col,
    .footer-col:last-child {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

/* =========================================
   ORDER PAGE STYLES (PREMIUM UI)
   ========================================= */

/* Order Layout */
.order-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.order-main {
    min-width: 0;
}

@media (min-width: 992px) {
    .order-layout {
        grid-template-columns: 320px 1fr;
    }
}

.spacing-bottom {
    margin-bottom: 25px;
}

/* Sidebar Styles */
.sidebar-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.sidebar-game-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.sidebar-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-game-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    line-height: 1.2;
}

.sidebar-game-dev {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 20px 0;
}

.sidebar-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.sidebar-howto .howto-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-howto h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.howto-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.howto-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.howto-content.show {
    max-height: 500px;
    /* arbitrary max height for transition */
}

.howto-list {
    list-style: none;
    padding: 15px 0 0 0;
    margin: 0;
}

.howto-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.howto-num {
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.howto-text strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.howto-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Cards */
.order-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.order-card-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(222, 27, 56, 0.4);
}

.order-card-header h4 {
    margin: 0;
    font-size: 18px;
}

.order-card-body {
    padding: 20px;
}

/* Inputs & Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.required-star {
    color: var(--primary-color);
}

.premium-input {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.premium-input:focus {
    background: var(--surface-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(222, 27, 56, 0.15);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 0;
    grid-column: 1 / -1;
}

/* Variant Tabs */
.variant-tabs {
    padding: 15px 20px 0;
}

.custom-tab-list {
    background: var(--surface-color);
    padding: 6px;
    border-radius: 16px;
    display: inline-flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.custom-tab-list::-webkit-scrollbar {
    display: none;
}

.custom-tab-btn {
    color: var(--text-muted);
    background: transparent;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.variant-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.variant-icon-font {
    font-size: 18px;
    line-height: 1;
}

.custom-tab-btn:hover {
    color: var(--text-main);
    background: var(--bg-color);
}

.custom-tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
    border: 1px solid var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.custom-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.custom-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.package-card {
    background: var(--bg-color);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.package-card:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.package-card.active {
    background: rgba(222, 27, 56, 0.05);
    border-color: var(--primary-color);
}

.package-card.active::after {
    content: '\f058';
    /* fa-check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    color: var(--primary-color);
    background: var(--surface-color);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.package-badge {
    position: absolute;
    top: -8px;
    left: 10px;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    color: white;
    background: var(--primary-color);
    box-shadow: 0 2px 5px rgba(222, 27, 56, 0.3);
}

.package-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.package-price {
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: bold;
}

/* Checkout Card */
.order-checkout-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: sticky;
    bottom: 20px;
    z-index: 100;
}

/* Payment Groups */
.payment-group {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    background: var(--bg-body);
    overflow: hidden;
    transition: var(--transition-fast);
}

.payment-group-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: var(--surface-color);
    font-weight: 600;
    font-size: 15px;
    gap: 12px;
    transition: background 0.3s ease;
}

.payment-group-header:hover {
    background: var(--surface-hover);
}

.payment-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.payment-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-group-content.show {
    max-height: 800px;
    border-top: 1px solid var(--border-color);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 20px;
}

.payment-method-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.payment-method-card:hover {
    transform: translateY(-2px);
    background: var(--surface-hover);
    border-color: rgba(222, 27, 56, 0.4);
    box-shadow: 0 6px 15px rgba(222, 27, 56, 0.08);
}

.payment-method-card.active {
    border-color: var(--primary-color);
    background: rgba(222, 27, 56, 0.05);
    box-shadow: inset 0 0 0 1px var(--primary-color), 0 4px 15px rgba(222, 27, 56, 0.15);
}

.payment-logo {
    width: 40px;
    height: auto;
    max-height: 25px;
    object-fit: contain;
}

.payment-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(100, 100, 100, 0.1);
    border: 1px solid rgba(100, 100, 100, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-method-card.active .payment-icon-wrapper {
    color: var(--primary-color);
    background: rgba(222, 27, 56, 0.1);
    border-color: rgba(222, 27, 56, 0.2);
}

.payment-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.payment-method-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.payment-method-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

.payment-method-fee {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(222, 27, 56, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    width: fit-content;
}

.payment-check {
    color: var(--primary-color);
    font-size: 18px;
    opacity: 0;
    transform: scale(0.8) translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-card.active .payment-check {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.checkout-info {
    display: flex;
    align-items: center;
}

.btn-checkout {
    background-color: var(--border-color);
    color: var(--text-muted);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    font-weight: bold;
    cursor: not-allowed;
    transition: all 0.3s;
}

.btn-checkout.active {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(222, 27, 56, 0.4);
}

.btn-checkout.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(222, 27, 56, 0.6);
}

@media (max-width: 991px) {
    .order-checkout-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }

    .btn-checkout {
        width: 100%;
    }
}

/* ==========================================================================
   INVOICE PAGE — PREMIUM REDESIGN
   ========================================================================== */
.invoice-page {
    position: relative;
    z-index: 1;
}

.invoice-glow-bg {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 65%);
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* Invoice Card */
.inv-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    animation: invCardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes invCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accent Bar */
.inv-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B6B, var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Header */
.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 20px;
    gap: 16px;
}

.inv-header-left {
    flex: 1;
    min-width: 0;
}

.inv-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.inv-type-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(222, 27, 56, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.inv-date {
    font-size: 12px;
    color: var(--text-muted);
}

.inv-id-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inv-id {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    word-break: break-all;
    line-height: 1.2;
}

.inv-copy-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--surface-hover);
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.inv-copy-btn:hover {
    background: rgba(222, 27, 56, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Status */
.inv-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    flex-shrink: 0;
}

.inv-status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.inv-status-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.inv-status-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-right-color: currentColor;
    border-radius: 50%;
    animation: inv-spin 1s linear infinite;
}

@keyframes inv-spin {
    to {
        transform: rotate(360deg);
    }
}

.inv-status--pending {
    background: rgba(241, 196, 15, 0.1);
    color: #D4A800;
}

.inv-status--pending .inv-status-icon {
    background: #F1C40F;
}

.inv-status--processing {
    background: rgba(52, 152, 219, 0.1);
    color: #2980B9;
}

.inv-status--processing .inv-status-icon {
    background: #3498DB;
}

.inv-status--success {
    background: rgba(46, 204, 113, 0.1);
    color: #1FA85A;
}

.inv-status--success .inv-status-icon {
    background: #2ECC71;
}

.inv-status--failed,
.inv-status--expired,
.inv-status--canceled {
    background: rgba(231, 76, 60, 0.1);
    color: #C0392B;
}

.inv-status--failed .inv-status-icon,
.inv-status--expired .inv-status-icon,
.inv-status--canceled .inv-status-icon {
    background: #E74C3C;
}

/* Body */
.inv-body {
    padding: 0 24px 24px;
}

/* Item Card */
.inv-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface-hover);
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.inv-item-card:hover {
    border-color: rgba(222, 27, 56, 0.3);
}

.inv-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.inv-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inv-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.inv-item-game {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-item-package {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

/* Details Grid */
.inv-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.inv-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.inv-detail-item:hover {
    background: var(--surface-hover);
}

.inv-detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.inv-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.inv-detail-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.inv-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

/* Pricing */
.inv-pricing {
    background: var(--surface-hover);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.inv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.inv-price-row span:last-child {
    color: var(--text-main);
    font-weight: 500;
}

.inv-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.inv-price-total span:first-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-total-amount {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Footer */
.inv-footer {
    padding: 0 24px 24px;
}

/* Timer */
.inv-timer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(241, 196, 15, 0.06);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.inv-timer--expired {
    background: rgba(231, 76, 60, 0.06);
    border-color: rgba(231, 76, 60, 0.2);
}

.inv-timer-icon {
    font-size: 20px;
    color: #F1C40F;
}

.inv-timer--expired .inv-timer-icon {
    color: #E74C3C;
}

.inv-timer-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inv-timer-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.inv-timer-countdown {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Expired */
.inv-expired-notice {
    text-align: center;
    padding: 20px 0 0;
}

.inv-expired-notice p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* QRIS */
.inv-qris {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.inv-qris-notice {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(241, 196, 15, 0.06);
    border: 1px solid rgba(241, 196, 15, 0.15);
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.inv-qris-notice i {
    color: #F1C40F;
    margin-right: 6px;
}

.inv-qris-frame {
    position: relative;
    display: inline-block;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.inv-qris-frame img {
    max-width: 200px;
    display: block;
}

.inv-qris-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--primary-color);
    border-style: solid;
    transition: all 0.3s ease;
}

.inv-qris-frame:hover .inv-qris-corner {
    border-color: #FF6B6B;
}

.inv-qris-corner--tl {
    top: -4px;
    left: -4px;
    border-width: 3px 0 0 3px;
    border-radius: 6px 0 0 0;
}

.inv-qris-corner--tr {
    top: -4px;
    right: -4px;
    border-width: 3px 3px 0 0;
    border-radius: 0 6px 0 0;
}

.inv-qris-corner--bl {
    bottom: -4px;
    left: -4px;
    border-width: 0 0 3px 3px;
    border-radius: 0 0 0 6px;
}

.inv-qris-corner--br {
    bottom: -4px;
    right: -4px;
    border-width: 0 3px 3px 0;
    border-radius: 0 0 6px 0;
}

/* Buttons */
.inv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    margin-top: 16px;
}

.inv-btn:hover {
    transform: translateY(-2px);
}

.inv-btn:active {
    transform: translateY(0) scale(0.98);
}

.inv-btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(222, 27, 56, 0.3);
}

.inv-btn--primary:hover {
    box-shadow: 0 8px 24px rgba(222, 27, 56, 0.4);
    background: var(--primary-hover);
    color: #fff;
}

.inv-btn--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.inv-btn--outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(222, 27, 56, 0.3);
}

/* Success Notice */
.inv-success-notice {
    text-align: center;
    padding: 16px 0;
}

.inv-success-icon {
    font-size: 40px;
    color: #2ECC71;
    margin-bottom: 10px;
    animation: inv-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes inv-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.inv-success-notice p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.inv-failed-notice {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
}

.inv-failed-icon {
    font-size: 36px;
    color: #ef4444;
    margin-bottom: 12px;
    display: block;
    animation: inv-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.inv-failed-notice p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}

.inv-sn-box {
    margin-bottom: 16px;
    background: var(--surface-hover);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.inv-sn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.inv-sn-header i {
    color: var(--primary-color);
}

.inv-sn-value {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    word-break: break-all;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
    user-select: all;
}

.inv-sn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), transform 0.15s;
}

.inv-sn-copy:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .inv-header {
        flex-direction: column;
        gap: 12px;
    }

    .inv-status {
        align-self: flex-start;
    }

    .inv-id {
        font-size: 17px;
    }

    .inv-total-amount {
        font-size: 20px;
    }

    .inv-item-card {
        padding: 12px;
    }

    .inv-card {
        border-radius: 16px;
    }
}

/* SweetAlert Premium Theme */
.premium-swal {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 2px 10px rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px);
}

/* Tom Select Premium Theme */
.ts-control {
    background: var(--surface-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: var(--text-main) !important;
    font-family: inherit !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ts-control.focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(222, 27, 56, 0.1) !important;
}

.ts-control>input {
    color: var(--text-main) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ts-dropdown {
    background: var(--surface-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    color: var(--text-main) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    margin-top: 5px !important;
}

.ts-dropdown .option {
    padding: 12px 16px !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ts-dropdown .option:last-child {
    border-bottom: none !important;
}

.ts-dropdown .active,
.ts-dropdown .selected {
    background-color: rgba(222, 27, 56, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.ts-dropdown .create:hover,
.ts-dropdown .option:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="light"] .ts-dropdown .option {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .ts-dropdown .create:hover,
html[data-theme="light"] .ts-dropdown .option:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* ══════════════════════════════════════════════════════════════
   NEW SECTIONS: WA Group, Quick Search, How It Works, Stats, Toast
   ══════════════════════════════════════════════════════════════ */

/* ── WA Group CTA Section ── */
.wa-group-cta {
    margin: 24px 0 0 0;
}

.wa-group-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-group-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

html[data-theme="dark"] .wa-group-inner {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.05));
    border-color: rgba(37, 211, 102, 0.25);
}

.wa-group-icon {
    width: 48px;
    height: 48px;
    background: #25D366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-group-content {
    flex: 1;
}

.wa-group-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: var(--text-main);
}

.wa-group-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.wa-group-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.wa-group-btn:hover {
    background: #1da851;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .wa-group-cta {
        margin: 16px 0 0 0;
    }

    .wa-group-inner {
        padding: 12px 14px;
        gap: 12px;
    }

    .wa-group-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        border-radius: 10px;
    }

    .wa-group-title {
        font-size: 13px;
        margin-bottom: 0;
    }

    .wa-group-desc {
        display: none;
    }

    .wa-group-btn {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: 8px;
    }
}

/* ── Search Results Dropdown ── */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 999;
    max-height: 360px;
    overflow-y: auto;
    display: none;
}

html[data-theme="dark"] .search-results-dropdown {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--surface-hover);
}

.search-result-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(222, 27, 56, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-result-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-dev {
    font-size: 11px;
    color: var(--text-muted);
}

.search-result-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── How It Works / Cara Order ── */
.how-it-works-section {
    padding: 30px 0;
}

.how-steps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.how-step {
    flex: 1;
    text-align: center;
    padding: 20px 12px;
    position: relative;
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.how-step:hover {
    background: var(--surface-hover);
}

.how-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(222, 27, 56, 0.3);
}

.how-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(222, 27, 56, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
    color: var(--primary-color);
    border: 1px solid rgba(222, 27, 56, 0.12);
    transition: all 0.3s ease;
}

.how-step:hover .how-step-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(222, 27, 56, 0.12);
}

html[data-theme="dark"] .how-step-icon {
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.2);
}

.how-step-title {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text-main);
}

.how-step-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.how-step-connector {
    display: flex;
    align-items: center;
    color: var(--border-color);
    font-size: 12px;
    padding-top: 40px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .how-steps-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .how-step-connector {
        display: none;
    }

    .how-step {
        padding: 12px 6px;
    }

    .how-step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }

    .how-step-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-bottom: 8px;
    }

    .how-step-title {
        font-size: 11px;
    }

    .how-step-desc {
        display: none;
    }
}

/* ── Stats / Social Proof ── */
.stats-section {
    padding: 20px 0;
}

.stats-grid {
    display: flex;
    gap: 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    position: relative;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.stat-item:hover {
    background: var(--surface-hover);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-color);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-color);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    display: inline;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .stats-grid {
        padding: 16px 12px;
        gap: 6px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-suffix {
        font-size: 13px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-item {
        padding: 8px 4px;
    }
}

/* ── Fake Order Notification Toast ── */
.fake-order-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    animation: slideInLeft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fake-order-toast.slide-out {
    animation: slideOutLeft 0.4s ease forwards;
}

.fake-order-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 320px;
}

html[data-theme="dark"] .fake-order-inner {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fake-order-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.fake-order-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fake-order-message {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.fake-order-time {
    font-size: 11px;
    color: var(--text-muted);
}

.fake-order-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.2s;
}

.fake-order-close:hover {
    color: var(--text-main);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .fake-order-toast {
        left: 12px;
        bottom: 12px;
        right: 12px;
    }

    .fake-order-inner {
        max-width: 100%;
    }
}