/* ========================================
   ShopHack - Gaming Key Store
   Custom Styles & Animations
   ======================================== */

/* CSS Variables */
:root {
    --neon-cyan: #00f0ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-green: #22c55e;
    --dark-bg: #0a0e1a;
    --dark-card: #111827;
    --dark-card-hover: #1a2332;
    --dark-surface: #0f1629;
    --dark-border: #1e293b;
    --gradient-main: linear-gradient(135deg, #00f0ff, #a855f7);
    --gradient-button: linear-gradient(135deg, #00f0ff, #a855f7);
    --gradient-gold: linear-gradient(135deg, #00f0ff, #a855f7);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-alt: 'Space Grotesk', sans-serif;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 3D Perspective Skewed Grid Background */
body::before {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center bottom;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 40%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 40%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
}

/* ====== ANIMATIONS ====== */

/* Neon Glow Pulse */
@keyframes neonPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(0, 240, 255, 0.2);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(0, 240, 255, 0.3);
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    }

    50% {
        border-color: rgba(0, 240, 255, 0.6);
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    }
}

@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: #00f0ff;
    }

    33% {
        border-color: #a855f7;
    }

    66% {
        border-color: #ec4899;
    }

    100% {
        border-color: #00f0ff;
    }
}

@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(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 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(--neon-cyan);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.4;
}

.particle:nth-child(2n) {
    background: var(--neon-purple);
    animation-duration: 8s;
    width: 2px;
    height: 2px;
}

.particle:nth-child(3n) {
    background: var(--neon-pink);
    animation-duration: 10s;
    width: 4px;
    height: 4px;
    opacity: 0.3;
}

/* ====== NAVBAR ====== */

.navbar {
    background: var(--dark-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 7, 10, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(0, 240, 255, 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;
}

.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(--neon-cyan);
}

.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(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 240, 255, 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(255, 255, 255, 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(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--icon-color, var(--neon-cyan));
    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: #e2e8f0;
    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: #64748b;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Search Bar */
.search-bar {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: #e2e8f0;
    font-family: var(--font-body);
}

.search-bar input::placeholder {
    color: #64748b;
}

/* ====== 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(168, 85, 247, 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(0, 240, 255, 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: #94a3b8;
    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 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-main);
    background-size: 200% 200%;
    color: #0a0e1a;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(168, 85, 247, 0.2);
    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.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--gradient-button);
    background-size: 200% 200%;
    color: white;
    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: 8px;
    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: 0 0 25px rgba(168, 85, 247, 0.4);
    animation: gradientShift 3s ease infinite;
}

/* ====== GAME CARDS ====== */

.game-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-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(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.1);
}

.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(--dark-card), transparent);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--gradient-gold);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 1px;
}

.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(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-family: var(--font-alt);
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    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(--neon-cyan);
}

.card-price .original {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: line-through;
}

/* ====== STATS SECTION ====== */

