/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Transition globale pour un aspect fluide */
}

/* Variables CSS */
:root {
    /* Couleurs sombres avec bleu moderne comme couleur primaire */
    --primary: #4697D4; /* Bleu moderne clair */
    --primary-rgb: 70, 151, 212;
    --secondary: #5AA3E0; /* Bleu légèrement plus clair */
    --secondary-rgb: 90, 163, 224;
    --accent: #3D8BC7; /* Bleu accentué */
    --accent-rgb: 61, 139, 199;
    --dark: #e0e0e0;
    --dark-rgb: 224, 224, 224;
    --light: #1a1a1a;
    --light-rgb: 26, 26, 26;
    --white: #121212;
    --white-rgb: 18, 18, 18;
    --bg-cream: #0d0d0d;

    /* NOUVELLES COULEURS POUR LE DASHBOARD */
    --status-pending: linear-gradient(135deg, #4697D4, #3D8BC7);
    --status-in-progress: linear-gradient(135deg, #64B4ED, #64D8ED);
    --status-accepted: linear-gradient(135deg, #7CFC00, #32CD32);
    --status-rejected: linear-gradient(135deg, #dc3545, #c82333);
    
    --category-modapp: linear-gradient(135deg, #FF69B4, #FF1493);
    --category-unban: linear-gradient(135deg, #17BF17, #4DE34D);
    --category-report: linear-gradient(135deg, #ED1533, #D65454);

    --icon-scale-factor: 1;

    /* Tailles de base pour les images */
    --base-img-size-sm: 20px;
    --base-img-size-md: 30px;
    --base-img-size-status: 18px;
    --base-img-size-lg: 80px;
    --base-logo-height: 72px; /* Taille augmentée légèrement pour compenser l'absence de texte */

    /* Tailles de base pour les icônes FontAwesome */
    --base-fa-font-size-sm: 1.1rem;
    --base-fa-font-size-md: 1.5rem;
    --base-fa-font-size-lg: 2.5rem;
    --base-fa-font-size-btn: 1.2rem;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(70, 151, 212, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 90% 20%, rgba(61, 139, 199, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 40% 10%, rgba(0, 0, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 90%, rgba(70, 151, 212, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3); }
    50% { box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4); }
}

button, a, .clickable {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                background 0.3s ease,
                color 0.3s ease;
}

/* Header */
header {
    background: rgba(var(--white-rgb), 0.7);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    box-shadow: 0 4px 15px rgba(var(--dark-rgb), 0.08);
    position: relative;
    width: 100%; 
    z-index: 1000;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1); 
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-image { 
    height: calc(var(--base-logo-height) * var(--icon-scale-factor)); 
    width: auto; 
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.3)); 
}
.logo-image:hover { filter: drop-shadow(0 6px 12px rgba(var(--primary-rgb), 0.5)); transform: scale(1.05); }
.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
}
.logo-text span {
    color: #4697D4;
}

/* Navigation Links */
.nav-links { 
    display: flex; 
    gap: 0.8rem; 
    list-style: none; 
    position: relative; 
    padding-bottom: 6px; 
}
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: color 0.3s ease;
}
.nav-links a:hover { 
    transform: none; 
    box-shadow: none; 
    color: var(--accent); 
}
.nav-links a.active {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    font-weight: 700;
}

/* Élément indicateur de la barre jaune fluide */
.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    background-color: #4697D4; 
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon { 
    width: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
    object-fit: contain; 
}

.user-section { display: flex; align-items: center; gap: 1rem; }
.user-info {
    display: flex; align-items: center; gap: 10px; padding: 0.7rem 1.2rem;
    background: rgba(var(--white-rgb), 0.6); border-radius: 12px; box-shadow: 0 4px 15px rgba(var(--dark-rgb), 0.05);
    font-weight: 600; cursor: pointer;
}
.user-info:hover { background: rgba(var(--white-rgb), 0.9); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.15); }
.user-icon { 
    width: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
}
.user-badge {
    padding: 0.3rem 0.8rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.user-badge.directeur { background: linear-gradient(135deg, #4697D4, #3D8BC7); color: white; box-shadow: 0 2px 10px rgba(70, 151, 212, 0.3); }
.user-badge.moderateur { background: linear-gradient(135deg, #00BFFF, #1E90FF); color: white; box-shadow: 0 2px 10px rgba(0, 191, 255, 0.3); }
.user-badge.joueur { background: linear-gradient(135deg, #3a86ff, #0056b3); color: white; box-shadow: 0 2px 10px rgba(58, 134, 255, 0.3); }

.logout-btn {
    padding: 0.7rem;
    background: linear-gradient(135deg, #ff4757, #e84118); color: white;
    border: none; border-radius: 12px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--base-fa-font-size-sm) * var(--icon-scale-factor));
}
.logout-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4); }

.toggle-edit-mode-btn {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    color: white;
    padding: 0.7rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--base-fa-font-size-sm) * var(--icon-scale-factor));
    gap: 0;
}
.toggle-edit-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}
.toggle-edit-mode-btn.active-mode {
    background: linear-gradient(135deg, #7CFC00, #32CD32);
    box-shadow: 0 4px 15px rgba(124, 252, 0, 0.3);
}
.toggle-edit-mode-btn.active-mode:hover {
    box-shadow: 0 6px 20px rgba(124, 252, 0, 0.4);
}

/* Menu Déroulant Utilisateur */
.user-dropdown-menu {
    position: absolute;
    top: 105%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(227, 182, 118, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1010;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideUp 0.2s ease-out;
}
.user-dropdown-item {
    padding: 0.9rem 1.2rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-dropdown-item:hover {
    background: rgba(227, 182, 118, 0.15);
    color: var(--accent);
}

/* Bloqueurs plein écran (Maintenance / Bannissement) */
.full-screen-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-cream);
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}
.full-screen-blocker h1 {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff4757, #dc3545);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.full-screen-blocker img {
    width: 180px;
    height: auto;
    margin-bottom: 2.5rem;
    animation: float 3s ease-in-out infinite;
}
.full-screen-blocker p {
    font-size: 1.4rem;
    max-width: 700px;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

/* Conteneur principal */
.container {
    flex: 1; 
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
    width: 100%; 
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    height: 550px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white); 
    z-index: 1; 
}

.hero-background-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url('../assets/fond4.png');
    background-size: cover;
    background-position: center;
    min-height: 750px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: -180px;
}

.hero-background-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.hero h1 {
    font-size: 4rem; 
    margin-bottom: 0.5rem; 
    line-height: 1.1; 
    animation: slideIn 0.6s ease;
    z-index: 1;
}

.hero h1 .hero-main-dynamic-title {
    background: linear-gradient(135deg, #4697D4 4%, #3D8BC7 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    display: block;
    animation: float 3s ease-in-out infinite; 
    font-size: 1.2em; 
}

.hero h1 .hero-sub-static-title {
    color: #FFFFFF; 
    font-weight: 700; 
    font-size: 0.7em; 
    display: block;
}

.hero-description-text {
    font-size: 1.3rem;
    color: #FFFFFF; 
    margin-top: 1.5rem; 
    margin-bottom: 2rem; 
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideIn 0.6s ease 0.2s both;
    z-index: 1;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.15));
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--primary); 
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
    animation: glow 3s ease-in-out infinite;
    z-index: 1; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.server-status:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.45); 
}
.status-icon { 
    width: calc(var(--base-img-size-status) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-status) * var(--icon-scale-factor)); 
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: slideIn 0.6s ease 0.4s both;
    z-index: 1; 
}

