:root {
    --pink-primary: #FF2D55;     /* Rose vif */
    --pink-light: #FF6B8B;       /* Rose clair */
    --dark-violet: #2D0536;      /* Violet très sombre */
    --violet-accent: #7928CA;    /* Violet accent */
    --white: #FFFFFF;
    --black-rose: #1A0E1A;       /* Noir avec teinte rosée */
    --black-deep: #0A0A0A;       /* Noir profond */
    --gray-dark: #151515;        /* Gris très foncé */
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: var(--black-deep);
    color: var(--white);
}

.page {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
}

.social-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-float a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 85, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 45, 85, 0.3);
}

.social-float a:hover {
    transform: scale(1.1);
    background: var(--pink-primary);
    color: var(--white);
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-primary), var(--violet-accent));
    color: var(--white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: 0 4px 6px rgba(45, 5, 54, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 45, 85, 0.4);
    filter: brightness(110%);
}

.nav-item {
    position: relative;
    color: var(--white);
    font-weight: 600;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--pink-primary), var(--violet-accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover, .nav-item.active {
    color: var(--pink-primary);
}

.nav-item:hover:after, .nav-item.active:after {
    width: 80%;
}

.card {
    background: rgba(26, 14, 26, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 45, 85, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 45, 85, 0.15);
    border-color: var(--pink-primary);
}

/* Page specific styles */

/* Accueil */
#accueil {
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(26, 14, 26, 0.9)), url('https://stachzer.game-link.eu/uploads/warzone.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Ajustement de la position du texte sur la page d'accueil */
#accueil .hero-text {
    position: relative;
    top: -100px; /* Ajustez cette valeur pour remonter plus ou moins le texte */
}

/* Ajustement de la position de la flèche de défilement */
#accueil .absolute.bottom-10.left-0.right-0.animate-bounce {
    bottom: -150px; /* Ajustez cette valeur pour descendre plus ou moins la flèche */
}


.hero-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text h1 {
    position: relative;
    display: inline-block;
}

.hero-text h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-primary), var(--violet-accent));
    border-radius: 2px;
}

/* Arsenal */
/* Style de la barre de recherche */
input#weapon-search {
    background-color: rgba(26, 14, 26, 0.7);
    border: 1px solid rgba(255, 45, 85, 0.2);
    transition: all 0.3s ease;
}

input#weapon-search:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.2);
}

input#weapon-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Mise en évidence du terme recherché */
.highlight-match {
    background-color: rgba(255, 45, 85, 0.3);
    padding: 0 2px;
    border-radius: 2px;
}

/* Responsive pour la barre de recherche */
@media (max-width: 768px) {
    .flex.flex-wrap.items-center.justify-between.mb-8 {
        flex-direction: column;
        gap: 12px;
    }
    
    .relative.mt-4.md\:mt-0.w-full.md\:w-64 {
        width: 100%;
    }
    
    input#weapon-search {
        width: 100%;
    }
}

#arsenal {
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(26, 14, 26, 0.9)), url('https://static1.thegamerimages.com/wordpress/wp-content/uploads/2020/04/feature-warzone-loadouts.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


.news-date {
    color: var(--pink-light);
    font-weight: 600;
}

/* Stratégies */
#strategies {
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(26, 14, 26, 0.85)), url('https://stachzer.game-link.eu/uploads/opti.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.strategy-card {
    background: rgba(26, 14, 26, 0.8);
    border-left: 4px solid var(--violet-accent);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    background: rgba(45, 5, 54, 0.7);
    transform: translateX(5px);
}

/* Communauté */
#communaute {
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(26, 14, 26, 0.9)), url('https://stachzer.game-link.eu/uploads/commu.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.community-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.community-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
}

.progress-bar {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--pink-primary), var(--violet-accent));
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .social-float {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        padding: 10px;
        background: rgba(26, 14, 26, 0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 45, 85, 0.2);
        z-index: 90; /* Ajout d'un z-index inférieur à celui de la bannière de cookies */
        transition: bottom 0.3s ease; /* Animation de transition en douceur */
    }
    
    /* Position ajustée quand la bannière de cookies est visible */
    .social-float.cookie-shown {
        bottom: 80px; /* Déplacé vers le haut pour éviter le chevauchement avec la bannière de cookies */
    }
    
    /* Ajustements pour la bannière de cookies sur mobile */
    #cookie-banner {
        z-index: 100; /* S'assurer que la bannière est au-dessus de la barre sociale */
    }
    
    .hero-text h1 {
        font-size: 2rem !important;
    }
    
    .content-section {
        padding: 30px 15px !important;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
    transform: translate(-50%, -50%) scale(1);
    background-color: var(--pink-primary);
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}

