/* ==================== APEX GEAR STYLE - MOTOSPEED ==================== */
/* Matching https://apex-gear-ui.lovable.app/ pixel-perfect */

/* ===== ROOT VARIABLES ===== */
:root {
    --apex-red: #FF0844;
    --apex-cyan: #00D9FF;
    --apex-blue: #0066FF;
    --apex-purple: #BD00FF;
    --apex-magenta: #FF00FF;
    --apex-dark: #000000;
    --apex-dark-2: #0A0A0A;
    --apex-dark-3: #141414;
    --apex-text: #FFFFFF;
    --apex-gray: #999999;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--apex-dark) !important;
    color: var(--apex-text) !important;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
    margin: 0;
    padding: 0;
}

/* ===== HERO SECTION REFINED ===== */
/* ===== HERO SECTION REFINED - ULTIMATE GAMING EDIT ===== */
.apex-hero {
    position: relative;
    background: var(--apex-dark);
    padding: 160px 0 120px;
    /* Increased top padding */
    overflow: hidden;
    min-height: 90vh;
    /* Taller hero section */
    display: flex;
    align-items: center;
}

/* Background Texture for Detail */
.apex-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--apex-dark) 0%, transparent 100%);
    z-index: 2;
}

.apex-hero-visual-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.apex-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 50%, transparent 0%, var(--apex-dark) 85%);
    z-index: 2;
}

.apex-hero-glow-point {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50px, 30px) scale(1.1);
        opacity: 0.8;
    }
}

.apex-hero-image-container {
    position: absolute;
    top: 0;
    right: -5%;
    width: 70%;
    height: 100%;
    z-index: 0;
}

.apex-hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    /* Increased opacity */
    mask-image: linear-gradient(to left, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
    transform: scale(1.05);
    /* Slight zoom */
}

.apex-hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 750px;
    /* Constrain width for better readability */
}

/* Premium Badge */
.apex-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(0, 217, 255, 0.1);
    /* Cyan tint */
    border: 1px solid rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    /* Square edges for tech look */
    color: var(--apex-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 35px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
    text-transform: uppercase;
}

.apex-premium-badge i {
    font-size: 0.9rem;
    color: #fff;
}

.animate-float {
    animation: floatingAction 3s infinite ease-in-out;
}

@keyframes floatingAction {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Typography Overhaul */
.apex-hero-title-modern {
    font-size: 5.5rem;
    /* Massive size */
    font-weight: 900;
    line-height: 0.9;
    color: #FFFFFF;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.apex-text-gradient-flow {
    background: linear-gradient(90deg, #00D9FF 0%, #0066FF 50%, #BD00FF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientFlow 4s linear infinite;
    position: relative;
    display: inline-block;
}

@keyframes gradientFlow {
    to {
        background-position: 200% center;
    }
}

.apex-hero-subtitle-refined {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #d1d1d1;
    /* Brighter gray */
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons Redesign */
.apex-hero-btn-group {
    display: flex;
    gap: 25px;
    margin-bottom: 70px;
}

.apex-btn-impact {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--apex-red);
    color: #fff !important;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(255, 8, 68, 0.4);
    border: 1px solid transparent;
}

.apex-btn-impact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 8, 68, 0.6);
    background: #ff1f55;
    border-color: #ff4d79;
}

.apex-btn-impact i {
    transition: transform 0.3s ease;
}

.apex-btn-impact:hover i {
    transform: translateX(5px);
}

.apex-btn-outline-glow {
    padding: 18px 45px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.apex-btn-outline-glow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Metrics Redesign */
.apex-hero-metrics {
    display: flex;
    align-items: center;
    gap: 60px;
    /* More spacing */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2.5rem;
    /* Larger numbers */
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.metric-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

.metric-separator {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ===== PRODUCTS SECTION ===== */
.apex-products {
    background: var(--apex-dark);
    padding: 80px 0;
}

.apex-section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.apex-section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 8, 68, 0.1);
    border: 1px solid var(--apex-red);
    border-radius: 4px;
    color: var(--apex-red);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 8, 68, 0.2);
}