.stat-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(0, 240, 255, 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(0, 240, 255, 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: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* ====== CATEGORY CARDS ====== */

.category-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-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(168, 85, 247, 0.4);
    background: var(--dark-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(168, 85, 247, 0.1);
}

.category-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 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(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
}

.category-card .name {
    font-family: var(--font-alt);
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}

.category-card .count {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* ====== FLASH DEAL ====== */

.flash-deal-card {
    background: var(--dark-card);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flash-deal-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-4px);
}

.countdown {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.countdown-item {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 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(--neon-cyan);
}

.countdown-item .label {
    font-size: 0.625rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    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(168, 85, 247, 0.1), rgba(0, 240, 255, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 24px;
}

.newsletter-input {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    color: #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* ====== FOOTER ====== */

.footer {
    background: linear-gradient(180deg, var(--dark-bg), #050810);
    border-top: 1px solid rgba(0, 240, 255, 0.08);
}

.footer-link {
    color: #64748b;
    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(--neon-cyan);
    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(--dark-border);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 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(0, 240, 255, 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(255, 255, 255, 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(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.15);
}

.mobile-nav-item.active {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 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: #94a3b8;
    text-align: center;
    letter-spacing: 0.5px;
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--neon-cyan);
}

.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    margin: 16px 0;
}

/* ====== PRODUCT PAGE ====== */

.product-gallery {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.product-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    background: var(--dark-card);
    border: 1px solid var(--dark-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(--dark-border);
}

.requirements-table th {
    color: var(--neon-cyan);
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requirements-table td {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ====== CART PAGE ====== */

.cart-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-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(0, 240, 255, 0.2);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-summary {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

/* ====== AUTH PAGES ====== */

.auth-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-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(--dark-border);
    border-radius: 10px;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    color: #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* ====== FILTER SIDEBAR ====== */

.filter-sidebar {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-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: #f1f5f9;
    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: #94a3b8;
    transition: color 0.3s ease;
}

.custom-checkbox:hover {
    color: #e2e8f0;
}

.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(--neon-cyan);
}

.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(--dark-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(0, 240, 255, 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(--dark-card);
    border: 1px solid var(--dark-border);
    color: #94a3b8;
}

.pagination a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.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(--neon-cyan), var(--neon-purple));
    color: #0a0e1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35), 0 0 40px rgba(0, 240, 255, 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(0, 240, 255, 0.5), 0 0 60px rgba(168, 85, 247, 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(--neon-cyan);
    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(--dark-card);
    border: 1px solid var(--dark-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(0, 240, 255, 0.3);
    transform: translateX(-4px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 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: #e2e8f0;
    letter-spacing: 0.3px;
}

/* Default Colors (overridden by inline style from DB) */
.contact-widget-item-icon {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 2px 10px rgba(0, 240, 255, 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(0, 240, 255, 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(--dark-border);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mk-cat-item:hover .mk-cat-icon {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.08);
    transform: scale(1.08);
}

.mk-cat-label {
    font-family: var(--font-alt);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    white-space: nowrap;
}

.mk-cat-item:hover .mk-cat-label {
    color: var(--neon-cyan);
}

/* ---- Pill Tabs ---- */
.mk-pill {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--dark-border);
    background: transparent;
    color: #94a3b8;
    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(0, 240, 255, 0.3);
    color: #e2e8f0;
}

.mk-pill.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: transparent;
    color: #0a0e1a;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0, 240, 255, 0.25);
}

/* ---- Product Card (muakey style) ---- */
.mk-product-card {
    display: block;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mk-product-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 240, 255, 0.06);
}

.mk-product-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 12px 12px 0;
}

.mk-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.mk-product-card:hover .mk-product-img img {
    transform: scale(1.08);
}

/* Badges */
.mk-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mk-badge-hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}

.mk-badge-status {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.mk-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mk-product-platforms {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.mk-product-platforms span {
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.5625rem;
    font-weight: 600;
    color: #e2e8f0;
    font-family: var(--font-alt);
}

/* Product info */
.mk-product-info {
    padding: 12px;
}

.mk-product-name {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.8125rem;
    color: #f1f5f9;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mk-product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.mk-price-label {
    font-size: 0.6875rem;
    color: #64748b;
}

.mk-price-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--neon-cyan);
}

.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: 600;
    color: #22c55e;
    font-family: var(--font-alt);
}

/* Buy button */
.mk-btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 7px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--neon-cyan);
    font-family: var(--font-alt);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.mk-product-card:hover .mk-btn-order {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: transparent;
    color: #0a0e1a;
}

/* ---- View All Button ---- */
.mk-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 100px;
    border: 1px solid var(--dark-border);
    color: #94a3b8;
    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(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.1);
}

/* ---- Step Cards (compact) ---- */
.mk-step-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.mk-step-card:hover {
    border-color: rgba(0, 240, 255, 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(--neon-cyan), var(--neon-purple));
    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(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--neon-cyan);
}

.mk-step-card:nth-child(2) .mk-step-icon {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
    color: var(--neon-purple);
}

.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: #f1f5f9;
    margin-bottom: 4px;
}

.mk-step-card p {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.4;
}

/* ---- Feature Strip ---- */
.mk-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.mk-feature:hover {
    border-color: rgba(0, 240, 255, 0.15);
}

.mk-feature h4 {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.8125rem;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.mk-feature p {
    font-size: 0.6875rem;
    color: #64748b;
    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;
    }
}


/* =========================================================
   SHOPHACK 2026 GLASS UI
   Paste this block at the VERY END of:
   /assets/css/custom.css
   ========================================================= */

:root {
    --glass-bg: rgba(15, 23, 42, 0.58);
    --glass-bg-strong: rgba(15, 23, 42, 0.78);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.16);

    --glass-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    --glass-blur: blur(22px) saturate(140%);
}

/* =========================================================
   GLOBAL BACKGROUND
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(0, 240, 255, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(168, 85, 247, 0.09),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(236, 72, 153, 0.055),
            transparent 35%
        ),
        #05070a !important;

    background-attachment: fixed;
}

/* Soft ambient glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(0, 240, 255, 0.035),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 60%,
            rgba(168, 85, 247, 0.035),
            transparent 28%
        );
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

.navbar {
    background: rgba(5, 7, 10, 0.42) !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.16);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 7, 10, 0.72) !important;

    border-bottom-color: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 12px 45px rgba(0, 0, 0, 0.30);
}

/* Logo */
.nav-logo {
    position: relative;
    transition: transform 0.25s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo::after {
    content: "";
    position: absolute;
    inset: -8px -12px;
    border-radius: 16px;

    background: radial-gradient(
        circle,
        rgba(0, 240, 255, 0.10),
        transparent 70%
    );

    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.nav-logo:hover::after {
    opacity: 1;
}

/* Navigation links */
.nav-link {
    position: relative;

    color: rgba(226, 232, 240, 0.68) !important;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -8px;

    width: 0;
    height: 2px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--neon-cyan),
        var(--neon-purple)
    );

    box-shadow:
        0 0 12px rgba(0, 240, 255, 0.45);

    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* =========================================================
   HEADER SEARCH
   ========================================================= */

#search-desktop input,
#search-input {
    background: rgba(255, 255, 255, 0.045) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03);

    transition:
        width 0.3s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

#search-desktop input:focus,
#search-input:focus {
    background: rgba(255, 255, 255, 0.065) !important;

    border-color: rgba(0, 240, 255, 0.32) !important;

    box-shadow:
        0 0 0 3px rgba(0, 240, 255, 0.055),
        0 0 25px rgba(0, 240, 255, 0.08);
}

/* Search dropdown */
#search-results {
    background: rgba(12, 17, 28, 0.82) !important;

    border: 1px solid rgba(255,255,255,0.09) !important;

    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.45);
}