.btn {
    padding: 1.2rem 2.5rem; border: none; border-radius: 18px; font-size: 1.05rem;
    font-weight: 700; cursor: pointer; display: inline-flex; align-items: center;
    gap: 10px; position: relative; overflow: hidden; text-decoration: none;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), 0.3), transparent);
}
.btn:hover::before { left: 100%; transition: left 0.5s ease; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4); }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.5); }
.btn-secondary { background: rgba(var(--white-rgb), 0.9); color: var(--primary); border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(var(--dark-rgb), 0.1); }
.btn-secondary:hover { background: var(--light); transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.3); }
.btn-icon { 
    width: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-sm) * var(--icon-scale-factor)); 
    object-fit: contain; 
}

/* Qui sommes-nous ? */
.about-us-cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(var(--white-rgb), 0.98); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 18px 50px rgba(var(--dark-rgb), 0.15); 
    border: 1px solid rgba(var(--primary-rgb), 0.05); 
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    z-index: 10; 
    position: relative;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.about-us-cards-wrapper:hover {
    transform: translateY(-17px);
    box-shadow: 0 30px 70px rgba(var(--dark-rgb), 0.25);
}

.about-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.25);
    background-color: rgba(var(--white-rgb), 0.99);
}

.about-card-icon-container {
    width: calc(var(--base-img-size-lg) * var(--icon-scale-factor));
    height: calc(var(--base-img-size-lg) * var(--icon-scale-factor));
    border-radius: 50%; 
    background: linear-gradient(135deg, #4697D4, #3D8BC7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(70, 151, 212, 0.3);
}

.about-card-icon {
    color: white;
    font-size: calc(var(--base-fa-font-size-lg) * var(--icon-scale-factor));
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 700;
}

.about-card p {
    color: var(--dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* En-têtes de section */
.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1.5rem; 
    margin-bottom: 3rem; 
    margin-top: 5rem;
}
.section-header h2 { font-size: 2.8rem; color: var(--dark); margin-bottom: 0.8rem; font-weight: 800; }
.section-header h2:first-child {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}
.section-header h2:first-child::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

/* États vides - Centrage optimal */
.empty-state { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem; 
    color: #999; 
    background: rgba(var(--white-rgb), 0.6); 
    border-radius: 20px; 
    min-height: 300px;
    grid-column: 1 / -1; 
    width: 100%;
    box-sizing: border-box;
}
.empty-state-icon { 
    width: calc(var(--base-img-size-lg) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-lg) * var(--icon-scale-factor)); 
    margin: 0 auto 1.5rem; opacity: 0.3; 
}
.empty-state h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 0.8rem; font-weight: 700; }
.empty-state p { color: var(--dark); }

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(var(--dark-rgb), 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 2000; align-items: center; justify-content: center; animation: fadeIn 0.2s ease; }
.modal.active { display: flex; }
.modal-content {
    background: rgba(var(--white-rgb), 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 3rem;
    border-radius: 25px; max-width: 650px; width: 90%; max-height: 90vh; overflow-y: auto;
    animation: slideUp 0.3s ease; box-shadow: 0 25px 80px rgba(var(--dark-rgb), 0.3);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.modal-header h2 { color: var(--dark); font-weight: 800; font-size: 2rem; }
.close-modal {
    background: rgba(var(--white-rgb), 0.8); border: none; font-size: 2rem; cursor: pointer;
    color: var(--dark); width: 45px; height: 45px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(var(--dark-rgb), 0.1);
}
.close-modal:hover { color: var(--primary); transform: rotate(90deg) scale(1.1); }
.form-group { margin-bottom: 1.8rem; }
.form-group label { display: block; margin-bottom: 0.7rem; font-weight: 700; color: var(--dark); font-size: 1.05rem; }

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%; 
    padding: 1.1rem; 
    border: 1px solid rgba(var(--dark-rgb), 0.2);
    border-radius: 12px; 
    font-size: 1.05rem; 
    font-family: inherit; 
    background: var(--bg-cream);
    color: var(--dark);
}
.form-group input::placeholder, 
.form-group textarea::placeholder, 
.form-group select::placeholder {
    color: var(--dark);
    opacity: 0.5;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; 
    border-color: var(--primary); 
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

/* Google Connect Button */
.google-btn {
    width: 100%;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--white);
    border: 1px solid rgba(var(--dark-rgb), 0.2);
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(var(--dark-rgb), 0.05);
    margin-top: 1.5rem;
}
.google-btn:hover {
    background-color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--dark-rgb), 0.1);
}
.google-btn i {
    font-size: 1.3rem;
    color: #DB4437; 
}