.apex-section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.apex-gradient-magenta {
    background: linear-gradient(90deg, #FF00FF, #BD00FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.apex-section-desc {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.apex-products-grid {
    margin-top: 40px;
}

.apex-product-card {
    background: var(--apex-dark-3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.apex-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 8, 68, 0.3);
    box-shadow: 0 15px 35px rgba(255, 8, 68, 0.15);
}

.apex-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apex-badge-hot {
    background: var(--apex-red);
}

.apex-badge-sale {
    background: var(--apex-red);
}

.apex-product-link {
    text-decoration: none;
    display: block;
}

.apex-product-image {
    position: relative;
    height: 250px;
    background: var(--apex-dark-2);
    overflow: hidden;
}

.apex-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apex-product-card:hover .apex-product-image img {
    transform: scale(1.08);
}

.apex-product-info {
    padding: 18px;
}

.apex-product-rating {
    margin-bottom: 8px;
}

.apex-product-rating i {
    color: #FFB800;
    font-size: 0.8rem;
    margin-right: 1px;
}

.apex-product-rating span {
    font-size: 0.8rem;
    color: var(--apex-gray);
    margin-left: 4px;
}

.apex-product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apex-product-price {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.apex-price-current {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--apex-red);
}

.apex-price-old {
    font-size: 0.9rem;
    color: var(--apex-gray);
    text-decoration: line-through;
}

.apex-add-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--apex-red);
    border-radius: 6px;
    color: var(--apex-red);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.apex-add-cart:hover {
    background: var(--apex-red);
    color: #fff;
}

/* ===== PRODUCT CARD CTA STYLES ===== */

/* Contact Badge */
.apex-badge-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    gap: 5px;
}

.apex-badge-contact i {
    font-size: 10px;
}

/* Price Contact Text */
.apex-price-contact {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
}

/* Product Card Flexbox Layout */
.apex-product-card {
    display: flex;
    flex-direction: column;
}

.apex-product-link {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apex-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apex-product-price {
    margin-top: auto;
}

/* CTA Footer */
.apex-product-cta {
    padding: 0 18px 18px;
}

.apex-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Add to Cart Button */
.apex-cta-add-cart {
    background: linear-gradient(135deg, var(--apex-red) 0%, #ff3366 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 8, 68, 0.3);
}

.apex-cta-add-cart:hover {
    background: linear-gradient(135deg, #ff3366 0%, var(--apex-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 8, 68, 0.4);
}

.apex-cta-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 8, 68, 0.3);
}

/* Contact Button */
.apex-cta-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.apex-cta-contact:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
    text-decoration: none;
}

.apex-cta-contact:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* Card with Price - Hover State */
.apex-product-card.has-price:hover {
    border-color: rgba(255, 8, 68, 0.5);
    box-shadow: 0 15px 40px rgba(255, 8, 68, 0.2);
}

