/* Global styles */
@font-face {
    font-family: 'TitleFont';
    src: url('../fonts/title.otf') format('opentype');
}

@font-face {
    font-family: 'IntegralCF';
    src: url('../fonts/Fontspring-DEMO-integralcf-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Smooth scrolling pour tout le document */
html {
    scroll-behavior: smooth;
}

/* Ajustement pour les sections avec la navbar fixe */
#home,
#products,
#faq,
#footer {
    scroll-margin-top: 100px;
}

/* FOND QUADRILLÉ UNIFORME POUR TOUTES LES SECTIONS */
:root {
    --grid-size: 50px;
    --grid-color: rgba(255, 255, 255, 0.03);
    --bg-color: #0B0B0B;
}

.background-grid {
    background-color: var(--bg-color);
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-attachment: fixed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'TitleFont', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
}

/* ============================================================
   FOND GLOBAL — Particules CSS + Glows radiaux bleus
============================================================ */

/* Glows fixes aux 4 coins */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}
body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.09) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* Toutes les sections passent au-dessus des glows */
nav, section, footer, .purchase-notification,
.christmas-discount-popup, .gift-icon,
.advent-floating-icon, .advent-modal, .discount-modal {
    position: relative;
    z-index: 1;
}

/* NOTIFICATION D'ACHAT OVERLAY */
.purchase-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    max-width: 350px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 255, 255, 0.05),
        0 0 25px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.purchase-notification.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.notification-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #00b894, #00a085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    flex-shrink: 0;
}

.notification-icon i {
    color: white;
    font-size: 20px;
}

.notification-text {
    flex: 1;
    color: white;
}

.notification-name {
    font-weight: bold;
    font-size: 16px;
    color: #4A9EFF;
    margin-bottom: 2px;
}

.notification-product {
    font-size: 14px;
    color: #CCCCCC;
    margin-bottom: 4px;
}

.notification-product span {
    color: white;
    font-weight: 500;
}

.notification-time {
    font-size: 12px;
    color: #888888;
}

.notification-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #CCCCCC;
    font-size: 10px;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

/* Animation de pulsation pour attirer l'attention */
.purchase-notification.show .notification-icon {
    animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 184, 148, 0.6);
    }
}

/* Responsive pour notifications */
@media screen and (max-width: 768px) {
    .purchase-notification {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 16px;
    }

    .notification-content {
        gap: 12px;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
    }

    .notification-icon i {
        font-size: 16px;
    }

    .notification-name {
        font-size: 14px;
    }

    .notification-product {
        font-size: 13px;
    }

    .notification-time {
        font-size: 11px;
    }
}

/* NAVBAR */

.navbar {
    background-color: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #494949;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-links li a:hover {
    color: #4A9EFF;
}

.login-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.discord-icon {
    text-decoration: none;
    line-height: 1;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5865F2;
    border: 1px solid #8892fa;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    box-shadow: 0 0 8px rgba(136, 146, 250, 0.5);
    transition: all 0.2s ease;
}

.discord-icon i {
    text-decoration: none;
    display: block;
    line-height: 1;
}

.discord-login {
    background: linear-gradient(145deg, #003e8c, #007bff);
    border: 1px solid #3399ff;
    color: white;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 0 8px rgba(51, 153, 255, 0.5);
    transition: all 0.2s ease;
}

.discord-login:hover {
    box-shadow: 0 0 12px rgba(51, 153, 255, 0.8);
    transform: scale(1.02);
}

.discord-icon:hover {
    box-shadow: 0 0 12px rgba(136, 146, 250, 0.8);
    transform: scale(1.02);
}

/* Burger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    margin-left: 16px;
}

.bar {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar {
    background-color: transparent;
}

.mobile-only {
    display: none;
}

.close-menu {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 1002;
    transition: transform 0.2s ease;
}

.close-menu:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .close-menu {
        display: block;
    }

    .navbar {
        padding: 0.6rem 1rem;
        max-width: calc(100% - 40px);
        top: 10px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Menu overlay avec blur sur tout l'écran */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1001;
        transition: all 0.4s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Navbar transparente quand menu ouvert */
    .navbar.menu-open {
        background-color: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
        top: 0 !important;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
        padding: 0.8rem 0;
    }

    .mobile-only {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .discord-icon.mobile-only {
        width: 72px;
        height: 72px;
        font-size: 32px;
        background-color: #5865F2;
        border-radius: 50%;
        border: 1px solid #8892fa;
        box-shadow: 0 0 8px rgba(136, 146, 250, 0.5);
    }

    .discord-login.mobile-only {
        background: linear-gradient(145deg, #003e8c, #007bff);
        border: 1px solid #3399ff;
        color: white;
        font-size: 20px;
        padding: 10px 32px;
        border-radius: 999px;
        box-shadow: 0 0 8px rgba(51, 153, 255, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-decoration: none;
    }

    .discord-login.mobile-only i {
        font-size: 20px;
        margin-right: 12px;
    }

    .login-buttons {
        display: none;
    }
}

.center-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
    .center-nav {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* SECTION HERO - VERSION SOBRE ET PROFESSIONNELLE */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Changé de 85vh à 100vh */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}


.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transform: scale(1.02);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(30, 41, 59, 0.8) 50%,
            rgba(15, 23, 42, 0.9) 100%);
    z-index: -1;
}

/* Transition dégradée en bas */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(11, 11, 11, 0.3) 50%,
            #0B0B0B 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 2rem;
    z-index: 10;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    /* Force le centrage du texte */
    width: 100%;
    /* Assure la pleine largeur */
}

