/**
 * MEGA HEADER CYBERPUNK - LE CSS LE PLUS FOU DU WEB
 * Préparez-vous à voir du jamais vu !
 */

/* Variables spéciales pour le header */
:root {
    --header-bg: rgba(10, 10, 10, 0.95);
    --neon-cyan: #00f5ff;
    --neon-pink: #ff006e;
    --neon-purple: #bd00ff;
    --neon-green: #00ff00;
    --neon-orange: #ff8800;
    --terminal-green: #00ff88;
}

/* WRAPPER PRINCIPAL */
.mega-header-cyberpunk {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: visible; /* Ajouté pour permettre l'autocomplete */
}

/* NIVEAU 1 - TERMINAL + STATS + TRUST */
.header-level-1 {
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.9) 50%, rgba(0,0,0,0.9) 100%);
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
    /* padding: 8px 20px; */
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    font-size: 12px;
    overflow: hidden;
    position: relative;
}

/* Terminal Effect */
.terminal-section {
    font-family: 'Courier New', monospace;
    color: var(--terminal-green);
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: var(--neon-cyan);
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.terminal-text {
    color: var(--terminal-green);
    text-shadow: 0 0 5px var(--terminal-green);
}

.terminal-cursor {
    animation: blink 1s infinite;
    color: var(--terminal-green);
    text-shadow: 0 0 10px var(--terminal-green);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Cyber Alerts System */
.cyber-alerts-system {
    position: relative;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 245, 255, 0.1) 20%, 
        rgba(0, 245, 255, 0.1) 80%, 
        transparent
    );
    border-radius: 20px;
    padding: 0 20px;
    margin-left: -290px;
    width: 600px;
}

.alert-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.alert-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.alert-item.active {
    opacity: 1;
    transform: translateY(0);
}

.alert-icon {
    font-size: 24px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.alert-text {
    font-size: 14px;
    font-weight: bold;
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.alert-status {
    font-size: 13px;
    color: var(--neon-green);
    font-family: 'Rajdhani', sans-serif;
    padding: 4px 12px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 15px;
    animation: statusGlow 2s ease-in-out infinite;
}

@keyframes statusGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
}

.alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    animation: progressFill 5s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Animation spéciale pour le flash sale */
.alert-item[data-alert="1"] .alert-icon {
    animation: fireAnimation 1s ease-in-out infinite;
}

@keyframes fireAnimation {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

h1.text-2xl.font-bold.mt-1.text-text-100 {
    font-size: 20px !important;
}

/* Trust Badges */
.trust-badges {
    position: relative;
    overflow: hidden;
    height: 20px;
	margin-left: -160px;
}

.badge-carousel {
    display: flex;
    animation: badgeSlide 20s linear infinite;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    white-space: nowrap;
    color: #fff188;
    /* opacity: 0.2; */
    transition: all 0.3s ease;
}

.trust-badge.active {
    opacity: 1;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes badgeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* NIVEAU 2 - LOGO + SEARCH + ACCOUNT */
.header-level-2 {
    background: var(--header-bg);
    /* padding: 20px; */
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
    align-items: center;
    border-bottom: 2px solid var(--neon-purple);
    position: relative;
    overflow: visible; /* Changé de hidden à visible */
}

/* Logo Glitch Effect */
.logo-container {
    position: relative;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-glitch {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.logo-main {
    font-size: 36px;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    display: block;
    position: relative;
}

.logo-main::before,
.logo-main::after {
    content: 'CYBER';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo-main::before {
    animation: glitch-1 2s infinite;
    color: var(--neon-pink);
    z-index: -1;
}

.logo-main::after {
    animation: glitch-2 2s infinite;
    color: var(--neon-green);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(10% 0 80% 0); transform: translate(-1px, 1px); }
    80% { clip-path: inset(80% 0 10% 0); transform: translate(1px, -1px); }
}

.logo-sub {
    font-size: 24px;
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple);
    display: block;
    margin-top: -8px;
}

.logo-tagline {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Search Box Cyberpunk */
.search-container {
    position: relative;
    z-index: 10000;
	margin-top: 36px;
}

.search-box {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-purple);
    border-radius: 0;
    overflow: hidden;
}

#cyber-search {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
}

#cyber-search::placeholder {
    color: rgba(0, 245, 255, 0.5);
}

#cyber-search:focus {
    outline: none;
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.2);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: var(--neon-purple);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--neon-cyan);
}