.apex-product-card.has-price:hover .apex-cta-add-cart {
    background: linear-gradient(135deg, #ff3366 0%, #ff5577 100%);
    box-shadow: 0 6px 25px rgba(255, 8, 68, 0.5);
}

/* Card without Price - Hover State */
.apex-product-card.no-price:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.apex-product-card.no-price:hover .apex-cta-contact {
    background: linear-gradient(135deg, #764ba2 0%, #8b5cf6 100%);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

/* CTA Hover Animation */
.apex-product-card:hover .apex-product-cta .apex-cta-btn {
    animation: apexPulseCta 1.5s ease-in-out infinite;
}

@keyframes apexPulseCta {

    0%,
    100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Responsive CTA */
@media (max-width: 767px) {
    .apex-product-cta {
        padding: 0 15px 15px;
    }

    .apex-cta-btn {
        padding: 10px 15px;
        font-size: 0.75rem;
    }
}

.apex-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background: rgba(255, 8, 68, 0.1);
    border: 1px solid var(--apex-red);
    border-radius: 4px;
    color: var(--apex-red) !important;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.apex-view-all:hover {
    background: var(--apex-red);
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 8, 68, 0.4);
}

.apex-view-all:hover i {
    transform: translateX(5px);
}

/* ===== CATEGORIES SECTION - REFINED GAMING STYLE ===== */
.apex-categories {
    background: var(--apex-dark-2);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background grid effect */
.apex-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}

.apex-category-card-modern {
    display: block;
    position: relative;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

/* Glow Background Effect */
.card-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.apex-category-card-modern:hover .card-bg-glow {
    opacity: 1;
    transform: scale(1);
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
}

.apex-category-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Wrapper */
.apex-category-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    position: relative;
}

.apex-category-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: all 0.5s ease;
}

/* Icon Colors */
.icon-keyboard i {
    color: #00D9FF;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.icon-mouse i {
    color: #FF0844;
    text-shadow: 0 0 15px rgba(255, 8, 68, 0.5);
}

.icon-headset i {
    color: #BD00FF;
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.5);
}

.icon-gamepad i {
    color: #00FF88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.apex-category-icon-wrapper i {
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

/* Hover Effects for Icons */
.apex-category-card-modern:hover .apex-category-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.apex-category-card-modern:hover .icon-keyboard {
    border-color: #00D9FF;
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.apex-category-card-modern:hover .icon-mouse {
    border-color: #FF0844;
    background: rgba(255, 8, 68, 0.1);
    box-shadow: 0 0 30px rgba(255, 8, 68, 0.2);
}

.apex-category-card-modern:hover .icon-headset {
    border-color: #BD00FF;
    background: rgba(189, 0, 255, 0.1);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.2);
}

.apex-category-card-modern:hover .icon-gamepad {
    border-color: #00FF88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

/* Typography */
.cat-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.apex-category-card-modern:hover .cat-title {
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cat-desc {
    font-size: 0.9rem;
    color: var(--apex-gray);
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Footer Section */
.cat-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.cat-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--apex-gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cat-arrow {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.apex-category-card-modern:hover .cat-arrow {
    background: #fff;
    color: #000;
    transform: translateX(5px);
}

.apex-category-card-modern:hover .cat-count {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== CTA SECTION ===== */
/* ===== CTA SECTION - REDESIGNED ===== */
.apex-cta {
    position: relative;
    background: var(--apex-dark);
    padding: 120px 0;
    overflow: hidden;
    /* subtle grid texture */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.apex-cta-glow {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.15) 0%, transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.apex-cta-content {
    position: relative;
    z-index: 2;
    padding-right: 50px;
}

.apex-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(189, 0, 255, 0.1);
    border: 1px solid rgba(189, 0, 255, 0.5);
    border-radius: 4px;
    color: #E255F2;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.apex-cta-title {
    font-size: 4rem;
    /* Increased size */
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.apex-gradient-purple {
    background: linear-gradient(90deg, #E255F2, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(226, 85, 242, 0.4);
}

.apex-cta-desc {
    font-size: 1.15rem;
    /* Increased size */
    color: #ccc;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
}

/* Enhanced Countdown Timer */
.apex-countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.apex-countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.apex-countdown-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.apex-countdown-number {
    font-size: 3.5rem;
    /* Much larger */
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Segoe UI', sans-serif;
    /* Slight mono feel */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.apex-countdown-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.apex-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 50px;
    background: #FF0844;
    border: none;
    border-radius: 4px;
    /* Sharper corners */
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 8, 68, 0.4);
}

.apex-btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.apex-btn-cta:hover {
    background: #ff1f55;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(255, 8, 68, 0.6);
}

.apex-btn-cta:hover::before {
    left: 100%;
}

/* Image Wrapper */
.apex-cta-image-wrapper {
    position: relative;
    z-index: 5;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apex-cta-image-inner {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.apex-cta-image-wrapper:hover .apex-cta-image-inner {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.03);
}

.apex-image-glow-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.5) 0%, rgba(255, 0, 255, 0.1) 50%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulseBanner 4s infinite alternate;
}

@keyframes glowPulseBanner {
    from {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.apex-cta-featured-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.apex-image-border-gradient {
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, #BD00FF, #FF00FF, #00D9FF);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderRotate 4s linear infinite;
}

.apex-image-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    border-radius: 16px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .apex-hero-title {
        font-size: 3.2rem;
    }

    .apex-section-title {
        font-size: 2.2rem;
    }

    .apex-cta-title {
        font-size: 3rem;
    }

    .apex-stat-number {
        font-size: 2.2rem;
    }

    .apex-hero-bg-image {
        width: 50%;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .apex-hero {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .apex-hero-title {
        font-size: 2.5rem;
    }

    .apex-section-title {
        font-size: 1.8rem;
    }

    .apex-cta-title {
        font-size: 2.5rem;
    }

    .apex-stat-number {
        font-size: 1.8rem;
    }

    .apex-hero-stats {
        gap: 20px;
    }

    .apex-stat-divider {
        height: 30px;
    }

    .apex-hero-actions {
        flex-direction: column;
        margin-bottom: 35px;
    }

    .apex-btn-primary,
    .apex-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .apex-hero-bg-image {
        display: none;
    }

    .apex-cta {
        padding: 70px 0;
    }

    .apex-cta-image-wrapper {
        margin-top: 50px;
        padding: 10px;
    }

    .apex-countdown {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .apex-hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .apex-section-title {
        font-size: 1.5rem;
    }

    .apex-cta-title {
        font-size: 2rem;
    }

    .apex-stat-number {
        font-size: 1.5rem;
    }

    .apex-stat-label {
        font-size: 0.75rem;
    }

    .apex-countdown-number {
        font-size: 2rem;
    }

    .apex-product-image {
        height: 200px;
    }

    .apex-category-icon {
        width: 60px;
        height: 60px;
    }

    .apex-category-icon i {
        font-size: 1.6rem;
    }

    .apex-category-card {
        padding: 25px 15px;
    }
}

/* Anchor Offset for Fixed Header */
.apex-anchor-offset {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.apex-category-anchor {
    text-decoration: none !important;
    display: block;
}

/* ===== APEX HEADER STYLES ===== */
.apex-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000000;
    /* Deep black solid background for premium feel */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 80px;
    display: flex;
    align-items: center;
}

.apex-header.scrolled {
    height: 70px;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-bottom-color: var(--apex-red);
}

.apex-header .container {
    height: 100%;
}

.apex-header .row {
    height: 100%;
    display: flex;
}

.apex-header-top {
    height: 100%;
    width: 100%;
}

/* Logo Alignment */
.apex-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.apex-logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 8, 68, 0.2));
    transition: transform 0.3s ease;
}

.apex-logo:hover .apex-logo-img {
    transform: scale(1.05);
}

/* Center Menu Refinement */
.apex-nav {
    height: 100%;
}

.apex-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.apex-nav-list li {
    height: 100%;
    display: flex;
    align-items: center;
}

.apex-nav-link {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 10px 5px;
}

/* Underline Animation */
.apex-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--apex-red);
    box-shadow: 0 0 10px var(--apex-red);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}

.apex-nav-link:hover {
    color: #fff;
}

.apex-nav-link:hover::after,
.apex-nav-link.active::after {
    width: 100%;
}

.apex-nav-link.active {
    color: var(--apex-red);
}

/* Utilities (Right) */
.apex-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    height: 100%;
}

.apex-header-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.apex-header-icon:hover {
    background: var(--apex-red);
    border-color: var(--apex-red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 8, 68, 0.4);
}

.apex-cart-badge,
.apex-favorites-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #fff;
	color: #000;
	font-size: 0.7rem;
	font-weight: 800;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid var(--apex-red);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

.apex-favorites-badge {
	border-color: #FF0050;
}

.apex-header-icon:hover .apex-cart-badge {
	background: #000;
	color: #fff;
	border-color: #fff;
}

.apex-header-icon:hover .apex-favorites-badge {
	background: #000;
	color: #fff;
	border-color: #fff;
	animation: heartbeat 1s ease-in-out infinite;
}

/* Favorites Icon Special Styling */
.apex-favorites-icon {
	position: relative;
}

.apex-favorites-icon i {
	transition: all 0.3s ease;
}

.apex-favorites-icon:hover i {
	color: white;
	animation: heartPulse 0.6s ease-in-out;
}

/* Heart Animations */
@keyframes heartbeat {
	0%, 100% {
		transform: scale(1);
	}
	25% {
		transform: scale(1.1);
	}
	50% {
		transform: scale(1);
	}
	75% {
		transform: scale(1.05);
	}
}

@keyframes heartPulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

/* Search Overlay */
.apex-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.apex-search-overlay.active {
    display: flex;
}

.apex-search-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.apex-search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.apex-search-form {
    display: flex;
    gap: 10px;
}

.apex-search-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
}

.apex-search-input:focus {
    outline: none;
    border-color: var(--apex-red);
}

.apex-search-submit {
    padding: 15px 30px;
    background: var(--apex-red);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Mobile Menu */
.apex-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--apex-dark-2);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.apex-mobile-menu.active {
    right: 0;
}

.apex-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apex-mobile-menu-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.apex-mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.apex-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apex-mobile-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.apex-mobile-menu-list a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.apex-mobile-menu-list a:hover {
    background: rgba(255, 8, 68, 0.1);
    color: var(--apex-red);
}

.apex-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.apex-mobile-menu-overlay.active {
    display: block;
}

/* ===== APEX BENEFITS SECTION - REDESIGNED ===== */
.apex-benefits {
    background: #000;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.apex-benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.apex-benefit-item:hover {
    border-color: rgba(255, 8, 68, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #111;
}

.apex-benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 8, 68, 0.05);
    border: 1px solid rgba(255, 8, 68, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.apex-benefit-item:hover .apex-benefit-icon {
    background: var(--apex-red);
    box-shadow: 0 0 20px rgba(255, 8, 68, 0.4);
    border-color: var(--apex-red);
}

.apex-benefit-icon i {
    font-size: 1.8rem;
    color: var(--apex-red);
    transition: all 0.3s ease;
}

.apex-benefit-item:hover .apex-benefit-icon i {
    color: #fff;
}

.apex-benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apex-benefit-content p {
    font-size: 0.95rem;
    color: var(--apex-gray);
    margin: 0;
}


/* ===== APEX FOOTER STYLES - REDESIGNED ===== */
.apex-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding-top: 20px;
}

.apex-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--apex-red), transparent);
    opacity: 0.5;
}

.apex-footer-top {
    padding: 80px 0 40px;
}

.apex-footer-widget {
    margin-bottom: 50px;
}

.apex-footer-logo {
    margin-bottom: 25px;
}

.apex-footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.2) contrast(1.1);
}

