/* 🔥 Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🔥 Arrière-plan */
body {
    background-image: url('../../../image/b7.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* 🔥 Conteneur principal */
.rules-container {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 100px rgba(255, 0, 0, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1300px;
    width: 100%;
}

/* 🔥 Titre */
h2 {
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* 🔥 Grille des armes */
.weapons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* 🔥 Carte d'une arme */
.weapon-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    text-align: center;
    width: 45%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.weapon-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
}

/* 🔥 Images */
.weapon-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 🔥 Boutons généraux */
.button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.add-to-cart, .animated-button, .remove-item, .clear-cart {
    background: linear-gradient(45deg, #ff1919, #990000);
    color: white;
    border: none;
    padding: 14px 22px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.7);
}

.add-to-cart:hover, .animated-button:hover, .remove-item:hover, .clear-cart:hover {
    background: linear-gradient(45deg, #990000, #ff1919);
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 1);
}

/* 🔥 Spécifique pour les boutons du panier */
.remove-item {
    background: linear-gradient(45deg, #ff6600, #cc4400);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.7);
}

.remove-item:hover {
    background: linear-gradient(45deg, #cc4400, #ff6600);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 1);
}

.clear-cart {
    background: linear-gradient(45deg, #333333, #000000);
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.7);
}

.clear-cart:hover {
    background: linear-gradient(45deg, #000000, #333333);
    box-shadow: 0 5px 15px rgba(150, 150, 150, 1);
}

/* 🔥 Conteneur des boutons */
.buttons-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.custom-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-bubble {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 55px 100px;
    border-radius: 100px; /* Forme arrondie */
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.notification-bubble img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.custom-notification.hide {
    opacity: 0;
}