/* Badge sobre et professionnel */
.styled-badge {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #CBD5E1;
    font-weight: 500;
    border-radius: 25px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.styled-badge i {
    color: #94A3B8;
    font-size: 16px;
}

/* Container pour le texte principal */
.hero-text-container {
    text-align: center;
    margin: 1.5rem 0;
}

/* Titre principal simple et élégant */
.main-title {
    font-family: 'IntegralCF', sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 0.95;
    letter-spacing: -1px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Suppression du dégradé */
.gradient-text {
    color: #FFFFFF;
}

/* Sous-titre sobre */
.sub-title {
    font-family: 'IntegralCF', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.dominate-text {
    color: #3B82F6;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Suppression des effets glow et animations excessives */
.dominate-text::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
    width: 100%;
    background: #3B82F6;
    border-radius: 2px;
}

.the-game-text {
    color: #F8FAFC;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-left: 0.5rem;
}

/* Description sobre */
.hero-description {
    font-size: 1.15rem;
    color: #CBD5E1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Boutons sobres et professionnels - VERSION MISE À JOUR */
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    /* Centrage explicite */
    width: 100%;
}

.btn {
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
    border: 2px solid transparent;
    min-width: 180px;
    /* Largeur minimum uniforme */
    justify-content: center;
    /* Centrage du contenu */
    text-align: center;
    box-sizing: border-box;
}

/* Suppression des effets de brillance */
.btn::before {
    display: none;
}

.btn.purchase-now {
    background: linear-gradient(145deg, #003e8c, #007bff);
    border: 1px solid #3399ff;
    color: white;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(51, 153, 255, 0.5);
    border-radius: 25px;
}

.btn.purchase-now:hover {
    box-shadow: 0 0 12px rgba(51, 153, 255, 0.8);
    transform: scale(1.02);
}

.btn.join-discord {
    background-color: #5865F2;
    border: 1px solid #8892fa;
    color: white;
    box-shadow: 0 0 8px rgba(136, 146, 250, 0.5);
    border-radius: 25px;
}

.btn.join-discord:hover {
    box-shadow: 0 0 12px rgba(136, 146, 250, 0.8);
    transform: scale(1.02);
}

.btn i {
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .hero {
        height: 100vh;
        padding: 0 2rem;
    }

    .hero-content {
        gap: 2.2rem;
        padding-top: 3rem;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .sub-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 550px;
    }
}

/* RESPONSIVE MOBILE MOYEN (640px) - MODIFIÉ */
@media screen and (max-width: 640px) {
    .scroll-section {
        bottom: 12px;
        height: 55px;
    }
}

/* RESPONSIVE PETIT MOBILE (480px) - MODIFIÉ */
@media screen and (max-width: 480px) {
    .scroll-section {
        bottom: 10px;
        height: 50px;
    }
}

/* RESPONSIVE TRÈS PETIT MOBILE (360px) - MODIFIÉ */
@media screen and (max-width: 360px) {
    .scroll-section {
        bottom: 8px;
        height: 45px;
    }
}

/* RESPONSIVE MOBILE LARGE (768px) - CONTENU PLUS HAUT ET PLUS GROS */
@media screen and (max-width: 768px) {
    .hero-content {
        gap: 2rem;
        /* Augmenté pour plus d'espace */
        padding-top: 2.5rem;
        /* Encore plus haut */
        max-width: 100%;
    }

    .styled-badge {
        font-size: 12px;
        /* Légèrement plus gros */
        padding: 8px 16px;
        margin-bottom: 0.5rem;
    }

    .main-title {
        font-size: 3.2rem;
        /* Plus gros - était 2.8rem */
        letter-spacing: -0.5px;
        margin-bottom: 0.8rem;
    }

    .sub-title {
        font-size: 2.6rem;
        /* Plus gros - était 2.2rem */
        line-height: 1.05;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        /* Plus gros - était 1rem */
        padding: 0 0.5rem;
        max-width: 85%;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 1.2rem;
        /* Plus d'espace entre les boutons */
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        /* Légèrement plus large */
        margin-top: 0;
    }

    /* FIX pour le bouton Buy Now - taille uniforme */
    .btn {
        padding: 16px 32px;
        /* Plus gros padding */
        font-size: 16px;
        /* Plus gros texte */
        width: 100%;
        justify-content: center;
        border-radius: 25px;
        font-weight: 600;
        min-height: 54px;
        /* Hauteur minimum fixe */
        display: flex;
        align-items: center;
    }
}

/* RESPONSIVE MOBILE MOYEN (640px) */
@media screen and (max-width: 640px) {
    .hero-content {
        padding-top: 2rem;
        /* Encore plus haut */
        gap: 1.8rem;
    }

    .main-title {
        font-size: 3rem;
        /* Plus gros */
        margin-bottom: 0.7rem;
    }

    .sub-title {
        font-size: 2.4rem;
        /* Plus gros */
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 1.05rem;
        /* Plus gros */
        margin-bottom: 1.3rem;
        max-width: 90%;
    }
}

/* RESPONSIVE PETIT MOBILE (480px) - BOUTONS RÉDUITS ET REMONTÉS */
@media screen and (max-width: 480px) {
    .hero-content {
        padding-top: 1.5rem;
        gap: 1.3rem;
        /* Réduit de 1.5rem à 1.3rem */
    }

    .styled-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 0.3rem;
    }

    .main-title {
        font-size: 2.6rem;
        line-height: 0.9;
        margin-bottom: 0.6rem;
    }

    .sub-title {
        font-size: 2.1rem;
        line-height: 1;
        margin-bottom: 0.7rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.3rem;
        max-width: 95%;
        margin-bottom: 0.8rem;
        /* Réduit de 1.2rem à 0.8rem */
    }

    .hero-buttons {
        max-width: 280px;
        gap: 0.8rem;
        /* Réduit l'espace entre les boutons */
        margin-top: -0.2rem;
        /* Remonte les boutons */
    }

    .btn {
        padding: 12px 24px;
        /* Réduit de 15px 30px */
        font-size: 14px;
        /* Réduit de 15px */
        min-height: 46px;
        /* Réduit de 52px */
        border-radius: 23px;
        /* Proportionnel à la hauteur */
    }
}

/* RESPONSIVE TRÈS PETIT MOBILE (360px) - BOUTONS ENCORE PLUS RÉDUITS */
@media screen and (max-width: 360px) {
    .hero-content {
        padding-top: 1rem;
        gap: 1.1rem;
        /* Encore plus réduit */
    }

    .main-title {
        font-size: 2.4rem;
        margin-bottom: 0.5rem;
    }

    .sub-title {
        font-size: 1.9rem;
        margin-bottom: 0.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        /* Réduit de 1rem à 0.6rem */
    }

    .hero-buttons {
        max-width: 260px;
        gap: 0.7rem;
        /* Espace réduit entre boutons */
        margin-top: -0.3rem;
        /* Remonte encore plus les boutons */
    }

    .btn {
        padding: 11px 22px;
        /* Encore plus petit */
        font-size: 13px;
        /* Réduit de 14px */
        min-height: 42px;
        /* Réduit de 50px */
        border-radius: 21px;
        /* Proportionnel */
    }
}

/* AJUSTEMENT SPÉCIAL POUR LES TRÈS PETITS ÉCRANS (320px et moins) */
@media screen and (max-width: 320px) {
    .hero-buttons {
        max-width: 240px;
        gap: 0.6rem;
        margin-top: -0.4rem;
        /* Maximum de remontée */
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
        min-height: 40px;
        border-radius: 20px;
    }

    .hero-description {
        margin-bottom: 0.4rem;
        /* Très réduit */
    }
}

/* SECTION SCROLL SÉPARÉE */
.scroll-section {
    position: absolute;
    bottom: 80px;
    /* Position fixe basée sur votre screenshot */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

/* INDICATEUR DE SCROLL */
.scroll-indicator {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.6;
    animation: fadeIn 2s ease forwards;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

.scroll-oval {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-oval {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.scroll-oval i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    animation: scrollBounce 2s infinite ease-in-out;
}

.scroll-indicator:hover .scroll-oval i {
    color: white;
}

/* RESPONSIVE - MAINTIEN DE LA MÊME HAUTEUR SUR TOUS LES ÉCRANS */
@media screen and (max-width: 768px) {
    .scroll-section {
        bottom: 80px;
        /* Maintient la même position */
        height: 60px;
    }

    .scroll-oval {
        width: 26px;
        height: 42px;
        border-width: 2px;
    }

    .scroll-oval i {
        font-size: 12px;
    }
}

@media screen and (max-width: 640px) {
    .scroll-section {
        bottom: 80px;
        /* Position constante */
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .scroll-section {
        bottom: 80px;
        /* Position constante */
        height: 55px;
    }

    .scroll-oval {
        width: 24px;
        height: 38px;
    }

    .scroll-oval i {
        font-size: 11px;
    }
}

@media screen and (max-width: 360px) {
    .scroll-section {
        bottom: 80px;
        /* Position constante */
        height: 50px;
    }

    .scroll-oval {
        width: 22px;
        height: 36px;
    }

    .scroll-oval i {
        font-size: 10px;
    }
}

/* SUPPRESSION DES AJUSTEMENTS AUTOMATIQUES POUR LES SAFE AREAS */
@media screen and (max-width: 768px) {
    /* Commenté pour maintenir la position fixe */
    /*
  @supports (padding: max(0px)) {
    .scroll-section {
      bottom: max(25px, env(safe-area-inset-bottom, 25px));
    }
  }
  */
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.6;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}

/* SECTION PROCESS CLEAN & PROFESSIONAL - CONTOURS COULEUR ICÔNE */
.process-section {
    padding: 100px 20px;
    position: relative;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 70px;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3B82F6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-subtitle {
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* GRILLE DES ÉTAPES AVEC CONTOURS COULEUR ICÔNE */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 70px;
}

.process-step {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Suppression des numéros */
.step-number {
    display: none;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon i {
    font-size: 22px;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: #D1D5DB;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* CARD 1 - BLEU */
.process-step:nth-child(1) .step-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
    color: #60A5FA;
    border-color: rgba(59, 130, 246, 0.3);
}

.process-step:nth-child(1)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), transparent, rgba(59, 130, 246, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:nth-child(1):hover::before {
    opacity: 1;
}

.process-step:nth-child(1):hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

/* CARD 2 - VERT */
.process-step:nth-child(2) .step-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.3);
}

.process-step:nth-child(2)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent, rgba(16, 185, 129, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:nth-child(2):hover::before {
    opacity: 1;
}

.process-step:nth-child(2):hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

/* CARD 3 - VIOLET */
.process-step:nth-child(3) .step-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3));
    color: #A78BFA;
    border-color: rgba(139, 92, 246, 0.3);
}

.process-step:nth-child(3)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent, rgba(139, 92, 246, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:nth-child(3):hover::before {
    opacity: 1;
}

.process-step:nth-child(3):hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.15);
}

/* CARD 4 - ORANGE */
.process-step:nth-child(4) .step-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
    color: #FBBF24;
    border-color: rgba(245, 158, 11, 0.3);
}

.process-step:nth-child(4)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), transparent, rgba(245, 158, 11, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:nth-child(4):hover::before {
    opacity: 1;
}

.process-step:nth-child(4):hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.15);
}

/* CARD 5 - ROUGE */
.process-step:nth-child(5) .step-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
    color: #F87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.process-step:nth-child(5)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), transparent, rgba(239, 68, 68, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:nth-child(5):hover::before {
    opacity: 1;
}

.process-step:nth-child(5):hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.15);
}