.apex-footer-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #aaa;
    margin-bottom: 30px;
    max-width: 90%;
}

.apex-footer-social {
    display: flex;
    gap: 15px;
}

.apex-footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.apex-footer-social a:hover {
    background: var(--apex-red);
    border-color: var(--apex-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 8, 68, 0.3);
}

.apex-footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apex-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--apex-red);
    box-shadow: 0 0 10px var(--apex-red);
}

.apex-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apex-footer-menu li {
    margin-bottom: 15px;
}

.apex-footer-menu a {
    color: #bbb;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.apex-footer-menu a:hover {
    color: #fff;
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.apex-footer-menu a::before {
    content: '›';
    position: absolute;
    left: -10px;
    opacity: 0;
    color: var(--apex-red);
    transition: all 0.3s ease;
    font-weight: 800;
}

.apex-footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

.apex-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apex-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #bbb;
    font-size: 1rem;
    line-height: 1.5;
}

.apex-footer-contact i {
    color: var(--apex-red);
    margin-top: 4px;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 8, 68, 0.4);
}

.apex-footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050505;
}

.apex-footer-copy {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* ===== NO SEARCH RESULTS ===== */
.apex-no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--apex-dark-3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.apex-no-results-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 8, 68, 0.1);
    border: 3px solid var(--apex-red);
    border-radius: 50%;
    position: relative;
}