/* =========================================================
   DROPDOWNS
   ========================================================= */

.nav-dropdown {
    filter: drop-shadow(
        0 25px 45px rgba(0,0,0,0.35)
    );
}

.nav-dropdown-inner {
    background: rgba(12, 17, 28, 0.82) !important;

    border: 1px solid rgba(255,255,255,0.08) !important;

    border-radius: 18px !important;

    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-dropdown-item {
    border-radius: 12px;
    margin: 3px 5px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255,255,255,0.055) !important;
    transform: translateX(2px);
}

/* =========================================================
   UNIVERSAL GLASS CARDS
   ========================================================= */

.mk-product-card,
.package-card,
.mk-step-card,
.mk-feature {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        ) !important;

    border: 1px solid var(--glass-border) !important;

    box-shadow: var(--glass-shadow);

    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);

    transition:
        transform 0.3s cubic-bezier(.2,.8,.2,1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* Glass highlight */
.mk-product-card::before,
.package-card::before,
.mk-step-card::before,
.mk-feature::before {
    content: "";

    position: absolute;
    left: 1px;
    right: 1px;
    top: 1px;

    height: 45%;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.045),
            transparent
        );

    pointer-events: none;
}

/* Hover */
.mk-product-card:hover,
.package-card:hover,
.mk-step-card:hover,
.mk-feature:hover {
    transform: translateY(-5px);

    border-color: rgba(0,240,255,0.20) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        ) !important;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.35),
        0 0 30px rgba(0,240,255,0.055),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.mk-product-img {
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(0,240,255,0.05),
            rgba(168,85,247,0.07)
        );
}

.mk-product-img img {
    transition:
        transform 0.55s cubic-bezier(.2,.8,.2,1),
        filter 0.35s ease;
}

.mk-product-card:hover .mk-product-img img {
    transform: scale(1.055);

    filter:
        saturate(1.12)
        brightness(1.04);
}

/* =========================================================
   PRODUCT BADGES
   ========================================================= */

.mk-badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.10);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.20);
}

/* =========================================================
   PRICE
   ========================================================= */

.mk-product-price,
.mk-price-value {
    text-shadow:
        0 0 18px rgba(0,240,255,0.16);
}

/* =========================================================
   GENERIC DARK CARDS
   ========================================================= */

.bg-dark-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        ) !important;

    border-color:
        rgba(255,255,255,0.075) !important;

    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