/* SECTION STATS AVEC CONTOURS COULEUR ICÔNE */
.stats-professional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card-pro {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-inner {
    position: relative;
    z-index: 1;
}

.stat-icon-pro {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* STAT CARD 1 - DISCORD BLEU */
.stat-card-pro:nth-child(1) .stat-icon-pro {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.3));
    color: #8B9AFF;
    border-color: rgba(88, 101, 242, 0.3);
}

.stat-card-pro:nth-child(1)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.4), transparent, rgba(88, 101, 242, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-pro:nth-child(1):hover::before {
    opacity: 1;
}

.stat-card-pro:nth-child(1):hover {
    transform: translateY(-3px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 8px 16px rgba(88, 101, 242, 0.15);
}

/* STAT CARD 2 - USERS VERT */
.stat-card-pro:nth-child(2) .stat-icon-pro {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.3));
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-card-pro:nth-child(2)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent, rgba(16, 185, 129, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-pro:nth-child(2):hover::before {
    opacity: 1;
}

.stat-card-pro:nth-child(2):hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

/* STAT CARD 3 - LOCK VIOLET */
.stat-card-pro:nth-child(3) .stat-icon-pro {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.3));
    color: #A78BFA;
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card-pro:nth-child(3)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent, rgba(139, 92, 246, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-pro:nth-child(3):hover::before {
    opacity: 1;
}

.stat-card-pro:nth-child(3):hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.15);
}

.stat-number-pro {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #9CA3AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label-pro {
    color: #D1D5DB;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-growth {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .process-section {
        padding: 70px 20px;
    }

    .process-title {
        font-size: 1.8rem;
    }

    .process-subtitle {
        font-size: 0.9rem;
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .process-step {
        min-height: auto;
        padding: 28px 20px;
    }

    .stats-professional-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number-pro {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .process-title {
        font-size: 1.6rem;
    }

    .process-step {
        padding: 24px 18px;
    }

    .stat-card-pro {
        padding: 28px 20px;
    }

    .stat-number-pro {
        font-size: 2.2rem;
    }
}

/* SECTION PRODUITS */
.products-section {
    padding: 100px 20px;
    position: relative;
}

/* SECTION PRODUITS - TITRE AMÉLIORÉ */
.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 3.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

/* Badge "All products include lifetime updates" amélioré */
.products-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #4A9EFF;
    font-weight: 600;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    backdrop-filter: blur(10px);
    max-width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-subtitle i {
    font-size: 12px;
    color: #4A9EFF;
}

/* Responsive pour le titre */
@media screen and (max-width: 768px) {
    .products-title {
        font-size: 2.5rem;
    }

    .products-subtitle {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 480px) {
    .products-title {
        font-size: 2rem;
    }

    .products-subtitle {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* CONTENEUR PRINCIPAL DES PRODUITS - CENTRAGE AMÉLIORÉ */
.products-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    /* Augmenté de 1rem à 2rem pour plus d'espace latéral */
    justify-items: center;
    /* Centre chaque carte dans sa colonne */
}

/* WRAPPER POUR CHAQUE PRODUIT - CENTRAGE */
.product-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 380px;
    /* Limite la largeur pour un meilleur alignement */
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s ease;
    width: 100%;
}

/* RESPONSIVE POUR PRODUITS - CENTRAGE AMÉLIORÉ */
@media screen and (max-width: 1200px) {
    .products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
        max-width: 900px;
        /* Limite la largeur sur tablette */
    }
}

@media screen and (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-card-wrapper {
        max-width: none;
    }
}

@media screen and (max-width: 480px) {
    .products-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s ease;
}

.product-card-link:hover {
    transform: translateY(-10px);
}

.product-card-link:hover .product-card {
    box-shadow: 0 20px 40px rgba(150, 150, 150, 0.1);
    border-color: rgba(150, 150, 150, 0.5);
    transform: none;
}

.product-card {
    background: #1a1a1a;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.product-image-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.6) 100%);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #CC1E1E, #B71C1C);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        0 4px 12px rgba(204, 30, 30, 0.5),
        0 0 20px rgba(204, 30, 30, 0.3);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow:
            0 4px 12px rgba(204, 30, 30, 0.5),
            0 0 20px rgba(204, 30, 30, 0.3);
    }

    100% {
        box-shadow:
            0 4px 16px rgba(204, 30, 30, 0.7),
            0 0 30px rgba(204, 30, 30, 0.5),
            0 0 40px rgba(204, 30, 30, 0.2);
    }
}