.scan-icon {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* Scanner Animation */
.search-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Account Zone */
.account-zone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info-cyber {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

a.user-info-cyber:hover {
    background: linear-gradient(45deg, 
        rgba(0, 245, 255, 0.3) 0%, 
        rgba(189, 0, 255, 0.3) 50%, 
        rgba(255, 0, 110, 0.3) 100%);
    border-color: var(--neon-purple);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.5),
                0 10px 40px rgba(189, 0, 255, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    text-decoration: none;
    animation: userButtonPulse 2s ease-in-out infinite;
}

@keyframes userButtonPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 245, 255, 0.5),
                    0 10px 40px rgba(189, 0, 255, 0.3),
                    inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 245, 255, 0.8),
                    0 15px 60px rgba(189, 0, 255, 0.5),
                    inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

.user-info-cyber::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;
}

.user-info-cyber::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(5px);
}

.user-info-cyber:hover::after {
    opacity: 0.5;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        filter: blur(5px) hue-rotate(0deg);
    }
    100% {
        filter: blur(5px) hue-rotate(360deg);
    }
}

.user-info-cyber:hover::before {
    left: 100%;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-cyan);
    filter: drop-shadow(0 0 10px var(--neon-cyan));
    transition: all 0.3s ease;
}

.user-info-cyber:hover .user-avatar img {
    transform: rotate(360deg) scale(1.2);
    border-color: var(--neon-purple);
    filter: drop-shadow(0 0 20px var(--neon-purple));
    animation: avatarGlow 1s ease-in-out infinite alternate;
}

@keyframes avatarGlow {
    0% {
        filter: drop-shadow(0 0 20px var(--neon-purple)) 
                drop-shadow(0 0 40px var(--neon-cyan));
    }
    100% {
        filter: drop-shadow(0 0 30px var(--neon-cyan)) 
                drop-shadow(0 0 60px var(--neon-purple));
    }
}

.user-details {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.user-name {
    color: var(--neon-cyan);
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.user-info-cyber:hover .user-name {
    animation: glitchName 0.5s infinite;
    text-shadow: 0 0 10px var(--neon-cyan),
                0 0 20px var(--neon-purple),
                0 0 30px var(--neon-pink);
}

@keyframes glitchName {
    0%, 100% {
        transform: translateX(0);
        color: var(--neon-cyan);
    }
    20% {
        transform: translateX(-2px);
        color: var(--neon-pink);
    }
    40% {
        transform: translateX(2px);
        color: var(--neon-purple);
    }
    60% {
        transform: translateX(-1px);
        color: var(--neon-green);
    }
    80% {
        transform: translateX(1px);
        color: var(--neon-cyan);
    }
}

.user-level {
    font-size: 12px;
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    position: relative;
    transition: all 0.3s ease;
}

.user-info-cyber:hover .user-level {
    animation: levelUp 0.6s ease forwards;
    text-shadow: 0 0 15px var(--neon-green);
}

@keyframes levelUp {
    0% {
        transform: translateY(0) scale(1);
        color: var(--neon-green);
    }
    50% {
        transform: translateY(-5px) scale(1.3);
        color: var(--neon-orange);
        filter: brightness(1.5);
    }
    100% {
        transform: translateY(0) scale(1.1);
        color: var(--neon-green);
        filter: brightness(1.2);
    }
}

/* Cart Cyber */
.cart-cyber {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(189, 0, 255, 0.1);
    border: 2px solid var(--neon-purple);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.cart-cyber:hover {
    background: rgba(189, 0, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(189, 0, 255, 0.5);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-icon {
    width: 24px;
    height: 24px;
    fill: var(--neon-purple);
    filter: drop-shadow(0 0 5px var(--neon-purple));
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--neon-pink);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.cart-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--neon-purple);
    border-radius: 50%;
    opacity: 0;
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}
section#wrapper {
    top: -100px;
}
.account-zone {
    padding-right: 10px;
}
/* NIVEAU 3 - MEGA MENU */
.header-level-3 {
    background: rgba(15, 15, 15, 0.95);
    padding: 0 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--neon-cyan);
    position: relative;
}

.cyber-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 25px;
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.menu-link:hover::before {
    width: 100%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.menu-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
}

.menu-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.menu-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.menu-count {
    font-size: 12px;
    background: rgba(0, 245, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--neon-cyan);
}

.menu-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--neon-pink);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 600px;
    background: rgba(10, 10, 10, 0.98);
    border: 2px solid var(--neon-cyan);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Full Width Dropdown - De gauche à droite */
