/* ========================================
   ShopKey — Premium Software Store
   Theme: Indigo × Amber  (Cool + Warm balance)
   ======================================== */

:root {
    /* === COOL TONES === */
    --primary:         #6366f1;   /* Indigo — links, active, borders */
    --primary-dark:    #4f46e5;   /* Indigo darker — buttons, pressed */
    --secondary:       #8b5cf6;   /* Violet — gradient partner */

    /* === WARM TONES === */
    --accent:          #f59e0b;   /* Amber — price, CTA buy button */
    --accent-dark:     #d97706;   /* Amber hover */
    --hot:             #f43f5e;   /* Rose — HOT badge, flash sale */
    --hot-glow:        rgba(244,63,94,0.18);

    /* === BACKGROUNDS === */
    --light-bg:        #0d1117;   /* Page background */
    --light-card:      #161b27;   /* Card surface */
    --light-card-hover:#1e2a3a;   /* Card hover */
    --light-surface:   #1e2a3a;   /* Elevated surface */
    --light-border:    #2d3748;   /* Border lines */

    /* === TEXT === */
    --text-main:       #f1f5f9;
    --text-muted:      #94a3b8;
    --text-dim:        #64748b;

    /* === GRADIENTS === */
    --gradient-main:   linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-button: linear-gradient(135deg, var(--accent), #ef4444);  /* Warm amber→rose CTA */
    --gradient-hero:   linear-gradient(135deg, #312e81 0%, #1e1b4b 50%, #0d1117 100%);
    --gradient-gold:   linear-gradient(135deg, #fbbf24, #f59e0b);

    /* === GLOW === */
    --glow-cyan:       0 4px 20px rgba(99,102,241,0.2), 0 0 40px rgba(99,102,241,0.08);
    --glow-purple:     0 4px 20px rgba(139,92,246,0.2), 0 0 40px rgba(139,92,246,0.08);
    --glow-amber:      0 4px 20px rgba(245,158,11,0.25), 0 0 40px rgba(245,158,11,0.1);

    /* === FONTS === */
    --font-heading:    'Outfit', 'Inter', 'Segoe UI', sans-serif;
    --font-body:       'Inter', 'Segoe UI', sans-serif;
    --font-alt:        'Inter', 'Segoe UI', sans-serif;

    /* === LEGACY COMPAT (prevents neon-* classes from breaking) === */
    --neon-cyan:       #6366f1;
    --neon-purple:     #8b5cf6;
    --neon-pink:       #f43f5e;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.65;
    background-color: var(--light-bg);
    color: var(--text-muted);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Light weight for paragraph text */
p, span, li, td, th { font-weight: 400; }
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
h4, h5 { font-weight: 500; }

/* Subtle grid — Indigo tint, very faint */
body::before {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(600px) rotateX(60deg);
    transform-origin: center bottom;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.04) 40%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.04) 40%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--accent));
}

/* ====== ANIMATIONS ====== */