/* Amélioration des éléments existants */

/* Style des titres de section */
.content-section h2, .text-center h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.content-section h2:after, .text-center h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-primary), var(--violet-accent));
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Redesign des boutons de filtrage */
button.filter-button {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

button.filter-button:hover {
    border-color: var(--pink-primary);
    transform: translateY(-2px);
}

button.filter-button.active {
    background: linear-gradient(135deg, var(--pink-primary), var(--violet-accent)) !important;
    box-shadow: 0 4px 8px rgba(255, 45, 85, 0.3);
}

/* Customisation de la barre de navigation */
header {
    background-color: rgba(26, 14, 26, 0.9) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Customisation du footer */
footer {
    background-color: var(--black-deep) !important;
    border-top: 1px solid rgba(255, 45, 85, 0.1);
}

/* Styleisation des tags */
.tag, span.px-3.py-1.bg-green-500 {
    background: linear-gradient(135deg, var(--pink-primary), var(--violet-accent)) !important;
    color: white !important;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Styles pour les modals */
.weapon-modal {
    overflow-y: auto;
    transition: all 0.3s ease;
}

.modal-overlay {
    transition: opacity 0.3s ease;
}

.weapon-modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 45, 85, 0.2);
    max-height: 90vh;
}

.weapon-modal:not(.hidden) .weapon-modal-content {
    transform: scale(1);
}

.weapon-image-container {
    height: 300px;
}

#weapon-detail-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.weapon-image-container:hover #weapon-detail-image {
    transform: scale(1.05);
}

.cursor-zoom-in {
    cursor: zoom-in;
}

.max-h-90vh {
    max-height: 90vh;
}

/* Animation pour afficher les modals */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.weapon-modal:not(.hidden) {
    animation: fadeIn 0.3s ease forwards;
}

.weapon-modal:not(.hidden) .weapon-modal-content {
    animation: scaleIn 0.3s ease forwards;
}

#image-zoom-modal:not(.hidden) {
    animation: fadeIn 0.3s ease forwards;
}

#image-zoom-modal:not(.hidden) #zoomed-image {
    animation: scaleIn 0.3s ease forwards;
}











/* TOUT NOUVEAU CODE POUR L'ARSENAL */

/* Conteneur principal de la section Arsenal */
.arsenal-container {
    width: 100%;
    padding: 0;
}

/* Grille pour les cartes d'armes */
.arsenal-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