.full-width-dropdown {
    position: fixed;
    left: 1%;
    right: 1%;
    width: 98%;
    min-width: 98%;
    transform: translateY(-20px);
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.98), 
        rgba(20, 20, 20, 0.98)
    );
    backdrop-filter: blur(20px);
    border: 3px solid transparent;
    border-radius: 0;
    border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan)) 1;
    box-shadow: 
        0 20px 40px rgba(0, 245, 255, 0.3),
        inset 0 0 40px rgba(0, 245, 255, 0.1),
        0 0 80px rgba(189, 0, 255, 0.3);
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% {
        border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan)) 1;
        box-shadow: 
            0 20px 40px rgba(0, 245, 255, 0.3),
            inset 0 0 40px rgba(0, 245, 255, 0.1),
            0 0 80px rgba(189, 0, 255, 0.3);
    }
    50% {
        border-image: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan), var(--neon-purple), var(--neon-pink)) 1;
        box-shadow: 
            0 20px 60px rgba(255, 0, 110, 0.4),
            inset 0 0 60px rgba(255, 0, 110, 0.1),
            0 0 100px rgba(0, 245, 255, 0.4);
    }
}

/* Add entrance animation */
.full-width-dropdown::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent, var(--neon-purple), transparent, var(--neon-pink));
    z-index: -1;
    opacity: 0;
    animation: dropdownPulse 2s ease-out;
}

@keyframes dropdownPulse {
    0% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Click to open instead of hover */
.menu-item.dropdown-open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item.dropdown-open .full-width-dropdown {
    transform: translateY(0);
    animation: dropdownSlideIn 0.5s ease-out, borderGlow 3s linear infinite;
}

@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scaleY(0.8);
    }
    50% {
        transform: translateY(10px) scaleY(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Dropdown stays open until closed */
.mega-dropdown {
    pointer-events: auto;
}

/* Remove hover close behavior */

/* Dropdown Container */
.dropdown-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

/* Dropdown Header */
.dropdown-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Bouton de fermeture cyberpunk animé */
.close-dropdown-btn {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    overflow: hidden;
}

.close-dropdown-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        rgba(255, 0, 110, 0.4) 100%);
    animation: closeButtonGlow 2s infinite;
}

.close-dropdown-btn .close-icon {
    font-size: 28px;
    color: var(--neon-pink);
    animation: pulseRotate 3s infinite ease-in-out;
    display: inline-block;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px currentColor;
}

.close-dropdown-btn:hover {
    background: rgba(255, 0, 110, 0.3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 30px var(--neon-pink),
                inset 0 0 20px rgba(255, 0, 110, 0.5);
    border-color: #fff;
}

.close-dropdown-btn:hover .close-icon {
    animation: closeBtnSpecial 0.5s ease;
    color: #fff;
    text-shadow: 0 0 20px #fff, 0 0 40px var(--neon-pink);
}

.close-dropdown-btn:active {
    transform: scale(0.95) rotate(180deg);
}

@keyframes pulseRotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px currentColor);
    }
    25% {
        transform: scale(1.1) rotate(45deg);
        filter: drop-shadow(0 0 10px currentColor);
    }
    50% {
        transform: scale(0.95) rotate(90deg);
        filter: drop-shadow(0 0 15px currentColor);
    }
    75% {
        transform: scale(1.05) rotate(135deg);
        filter: drop-shadow(0 0 10px currentColor);
    }
}

@keyframes closeBtnSpecial {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        filter: drop-shadow(0 0 30px #fff);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes closeButtonGlow {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.dropdown-title {
    margin: 0;
}

.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    position: relative;
    text-shadow: 0 0 20px var(--neon-cyan);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--neon-pink);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--neon-green);
    z-index: -2;
}