.apex-no-results-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--apex-red);
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.apex-no-results-icon i {
    font-size: 3.5rem;
    color: var(--apex-red);
    position: relative;
    z-index: 2;
}

.apex-no-results-title {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.apex-no-results-message {
    font-size: 1rem;
    color: var(--apex-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.apex-no-results-message strong {
    color: var(--apex-red);
    font-weight: 700;
}

.apex-no-results-suggestions {
    max-width: 400px;
    margin: 0 auto 40px;
    padding: 25px;
    background: var(--apex-dark-2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.apex-no-results-suggestions h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.apex-no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.apex-no-results-suggestions li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--apex-gray);
    line-height: 1.5;
}

.apex-no-results-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--apex-red);
    font-weight: 700;
}

.apex-no-results-suggestions li:last-child {
    margin-bottom: 0;
}

.apex-no-results-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.apex-no-results-actions .apex-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.apex-no-results-actions .apex-btn-primary {
    background: var(--apex-red);
    border: 2px solid var(--apex-red);
    color: #fff !important;
}

.apex-no-results-actions .apex-btn-primary:hover {
    background: #E60738;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 8, 68, 0.4);
}

.apex-no-results-actions .apex-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.apex-no-results-actions .apex-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Mobile Responsive for Header/Footer */
@media (max-width: 768px) {
    .apex-benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .apex-footer-widget {
        text-align: center;
    }

    .apex-footer-social {
        justify-content: center;
    }

    .apex-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .apex-no-results {
        padding: 60px 15px;
    }

    .apex-no-results-icon {
        width: 100px;
        height: 100px;
    }

    .apex-no-results-icon i {
        font-size: 3rem;
    }

    .apex-no-results-title {
        font-size: 1.6rem;
    }

    .apex-no-results-actions {
        flex-direction: column;
    }

    .apex-no-results-actions .apex-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .apex-no-results-icon {
        width: 80px;
        height: 80px;
    }

    .apex-no-results-icon i {
        font-size: 2.5rem;
    }

    .apex-no-results-title {
        font-size: 1.4rem;
    }

    .apex-no-results-suggestions {
        padding: 20px 15px;
    }
}

/* ===== GAMING CUSTOM PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination-custom {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.pagination-custom li {
    display: block;
}

.pagination-custom li a,
.pagination-custom li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #1A1A1A;
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-custom li a:hover {
    background: #333333;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.pagination-custom li.active span {
    background: #E32121;
    box-shadow: 0 4px 15px rgba(227, 33, 33, 0.4);
    border-color: #E32121;
}

.pagination-custom li i {
    font-size: 1.2rem;
}

@media (max-width: 576px) {

    .pagination-custom li a,
    .pagination-custom li span {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .pagination-custom {
        gap: 5px;
    }
}

/* =========================================
   CYBER PRODUCT CARD STYLES (ADDED)
   ========================================= */

.apex-product-card-cyber {
    position: relative;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.apex-product-card-cyber:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    background: #141414;
    border-color: rgba(255, 8, 68, 0.4);
}

/* Glow Effects */
.card-cyber-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 8, 68, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 0;
    border-radius: 50%;
}