.auth-separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.6;
}
.auth-separator::before, .auth-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(var(--dark-rgb), 0.15);
}
.auth-separator::before { left: 0; }
.auth-separator::after { right: right; }

/* Admin Panel */
.admin-panel { max-width: 1000px; }
.admin-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 2px solid rgba(var(--dark-rgb), 0.1); }
.admin-tab { padding: 1rem 2rem; background: none; border: none; color: var(--dark); opacity: 0.7; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; }
.admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); opacity: 1; }
.users-list { display: flex; flex-direction: column; gap: 1rem; }
.user-item {
    background: rgba(var(--white-rgb), 0.9); padding: 1.5rem; border-radius: 15px;
    display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(var(--dark-rgb), 0.05);
}
.user-item:hover { transform: translateX(5px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.1); }
.user-item-info { display: flex; align-items: center; gap: 1rem; }
.user-item-avatar {
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 1.2rem;
}
.user-item-details h4 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.2rem; }
.user-item-details p { font-size: 0.9rem; color: var(--dark); opacity: 0.7; }
.user-item-actions { display: flex; gap: 0.5rem; }
.user-item-actions select { padding: 0.6rem 1rem; border: 2px solid rgba(var(--primary-rgb), 0.2); border-radius: 10px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--dark); }

.icon-btn {
    width: calc(40px * var(--icon-scale-factor)); 
    height: calc(40px * var(--icon-scale-factor)); 
    border: none; background: var(--bg-cream); border-radius: 10px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; 
    font-size: calc(var(--base-fa-font-size-btn) * var(--icon-scale-factor));
    color: var(--dark);
}
.icon-btn:hover { background: var(--secondary); color: var(--primary); }
.icon-btn.delete { background: linear-gradient(135deg, #ff4757, #e84118); color: white; }
.icon-btn.delete:hover { background: linear-gradient(135deg, #e84118, #d62c3f); }
.icon-btn.edit { background: linear-gradient(135deg, #4697D4, #3D8BC7); color: white; }
.icon-btn.edit:hover { background: linear-gradient(135deg, #3D8BC7, #4697D4); }

/* Synchronisation */
.sync-indicator {
    position: fixed; top: 100px; right: 2rem; background: rgba(124, 252, 0, 0.9);
    color: white; padding: 0.8rem 1.5rem; border-radius: 12px; font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 252, 0, 0.3); display: none; align-items: center;
    gap: 0.5rem; z-index: 1500; animation: slideIn 0.3s ease;
}
.sync-indicator.show { display: flex; }

/* Notifications */
.custom-notification {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px);
    padding: 15px 25px; border-radius: 12px; font-weight: 600; color: white;
    box-shadow: 0 4px 20px rgba(var(--dark-rgb), 0.2); opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 2000; display: flex; align-items: center; gap: 10px;
}
.custom-notification.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.custom-notification.success { background: var(--status-accepted); }
.custom-notification.error { background: var(--status-rejected); }
.custom-notification.info { background: var(--status-in-progress); }
.custom-notification-icon { 
    width: auto; height: auto;
    font-size: calc(var(--base-fa-font-size-md) * var(--icon-scale-factor)); 
    line-height: 1; 
}

/* Confirmation */
#customConfirmModal .modal-content { max-width: 450px; text-align: center; padding: 2.5rem; }
#customConfirmModal .modal-header { margin-bottom: 1.5rem; justify-content: center; }
#customConfirmModal .modal-header h2 { font-size: 1.8rem; }
#customConfirmModal .modal-body { font-size: 1.1rem; color: var(--dark); margin-bottom: 2rem; }
#customConfirmModal .modal-footer { display: flex; justify-content: center; gap: 1rem; }
#customConfirmModal .modal-footer .btn { padding: 0.8rem 2rem; font-size: 0.95rem; }
#customConfirmModal .modal-footer .btn-cancel { background: var(--secondary); color: var(--dark); box-shadow: none; }
#customConfirmModal .modal-footer .btn-cancel:hover { background: rgba(var(--secondary-rgb), 0.8); transform: translateY(-2px); }

/* Règles */
.rule-item-actions-inline { 
    position: static; 
    margin-left: auto; 
    display: none;
}
.rule-item-actions-inline.show-edit-mode {
    display: flex;
}
.rule-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.rule-title { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.rule-description { color: var(--dark); opacity: 0.8; line-height: 1.8; margin-bottom: 1rem; }

.rules-list-container { display: flex; flex-direction: column; gap: 2rem; }
.rule-section-container {
    background: rgba(var(--white-rgb), 0.95); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(var(--dark-rgb), 0.1); 
    border: 1px solid rgba(var(--primary-rgb), 0.08); 
    position: relative;
}
.rule-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.rule-section-header h3 { font-size: 1.8rem; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.rule-section-header h3 img { 
    width: calc(var(--base-img-size-md) * var(--icon-scale-factor)); 
    height: calc(var(--base-img-size-md) * var(--icon-scale-factor)); 
    object-fit: contain; 
}
.rule-list { display: flex; flex-direction: column; gap: 1rem; }

.rule-item {
    padding: 1.2rem 1.8rem; 
    background: var(--light); 
    border-radius: 15px;
    border: 1px solid rgba(var(--primary-rgb), 0.15); 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    font-size: 1.05rem; 
    color: var(--dark); 
    box-shadow: 0 4px 15px rgba(var(--dark-rgb), 0.03);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rule-item:hover { 
    transform: translateY(-5px) scale(1.01); 
    background-color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.25), 
                0 5px 15px rgba(0, 0, 0, 0.04); 
}

.rule-item-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.rule-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4757, #dc3545);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.3);
}

.rule-section-actions {
    display: none;
}
.rule-section-actions.show-edit-mode {
    display: flex;
    gap: 0.5rem;
}

/* EXCLUSIVITÉS SECTION */
.exclusivities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.exclusivity-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(var(--dark-rgb), 0.1);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    height: 250px;
}

.exclusivity-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}

.exclusivity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
    filter: grayscale(0) blur(0);
}

.exclusivity-card:hover img {
    filter: grayscale(100%) blur(3px);
    transform: scale(1.05);
}

.exclusivity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--dark-rgb), 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    border-radius: 20px;
}

.exclusivity-card:hover .exclusivity-overlay {
    opacity: 1;
    visibility: visible;
}

.exclusivity-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.exclusivity-overlay p {
    font-size: 1rem;
    max-width: 80%;
    line-height: 1.4;
}

.exclusivity-actions-card {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    gap: 5px;
    z-index: 10;
}
.exclusivity-actions-card.show-edit-mode {
    display: flex;
}

/* DASHBOARD SECTION */
.dashboard-content {
    background: rgba(var(--white-rgb), 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(var(--dark-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    padding: 2.5rem;
    animation: slideIn 0.5s ease-out;
}

.dashboard-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(var(--dark-rgb), 0.1);
    padding-bottom: 1rem;
}

.dashboard-tab-btn {
    padding: 1rem 1.8rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: rgba(var(--dark-rgb), 0.05);
    color: var(--dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(var(--dark-rgb), 0.05);
}

.dashboard-tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--dark-rgb), 0.1);
}

.dashboard-tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

.dashboard-tab-btn.mod-app-btn.active { background: var(--category-modapp); }
.dashboard-tab-btn.unban-btn.active { background: var(--category-unban); }
.dashboard-tab-btn.report-btn.active { background: var(--category-report); }

.dashboard-section-content {
    padding-top: 1.5rem;
}

.create-request-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.create-request-btn {
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(var(--dark-rgb), 0.2);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.create-request-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(var(--dark-rgb), 0.3);
}

.create-request-btn.mod-app { background: var(--category-modapp); }
.create-request-btn.unban { background: var(--category-unban); }
.create-request-btn.report { background: var(--category-report); }

.requests-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.request-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(var(--dark-rgb), 0.06);
    border: 1px solid rgba(var(--dark-rgb), 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 190px;
    animation: fadeIn 0.5s ease-out;
}

.request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--dark-rgb), 0.1);
}