.dropdown-subtitle {
    display: block;
    font-size: 16px;
    color: #888;
    margin-top: 10px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Scanner Effect */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--neon-cyan), 
        transparent
    );
    animation: scanLine 4s infinite;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Corner Effects */
.corner-effects {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-purple);
    opacity: 0.5;
    animation: cornerPulse 2s infinite;
}

.corner.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation-delay: 0s;
}

.corner.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation-delay: 0.5s;
}

.corner.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation-delay: 1s;
}

.corner.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation-delay: 1.5s;
}

@keyframes cornerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
        border-color: var(--neon-purple);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        border-color: var(--neon-cyan);
        filter: drop-shadow(0 0 10px var(--neon-cyan));
    }
}

/* Products Showcase Wrapper */
.products-showcase-wrapper {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}

/* Products Showcase Grid */
.products-showcase {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.showcase-product {
    flex: 0 0 calc(20% - 24px);
    min-width: calc(20% - 24px);
}

/* Individual Product Card */
.showcase-product {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(189, 0, 255, 0.3);
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.showcase-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 245, 255, 0.2), 
        transparent
    );
    transition: left 0.6s ease;
}

.showcase-product:hover::before {
    left: 100%;
}

.showcase-product:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 10px 30px rgba(0, 245, 255, 0.4),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
}

/* Product Thumbnail */
.product-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #000;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-product:hover .product-thumbnail img {
    transform: scale(1.1);
}

/* Hover Effects */
.product-hover-effect {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hover-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--neon-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-product:hover .hover-border {
    opacity: 1;
    animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.hover-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, 
        rgba(0, 245, 255, 0.3), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-product:hover .hover-glow {
    opacity: 1;
}

/* Product Details */
.product-details {
    text-align: center;
}

.product-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    color: #fff;
    margin: 0 0 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-currency {
    color: var(--neon-green);
    font-size: 18px;
    font-weight: bold;
}

.price-amount {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: bold;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    font-size: 14px;
    filter: drop-shadow(0 0 5px gold);
}

.rating-value {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    font-weight: bold;
}

/* Product CTA */
.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%, 0 100%);
}

.product-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.product-cta:hover::before {
    left: 100%;
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.5);
}

.cta-icon {
    transition: transform 0.3s ease;
}

.product-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* Dropdown Footer */
.dropdown-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.view-all-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.view-all-link:hover::before {
    left: 0;
}

.view-all-link:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.5);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.view-all-link:hover .link-arrow {
    transform: translateX(10px);
}

/* Navigation Arrows for Product Carousel */
.products-showcase-wrapper {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(189, 0, 255, 0.3), rgba(0, 245, 255, 0.3));
    border: 2px solid var(--neon-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--neon-cyan);
    z-index: 10;
    transition: all 0.3s ease;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: inherit;
}

.carousel-arrow:hover::before {
    opacity: 1;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    color: #fff;
    text-shadow: 0 0 20px var(--neon-cyan);
}

/* Arrow Icons */
.arrow-icon {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 30px;
}

/* Pulse Animation on Arrows */
.carousel-arrow::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--neon-cyan);
    opacity: 0;
    animation: arrowPulse 2s infinite;
    clip-path: inherit;
}

@keyframes arrowPulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive Dropdown */
@media (max-width: 1400px) {
    .products-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .carousel-arrow.prev {
        left: -60px;
    }
    
    .carousel-arrow.next {
        right: -60px;
    }
}

@media (max-width: 1200px) {
    .products-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .dropdown-container {
        padding: 30px 60px;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
    }
    
    .carousel-arrow.prev {
        left: 10px;
    }
    
    .carousel-arrow.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .full-width-dropdown {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        transform: translateX(0) translateY(0) !important;
        overflow-y: auto;
    }
    
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 40px;
    }
    
    .glitch-text {
        font-size: 24px;
    }
    
    .product-thumbnail {
        height: 150px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-arrow.prev {
        left: 0;
    }
    
    .carousel-arrow.next {
        right: 0;
    }
}

@media (max-width: 480px) {
    .products-showcase {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 30px;
    }
    
    .carousel-arrow {
        display: none; /* Hide arrows on very small screens */
    }
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px;
    gap: 30px;
}