/* Don't overdo glass on tiny utility elements */
input.bg-dark-card,
select.bg-dark-card,
textarea.bg-dark-card {
    background: rgba(255,255,255,0.035) !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
    border: 1px solid rgba(255,255,255,0.10);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.22),
        0 0 20px rgba(0,240,255,0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.28),
        0 0 30px rgba(0,240,255,0.14);

    filter: brightness(1.06);
}

/* =========================================================
   TABLES / TASK PAGE
   ========================================================= */

table {
    border-collapse: separate;
    border-spacing: 0;
}

table thead tr {
    background: rgba(255,255,255,0.025);
}

table tbody tr {
    transition:
        background 0.2s ease;
}

table tbody tr:hover {
    background: rgba(255,255,255,0.025);
}

/* Task buttons */
.task-start-button {
    background:
        linear-gradient(
            135deg,
            rgba(0,240,255,0.18),
            rgba(168,85,247,0.18)
        ) !important;

    border: 1px solid rgba(0,240,255,0.20);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20),
        0 0 20px rgba(0,240,255,0.07);
}

.task-start-button:hover {
    border-color: rgba(0,240,255,0.38);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.25),
        0 0 30px rgba(0,240,255,0.12);
}

/* =========================================================
   TASK MOBILE CARDS
   ========================================================= */

.sm\:hidden > div,
.sm\:hidden .bg-dark-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.018)
        ) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   MODALS
   ========================================================= */

/* Existing modal-like containers in product.php */
[class*="fixed"][class*="max-w-md"],
[class*="fixed"][class*="max-w-lg"] {
    background:
        linear-gradient(
            145deg,
            rgba(20,27,42,0.84),
            rgba(8,12,20,0.82)
        ) !important;

    border: 1px solid rgba(255,255,255,0.10) !important;

    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);

    box-shadow:
        0 35px 100px rgba(0,0,0,0.60),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* =========================================================
   PROFILE / USER DASHBOARD
   ========================================================= */

.profile-card,
.dashboard-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid rgba(255,255,255,0.055);

    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,0.20),
            rgba(5,7,10,0.72)
        );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1023px) {

    .navbar {
        background: rgba(5,7,10,0.68) !important;

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .mk-product-card:hover,
    .package-card:hover,
    .mk-step-card:hover,
    .mk-feature:hover {
        transform: none;
    }

    .mk-product-card:active,
    .package-card:active {
        transform: scale(0.985);
    }
}

/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   PRODUCT PACKAGE SELECTION
   ========================================================= */

.package-card {
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-4px);
}

.package-card:has(input:checked) {
    border-color: rgba(0,240,255,0.42) !important;

    background:
        linear-gradient(
            145deg,
            rgba(0,240,255,0.10),
            rgba(168,85,247,0.055)
        ) !important;

    box-shadow:
        0 20px 55px rgba(0,0,0,0.35),
        0 0 35px rgba(0,240,255,0.10),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

/* =========================================================
   USER AVATAR
   ========================================================= */

.w-24.h-24.rounded-2xl,
.w-28.h-28.rounded-2xl {
    position: relative;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.30),
        0 0 35px rgba(0,240,255,0.08);
}

/* Dashboard statistic cards */
.bg-dark-card.rounded-2xl.p-4:hover {
    border-color: rgba(255,255,255,0.13) !important;
}

/* =========================================================
   MODAL BACKDROP
   ========================================================= */

.fixed.inset-0 {
    --tw-bg-opacity: 1;
}