.request-card h4 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.request-card p {
    font-size: 1rem;
    color: var(--dark);
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 0.2rem; 
}
.request-card p:last-child {
    margin-bottom: 0;
}
.request-card .text-muted {
    color: var(--dark);
    opacity: 0.6;
    font-style: italic;
}

.request-card strong {
    color: var(--primary);
}

.request-card .status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(var(--dark-rgb), 0.15);
}
.status-badge.pending { background: var(--status-pending); }
.status-badge.in-progress { background: var(--status-in-progress); }
.status-badge.accepted { background: var(--status-accepted); }
.status-badge.rejected { background: var(--status-rejected); }

.request-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.2rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(var(--dark-rgb), 0.1);
}
.request-actions .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: none;
}

.btn-accept { background: var(--status-accepted); }
.btn-reject { background: var(--status-rejected); }
.btn-progress { background: var(--status-in-progress); }

#processRequestModal .modal-content { max-width: 550px; }
#processRequestModal .form-group textarea { min-height: 120px; }
#processRequestModal .modal-footer { margin-top: 2rem; display: flex; justify-content: flex-end; gap: 1rem; }

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    .hero { height: 450px; }
    .hero h1 { font-size: 2.5rem; }
    .hero h1 .hero-sub-static-title { font-size: 0.6em; } 
    .hero p { font-size: 1rem; margin-bottom: 1rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

    .hero-background-wrapper {
        margin-bottom: 0;
        min-height: 500px;
    }

    .about-us-cards-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        margin-top: -50px;
    }
    .about-card:hover { transform: translateY(-5px); }
    .about-us-cards-wrapper:hover { transform: translateY(-10px); }

    .nav-links { display: none; } 
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-header h2 { margin-bottom: 0.5rem; }
    .rule-section-actions, .rule-item-actions-inline, .exclusivity-actions-card {
        position: static; margin-top: 1rem; justify-content: flex-end; width: 100%;
    }
    .rule-item { flex-direction: column; align-items: flex-start; }
    .footer-content { flex-direction: column; gap: 15px; } 
    .user-section { flex-wrap: wrap; justify-content: flex-end; }
    .toggle-edit-mode-btn, .logout-btn { margin-top: 0.5rem; }

    .dashboard-tabs-nav { flex-direction: column; }
    .create-request-buttons { flex-direction: column; }
    .requests-list { grid-template-columns: 1fr; }
}

.section { animation: slideIn 0.5s ease; }

/* Footer */
.info-bar-footer {
    background: rgba(var(--white-rgb), 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(var(--dark-rgb), 0.05);
    padding: 20px 0;
    width: 100%;
    z-index: 1000;
    margin-top: auto; 
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.footer-brand span {
    color: #4697D4;
}

.footer-socials {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-socials a {
    color: var(--dark);
    opacity: 0.7;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    opacity: 1;
}