.dropdown-column h4 {
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
}

.dropdown-item {
    display: block;
    padding: 8px 0;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: var(--neon-purple);
    padding-left: 10px;
    text-shadow: 0 0 5px var(--neon-purple);
}

/* Mini Graph */
.menu-extras {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.mini-graph {
    position: relative;
}

#performance-graph {
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.graph-label {
    font-size: 10px;
    color: var(--neon-green);
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    text-align: center;
}

/* NIVEAU 4 - NOTIFICATIONS */
.header-level-4 {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(189, 0, 255, 0.3);
    overflow: hidden;
}

/* Quand le niveau 4 est en bas de page */
#wrapper + .header-level-4,
section + .header-level-4 {
    position: relative;
    margin-top: 5px;
    border-top: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-purple);
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.98));
}

/* Notification Bar */
.notification-bar {
    flex: 1;
    overflow: hidden;
    margin-right: 30px;
}

.notification-track {
    display: flex;
    animation: notificationScroll 30s linear infinite;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    white-space: nowrap;
    color: #ccc;
    font-size: 14px;
}

.notification-item strong {
    color: var(--neon-cyan);
}

.notification-item i {
    color: var(--neon-purple);
}

@keyframes notificationScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Promo Countdown */
.promo-countdown {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 20px;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--neon-pink);
}

.countdown-label {
    color: var(--neon-pink);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--neon-pink);
}

.time-value {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: bold;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.time-label {
    font-size: 10px;
    color: #888;
}

.time-separator {
    color: var(--neon-pink);
    font-size: 20px;
    animation: timeBlink 1s infinite;
}

@keyframes timeBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* EFFETS DE FOND */
.header-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
    z-index: -1;
}

.matrix-rain-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    animation: matrixRain 20s linear infinite;
}

@keyframes matrixRain {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* Circuit Lines */
.circuit-lines::before,
.circuit-lines::after {
    content: '';
    position: absolute;
    background: var(--neon-cyan);
    opacity: 0.1;
}

.circuit-lines::before {
    top: 20%;
    left: 0;
    right: 0;
    height: 1px;
    animation: circuitPulse 4s infinite;
}

.circuit-lines::after {
    top: 0;
    bottom: 0;
    left: 30%;
    width: 1px;
    animation: circuitPulse 4s infinite 2s;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, -30px); }
    50% { transform: translate(-50px, 30px); }
    75% { transform: translate(50px, 50px); }
}

/* HEADER COMPACT (SCROLL) */
.compact-header-cyberpunk {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 2px solid var(--neon-cyan);
    padding: 10px 20px;
    z-index: 10000;
    transition: top 0.3s ease;
    backdrop-filter: blur(10px);
}

.compact-header-cyberpunk.active {
    top: 0;
}

.compact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.compact-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

a.compact-logo:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 30px var(--neon-purple);
    transform: scale(1.1);
    text-decoration: none;
}

.compact-search input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-purple);
    padding: 8px 15px;
    color: var(--neon-cyan);
    width: 300px;
}

.compact-menu {
    display: flex;
    gap: 20px;
}

.compact-menu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.compact-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.compact-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(189, 0, 255, 0.2);
    border: 1px solid var(--neon-purple);
    cursor: pointer;
}

/* ANIMATIONS SPÉCIALES AU CHARGEMENT */
.mega-header-cyberpunk {
    animation: headerInit 1s ease-out;
}