/* Neon Glow Pulse */
@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(99,102,241,0.5), 0 0 20px rgba(99,102,241,0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(99,102,241,0.8), 0 0 40px rgba(99,102,241,0.5);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(99,102,241,0.3);
        box-shadow: 0 0 15px rgba(99,102,241,0.1);
    }
    50% {
        border-color: rgba(245,158,11,0.45);
        box-shadow: 0 0 25px rgba(245,158,11,0.15);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rgbBorder {
    0%   { border-color: #6366f1; }   /* indigo */
    33%  { border-color: #f59e0b; }   /* amber */
    66%  { border-color: #8b5cf6; }   /* violet */
    100% { border-color: #6366f1; }   /* back to indigo */
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 1;
    }

    50% {
        transform: translateY(-40px) translateX(-5px) scale(0.9);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-20px) translateX(15px) scale(1.05);
        opacity: 0.5;
    }
}

/* ====== UTILITY CLASSES ====== */

.font-gaming {
    font-family: var(--font-heading);
}

.font-alt {
    font-family: var(--font-alt);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    animation: neonPulse 2s ease-in-out infinite;
}

.glow-cyan {
    box-shadow: var(--glow-cyan);
}

.glow-purple {
    box-shadow: var(--glow-purple);
}

/* Background Grid Pattern */
.bg-grid {
    background-image:
        linear-gradient(rgba(99,102,241,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Particles Background */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.4;
}

.particle:nth-child(2n) {
    background: var(--primary-dark);
    animation-duration: 8s;
    width: 2px;
    height: 2px;
}

.particle:nth-child(3n) {
    background: var(--accent);
    animation-duration: 10s;
    width: 4px;
    height: 4px;
    opacity: 0.3;
}

/* ====== NAVBAR ====== */

.navbar {
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 13, 20, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.04);
    border-bottom-color: rgba(99,102,241,0.2);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Force readable text on dark navbar */
.nav-link {
    position: relative;
    color: #94a3b8;

    text-decoration: none;
    font-family: var(--font-alt);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
    padding-top: 12px;
}

.group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.group:hover > .nav-dropdown[style*="left:auto"] {
    transform: translateY(0);
}

.nav-dropdown-inner {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 6px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(37, 99, 235, 0.05);
    position: relative;
    overflow: hidden;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.nav-dropdown-item:hover {
    background: rgba(15, 23, 42, 0.06);
}

.nav-dropdown-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--icon-color, var(--primary));
    transition: all 0.3s ease;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
    background: color-mix(in srgb, var(--icon-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--icon-color) 30%, transparent);
    box-shadow: 0 0 20px color-mix(in srgb, var(--icon-color) 20%, transparent);
}

.nav-dropdown-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.nav-dropdown-item:hover .nav-dropdown-title {
    color: #fff;
}

.nav-dropdown-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Search Bar */
.search-bar {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* ====== HERO SECTION ====== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: var(--font-alt);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Hero Style 2 — Centered */
.hero-centered {
    text-align: center;
    justify-content: center;
}

.hero-title-lg {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
}

/* Hero Style 3 — Image Background */
.hero-bg-image {
    position: relative;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.85) 100%);
    z-index: 1;
}

.hero-title-xl {
    font-size: clamp(2rem, 5.5vw, 4rem);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ====== BUTTONS ====== */

/* btn-primary — Cool Indigo (nav, secondary actions) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
    animation: gradientShift 3s ease infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }

/* btn-secondary — Indigo outline */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(99,102,241,0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(99,102,241,0.08);
    border-color: var(--primary);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

/* btn-buy — Warm Amber (main purchase CTA) */
.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    background-size: 200% 200%;
    color: #0d1117;
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-buy {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        gap: 0.5rem;
        letter-spacing: 1px;
    }
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-amber);
    background-position: right center;
    color: #fff;
}

/* ====== GAME CARDS ====== */

.game-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 0 25px rgba(99,102,241,0.12);
}

.game-card .card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.game-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .card-image img {
    transform: scale(1.08);
}

.game-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--light-card), transparent);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #0d1117;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === BADGE UTILITIES === */
.badge-hot  { background: rgba(244,63,94,0.15);  color: #f43f5e; border: 1px solid rgba(244,63,94,0.3);  padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-sale { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-new  { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-free { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* Price tag */
.price-main { color: var(--accent); font-weight: 700; }
.price-old  { color: var(--text-dim); text-decoration: line-through; font-size: 0.85em; }

.card-platform {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

.card-platform span {
    padding: 4px 8px;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-family: var(--font-alt);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-price .current {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.card-price .original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ====== STATS SECTION ====== */

.stat-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-alt);
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* ====== CATEGORY CARDS ====== */

.category-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    border-color: rgba(29, 78, 216, 0.4);
    background: var(--light-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(29, 78, 216, 0.1);
}

.category-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(29, 78, 216, 0.1);
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.category-card:hover .icon {
    background: rgba(29, 78, 216, 0.2);
    border-color: rgba(29, 78, 216, 0.4);
    transform: scale(1.1);
}

.category-card .name {
    font-family: var(--font-alt);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.category-card .count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ====== FLASH DEAL ====== */

.flash-deal-card {
    background: var(--light-card);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flash-deal-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.countdown {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.countdown-item {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 48px;
}

.countdown-item .number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-item .label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* ====== SECTION STYLING ====== */

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
}

/* ====== NEWSLETTER ====== */

.newsletter-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(29, 78, 216, 0.15);
    border-radius: 24px;
}

.newsletter-input {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

/* ====== FOOTER ====== */

.footer {
    background: linear-gradient(180deg, #0b1121 0%, #060a14 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--light-border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

/* ====== SCROLL ANIMATIONS ====== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}

/* ====== MOBILE MENU (Bottom Sheet) ====== */

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(10, 14, 26, 0.99));
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 24px 24px 0 0;
    padding: 0 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-handle {
    width: 40px;
    height: 4px;
    background: rgba(15, 23, 42, 0.15);
    border-radius: 4px;
    margin: 12px auto 20px;
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-nav-item:active {
    transform: scale(0.95);
}

.mobile-nav-item:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.mobile-nav-item.active {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

.mobile-nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
}

.mobile-nav-label {
    font-family: var(--font-alt);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.5px;
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--primary);
}

.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    margin: 16px 0;
}

/* ====== PRODUCT PAGE ====== */

.product-gallery {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--light-border);
}

.product-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 2rem;
}

.requirements-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.requirements-table th,
.requirements-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-border);
}

.requirements-table th {
    color: var(--primary);
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requirements-table td {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ====== CART PAGE ====== */

.cart-item {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-summary {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

/* ====== AUTH PAGES ====== */

.auth-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    max-width: 440px;
    width: 100%;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

.auth-input {
    width: 100%;
    background: rgba(15, 22, 41, 0.8);
    border: 1px solid var(--light-border);
    border-radius: 10px;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ====== FILTER SIDEBAR ====== */

.filter-sidebar {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-border);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

/* Custom checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.custom-checkbox:hover {
    color: var(--text-main);
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #475569;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"]:checked {
    background: var(--gradient-main);
    border-color: var(--primary);
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a0e1a;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Price range slider */
.price-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--light-border);
    border-radius: 2px;
    outline: none;
}

.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-main);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* ====== PAGINATION ====== */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-alt);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    color: var(--text-muted);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--gradient-main);
    color: #0a0e1a;
    font-weight: 700;
    border: none;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0;
        max-width: 100%;
    }
}

