/**
 * GAMVEX - Digital Game Store Stylesheet
 * Inspired by dapetin.app - High Aesthetic Dark Mode UI
 */

:root {
    --bg-dark: #030712;
    --bg-surface: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #172033;
    --bg-input: #0e1526;
    
    --border-color: #1f2937;
    --border-highlight: #374151;
    --border-glow: rgba(139, 92, 246, 0.35);

    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #ec4899 100%);
    --primary-glow: 0 0 25px rgba(139, 92, 246, 0.35);

    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-cyan: #06b6d4;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-max: 1280px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section[id], .catalog-toolbar-section, .features-section, .steps-section {
    scroll-margin-top: 85px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Announcement Marquee Bar */
.announcement-bar {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    height: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 70;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    gap: 2.5rem;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-code {
    background: rgba(255, 255, 255, 0.22);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    font-weight: 700;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
    transition: var(--transition);
    width: 100%;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-dot {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.brand-pill {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 0.15rem;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-icon-nav {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-nav:hover {
    color: #ffffff;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.currency-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.btn-cart-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
    transition: var(--transition);
}

.btn-cart-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.cart-counter {
    background: #ffffff;
    color: #4c1d95;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.btn-hamburger .bar {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-drawer {
    display: none;
    background: rgba(11, 15, 25, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.mobile-menu-drawer.open {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.mobile-link:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.mobile-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.mobile-meta p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

/* Hero Section (dapetin.app inspired) */
.hero-section {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    text-align: center;
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 550px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    top: 60%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.12) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #f472b6;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 40%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: #ffffff;
    color: #030712;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.hero-trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(31, 41, 55, 0.8);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-item strong {
    color: #ffffff;
}

/* Search & Filter Toolbar */
.catalog-toolbar-section {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
    overflow-x: clip;
}

.search-input-box {
    max-width: 680px;
    width: 100%;
    margin: 0 auto 2rem;
    position: relative;
    box-sizing: border-box;
}

.search-input-box input {
    width: 100%;
    padding: 1.15rem 1.5rem 1.15rem 3.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: #ffffff;
    font-size: 1.05rem;
    outline: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.search-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

.search-input-box .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.genre-filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.genre-pill {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.genre-pill:hover {
    color: #ffffff;
    border-color: var(--border-highlight);
    background: var(--bg-card);
}

.genre-pill.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Product Catalog Grid */
.products-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.section-header-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1.75rem;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 1.25rem;
    }
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    contain: paint layout;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.2);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background: #0f172a;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.badge-float-top {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    z-index: 2;
}

.badge-appid {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.1rem;
    min-height: 3.1rem;
    max-height: 3.1rem;
    word-break: break-word;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-warranty-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.product-genre-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-snippet {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.65rem;
    min-height: 2.65rem;
    max-height: 2.65rem;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-strikethrough {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.btn-card-detail {
    padding: 0.6rem 1.15rem;
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.product-card:hover .btn-card-detail {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
}

.page-btn {
    padding: 0.6rem 1.15rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.page-btn:hover {
    color: #ffffff;
    border-color: var(--border-highlight);
    background: var(--bg-card);
}

.page-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* AdSense Banner Styles (Policy Compliant) */
.ad-banner-wrapper {
    margin: 2.5rem auto;
    max-width: var(--container-max);
    padding: 0 1.5rem;
    text-align: center;
}

.ad-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

.ad-content-box {
    background: rgba(17, 24, 39, 0.5);
    border: 1px dashed rgba(75, 85, 99, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    overflow: hidden;
}

.ad-placeholder-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    text-align: left;
}

.ad-placeholder-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.ad-placeholder-text strong {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ad-placeholder-text span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Feature Sections (Why Choose Us) */
.features-section {
    padding: 5rem 1.5rem;
    background: rgba(11, 15, 25, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Order Steps Section */
.steps-section {
    padding: 5rem 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Product Detail Page Styling */
.product-detail-hero {
    padding: 3rem 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: #ffffff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.main-preview-container {
    position: relative;
    width: 100%;
    margin-bottom: 0.85rem;
}

.main-preview-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.main-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

/* Screenshot Counter Badge */
.gallery-counter-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.4px;
}

/* Main Preview Nav Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: var(--transition);
    opacity: 0;
}

.main-preview-image:hover .gallery-nav-btn,
.gallery-nav-btn:focus-visible {
    opacity: 1;
}

.gallery-prev-btn {
    left: 0.85rem;
}

.gallery-next-btn {
    right: 0.85rem;
}

.gallery-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.65);
}

/* Thumbnails Carousel Wrapper */
.thumbnails-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.35rem;
}

.thumb-carousel-btn {
    width: 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 2;
    backdrop-filter: blur(6px);
}

.thumb-carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.45);
    transform: scale(1.04);
}

.thumb-carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Modern Sleek Thumbnails Strip (No Ugly Windows Scrollbar!) */
.thumbnails-strip {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 0.65rem;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.45) rgba(15, 23, 42, 0.8);
    user-select: none;
    cursor: grab;
}

.thumbnails-strip.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Custom WebKit Scrollbar: Slim 5px Futuristic Bar */
.thumbnails-strip::-webkit-scrollbar {
    height: 5px;
}

.thumbnails-strip::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 9999px;
    margin: 0 10px;
}

.thumbnails-strip::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 9999px;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.thumbnails-strip::-webkit-scrollbar-thumb:hover {
    background: #a78bfa;
}

.thumb-item {
    width: 96px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.55;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
    padding: 0;
    filter: brightness(0.85);
}

.thumb-item:hover {
    opacity: 0.95;
    filter: brightness(1);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.thumb-item.active {
    opacity: 1;
    filter: brightness(1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.product-buy-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    position: sticky;
    top: 95px;
}

.detail-badge-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.badge-steam-id {
    background: rgba(31, 41, 55, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: #93c5fd;
}

.badge-garansi {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.detail-game-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.detail-price-panel {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-meta span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.price-meta s {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.big-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-buy-now {
    width: 100%;
    padding: 1.15rem;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6);
}

.btn-add-cart-outline {
    width: 100%;
    padding: 0.9rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.specs-list {
    margin-top: 1.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.spec-label {
    color: var(--text-dim);
}

.spec-value {
    font-weight: 600;
    color: #ffffff;
    text-align: right;
}

/* Detail Page Content Tabs / Blocks */
.product-content-section {
    max-width: var(--container-max);
    margin: 2rem auto 5rem;
    padding: 0 1.5rem;
}

.content-block-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.content-block-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.template-desc-prose {
    font-size: 1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.template-desc-prose h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 1.5rem 0 0.8rem;
}

.template-desc-prose ul, .template-desc-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.template-desc-prose li {
    margin-bottom: 0.5rem;
}

.feature-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.benefit-card strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* System Requirements Table */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.req-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.req-box h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 0.5rem;
}

.req-box ul {
    list-style: none;
    padding: 0;
}

.req-box li {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Step-by-Step Redeem Infographic */
.redeem-steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.redeem-step-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.redeem-step-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.redeem-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.redeem-step-content {
    flex: 1;
    min-width: 0;
}

.redeem-step-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.redeem-step-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Steam HTML Content Styling (Safe responsive Valve API render) */
.steam-html-content {
    overflow-wrap: break-word;
    word-break: break-word;
}

.steam-html-content img,
.steam-html-content video,
.steam-html-content iframe {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md);
    display: block;
    margin: 1.25rem auto;
}

.steam-html-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.steam-html-content th,
.steam-html-content td {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
}

/* Mobile Sticky Buy Bar Base (Hidden by default on Desktop) */
.mobile-sticky-buy-bar {
    display: none;
}

/* Legal / Static Pages (About, Terms, Privacy) */
.legal-page-header {
    padding: 4rem 1.5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.legal-page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.legal-content-wrap {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.legal-article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.legal-article-card h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-article-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.legal-article-card ul, .legal-article-card ol {
    padding-left: 1.75rem;
    margin-bottom: 1.25rem;
}

.legal-article-card li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-channel {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group .req {
    color: var(--accent-rose);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
    display: block;
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-icon-arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Pre-Footer Trust Bar */
.trust-stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.stat-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-info p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Main Footer */
.main-footer {
    background: var(--bg-dark);
    padding: 4.5rem 1.5rem 2.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.35fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-contact-snippet div {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.35rem;
}

.footer-subtext {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.payment-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.pay-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.secure-badge-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
}

.footer-legal-notice {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(31, 41, 55, 0.6);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-legal-notice p {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Modals & Overlays */
.search-modal-backdrop,
.cart-drawer-backdrop,
.checkout-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.search-modal-backdrop.open,
.cart-drawer-backdrop.open,
.checkout-modal-backdrop.open {
    display: flex;
}

/* Search Modal */
.search-modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.search-modal-icon {
    color: var(--text-dim);
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    outline: none;
}

.btn-clear-search {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.search-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 0.75rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--bg-card);
}

.search-result-item img {
    width: 64px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}

.search-res-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.search-res-info span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.search-empty-state {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.search-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: rgba(3, 7, 18, 0.5);
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Cart Drawer */
.cart-drawer-backdrop {
    justify-content: flex-end;
    padding: 0;
}

.cart-drawer {
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-close-drawer {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    position: relative;
}

.cart-item-card img {
    width: 80px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--accent-rose);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cart-subtotal-price {
    font-size: 1.35rem;
    color: var(--primary);
}

.btn-checkout-primary {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    margin-bottom: 0.5rem;
}

.btn-clear-cart {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    cursor: pointer;
}

/* Checkout Modal */
.checkout-modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-title-wrap h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.checkout-title-wrap p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-close-modal {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.checkout-modal-body {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pay-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    cursor: pointer;
    transition: var(--transition);
}

.pay-option:hover, .pay-option.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.08);
}

.pay-option input[type="radio"] {
    accent-color: var(--primary);
}

.pay-option-content strong {
    display: block;
    font-size: 0.95rem;
}

.pay-option-content small {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.checkout-summary-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.summary-line.total-line {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.text-free {
    color: var(--accent-emerald);
    font-weight: 700;
}

.btn-submit-order {
    width: 100%;
    padding: 1.15rem;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    transition: var(--transition);
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 50;
    transition: var(--transition);
}

.floating-wa-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.floating-wa-label {
    font-size: 0.88rem;
    font-weight: 800;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 92, 246, 0.4);
    z-index: 110;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Comprehensive Tablet & Mobile Portrait Responsiveness System
   ========================================================================== */

/* 1. TABLET BREAKPOINT (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Header & Navigation */
    .nav-links, .currency-badge, .brand-pill {
        display: none !important;
    }
    .btn-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
    }
    .header-container {
        padding: 0 1.25rem;
        height: 64px;
    }
    .btn-cart-nav {
        padding: 0.45rem 0.85rem;
    }

    /* Product Details */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-buy-box {
        position: static !important;
        top: auto;
    }
    .product-gallery-box {
        padding: 1.25rem;
    }

    /* Grids & Cards */
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 2. MOBILE LANDSCAPE & SMALL TABLET (max-width: 768px) */
@media (max-width: 768px) {
    /* Containers & Paddings */
    .hero-section {
        padding: 3.5rem 1.25rem 2.5rem;
    }
    .catalog-toolbar-section {
        padding: 0 1.25rem;
        margin-bottom: 2rem;
    }
    .products-section {
        padding: 0 1.25rem 4rem;
    }
    .features-section, .steps-section {
        padding: 3.5rem 1.25rem;
    }
    .product-detail-hero {
        padding: 1.5rem 1.25rem 0.5rem;
    }
    .product-content-section {
        padding: 0 1.25rem;
        margin: 1.75rem auto 5rem;
    }
    .trust-stats-bar {
        padding: 2.5rem 1.25rem;
    }
    .main-footer {
        padding: 3.5rem 1.25rem 2rem;
    }

    /* Hero Typography & CTA */
    .hero-title {
        font-size: clamp(2rem, 5.5vw, 2.75rem);
        letter-spacing: -0.75px;
        margin-bottom: 1.25rem;
    }
    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 2rem;
    }
    .hero-cta-group {
        gap: 0.75rem;
    }

    /* Product Page Enhancements */
    .content-block-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.75rem;
    }
    .content-block-title {
        font-size: 1.25rem;
        padding-bottom: 0.75rem;
        margin-bottom: 1.25rem;
    }
    .feature-benefit-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .redeem-steps-list {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .redeem-step-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        padding: 1.15rem;
        border-radius: var(--radius-md);
    }
    .redeem-step-badge {
        margin-bottom: 0;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    .requirements-grid, .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Mobile Sticky Buy Bar for Single Product */
    .mobile-sticky-buy-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(11, 15, 25, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(139, 92, 246, 0.35);
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 85;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    }
    .sticky-buy-info {
        display: flex;
        flex-direction: column;
    }
    .sticky-buy-label {
        font-size: 0.7rem;
        color: var(--text-dim);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }
    .sticky-buy-price {
        font-size: 1.35rem;
        font-weight: 800;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
    }
    .sticky-buy-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }
    .btn-sticky-cart {
        width: 44px;
        height: 44px;
        border-radius: var(--radius-md);
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        color: #ffffff;
        font-size: 1.15rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }
    .btn-sticky-cart:active {
        transform: scale(0.94);
    }
    .btn-sticky-buy {
        padding: 0.75rem 1.35rem;
        background: var(--primary-gradient);
        color: #ffffff;
        border: none;
        border-radius: var(--radius-md);
        font-size: 0.95rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.45);
        white-space: nowrap;
        transition: var(--transition);
    }
    .btn-sticky-buy:active {
        transform: scale(0.96);
    }

    /* Floating WhatsApp repositioned */
    .floating-wa-label {
        display: none !important;
    }
    .floating-wa-btn {
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        bottom: 5.5rem;
        right: 1rem;
        justify-content: center;
        z-index: 80;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    .floating-wa-btn svg {
        width: 26px;
        height: 26px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 0.82rem;
    }
}

/* 3. MOBILE PORTRAIT (max-width: 640px) */
@media (max-width: 640px) {
    /* Header */
    .header-container {
        padding: 0 0.85rem;
        height: 58px;
        gap: 0.5rem;
    }
    .brand-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }
    .brand-icon svg {
        width: 18px;
        height: 18px;
    }
    .brand-text {
        font-size: 1.15rem;
    }
    .btn-cart-nav {
        padding: 0.4rem 0.65rem;
        height: 34px;
    }
    .btn-cart-nav .cart-label {
        display: none !important;
    }
    .btn-icon-nav {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .btn-hamburger {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .announcement-bar {
        height: 32px;
        font-size: 0.75rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 2.25rem 0.85rem 1.75rem;
    }
    .hero-badge-tag {
        font-size: 0.72rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 1.15rem;
        line-height: 1.35;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.22;
        letter-spacing: -0.5px;
        margin-bottom: 0.85rem;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1.5rem;
        gap: 0.65rem;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: var(--radius-md);
    }

    /* Hero Trust Bar transformed into 3-col micro-stats */
    .hero-trust-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.35rem !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0.65rem 0.4rem !important;
        border-radius: var(--radius-md) !important;
        background: rgba(17, 24, 39, 0.75) !important;
        border: 1px solid var(--border-color) !important;
        box-sizing: border-box !important;
    }
    .trust-bullet {
        display: none !important;
    }
    .trust-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
        gap: 0.15rem !important;
    }
    .trust-item span:first-child {
        font-size: 1.15rem !important;
        margin-bottom: 2px !important;
    }

    /* Catalog Toolbar & Genre Touch Carousel */
    .catalog-toolbar-section {
        padding: 0 0.85rem;
        margin-bottom: 1.5rem;
    }
    .search-input-box {
        margin-bottom: 1rem;
    }
    .search-input-box input {
        height: 46px;
        font-size: 0.88rem;
        padding: 0 1rem 0 2.75rem;
        border-radius: var(--radius-md);
    }
    .search-input-box .search-icon {
        left: 0.95rem;
        width: 18px;
        height: 18px;
    }
    .genre-filter-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.25rem 0.25rem 0.65rem !important;
        margin-bottom: 1.25rem !important;
    }
    .genre-filter-container::-webkit-scrollbar {
        display: none !important;
    }
    .genre-pill {
        padding: 0.42rem 0.95rem;
        font-size: 0.8rem;
        flex-shrink: 0;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }

    /* Product Cards & Grid */
    .products-section {
        padding: 0 0.85rem 3.5rem;
    }
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.4rem;
    }
    .section-desc {
        font-size: 0.9rem;
    }
    .section-header-wrap {
        margin-bottom: 2rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .product-card {
        border-radius: var(--radius-md);
    }
    .product-image-wrap {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    .product-card-body {
        padding: 1.15rem;
    }
    .product-title {
        font-size: 1.05rem;
        line-height: 1.35;
    }
    .product-snippet {
        font-size: 0.82rem;
        margin-bottom: 1rem;
    }
    .price-current {
        font-size: 1.25rem;
    }
    .btn-card-detail {
        padding: 0.55rem 0.95rem;
        font-size: 0.85rem;
    }

    /* Pagination */
    .pagination-wrapper {
        gap: 0.35rem;
        margin-top: 2rem;
    }
    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 0.6rem;
        font-size: 0.82rem;
    }

    /* Product Detail Page Hero */
    .product-detail-hero {
        padding: 1rem 0.85rem 0.5rem;
    }
    .breadcrumb-nav {
        font-size: 0.75rem;
        gap: 0.35rem;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        margin-bottom: 0.85rem;
        padding-bottom: 0.25rem;
    }
    .breadcrumb-nav::-webkit-scrollbar {
        display: none;
    }
    .product-detail-layout {
        gap: 1.25rem;
    }
    .product-gallery-box {
        padding: 0.75rem;
        border-radius: var(--radius-lg);
    }
    .main-preview-image {
        border-radius: var(--radius-sm);
        margin-bottom: 0.5rem;
    }
    .main-preview-container {
        margin-bottom: 0.5rem;
    }
    .gallery-nav-btn {
        opacity: 0.85 !important;
        width: 36px !important;
        height: 36px !important;
    }
    .gallery-nav-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    .gallery-counter-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.55rem;
        font-size: 0.72rem;
    }
    .thumb-carousel-btn {
        display: none !important;
    }
    .thumbnails-strip {
        gap: 0.45rem;
        padding: 0.15rem 0.15rem 0.45rem;
        margin: 0;
        scrollbar-width: none;
    }
    .thumbnails-strip::-webkit-scrollbar {
        display: none;
    }
    .thumb-item {
        width: 76px;
        height: 46px;
        border-radius: 6px;
    }
    .product-buy-box {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }
    .detail-game-title {
        font-size: 1.38rem;
        line-height: 1.25;
        margin-bottom: 0.65rem;
    }
    .detail-price-panel {
        padding: 0.85rem 1rem;
        margin-bottom: 1rem;
    }
    .big-price {
        font-size: 1.65rem;
    }
    .btn-buy-now {
        padding: 0.95rem;
        font-size: 0.98rem;
        border-radius: var(--radius-md);
    }
    .btn-add-cart-outline {
        padding: 0.85rem;
        font-size: 0.88rem;
        border-radius: var(--radius-md);
    }
    .specs-list {
        margin-top: 1.15rem;
        padding-top: 0.85rem;
    }
    .spec-item {
        font-size: 0.8rem;
        padding: 0.45rem 0;
        gap: 0.5rem;
    }
    .spec-label {
        min-width: 95px;
        font-size: 0.78rem;
    }
    .spec-value {
        font-size: 0.8rem;
    }

    /* Product Content Blocks */
    .product-content-section {
        padding: 0 0.85rem;
        margin: 1.25rem auto 5.5rem;
    }
    .content-block-card {
        padding: 1.15rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.25rem;
    }
    .content-block-title {
        font-size: 1.12rem;
        gap: 0.45rem;
        padding-bottom: 0.65rem;
        margin-bottom: 0.85rem;
    }
    .template-desc-prose {
        font-size: 0.88rem;
        line-height: 1.62;
    }
    .template-desc-prose h4 {
        font-size: 1rem;
        margin: 1.15rem 0 0.65rem;
    }
    .template-desc-prose ul, .template-desc-prose ol {
        padding-left: 1.2rem;
        margin-bottom: 1rem;
    }
    .template-desc-prose li {
        font-size: 0.84rem;
        margin-bottom: 0.4rem;
    }
    .benefit-card {
        padding: 0.85rem;
        border-radius: var(--radius-sm);
    }
    .benefit-card strong {
        font-size: 0.88rem;
        margin-bottom: 0.2rem;
    }
    .benefit-card p {
        font-size: 0.8rem;
        line-height: 1.45;
    }
    .redeem-step-item {
        padding: 0.85rem;
        gap: 0.75rem;
        border-radius: var(--radius-sm);
    }
    .redeem-step-badge {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .redeem-step-item h5 {
        font-size: 0.88rem;
        margin-bottom: 0.2rem;
    }
    .redeem-step-item p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    /* Why Choose Us & Steps */
    .feature-box, .step-card {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }
    .feature-box h3, .step-card h4 {
        font-size: 1.1rem;
    }
    .feature-box p, .step-card p {
        font-size: 0.85rem;
        line-height: 1.55;
    }

    /* Pre-Footer Stats */
    .trust-stats-bar {
        padding: 2rem 0.85rem;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .stat-card {
        gap: 0.85rem;
    }
    .stat-icon {
        font-size: 1.75rem;
    }
    .stat-info h4 {
        font-size: 0.95rem;
    }
    .stat-info p {
        font-size: 0.78rem;
    }

    /* Footer */
    .main-footer {
        padding: 2.5rem 0.85rem 2rem;
    }
    .footer-about {
        font-size: 0.82rem;
        line-height: 1.6;
    }
    .footer-heading {
        font-size: 0.98rem;
        margin-bottom: 1rem;
    }
    .footer-links a {
        font-size: 0.82rem;
    }
    .footer-legal-notice {
        padding: 1rem;
    }
    .footer-legal-notice p {
        font-size: 0.72rem;
        line-height: 1.55;
    }

    /* Modals & Drawers */
    .search-modal-backdrop, .checkout-modal-backdrop {
        padding: 0.5rem;
    }
    .search-modal-box, .checkout-modal-box {
        border-radius: var(--radius-lg);
        max-height: 92vh;
    }
    .search-input-wrapper {
        padding: 1rem;
    }
    .search-input-wrapper input {
        font-size: 0.95rem;
    }
    .checkout-modal-header {
        padding: 1.15rem 1.25rem;
    }
    .checkout-title-wrap h3 {
        font-size: 1.2rem;
    }
    .checkout-modal-body {
        padding: 1.15rem;
        max-height: 75vh;
    }
    .cart-drawer {
        max-width: 100%;
    }
    .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer {
        padding: 1.15rem;
    }

    /* Static / Legal Pages */
    .legal-page-header {
        padding: 2.5rem 0.85rem 1.5rem;
    }
    .legal-page-header h1 {
        font-size: 1.75rem;
    }
    .legal-content-wrap {
        padding: 0 0.85rem;
        margin-bottom: 3.5rem;
    }
    .legal-article-card {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
        font-size: 0.88rem;
        line-height: 1.65;
    }
    .contact-info-card, .contact-form-card {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }
}

/* 4. ULTRA-SMALL DEVICES (max-width: 380px) */
@media (max-width: 380px) {
    .header-container {
        padding: 0 0.65rem;
    }
    .brand-text {
        font-size: 1.05rem;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .hero-trust-bar {
        padding: 0.5rem 0.25rem !important;
    }
    .trust-item {
        font-size: 0.64rem !important;
    }
    .product-image-wrap {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    .big-price, .sticky-buy-price {
        font-size: 1.45rem;
    }
    .btn-sticky-buy {
        padding: 0.65rem 1rem;
        font-size: 0.88rem;
    }
    .btn-sticky-cart {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