.fixed.inset-0.bg-black\/50,
.fixed.inset-0.bg-black\/60,
.fixed.inset-0.bg-black\/70 {
    background: rgba(0,0,0,0.62) !important;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* =========================================================
   HOMEPAGE SECTIONS
   ========================================================= */

section {
    position: relative;
}

/* Section title */
.section-title {
    letter-spacing: -0.025em;
}

/* Step cards */
.mk-step-card {
    overflow: hidden;
}

.mk-step-num {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.mk-step-card:hover .mk-step-num {
    transform: scale(1.08);

    box-shadow:
        0 0 30px rgba(0,240,255,0.10);
}

.mk-step-icon {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.mk-step-card:hover .mk-step-icon {
    transform: translateY(-3px);

    filter:
        drop-shadow(0 0 12px rgba(0,240,255,0.25));
}

/* Homepage product name */
.mk-product-name {
    transition: color 0.2s ease;
}

.mk-product-card:hover .mk-product-name {
    color: #fff;
}

/* =========================================================
   MOBILE NAV LAYOUT SPACING
   Visual styling is consolidated at the end of this file.
   ========================================================= */
@media (max-width: 1023px) {
    body {
        padding-bottom: calc(98px + env(safe-area-inset-bottom)) !important;
    }

    .contact-widget {
        bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    }
}


/* =========================================================
   BACKGROUND MUSIC PLAYER
   ========================================================= */

.background-music-widget {
    position: fixed;

    right: 16px;

    /*
     * Nút tai nghe của contact widget nằm ở khoảng
     * 96px tính từ đáy trên mobile.
     *
     * Music button nằm cao hơn nó.
     */
    bottom: calc(
        158px + env(safe-area-inset-bottom)
    );

    z-index: 10000;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    pointer-events: none;
}


/* =========================================================
   MUSIC BUTTON
   ========================================================= */

.background-music-button {

    position: relative;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    border:
        1px solid rgba(
            236,
            72,
            153,
            .45
        );

    background:
        rgba(
            10,
            10,
            18,
            .96
        );

    color:
        #ec4899;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    cursor:
        pointer;

    pointer-events:
        auto;

    box-shadow:
        0 0 0 1px
        rgba(236,72,153,.08),

        0 0 22px
        rgba(236,72,153,.16);

    transition:
        transform .2s ease,
        box-shadow .25s ease;

    -webkit-tap-highlight-color:
        transparent;
}


.background-music-button:hover {

    transform:
        scale(1.06);

    box-shadow:
        0 0 0 1px
        rgba(236,72,153,.16),

        0 0 30px
        rgba(236,72,153,.28);

}


.background-music-button:active {

    transform:
        scale(.94);

}


/* =========================================================
   ĐANG PHÁT
   ========================================================= */

.background-music-button.is-playing {

    border-color:
        rgba(
            236,
            72,
            153,
            .75
        );

    box-shadow:
        0 0 0 1px
        rgba(236,72,153,.12),

        0 0 25px
        rgba(236,72,153,.30);

}


/* =========================================================
   SÓNG NHẠC
   ========================================================= */

.background-music-visualizer {

    width: 25px;
    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 3px;

}


.background-music-visualizer span {

    display: block;

    width: 3px;

    height: 8px;

    border-radius: 999px;

    background:
        #ec4899;

    transform-origin:
        center;

}


.background-music-button.is-playing
.background-music-visualizer span:nth-child(1) {

    animation:
        musicBar1 .65s ease-in-out infinite;

}


.background-music-button.is-playing
.background-music-visualizer span:nth-child(2) {

    animation:
        musicBar2 .48s ease-in-out infinite;

}


.background-music-button.is-playing
.background-music-visualizer span:nth-child(3) {

    animation:
        musicBar3 .58s ease-in-out infinite;

}


.background-music-button.is-playing
.background-music-visualizer span:nth-child(4) {

    animation:
        musicBar4 .42s ease-in-out infinite;

}


.background-music-button.is-playing
.background-music-visualizer span:nth-child(5) {

    animation:
        musicBar5 .70s ease-in-out infinite;

}


@keyframes musicBar1 {

    0%,100% {
        height: 7px;
    }

    50% {
        height: 21px;
    }

}


@keyframes musicBar2 {

    0%,100% {
        height: 13px;
    }

    50% {
        height: 24px;
    }

}


@keyframes musicBar3 {

    0%,100% {
        height: 9px;
    }

    50% {
        height: 27px;
    }

}


@keyframes musicBar4 {

    0%,100% {
        height: 17px;
    }

    50% {
        height: 8px;
    }

}


@keyframes musicBar5 {

    0%,100% {
        height: 8px;
    }

    50% {
        height: 20px;
    }

}


/* =========================================================
   ICON PLAY KHI PAUSE
   ========================================================= */

.background-music-play-icon {

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    line-height: 1;

    color:
        #ec4899;

}


/* =========================================================
   POPUP NHẠC
   ========================================================= */

.background-music-panel {

    position: absolute;

    right: 0;

    bottom: 66px;

    width: 245px;

    padding: 18px 18px 15px;

    border-radius: 18px;

    background:
        rgba(
            15,
            15,
            20,
            .97
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .10
        );

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.45),

        0 0 25px
        rgba(236,72,153,.08);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    opacity:
        0;

    visibility:
        hidden;

    transform:
        translateY(8px)
        scale(.96);

    transform-origin:
        bottom right;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    pointer-events:
        none;
}


.background-music-panel.is-visible {

    opacity:
        1;

    visibility:
        visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events:
        auto;

}


/* =========================================================
   PANEL TITLE
   ========================================================= */

.background-music-panel-title {

    text-align:
        center;

    font-family:
        var(--font-alt);

    font-size:
        13px;

    font-weight:
        700;

    letter-spacing:
        1.4px;

    color:
        #cbd5e1;

    margin-bottom:
        16px;

}


/* =========================================================
   VOLUME
   ========================================================= */

.background-music-volume-row {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.background-music-volume-row svg {

    width:
        17px;

    height:
        17px;

    color:
        #94a3b8;

    flex-shrink:
        0;

}


.background-music-volume-row input[type="range"] {

    flex:
        1;

    width:
        100%;

    height:
        5px;

    border-radius:
        999px;

    appearance:
        none;

    -webkit-appearance:
        none;

    background:
        rgba(
            255,
            255,
            255,
            .12
        );

    outline:
        none;

}


.background-music-volume-row
input[type="range"]::-webkit-slider-thumb {

    appearance:
        none;

    -webkit-appearance:
        none;

    width:
        17px;

    height:
        17px;

    border-radius:
        50%;

    background:
        #ec4899;

    border:
        0;

    box-shadow:
        0 0 12px
        rgba(236,72,153,.45);

    cursor:
        pointer;

}


.background-music-volume-row
input[type="range"]::-moz-range-thumb {

    width:
        17px;

    height:
        17px;

    border-radius:
        50%;

    background:
        #ec4899;

    border:
        0;

    box-shadow:
        0 0 12px
        rgba(236,72,153,.45);

    cursor:
        pointer;

}


.background-music-volume-value {

    text-align:
        center;

    margin-top:
        8px;

    font-family:
        var(--font-alt);

    font-size:
        11px;

    color:
        #64748b;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1023px) {

    .background-music-widget {

        right:
            16px;

        bottom:
            calc(
                158px +
                env(safe-area-inset-bottom)
            );

    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .background-music-widget {

        right:
            13px;

        bottom:
            calc(
                154px +
                env(safe-area-inset-bottom)
            );

    }

    .background-music-button {

        width:
            50px;

        height:
            50px;

    }

    .background-music-panel {

        width:
            225px;

    }

}



/* ==========================================================
   NEUTRAL CLEAR-GLASS BOTTOM NAVIGATION
   Dán/giữ một bộ style duy nhất cho thanh điều hướng mobile.
   Lưu ý: CSS tạo kính trong, phản chiếu và blur; không mô phỏng
   khúc xạ vật lý bằng displacement map.
   ========================================================== */

.mobile-bottom-nav {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: min(640px, calc(100vw - 24px)) !important;
    height: 80px !important;
    transform: translateX(-50%) !important;
    z-index: 90 !important;
    pointer-events: none !important;
}

.mobile-bottom-nav-inner {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    height: 100% !important;
    padding: 7px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .30) !important;
    border-radius: 999px !important;

    /* Kính trung tính: trắng bạc + khói, không phủ màu xanh/tím */
    background:
        radial-gradient(ellipse at 18% -24%, rgba(255,255,255,.25), transparent 54%),
        radial-gradient(ellipse at 88% 125%, rgba(255,255,255,.07), transparent 52%),
        linear-gradient(145deg,
            rgba(255,255,255,.17) 0%,
            rgba(236,239,244,.085) 35%,
            rgba(19,20,24,.45) 100%) !important;
    -webkit-backdrop-filter: blur(26px) saturate(145%) !important;
    backdrop-filter: blur(26px) saturate(145%) !important;
    box-shadow:
        0 18px 48px rgba(0,0,0,.42),
        0 4px 16px rgba(0,0,0,.22),
        inset 0 1.4px 1px rgba(255,255,255,.42),
        inset 0 -1px 1px rgba(255,255,255,.09) !important;
    pointer-events: auto !important;
}

/* Soft reflection trapped inside the rounded glass */
.mobile-bottom-nav-inner::before {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    z-index: 0 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: inherit !important;
    background: linear-gradient(112deg,
        rgba(255,255,255,.11) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255,255,255,.055) 100%) !important;
    pointer-events: none !important;
}

/* Thin white highlight along the top curved edge */
.mobile-bottom-nav-inner::after {
    content: "" !important;
    position: absolute !important;
    top: 1px !important;
    left: 16% !important;
    right: 16% !important;
    height: 1px !important;
    z-index: 2 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,.74),
        rgba(255,255,255,.32),
        transparent) !important;
    filter: blur(.25px) !important;
    pointer-events: none !important;
}