/* ====== CONTACT WIDGET ====== */

.contact-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

/* Toggle Button */
.contact-widget-toggle {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0e1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35), 0 0 40px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    pointer-events: auto;
}

.contact-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5), 0 0 60px rgba(29, 78, 216, 0.2);
}

.contact-widget-toggle:active {
    transform: scale(0.95);
}

.contact-widget-toggle-icon,
.contact-widget-toggle-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-widget-toggle-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.cw-open .contact-widget-toggle-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.cw-open .contact-widget-toggle-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Pulse Ring */
.contact-widget-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: cwPulse 2s ease-out infinite;
    pointer-events: none;
}

.cw-open .contact-widget-pulse {
    animation: none;
    opacity: 0;
}

@keyframes cwPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Menu */
.contact-widget-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cw-open .contact-widget-menu {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Menu Items */
.contact-widget-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
}

.cw-open .contact-widget-item {
    opacity: 1;
    transform: translateX(0);
}

.cw-open .contact-widget-item:nth-child(1) { transition-delay: 0.05s; }
.cw-open .contact-widget-item:nth-child(2) { transition-delay: 0.1s; }
.cw-open .contact-widget-item:nth-child(3) { transition-delay: 0.15s; }
.cw-open .contact-widget-item:nth-child(4) { transition-delay: 0.2s; }

.contact-widget-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(-4px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 15px rgba(37, 99, 235, 0.1);
}

.contact-widget-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 0;
    transition: transform 0.3s ease;
}

.contact-widget-item:hover .contact-widget-item-icon {
    transform: scale(1.15);
}

.contact-widget-item-label {
    font-family: var(--font-alt);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

/* Default Colors (overridden by inline style from DB) */
.contact-widget-item-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

/* Mobile: offset cho bottom navbar */
@media (max-width: 1023px) {
    .contact-widget {
        bottom: 80px;
        right: 16px;
    }

    .contact-widget-toggle {
        width: 50px;
        height: 50px;
    }

    .contact-widget-item-label {
        font-size: 0.75rem;
    }
}

/* ====== MUAKEY-STYLE COMPONENTS ====== */

/* Scrollbar hide utility */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---- Category Strip (horizontal scroll) ---- */
.mk-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    padding: 12px 8px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mk-cat-item:hover {
    background: rgba(37, 99, 235, 0.05);
}

.mk-cat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--light-border);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mk-cat-item:hover .mk-cat-icon {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.08);
    transform: scale(1.08);
}

.mk-cat-label {
    font-family: var(--font-alt);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

.mk-cat-item:hover .mk-cat-label {
    color: var(--primary);
}

/* ---- Pill Tabs ---- */
.mk-pill {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--light-border);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-alt);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.mk-pill:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--text-main);
}