.product-details {
    background: #1a1a1a;
    padding: 25px;
    color: white;
}

.product-category-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* BADGES FEATURES - TAILLE MODÉRÉMENT RÉDUITE */
.product-features-badges {
    display: flex;
    gap: 12px;
    /* Augmenté de 10px à 12px */
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #333;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    /* Augmenté de 6px à 7px */
    background: linear-gradient(135deg, #0d2818, #1a3d2e);
    border: 1px solid #2d5a47;
    padding: 7px 12px;
    /* Augmenté de 6px 10px à 7px 12px */
    border-radius: 7px;
    font-size: 12px;
    /* Augmenté de 11px à 12px */
    font-weight: 600;
    color: #00D474;
    box-shadow: 0 2px 8px rgba(0, 212, 116, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.feature-badge i {
    font-size: 11px;
    /* Augmenté de 10px à 11px */
}

/* POUR LES CARTES DU CARROUSEL BESTSELLERS */
.carousel-clean-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* Augmenté de 5px à 6px */
    padding: 6px 10px;
    /* Augmenté de 5px 9px à 6px 10px */
    border-radius: 7px;
    font-size: 12px;
    /* Augmenté de 11px à 12px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.carousel-clean-feature i {
    font-size: 10px;
    /* Augmenté de 9px à 10px */
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-label {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #CC1E1E;
}

.product-old-price {
    font-size: 1.1rem;
    color: #666;
    text-decoration: line-through;
}

.product-buy-btn {
    background: rgba(40, 40, 45, 0.9);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 9px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-buy-btn:hover {
    background: rgba(50, 50, 55, 0.95);
    border-color: rgba(150, 150, 150, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-buy-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.product-buy-btn span {
    font-size: 13px;
    font-weight: 500;
}

.product-buy-btn:hover i {
    transform: translateX(2px);
}

/* Responsive pour produits */
@media screen and (max-width: 768px) {
    .products-section {
        padding: 60px 20px;
    }

    .products-title {
        font-size: 2.5rem;
    }

    .products-subtitle {
        font-size: 16px;
        padding: 10px 20px;
    }

    .products-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image-section {
        height: 220px;
        /* Augmenté de 200px à 220px */
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Assure un bon cadrage */
        display: block;
        transition: transform 0.4s ease;
    }

    .product-details {
        padding: 20px;
    }

    .product-price {
        font-size: 2.6rem;
    }

    .product-buy-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .product-buy-btn i,
    .product-buy-btn span {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .products-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
        max-width: 100%;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image-section {
        height: 200px;
        /* Ajusté pour très petits écrans */
    }

    .discount-badge {
        top: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .product-details {
        padding: 18px;
    }

    .product-features-badges {
        flex-direction: column;
        gap: 8px;
    }

    .product-price {
        font-size: 2rem;
    }

    .products-subtitle {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* SECTION FAQ - VERSION AMÉLIORÉE AVEC ICÔNES */
.faq-section {
    padding: 100px 20px;
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-badge i {
    font-size: 12px;
}

.faq-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.faq-subtitle {
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-item {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.faq-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.faq-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3));
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.faq-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.faq-icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.faq-question h3 {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-expand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-expand-icon i {
    transition: transform 0.3s ease;
}

.faq-expand-blue {
    color: #60A5FA;
}

.faq-expand-green {
    color: #34D399;
}

.faq-expand-purple {
    color: #A78BFA;
}

.faq-expand-orange {
    color: #FBBF24;
}

.faq-expand-red {
    color: #F87171;
}

.faq-item.active .faq-expand-icon {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-expand-icon i {
    transform: rotate(-45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: #D1D5DB;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animation d'apparition des FAQ items */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: faqAppear 0.6s ease forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes faqAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour FAQ */
@media screen and (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 2.5rem;
    }

    .faq-subtitle {
        font-size: 0.95rem;
    }

    .faq-container {
        padding: 0 10px;
    }

    .faq-question {
        padding: 20px 22px;
        gap: 16px;
    }

    .faq-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-expand-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .faq-answer.active {
        padding: 0 22px 20px 22px;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-question {
        padding: 18px 20px;
        gap: 12px;
    }

    .faq-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-expand-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .faq-answer.active {
        padding: 0 20px 18px 20px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* SECTION BLOG SEO */
.blog-section {
    padding: 100px 20px;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 11, 0.3) 100%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #A78BFA;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-badge i {
    font-size: 12px;
}

.blog-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.blog-subtitle {
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.blog-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.blog-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.blog-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3));
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.blog-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.blog-icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.blog-icon-yellow {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.3));
    color: #FCD34D;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.blog-card:hover .blog-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.blog-card-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-card-content {
    color: #D1D5DB;
}

.blog-card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #D1D5DB;
}

.blog-card-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Blog */
@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .blog-section {
        padding: 60px 20px;
    }

    .blog-title {
        font-size: 2.5rem;
    }

    .blog-subtitle {
        font-size: 0.95rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .blog-card {
        padding: 28px 24px;
    }

    .blog-card-title {
        font-size: 1.3rem;
    }

    .blog-card-content p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-card {
        padding: 24px 20px;
    }

    .blog-card-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-card-content p {
        font-size: 0.85rem;
    }
}

/* FOOTER */
.footer {
    background-color: #0B0B0B;
    color: white;
    padding: 60px 40px 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo-text {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.footer-description {
    color: #AAAAAA;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAAAAA;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3a3a3a;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #AAAAAA;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #888888;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright i {
    font-size: 14px;
    color: #666666;
}

.back-to-top {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #003e8c, #007bff);
    border: 2px solid #3399ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(51, 153, 255, 0.3);
    text-decoration: none;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(51, 153, 255, 0.5);
}

/* Responsive pour footer */
@media screen and (max-width: 1024px) {
    .footer-container {
        gap: 60px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-description {
        text-align: center;
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .back-to-top {
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px 15px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 14px;
        right: 15px;
    }
}

/* === ICÔNE CADEAU FLOTTANTE - VERSION SOBRE AMÉLIORÉE === */
/* === ICÔNE CADEAU AVEC NOTIFICATION CLEAN === */
.gift-icon {
    position: fixed;
    top: 200px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(74, 158, 255, 0.1);
    transition: all 0.3s ease;
    animation: giftBounce 2s ease-in-out infinite;
}

/* Badge de notification clean */
.gift-icon::before {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid #0B0B0B;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.5);
    animation: notificationPulseClean 2s ease-in-out infinite;
    z-index: 999;
}

/* Animation subtile pour le point rouge */
@keyframes notificationPulseClean {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.gift-icon:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(74, 158, 255, 0.2);
}

.gift-icon i {
    color: #CCCCCC;
    font-size: 22px;
    transition: all 0.3s ease;
}

.gift-icon:hover i {
    color: white;
    transform: scale(1.05);
}

.gift-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    animation: giftPulseSober 3s ease-in-out infinite;
}

@keyframes giftBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes giftPulseSober {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

/* === RESPONSIVE POUR MOBILE === */
@media screen and (max-width: 768px) {
    .gift-icon {
        top: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .gift-icon::before {
        width: 10px;
        height: 10px;
        top: -2px;
        right: -2px;
    }

    .gift-icon i {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gift-icon {
        top: 120px;
        right: 15px;
        width: 47px;
        height: 47px;
    }

    .gift-icon::before {
        width: 9px;
        height: 9px;
        top: -2px;
        right: -2px;
    }

    .gift-icon i {
        font-size: 18px;
    }
}

/* === RESPONSIVE POUR MOBILE === */
@media screen and (max-width: 768px) {
    .gift-icon {
        top: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .gift-icon i {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gift-icon {
        top: 120px;
        right: 15px;
        width: 47px;
        height: 47px;
    }

    .gift-icon i {
        font-size: 18px;
    }
}

/* === MODAL DE DISCOUNT === */
.discount-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.discount-modal.show {
    opacity: 1;
    visibility: visible;
}

.discount-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.discount-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 107, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.discount-modal.show .discount-modal-content {
    transform: scale(1);
}

.discount-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.discount-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.discount-header {
    margin-bottom: 30px;
}

.discount-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B6B, #FF5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.discount-icon i {
    color: white;
    font-size: 35px;
}

.discount-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.discount-header p {
    color: #CCCCCC;
    font-size: 1rem;
    margin: 0;
}

.discount-form {
    margin-bottom: 25px;
}

.discount-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.discount-input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.discount-input-group input::placeholder {
    color: #999;
}

.discount-input-group input:focus {
    border-color: #FF6B6B;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
}

.discount-submit-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: 2px solid #3399ff;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.discount-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.discount-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.discount-terms {
    color: #999;
    font-size: 0.85rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.discount-error,
.discount-success {
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

.discount-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #FF6B6B;
}

.discount-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28A745;
}

.discount-decline {
    background: none;
    border: none;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: underline;
    padding: 10px;
}

.discount-decline:hover {
    color: #CCCCCC;
}

/* === RESPONSIVE POUR MOBILE === */
@media screen and (max-width: 768px) {
    .gift-icon {
        top: 150px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .gift-icon i {
        font-size: 24px;
    }

    .discount-modal-content {
        padding: 30px 25px;
        margin: 20px;
        max-width: 100%;
        width: calc(100% - 40px);
    }

    .discount-header h2 {
        font-size: 1.5rem;
    }

    .discount-icon {
        width: 70px;
        height: 70px;
    }

    .discount-icon i {
        font-size: 30px;
    }

    .discount-input-group input,
    .discount-submit-btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .gift-icon {
        top: 120px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .gift-icon i {
        font-size: 22px;
    }

    .discount-modal-content {
        padding: 25px 20px;
        margin: 15px;
        width: calc(100% - 30px);
    }

    .discount-header h2 {
        font-size: 1.3rem;
    }

    .discount-header p {
        font-size: 0.9rem;
    }

    .discount-icon {
        width: 65px;
        height: 65px;
    }

    .discount-icon i {
        font-size: 28px;
    }
}

/* SECTION BEST SELLER - CARROUSEL CLEAN VERSION */

.bestseller-carousel-section {
    padding: 100px 20px;
    position: relative;
}

.bestseller-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* SECTION BEST SELLER - TITRE AMÉLIORÉ */
.bestseller-carousel-header {
    text-align: center;
    margin-bottom: 80px;
}

.bestseller-carousel-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 3.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    letter-spacing: -1px;
    position: relative;
}

/* Badge "Most popular products" amélioré */
.bestseller-carousel-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #ff6b35;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
}

.bestseller-carousel-subtitle i {
    font-size: 12px;
    color: #ff6b35;
}

/* Responsive pour le titre */
@media (max-width: 768px) {
    .bestseller-carousel-title {
        font-size: 2.5rem;
    }

    .bestseller-carousel-subtitle {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .bestseller-carousel-title {
        font-size: 2rem;
    }

    .bestseller-carousel-subtitle {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* CONTENEUR PRINCIPAL DU CARROUSEL */
.carousel-main-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* FLÈCHES DE NAVIGATION */
.carousel-nav-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #CCCCCC;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.95), rgba(60, 60, 60, 0.9));
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.05);
}

.carousel-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none !important;
}

/* WRAPPER DU CARROUSEL */
.carousel-clean-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    max-width: calc(100vw - 140px);
}

/* TRACK DU CARROUSEL */
.carousel-clean-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* SLIDE INDIVIDUELLE */
.carousel-clean-slide {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* LIEN DE LA CARTE */
.carousel-clean-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s ease;
}

.carousel-clean-link:hover {
    transform: translateY(-10px);
}

/* CARTE PRODUIT */
.carousel-clean-card {
    background: #1a1a1a;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.carousel-clean-link:hover .carousel-clean-card {
    box-shadow: 0 20px 40px rgba(150, 150, 150, 0.1);
    border-color: rgba(150, 150, 150, 0.5);
}

/* SECTION IMAGE */
.carousel-clean-image-section {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: transparent;
}

.carousel-clean-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-clean-link:hover .carousel-clean-image {
    transform: scale(1.05);
}

.carousel-clean-image-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* BADGES */
.carousel-clean-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #CC1E1E, #B71C1C);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        0 4px 12px rgba(204, 30, 30, 0.5),
        0 0 20px rgba(204, 30, 30, 0.3);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: carousel-pulse 2s ease-in-out infinite alternate;
}

@keyframes carousel-pulse {
    0% {
        box-shadow:
            0 4px 12px rgba(204, 30, 30, 0.5),
            0 0 20px rgba(204, 30, 30, 0.3);
    }

    100% {
        box-shadow:
            0 4px 16px rgba(204, 30, 30, 0.7),
            0 0 30px rgba(204, 30, 30, 0.5),
            0 0 40px rgba(204, 30, 30, 0.2);
    }
}

/* CONTENU DE LA CARTE */
.carousel-clean-content {
    background: #1a1a1a;
    padding: 25px;
    color: white;
}

.carousel-clean-title {
    font-family: 'TitleFont', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-clean-link:hover .carousel-clean-title {
    color: white;
}

/* FEATURES */
.carousel-clean-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    flex-direction: column;
}

.carousel-clean-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-clean-feature.instant {
    background: linear-gradient(135deg, #0d2818, #1a3d2e);
    border: 1px solid #2d5a47;
    color: #00D474;
    box-shadow: 0 2px 8px rgba(0, 212, 116, 0.15);
}

.carousel-clean-feature.setup {
    background: linear-gradient(135deg, #0d2818, #1a3d2e);
    border: 1px solid #2d5a47;
    color: #00D474;
    box-shadow: 0 2px 8px rgba(0, 212, 116, 0.15);
}

.carousel-clean-feature i {
    font-size: 10px;
}

/* BOTTOM SECTION */
.carousel-clean-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.carousel-clean-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.carousel-clean-price-label {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.carousel-clean-price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.carousel-clean-price {
    font-size: 2rem;
    font-weight: bold;
    color: #CC1E1E;
}

.carousel-clean-old-price {
    font-size: 1rem;
    color: #666;
    text-decoration: line-through;
}

.carousel-clean-buy-btn {
    background: rgba(40, 40, 45, 0.9);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.carousel-clean-link:hover .carousel-clean-buy-btn {
    background: rgba(50, 50, 55, 0.95);
    border-color: rgba(150, 150, 150, 0.5);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* RESPONSIVE DESIGN */

/* Desktop large */
@media (min-width: 1200px) {
    .carousel-clean-slide {
        flex: 0 0 33.333%;
    }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1199px) {
    .carousel-clean-slide {
        flex: 0 0 50%;
    }

    .carousel-main-container {
        gap: 15px;
    }

    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .carousel-clean-wrapper {
        max-width: calc(100vw - 120px);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bestseller-carousel-section {
        padding: 60px 15px;
    }

    .bestseller-carousel-title {
        font-size: 2.5rem;
    }

    .bestseller-carousel-subtitle {
        font-size: 14px;
        padding: 8px 16px;
    }

    .carousel-main-container {
        gap: 10px;
        padding: 0 5px;
    }

    .carousel-clean-wrapper {
        max-width: calc(100vw - 100px);
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .carousel-clean-slide {
        flex: 0 0 100%;
        padding: 0 5px;
    }

    .carousel-clean-content {
        padding: 20px;
    }

    .carousel-clean-title {
        font-size: 1.4rem;
    }

    .carousel-clean-price {
        font-size: 1.6rem;
    }

    .carousel-clean-features {
        flex-direction: column;
        gap: 8px;
    }

    .carousel-clean-buy-btn {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .bestseller-carousel-cta-btn {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
}

/* Très petit mobile */
@media (max-width: 480px) {
    .bestseller-carousel-title {
        font-size: 2rem;
    }

    .carousel-main-container {
        gap: 8px;
        padding: 0 2px;
    }

    .carousel-clean-wrapper {
        max-width: calc(100vw - 90px);
    }

    .carousel-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .carousel-clean-content {
        padding: 16px;
    }

    .carousel-clean-title {
        font-size: 1.2rem;
    }

    .carousel-clean-price {
        font-size: 1.4rem;
    }

    .carousel-clean-old-price {
        font-size: 0.9rem;
    }
}

/* ===== SYSTÈME DE CATÉGORIES AVEC IMAGES ===== */

/* Section des catégories */
.categories-section {
    padding: 30px 20px 30px 20px;
    position: relative;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Conteneur principal du carrousel de catégories */
.categories-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Flèches de navigation pour catégories */
.categories-nav-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #CCCCCC;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.categories-nav-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.95), rgba(60, 60, 60, 0.9));
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.05);
}

.categories-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none !important;
}

/* Wrapper du carrousel de catégories */
.categories-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    max-width: calc(100vw - 140px);
}

/* Track du carrousel de catégories */
.categories-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Slide individuelle de catégorie */
.category-slide {
    flex: 0 0 25%;
    /* 4 catégories visibles par défaut */
    padding: 0 10px;
    box-sizing: border-box;
}

/* Carte de catégorie - style par défaut avec icône pour ALL PRODUCTS */
.category-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 160px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-top: 8px;
    /* Ajout d'une marge pour éviter le débordement */
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.category-card.active {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08), rgba(74, 158, 255, 0.04));
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(74, 158, 255, 0.2), 0 0 20px rgba(74, 158, 255, 0.15);
}

/* Style pour ALL PRODUCTS - Mise à jour pour correspondre aux autres */
.category-card[data-category="all"] {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card[data-category="all"] .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(40, 40, 40, 0.7) 50%,
            transparent 100%);
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100%;
}

/* Ajout d'un fond pour ALL PRODUCTS */
.category-card[data-category="all"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(74, 158, 255, 0.02));
    z-index: 0;
}

.category-card[data-category="all"] .category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #CCCCCC;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
}

.category-card[data-category="all"]:hover .category-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.1);
}

.category-card[data-category="all"].active .category-icon {
    background: rgba(74, 158, 255, 0.2);
    color: #4A9EFF;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.category-card[data-category="all"].active::before {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08), rgba(74, 158, 255, 0.03));
}

.category-card[data-category="all"]:hover .category-content {
    background: linear-gradient(to top,
            rgba(26, 26, 26, 0.95) 0%,
            rgba(40, 40, 40, 0.8) 50%,
            transparent 100%);
}

/* Style pour BUNDLE - même rendu propre que ALL PRODUCTS */
.category-card[data-category="bundle"] {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card[data-category="bundle"] .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(40, 40, 40, 0.7) 50%,
            transparent 100%);
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card[data-category="bundle"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(74, 158, 255, 0.02));
    z-index: 0;
}

.category-card[data-category="bundle"] .category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #CCCCCC;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
}

.category-card[data-category="bundle"]:hover .category-icon {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    transform: scale(1.1);
}

.category-card[data-category="bundle"].active .category-icon {
    background: rgba(74, 158, 255, 0.2);
    color: #4A9EFF;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.category-card[data-category="bundle"].active::before {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08), rgba(74, 158, 255, 0.03));
}

.category-card[data-category="bundle"]:hover .category-content {
    background: linear-gradient(to top,
            rgba(26, 26, 26, 0.95) 0%,
            rgba(40, 40, 40, 0.8) 50%,
            transparent 100%);
}

.category-card[data-category="bundle"] .category-name {
    text-shadow: none;
}

.category-card[data-category="bundle"].active .category-name {
    color: #4A9EFF;
    text-shadow: 0 0 12px rgba(74, 158, 255, 0.3);
}

/* Style pour les catégories avec images */
.category-card:not([data-category="all"]):not([data-category="bundle"]) {
    padding: 0;
}

/* Image de la catégorie en 16:9 */
.category-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

/* Overlay pour le texte sur l'image (seulement pour les catégories avec images, pas bundle) */
.category-card:not([data-category="all"]):not([data-category="bundle"]) .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:not([data-category="all"]):not([data-category="bundle"]):hover .category-content {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            transparent 100%);
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #CCCCCC;
    margin: 0;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
}

/* Style du nom pour les catégories avec images */
.category-card:not([data-category="all"]):not([data-category="bundle"]) .category-name {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.category-card:hover .category-name {
    color: white;
    transform: scale(1.05);
}

.category-card.active .category-name {
    color: #4A9EFF;
    font-weight: 700;
}

.category-card:not([data-category="all"]):not([data-category="bundle"]).active .category-name {
    text-shadow: 0 2px 8px rgba(74, 158, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== SECTION DE RECHERCHE ===== */

.search-section {
    padding: 20px 0 40px 0;
    position: relative;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: rgba(74, 158, 255, 0.6);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px 15px 50px;
    color: white;
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #888;
    font-style: italic;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #888;
    font-size: 16px;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within .search-icon {
    color: #4A9EFF;
}

.search-clear {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 50%;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: rgba(220, 53, 69, 0.2);
    color: white;
    transform: scale(1.1);
}

/* ===== PAGINATION DES PRODUITS ===== */

.products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #CCCCCC;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.products-nav-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.9), rgba(60, 60, 60, 0.8));
    border-color: rgba(74, 158, 255, 0.6);
    color: #4A9EFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.2);
}

.products-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.pagination-info {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 20px;
    color: #CCCCCC;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Message "Aucun résultat" */
.no-results-message {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
}

.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 400px;
}

.no-results-content i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.no-results-content h3 {
    font-size: 1.8rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

.no-results-content p {
    color: #CCCCCC;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN POUR CATÉGORIES ===== */

/* Tablette */
@media (min-width: 768px) and (max-width: 1199px) {
    .category-slide {
        flex: 0 0 33.333%;
        /* 3 catégories visibles */
    }

    .categories-carousel-container {
        gap: 15px;
    }

    .categories-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .categories-carousel-wrapper {
        max-width: calc(100vw - 120px);
    }

    .category-card {
        min-height: 140px;
    }

    .category-card[data-category="all"] .category-icon,
    .category-card[data-category="bundle"] .category-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .categories-section {
        padding: 35px 15px 20px 15px;
    }

    .categories-carousel-container {
        gap: 10px;
        padding: 0 5px;
    }

    .categories-carousel-wrapper {
        max-width: calc(100vw - 90px);
    }

    .categories-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .category-slide {
        flex: 0 0 50%;
        /* 2 catégories visibles */
        padding: 0 5px;
    }

    .category-card {
        min-height: 120px;
    }

    .category-card[data-category="all"] .category-icon,
    .category-card[data-category="bundle"] .category-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .category-card:not([data-category="all"]):not([data-category="bundle"]) .category-content {
        padding: 12px;
    }

    .category-name {
        font-size: 0.8rem;
    }

    .search-section {
        padding: 15px 0 30px 0;
    }

    .search-container {
        padding: 0 15px;
    }

    .search-input {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }

    .search-icon {
        left: 15px;
        font-size: 14px;
    }

    .products-pagination {
        flex-direction: column;
        gap: 1rem;
        margin-top: 40px;
        padding: 20px 15px;
    }

    .products-nav-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .pagination-info {
        text-align: center;
        padding: 10px 16px;
    }
}

/* Très petit mobile */
@media (max-width: 480px) {
    .categories-section {
        padding: 30px 10px 15px 10px;
    }

    .categories-carousel-container {
        gap: 8px;
        padding: 0 2px;
    }

    .categories-carousel-wrapper {
        max-width: calc(100vw - 80px);
    }

    .categories-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }

    .category-slide {
        flex: 0 0 100%;
        /* 1 catégorie visible sur très petit écran */
        padding: 0 3px;
    }

    .category-card {
        min-height: 110px;
    }

    .category-card[data-category="all"] .category-icon,
    .category-card[data-category="bundle"] .category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .category-card:not([data-category="all"]):not([data-category="bundle"]) .category-content {
        padding: 10px;
    }

    .category-name {
        font-size: 0.75rem;
    }

    .search-container {
        padding: 0 10px;
    }

    .search-input {
        font-size: 16px;
        /* Évite le zoom sur iOS */
        padding: 14px 16px 14px 42px;
    }

    .products-pagination {
        padding: 15px 10px;
        margin-top: 30px;
    }

    .products-nav-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Badge de réduction sur l'icône cadeau - Version Clean */
.gift-discount-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ff4757, #ee5a6f);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.3);
    z-index: 1000;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Animation subtile au hover de l'icône */
.gift-icon:hover .gift-discount-badge {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 71, 87, 0.4);
}

/* Responsive pour le badge */
@media screen and (max-width: 768px) {
    .gift-discount-badge {
        font-size: 8px;
        padding: 2px 5px;
        top: -5px;
        right: -5px;
    }
}

@media screen and (max-width: 480px) {
    .gift-discount-badge {
        font-size: 7px;
        padding: 2px 4px;
        top: -4px;
        right: -4px;
    }
}

/* === ICÔNE ADVENT FLOTTANTE === */
.advent-floating-icon {
    position: fixed;
    top: 200px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #1f1f1f, #151515);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
    animation: adventFloat 3s ease-in-out infinite, adventGlow 2s ease-in-out infinite alternate;
}

@keyframes adventFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes adventGlow {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(239, 68, 68, 0.2);
    }

    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(239, 68, 68, 0.35);
    }
}

.advent-floating-icon>i {
    font-size: 26px;
    color: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
    transition: all 0.3s ease;
}

.advent-floating-icon:hover {
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(239, 68, 68, 0.4);
    animation: none;
    transform: translateY(-4px) scale(1.05);
}

.advent-floating-icon:hover>i {
    color: #f87171;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.7));
    transform: scale(1.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .advent-floating-icon {
        top: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .advent-floating-icon>i {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .advent-floating-icon {
        top: 120px;
        right: 15px;
        width: 46px;
        height: 46px;
    }

    .advent-floating-icon>i {
        font-size: 20px;
    }
}

/* === MODAL ADVENT - CHRISTMAS EDITION === */
.advent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.advent-modal.show {
    opacity: 1;
    visibility: visible;
}

.advent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.advent-modal-content {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(220, 38, 38, 0.1),
        0 0 40px rgba(34, 197, 94, 0.05);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* Bordure festive */
.advent-modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, #dc2626, #22c55e, #dc2626);
    background-size: 200% 200%;
    animation: borderShift 4s ease infinite;
    -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.6;
}

@keyframes borderShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Flocons décoratifs */
.modal-snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.modal-snowflakes span {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 20px;
    animation: snowDrift 8s linear infinite;
}

.modal-snowflakes span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.modal-snowflakes span:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
    font-size: 16px;
}

.modal-snowflakes span:nth-child(3) {
    left: 85%;
    animation-delay: 4s;
    font-size: 14px;
}

@keyframes snowDrift {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(400px) rotate(360deg);
        opacity: 0;
    }
}

.advent-modal.show .advent-modal-content {
    transform: scale(1) translateY(0);
}

.advent-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
    z-index: 10;
}

.advent-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #999;
}

/* Header */
.advent-modal-header {
    text-align: center;
    padding: 32px 24px 24px;
    position: relative;
    z-index: 1;
}

.advent-modal-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-tree {
    font-size: 50px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: treeGlow 2s ease-in-out infinite;
}

@keyframes treeGlow {

    0%,
    100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
    }
}

.icon-star {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 20px;
    animation: starPulse 1.5s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 0.8;
    }
}

.advent-modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.year-tag {
    background: linear-gradient(135deg, #dc2626, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
}

.advent-modal-subtitle {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

/* Body */
.advent-modal-body {
    padding: 0 24px 20px;
    position: relative;
    z-index: 1;
}

.advent-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.advent-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.advent-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.advent-feature.featured {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.03));
    border-color: rgba(251, 191, 36, 0.25);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #22c55e;
}

.feature-icon.gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
}

.feature-icon.red {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    color: #dc2626;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.feature-desc {
    font-size: 0.82rem;
    color: #777;
}

.feature-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.advent-requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    font-size: 0.82rem;
    color: #888;
}

.advent-requirement i {
    color: #22c55e;
    font-size: 14px;
    flex-shrink: 0;
}

/* Footer */
.advent-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.advent-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.advent-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.advent-cta-btn:hover::before {
    left: 100%;
}

.advent-cta-btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.advent-cta-btn i {
    font-size: 16px;
}

.advent-dismiss-btn {
    background: transparent;
    border: none;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.2s ease;
}

.advent-dismiss-btn:hover {
    color: #888;
}

/* Responsive Modal */
@media screen and (max-width: 480px) {
    .advent-modal-content {
        margin: 16px;
        width: calc(100% - 32px);
        border-radius: 16px;
    }

    .advent-modal-header {
        padding: 28px 20px 20px;
    }

    .icon-tree {
        font-size: 42px;
    }

    .icon-star {
        font-size: 16px;
    }

    .advent-modal-header h2 {
        font-size: 1.4rem;
    }

    .advent-modal-body {
        padding: 0 20px 18px;
    }

    .advent-feature {
        padding: 12px 14px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-desc {
        font-size: 0.78rem;
    }

    .advent-modal-footer {
        padding: 0 20px 20px;
    }

    .advent-cta-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .modal-snowflakes span {
        font-size: 14px;
    }
}

/* ── Site Alerts — modern dark-theme messages ──────────────────────────── */
.site-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid;
    margin: 16px 0;
    font-size: 0.9rem;
    font-family: inherit;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-alert--danger {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.28);
}

.site-alert--success {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.28);
}

.site-alert__icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.site-alert__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.site-alert__title {
    font-weight: 700;
    font-size: 0.875rem;
    color: inherit;
}

.site-alert--danger .site-alert__text {
    color: rgba(239, 68, 68, 0.75);
    font-size: 0.83rem;
}

.site-alert--success .site-alert__text {
    color: rgba(34, 197, 94, 0.75);
    font-size: 0.83rem;
}

.site-alert__close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.45;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 7px;
    font-size: 0.78rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.site-alert__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* ── AlertV2 — floating top-right toast ─────────────────────────────────── */
.alertv2-wrapper {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    max-width: 360px;
    width: calc(100vw - 48px);
    animation: alertv2-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alertv2-wrapper.alertv2--out {
    animation: alertv2-out 0.4s ease forwards;
}

@keyframes alertv2-in {
    from { opacity: 0; transform: translateX(30px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes alertv2-out {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(30px) scale(0.96); }
}

.alertv2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    padding-bottom: 18px;
    border-radius: 14px;
    border: 1px solid;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    font-size: 0.875rem;
    font-family: inherit;
}

.alertv2--danger {
    color: #EF4444;
    background: rgba(18, 6, 6, 0.92);
    border-color: rgba(239, 68, 68, 0.3);
}

.alertv2--success {
    color: #22C55E;
    background: rgba(5, 18, 9, 0.92);
    border-color: rgba(34, 197, 94, 0.3);
}

.alertv2__icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.alertv2__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.alertv2__title {
    font-weight: 700;
    font-size: 0.85rem;
    color: inherit;
}

.alertv2--danger .alertv2__text {
    color: rgba(239, 68, 68, 0.7);
    font-size: 0.8rem;
    word-break: break-word;
}

.alertv2--success .alertv2__text {
    color: rgba(34, 197, 94, 0.7);
    font-size: 0.8rem;
    word-break: break-word;
}

.alertv2__close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.4;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 7px;
    font-size: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.alertv2__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* countdown bar at bottom of toast */
.alertv2__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    border-radius: 0 0 14px 14px;
    animation: alertv2-bar linear both;
    transform-origin: left;
}

.alertv2--danger .alertv2__bar  { background: rgba(239, 68, 68, 0.55); }
.alertv2--success .alertv2__bar { background: rgba(34, 197, 94, 0.55); }

@keyframes alertv2-bar {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}