/* Carte d'arme individuelle */
.arsenal-card {
    background-color: rgba(26, 14, 26, 0.8);
    border: 1px solid var(--pink-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    margin: 0 1rem 2rem;
    width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (min-width: 768px) {
    .arsenal-card {
        width: calc(50% - 2rem);
    }
}

@media (min-width: 1024px) {
    .arsenal-card {
        width: calc(33.333% - 2rem);
    }
}














/* TOUT NOUVEAU CODE POUR L'ARSENAL */

/* Conteneur principal de la section Arsenal */
.arsenal-container {
    width: 100%;
    padding: 0;
}

/* Grille pour les cartes d'armes */
.arsenal-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem; /* Ajusté pour correspondre aux nouvelles marges */
}

/* Carte d'arme individuelle */
.arsenal-card {
    background-color: rgba(26, 14, 26, 0.8);
    border: 1px solid var(--pink-primary);
    border-radius: 10px; /* Réduit de 12px à 10px */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Ombre légèrement réduite */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    margin: 0 0.75rem 1.75rem; /* Marges réduites */
    width: calc(100% - 1.5rem); /* Largeur ajustée pour les nouvelles marges */
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (min-width: 768px) {
    .arsenal-card {
        width: calc(50% - 1.5rem); /* Largeur ajustée pour tablette */
    }
}

@media (min-width: 1024px) {
    .arsenal-card {
        width: calc(33.333% - 1.5rem); /* Largeur ajustée pour desktop */
    }
}

/* Hover effect */
.arsenal-card:hover {
    transform: translateY(-5px);
    border-color: var(--violet-accent);
    box-shadow: 0 10px 30px rgba(255, 45, 85, 0.15);
}

/* Image container */
.arsenal-card-image {
    position: relative;
    width: 100%;
    height: 180px; /* Réduit de 200px à 180px */
}

/* Image styling */
.arsenal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tags container */
.arsenal-tags {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

/* Individual tag */
.arsenal-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    padding: 3px 8px 3px 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Meta tag */
.arsenal-meta-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.arsenal-meta-tag span {
    background: var(--pink-primary);
    color: black;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-block;
}

/* Card content */
.arsenal-card-content {
    padding: 1.25rem; /* Réduit de 1.5rem à 1.25rem */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Card header */
.arsenal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem; /* Légèrement réduit */
}

/* Card title */
.arsenal-card-title {
    font-size: 1.15rem; /* Réduit de 1.25rem à 1.15rem */
    font-weight: 700;
    color: var(--white);
}

/* Stats section */
.arsenal-stats {
    margin-bottom: 0.9rem; /* Légèrement réduit */
}

/* Stats labels */
.arsenal-stats-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

/* Stats bars */
.arsenal-stats-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

/* Stat container */
.arsenal-stat-container {
    background: rgba(55, 65, 81, 1);
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
}

/* Stat bar */
.arsenal-stat-bar {
    background: linear-gradient(90deg, var(--pink-primary), var(--violet-accent));
    height: 100%;
    border-radius: 9999px;
}

/* Attachments section */
.arsenal-attachments {
    margin-bottom: 0.9rem;
    font-size: 0.8rem; /* Légèrement plus petit */
    max-height: 180px; /* Réduit de 200px à 180px */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pink-primary) rgba(26, 14, 26, 0.8);
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

/* Scrollbar styling */
.arsenal-attachments::-webkit-scrollbar {
    width: 4px;
}

.arsenal-attachments::-webkit-scrollbar-track {
    background: rgba(26, 14, 26, 0.8);
}

.arsenal-attachments::-webkit-scrollbar-thumb {
    background: var(--pink-primary);
    border-radius: 4px;
}

/* Attachment items */
.arsenal-attachments p {
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.arsenal-attachments p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.arsenal-attachments p span {
    font-weight: 600;
    color: var(--pink-light);
    margin-right: 0.25rem;
}

/* Description */
.arsenal-description {
    background: rgba(31, 41, 55, 0.5);
    padding: 0.6rem;
    border-radius: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.8rem; /* Légèrement plus petit */
    font-style: italic;
}

/* Bouton amélioré - plus voyant */
.arsenal-button {
    background: linear-gradient(to right, var(--pink-primary), var(--violet-accent));
    color: #FFFFFF; /* Texte blanc pour plus de contraste */
    font-weight: 700; /* Plus gras */
    padding: 0.85rem; /* Légèrement plus grand */
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease; /* Transition améliorée */
    margin-top: auto;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px; /* Espacement des lettres */
    text-transform: uppercase; /* Majuscules */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Ombre subtile pour le texte */
    box-shadow: 0 4px 10px rgba(255, 45, 85, 0.3); /* Ombre portée */
}

.arsenal-button:hover {
    transform: translateY(-2px); /* Léger soulèvement au survol */
    box-shadow: 0 6px 15px rgba(255, 45, 85, 0.5); /* Ombre plus prononcée au survol */
    opacity: 0.95;
}

.arsenal-button:active {
    transform: translateY(1px); /* Effet d'appui */
}

/* Empty state */
.arsenal-empty {
    text-align: center;
    padding: 2.5rem;
}






/* Styles pour l'intégration chat */
.chat-integration {
    border: 1px solid #ff6b00;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px 0;
}

.chat-integration h3 {
    color: #ff6b00;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #ff6b00;
    background: rgba(255, 107, 0, 0.1);
}

.chat-quick-access {
    padding: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.chat-quick-btn {
    padding: 10px 20px;
    background: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-quick-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

.chat-stats-mini {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.chat-stats-mini .stat {
    display: inline-block;
    margin-right: 20px;
    color: #ccc;
}

.chat-stats-mini .stat strong {
    color: #ff6b00;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .chat-popup {
        width: 280px;
        height: 350px;
    }
    
    .chat-quick-access {
        flex-direction: column;
    }
    
    .chat-quick-btn {
        text-align: center;
    }
}