@keyframes headerInit {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Effet de chargement par niveau */
.header-level-1 { animation-delay: 0.1s; }
.header-level-2 { animation-delay: 0.2s; }
.header-level-3 { animation-delay: 0.3s; }
.header-level-4 { animation-delay: 0.4s; }

/* RESPONSIVE - MOBILE FIRST APPROACH */

/* Tablettes */
@media (max-width: 1200px) {
    .header-level-2 {
        grid-template-columns: 200px 1fr 200px;
    }
    
    .live-stats {
        gap: 20px;
    }
    
    .stat-label {
        display: none;
    }
    
    .mega-dropdown {
        min-width: 400px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile - Écrans moyens */
@media (max-width: 768px) {
    /* Niveau 1 - Version mobile compacte */
    .header-level-1 {
        grid-template-columns: 1fr 1fr;
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .terminal-section {
        display: none;
    }
    
    .live-stats {
        gap: 10px;
        font-size: 11px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .trust-badges {
        display: none;
    }
    
    /* Niveau 2 - Réorganisation mobile */
    .header-level-2 {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    
    .logo-container {
        text-align: center;
    }
    
    .logo-main {
        font-size: 28px;
    }
    
    .logo-sub {
        font-size: 18px;
    }
    
    .search-container {
        width: 100%;
    }
    
    .account-zone {
        justify-content: center;
    }
    
    .user-panel {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Niveau 3 - Menu burger mobile */
    .header-level-3 {
        padding: 0;
    }
    
    .cyber-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10001;
    }
    
    .cyber-menu.active {
        display: flex;
    }
    
    .menu-item {
        width: 100%;
        text-align: center;
    }
    
    .menu-link {
        padding: 25px;
        font-size: 18px;
        border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    }
    
    /* Menu Burger Button */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 10002;
    }
    
    .burger-line {
        position: absolute;
        width: 30px;
        height: 3px;
        background: var(--neon-cyan);
        left: 5px;
        transition: all 0.3s ease;
        box-shadow: 0 0 10px var(--neon-cyan);
    }
    
    .burger-line:nth-child(1) {
        top: 10px;
    }
    
    .burger-line:nth-child(2) {
        top: 19px;
    }
    
    .burger-line:nth-child(3) {
        top: 28px;
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(1) {
        transform: rotate(45deg);
        top: 19px;
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(3) {
        transform: rotate(-45deg);
        top: 19px;
    }
    
    /* Mega dropdown mobile */
    .mega-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        min-width: auto;
        width: 100%;
        height: 100%;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Close button for dropdown */
    .dropdown-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    
    .dropdown-close::before,
    .dropdown-close::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background: var(--neon-pink);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .dropdown-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    
    .dropdown-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    /* Niveau 4 - Simplification mobile */
    .header-level-4 {
        flex-direction: column;
        gap: 10px;
        padding: 8px;
    }
    
    .notification-bar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .promo-countdown {
        padding: 5px 10px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .time-value {
        font-size: 16px;
    }
    
    /* Mini graph mobile */
    .menu-extras {
        display: none;
    }
}

/* GAMES Dropdown Specific Styles */
.games-dropdown {
    background: linear-gradient(to bottom, 
        rgba(30, 10, 20, 0.98), 
        rgba(20, 5, 10, 0.98)
    );
}

.game-card .product-thumbnail {
    background: linear-gradient(135deg, #2a0015, #000);
}

.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 110, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 48px;
    color: var(--neon-pink);
    animation: pulse 1.5s infinite;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.game-cta {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-orange));
}

.game-cta:hover {
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-pink));
}

/* Gaming Particles Effect */
.gaming-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gaming-particles::before,
.gaming-particles::after {
    content: '🎮';
    position: absolute;
    font-size: 20px;
    opacity: 0.1;
    animation: floatParticle 8s infinite ease-in-out;
}

.gaming-particles::before {
    left: 20%;
    animation-delay: 0s;
}

.gaming-particles::after {
    right: 20%;
    animation-delay: 4s;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    50% { 
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.1;
    }
    90% { opacity: 0.1; }
}

/* SCRIPTS Dropdown Specific Styles */
.scripts-dropdown {
    background: linear-gradient(to bottom, 
        rgba(10, 30, 20, 0.98), 
        rgba(5, 20, 10, 0.98)
    );
}

.script-card .product-thumbnail {
    background: linear-gradient(135deg, #001a0a, #000);
}

.code-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.script-card:hover .code-overlay {
    opacity: 1;
}

.code-icon {
    font-size: 48px;
    color: var(--neon-green);
    animation: codeGlitch 2s infinite;
    filter: drop-shadow(0 0 20px var(--neon-green));
}

@keyframes codeGlitch {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
    50% { transform: translateX(0); }
}

.script-cta {
    background: linear-gradient(45deg, #001a0a, var(--neon-green));
}

.script-cta:hover {
    background: linear-gradient(45deg, var(--neon-green), var(--neon-cyan));
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.code-rain::before {
    content: '</>{}[]();';
    position: absolute;
    color: var(--neon-green);
    font-family: monospace;
    font-size: 14px;
    opacity: 0.05;
    animation: codeRain 5s linear infinite;
}

@keyframes codeRain {
    from { 
        transform: translateY(-100%);
    }
    to { 
        transform: translateY(100%);
    }
}

/* APPS Dropdown Specific Styles */
.apps-dropdown {
    background: linear-gradient(to bottom, 
        rgba(20, 10, 30, 0.98), 
        rgba(10, 5, 20, 0.98)
    );
}

.app-card .product-thumbnail {
    background: linear-gradient(135deg, #1a0033, #000);
}

.app-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(189, 0, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover .app-overlay {
    opacity: 1;
}

.app-icon {
    font-size: 48px;
    animation: rotate 4s linear infinite;
    filter: drop-shadow(0 0 20px var(--neon-purple));
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.app-cta {
    background: linear-gradient(45deg, #1a0033, var(--neon-purple));
}

.app-cta:hover {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
}

/* Binary Stream Effect for APPS */
.binary-stream {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.1;
    font-family: monospace;
    font-size: 10px;
    color: var(--neon-green);
    pointer-events: none;
}

.binary-stream::before,
.binary-stream::after {
    content: '101010110101101001011010110101101001011010';
    position: absolute;
    left: 0;
    animation: binaryFlow 10s linear infinite;
}

.binary-stream::before {
    top: 20%;
    animation-delay: 0s;
}

.binary-stream::after {
    top: 80%;
    animation-delay: 5s;
}

@keyframes binaryFlow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* Mobile - Petits écrans */
@media (max-width: 480px) {
    /* Niveau 1 ultra compact */
    .header-level-1 {
        display: none;
    }
    
    /* Logo plus petit */
    .logo-main {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 16px;
    }
    
    .logo-tagline {
        font-size: 8px;
    }
    
    /* Search box responsive */
    #cyber-search {
        padding: 12px 40px 12px 15px;
        font-size: 14px;
    }
    
    /* User info compact */
    .user-info-cyber {
        padding: 8px;
        gap: 8px;
    }
    
    .user-avatar img {
        width: 30px;
        height: 30px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .user-level {
        font-size: 10px;
    }
    
    /* Cart compact */
    .cart-cyber {
        padding: 8px 10px;
    }
    
    .cart-info {
        display: none;
    }
    
    /* Menu items mobile */
    .menu-link {
        padding: 20px;
        font-size: 16px;
    }
    
    .menu-count {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    /* Notifications mobile */
    .notification-item {
        font-size: 12px;
        padding: 0 15px;
    }
    
    /* Countdown mobile */
    .time-unit {
        padding: 3px 6px;
    }
    
    .time-value {
        font-size: 14px;
    }
    
    .time-label {
        font-size: 8px;
    }
}

/* Cacher le menu burger par défaut sur desktop */
.mobile-menu-toggle {
    display: none;
}

/* Animations mobiles optimisées */
@media (max-width: 768px) {
    /* Désactiver certaines animations lourdes */
    .matrix-rain-bg,
    .circuit-lines,
    .floating-particles {
        display: none;
    }
    
    /* Simplifier les animations */
    @keyframes glitch-1,
    @keyframes glitch-2 {
        0%, 100% { transform: none; }
    }
    
    /* Réduire les ombres */
    .neon-text,
    .stat-value,
    .menu-link:hover {
        text-shadow: 0 0 5px currentColor;
    }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
    .menu-link,
    .cart-cyber,
    .search-btn,
    .dropdown-item {
        padding: 15px 20px;
        min-height: 44px;
    }
    
    /* Augmenter les zones cliquables */
    .cart-count {
        min-width: 24px;
        min-height: 24px;
        line-height: 24px;
    }
}

/* Cacher le dropdown close button sur desktop */
.dropdown-close {
    display: none;
}

/* Ajout pour un meilleur scroll mobile */
@media (max-width: 768px) {
    .mega-header-cyberpunk {
        overflow-x: hidden;
    }
    
    /* Sticky header mobile */
    .header-level-2 {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}