.apex-product-card-cyber:hover .card-cyber-glow {
    width: 150%;
    height: 150%;
    opacity: 1;
}

/* Badge Styles */
.cyber-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cyber-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {

    0%,
    80% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.cyber-badge.sale {
    background: linear-gradient(135deg, #FF0844, #FF4B2B);
}

.cyber-badge.hot {
    background: linear-gradient(135deg, #FF9900, #FF5500);
}

.cyber-badge.contact {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Product Image Area */
.cyber-product-image {
    position: relative;
    height: 260px;
    background: #111;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.cyber-product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.apex-product-card-cyber:hover .cyber-product-image img {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(255, 8, 68, 0.2));
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apex-product-card-cyber:hover .img-overlay {
    opacity: 1;
}

/* Product Info Area */
.cyber-product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: inherit;
}

.cyber-product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 12px;
}

.cyber-product-rating i {
    color: #FFB800;
    font-size: 0.8rem;
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.cyber-product-rating .rating-count {
    color: #888;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 600;
}

.cyber-product-link {
    text-decoration: none;
    display: contents;
}

.cyber-product-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    transition: color 0.3s ease;
}

.apex-product-card-cyber:hover .cyber-product-title {
    color: var(--apex-red);
}

.cyber-product-meta {
    margin-top: auto;
    margin-bottom: 20px;
}

.cyber-price-group {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.cyber-price-current {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apex-product-card-cyber:hover .cyber-price-current {
    color: var(--apex-red);
    background: none;
    -webkit-text-fill-color: var(--apex-red);
    text-shadow: 0 0 20px rgba(255, 8, 68, 0.4);
}

.cyber-price-old {
    font-size: 0.95rem;
    color: #666;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.cyber-price-contact {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Actions Area */
.cyber-product-actions {
    padding: 0 24px 24px;
    position: relative;
    z-index: 2;
}

.cyber-btn-cart {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    border: 1px solid rgba(255, 8, 68, 0.4);
    color: var(--apex-red);
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cyber-btn-cart .btn-icon i {
    font-size: 1.1rem;
}

.cyber-btn-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--apex-red);
    background: linear-gradient(135deg, var(--apex-red), #ff3366);
    transition: width 0.3s ease;
    z-index: -1;
}

.cyber-btn-cart .btn-text {
    position: relative;
    z-index: 2;
}

.cyber-btn-cart .btn-icon {
    position: relative;
    z-index: 2;
}

.cyber-btn-cart:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(255, 8, 68, 0.3);
}

.cyber-btn-cart:hover::before {
    width: 100%;
}

.cyber-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #667eea;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cyber-btn-contact:hover {
    background: #667eea;
    color: #fff;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Responsive */
@media (max-width: 576px) {
    .cyber-product-image {
        height: 200px;
    }

    .cyber-product-info {
        padding: 15px;
    }

    .cyber-product-actions {
        padding: 0 15px 15px;
    }

    .cyber-product-title {
        font-size: 1rem;
    }

    .cyber-price-current {
        font-size: 1.2rem;
    }
}

@media (max-width: 462px) {
    .apex-header-actions{
        gap: 12px;
    }
}

@media (max-width: 430px) {
    .apex-header-actions{
        gap: 5px;
    }

    .apex-logo-img{
        height: 38px;
    }
}

@media (max-width: 412px) {
    .apex-header-icon{
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 390px) {
    .apex-logo-img {
        height: 36px;
    }

    .apex-header-icon {
        width: 39px;
        height: 39px;
    }
}

@media (max-width: 375px) {
    .apex-header-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .apex-logo-img {
        height: 33px;
    }
}

/* =========================================
   GLITCH ANIMATIONS (ADDED)
   ========================================= */
.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 3%, #fff 3%, #fff 5%, transparent 5%);
    background-size: 20px 20px;
    transform: translate(-100%, 0);
    transition: transform 0s;
    opacity: 0.2;
    z-index: 100;
    pointer-events: none;
}

.cyber-btn-cart:hover .btn-glitch {
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes glitch-anim {
    0% {
        transform: translate(-100%, 0);
    }

    10% {
        transform: translate(10%, 0);
    }

    20% {
        transform: translate(-30%, 0);
    }

    30% {
        transform: translate(10%, 0);
    }

    40% {
        transform: translate(30%, 0);
    }

    50% {
        transform: translate(-10%, 0);
    }

    60% {
        transform: translate(10%, 0);
    }

    70% {
        transform: translate(30%, 0);
    }

    80% {
        transform: translate(-20%, 0);
    }

    90% {
        transform: translate(10%, 0);
    }

    100% {
        transform: translate(100%, 0);
    }
}

.badge-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
}

.card-cyber-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--apex-red), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.apex-product-card-cyber:hover .card-cyber-border {
    opacity: 1;
}

/* Ensure icons are not ugly */
.cyber-category-icon-wrapper i {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}