.mobile-bottom-item {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    height: 64px !important;
    min-width: 0 !important;
    padding: 3px 1px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.70) !important;
    text-decoration: none !important;
    transition: background .22s ease, border-color .22s ease,
        color .22s ease, transform .22s ease, box-shadow .22s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Selected tab gets its own clear glass capsule */
.mobile-bottom-item.active {
    color: #fff !important;
    border-color: rgba(255,255,255,.32) !important;
    background: linear-gradient(145deg,
        rgba(255,255,255,.23),
        rgba(255,255,255,.075) 58%,
        rgba(255,255,255,.12)) !important;
    box-shadow:
        0 5px 16px rgba(0,0,0,.20),
        inset 0 1px 1px rgba(255,255,255,.36),
        inset 0 -1px 1px rgba(255,255,255,.08) !important;
    transform: translateY(-1px) !important;
}

.mobile-bottom-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    color: rgba(255,255,255,.79) !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color .22s ease, background .22s ease,
        border-color .22s ease, box-shadow .22s ease,
        transform .22s ease !important;
}

.mobile-bottom-icon svg {
    width: 21px !important;
    height: 21px !important;
    stroke-width: 1.85 !important;
}

/* A clear convex highlight on the active icon; neutral silver only */
.mobile-bottom-item.active .mobile-bottom-icon {
    color: #fff !important;
    border-color: rgba(255,255,255,.46) !important;
    background: radial-gradient(circle at 32% 18%,
        rgba(255,255,255,.48),
        rgba(255,255,255,.19) 43%,
        rgba(255,255,255,.055) 78%) !important;
    box-shadow:
        0 4px 12px rgba(0,0,0,.17),
        inset 0 1px 1px rgba(255,255,255,.47),
        inset 0 -2px 4px rgba(0,0,0,.14) !important;
    transform: translateY(-1px) !important;
}