.mk-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #0a0e1a;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

/* ---- Product Card (muakey style) — Premium Redesign ---- */
.mk-product-card {
    display: block;
    background: #0d1526;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    overflow: hidden;
    padding: 12px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mk-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 99,179,237), 0.05) 0%, rgba(var(--primary-dark-rgb, 129,140,248), 0.05) 100%);
    pointer-events: none;
}

.mk-product-card:hover {
    border-color: rgba(var(--primary-rgb, 99,179,237), 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(var(--primary-rgb, 37,99,235), 0.15), inset 0 1px 0 rgba(255,255,255,0.07);
}

.mk-product-card:hover::after {
    opacity: 1;
}

.mk-product-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #070b14;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.mk-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.mk-product-card:hover .mk-product-img img {
    transform: scale(1.07);
}

/* Status Badge — top-right */
.mk-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 9px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.mk-badge-hot {
    background: linear-gradient(135deg, rgba(239,68,68,0.9), rgba(249,115,22,0.9));
    color: #fff;
    border: 1px solid rgba(239,68,68,0.3);
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}

.mk-badge-status {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 10px rgba(52,211,153,0.15);
}

.mk-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Platform tags — bottom-left */
.mk-product-platforms {
    position: absolute;
    bottom: 8px;
    left: 18px;
    display: flex;
    gap: 4px;
    z-index: 3;
}

.mk-product-platforms span {
    padding: 2px 8px;
    background: rgba(10, 15, 35, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 5px;
    font-size: 0.5625rem;
    font-weight: 700;
    color: #94a3b8;
    font-family: var(--font-alt);
    border: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.3px;
}

/* Product info area */
.mk-product-info {
    padding: 14px 0 0;
}

.mk-product-name {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.1px;
    transition: color 0.25s;
}

.mk-product-card:hover .mk-product-name {
    color: #ffffff;
}

.mk-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 5px;
    margin-bottom: 10px;
}

.mk-price-label {
    font-size: 0.65rem;
    color: #475569;
    font-weight: 500;
}

.mk-price-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.mk-product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mk-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    color: #34d399;
    font-family: var(--font-alt);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Buy button — solid on hover */
.mk-btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb, 99,179,237), 0.08);
    border: 1px solid rgba(var(--primary-rgb, 99,179,237), 0.2);
    color: var(--primary);
    font-family: var(--font-alt);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.mk-product-card:hover .mk-btn-order {
    background: var(--gradient-button);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 59,130,246), 0.4);
}

/* ---- View All Button ---- */
.mk-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 100px;
    border: 1px solid var(--light-border);
    color: var(--text-muted);
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mk-btn-viewall:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.1);
}

/* ---- Step Cards (compact) ---- */
.mk-step-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.mk-step-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.mk-step-num {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0a0e1a;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-step-icon {
    width: 48px;
    height: 48px;
    margin: 4px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

.mk-step-card:nth-child(2) .mk-step-icon {
    background: rgba(29, 78, 216, 0.08);
    border-color: rgba(29, 78, 216, 0.15);
    color: var(--primary-dark);
}

.mk-step-card:nth-child(3) .mk-step-icon {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.mk-step-card h3 {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.mk-step-card p {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---- Feature Strip ---- */
.mk-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.mk-feature:hover {
    border-color: rgba(37, 99, 235, 0.15);
}

.mk-feature h4 {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.mk-feature p {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ---- Responsive for mk-* ---- */
@media (max-width: 768px) {
    .mk-cat-item {
        min-width: 68px;
        padding: 8px 4px;
    }

    .mk-cat-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.25rem;
    }

    .mk-cat-label {
        font-size: 0.5625rem;
    }

    .mk-product-info {
        padding: 10px;
    }

    .mk-product-name {
        font-size: 0.75rem;
    }

    .mk-price-value {
        font-size: 0.8125rem;
    }

    .mk-step-card {
        padding: 16px 8px;
    }

    .mk-step-card h3 {
        font-size: 0.75rem;
    }

    .mk-step-card p {
        font-size: 0.5625rem;
    }

    .mk-step-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .mk-step-icon svg {
        width: 20px;
        height: 20px;
    }

    .mk-feature {
        padding: 12px 10px;
        gap: 10px;
    }

    .mk-feature h4 {
        font-size: 0.75rem;
    }

    .mk-feature p {
        font-size: 0.625rem;
    }
}
