/* --- XGAMER Technologies Custom Modern Theme --- */
:root {
    --xg-glow: rgba(93, 188, 255, 0.8);
    --xg-glow-dim: rgba(93, 188, 255, 0.2);
    --xg-dark-bg: #0b0f19;
}

/* Keen Burn Radial Gradient Effect applied to specific hero/header zones */
.keen-burn-bg {
    background: #fafafa;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0%, rgba(93,188,255,.3) 50%, rgba(93,188,255,.7) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Navigation overrides Bootstrap defaults */
.xg-navbar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(93, 188, 255, 0.3);
    box-shadow: 0 4px 30px rgba(93, 188, 255, 0.1);
}

/* Smooth Modern Gaming Buttons */
.btn-xgamer {
    background: linear-gradient(135deg, #007bff, #5db8ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--xg-glow-dim);
}

.btn-xgamer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--xg-glow);
    color: #fff;
}

/* --- Persistent Mobile Navigation Bar --- */
@media (max-width: 991.98px) {
    .mobile-sticky-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px);
        border-top: 2px solid rgba(93, 188, 255, 0.5);
        padding: 10px 0;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    }
    
    /* Push page content up so sticky bar doesn't block it */
    body {
        padding-bottom: 75px;
    }
    
    /* Hide desktop-only elements */
    .desktop-only-actions {
        display: none !important;
    }
}

/* --- Next-Gen Megamenu --- */
.megamenu {
    position: static;
}

.dropdown-menu.megamenu-content {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border: 1px solid rgba(93, 188, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 2rem;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu.megamenu-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.megamenu-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #0056b3;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.megamenu-list {
    list-style: none;
    padding: 0;
}

.megamenu-list li a {
    display: block;
    padding: 6px 0;
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
}

.megamenu-list li a:hover {
    color: #007bff;
    padding-left: 4px;
}

/* Premium Card Design for Products */
.xg-product-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.xg-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(93, 188, 255, 0.6);
    box-shadow: 0 10px 30px rgba(93, 188, 255, 0.25);
}