.mobile-bottom-label {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: rgba(255,255,255,.68) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: -.12px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.28) !important;
    transition: color .22s ease !important;
}

.mobile-bottom-item.active .mobile-bottom-label {
    color: #fff !important;
    text-shadow: 0 1px 5px rgba(0,0,0,.34) !important;
}

.mobile-bottom-avatar img {
    width: 25px !important;
    height: 25px !important;
    border: 1px solid rgba(255,255,255,.58) !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

@media (hover: hover) and (pointer: fine) and (max-width: 1023px) {
    .mobile-bottom-item:not(.active):hover {
        color: #fff !important;
        background: rgba(255,255,255,.075) !important;
        border-color: rgba(255,255,255,.14) !important;
        transform: translateY(-1px) !important;
    }
}

.mobile-bottom-item:active {
    transform: scale(.95) !important;
}

@media (max-width: 640px) {
    .mobile-bottom-nav {
        width: calc(100vw - 20px) !important;
        height: 78px !important;
        bottom: calc(9px + env(safe-area-inset-bottom)) !important;
    }

    .mobile-bottom-nav-inner {
        gap: 2px !important;
        padding: 6px !important;
    }

    .mobile-bottom-item {
        height: 64px !important;
        gap: 3px !important;
    }

    .mobile-bottom-icon {
        flex-basis: 32px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .mobile-bottom-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .mobile-bottom-label {
        font-size: 9.5px !important;
        letter-spacing: -.2px !important;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-nav {
        width: calc(100vw - 14px) !important;
        height: 73px !important;
        bottom: calc(7px + env(safe-area-inset-bottom)) !important;
    }

    .mobile-bottom-nav-inner { padding: 5px !important; gap: 1px !important; }
    .mobile-bottom-item { height: 61px !important; gap: 2px !important; }
    .mobile-bottom-icon { flex-basis: 29px !important; width: 29px !important; height: 29px !important; }
    .mobile-bottom-icon svg { width: 18px !important; height: 18px !important; }
    .mobile-bottom-label { font-size: 8.5px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-item,
    .mobile-bottom-icon,
    .mobile-bottom-label {
        transition: none !important;
    }
}
