/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs Replay - Thème cyberpunk */
    --replay-mint: hsl(162, 100%, 70%);
    --replay-teal: hsl(174, 100%, 50%);
    --replay-cyan: hsl(180, 100%, 75%);
    --replay-dark-teal: hsl(174, 60%, 30%);
    --dark-navy: hsl(0, 0%, 0%);
    --dark-card: hsl(0, 0%, 5%);
    --text-primary: hsl(0, 0%, 98%);
    --text-muted: hsl(0, 0%, 64.9%);
    --border-primary: hsl(174, 100%, 50%);
    
    /* Ajout des variables RGB pour les effets */
    --replay-mint-rgb: 64, 255, 191;
    --replay-cyan-rgb: 64, 255, 255;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-navy);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;    scroll-behavior: smooth;
    /* Ajout du padding-top pour compenser la navigation fixe */
    padding-top: 120px; /* 60px header + 60px navigation environ */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header simplifié */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--replay-mint-rgb), 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: center; /* Logo centré */
    height: 100%;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 15px var(--replay-mint));
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation avec boutons en haut de page */
.page-navigation {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(5, 5, 5, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(var(--replay-mint-rgb), 0.2);
    z-index: 999;
    padding: 0.8rem 0;
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: rgba(var(--replay-mint-rgb), 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(var(--replay-mint-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(var(--replay-mint-rgb), 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: rgba(var(--replay-mint-rgb), 0.2);
    color: var(--replay-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--replay-mint-rgb), 0.3);
    border-color: var(--replay-mint);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-cyan));
    color: var(--dark-navy);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(var(--replay-mint-rgb), 0.4);
}

.nav-btn.discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    border-color: #5865F2;
}

.nav-btn.discord:hover {
    background: linear-gradient(135deg, #4752C4, #3c45a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

nav ul {
    display: none !important;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--replay-mint);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-teal));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,77,77,0.3));
    margin-top: -120px; /* Compenser le padding-top du body */
    padding-top: 120px; /* Réappliquer l'espace */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080') center/cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons avec effet cyberpunk */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-teal));
    color: #000;
    box-shadow: 0 4px 20px rgba(162, 100%, 70%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(162, 100%, 70%, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--replay-mint);
    border: 2px solid var(--replay-mint);
}

.btn-secondary:hover {
    background: rgba(162, 100%, 70%, 0.1);
    transform: translateY(-2px);
}

/* Cards avec effet glassmorphism */
.card {
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(5,5,5,0.5));
    border: 1px solid rgba(174, 100%, 50%, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: rgba(174, 100%, 50%, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(162, 100%, 70%, 0.2);
}

/* Features grid */
.features {
    padding: 5rem 0;
    background: var(--dark-navy);
    margin-top: 0; /* Pas de margin supplémentaire */
    padding-top: 2rem; /* Juste un padding pour l'espacement visuel */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 20px var(--replay-mint));
    }
    100% {
        filter: drop-shadow(0 0 40px var(--replay-mint)) drop-shadow(0 0 60px var(--replay-cyan));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid rgba(174, 100%, 50%, 0.3);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--replay-mint);
    box-shadow: 0 0 0 3px rgba(162, 100%, 70%, 0.1);
}

/* Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.message.info {
    background: rgba(162, 100%, 70%, 0.1);
    border-color: var(--replay-mint);
    color: var(--replay-mint);
}

/* Tables admin */
.admin-table {
    width: 100%;
    background: var(--dark-card);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(174, 100%, 50%, 0.2);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(174, 100%, 50%, 0.1);
}

.admin-table th {
    background: rgba(174, 100%, 50%, 0.1);
    font-weight: 600;
    color: var(--replay-mint);
}

.admin-table tr:hover {
    background: rgba(174, 100%, 50%, 0.05);
}

/* Status badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-accepted {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-inactive {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

/* Footer */
footer {
    background: var(--dark-card);
    border-top: 1px solid rgba(174, 100%, 50%, 0.2);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--replay-mint);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--replay-mint);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(174, 100%, 50%, 0.1);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
}

/* Animations d'entrée */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--replay-teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--replay-mint);
}

/* Styles pour la page de règlement */
.rules-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}

.rules-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.rules-section {
    margin-bottom: 2.5rem;
}

.rules-section h2 {
    color: var(--replay-mint);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.rules-section h3 {
    color: var(--replay-teal);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
}

.rules-section .card {
    background: var(--dark-card);
    border: 1px solid rgba(174, 100%, 50%, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rules-section ol, .rules-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.rules-section li {
    margin-bottom: 0.75rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
}

.contact-card .btn {
    margin-top: 1rem;
}

/* Styles pour la page candidature en blocs */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--replay-mint);
    margin-top: 0; /* Pas de margin supplémentaire */
    padding-top: 2rem; /* Juste un padding pour l'espacement visuel */
}

.form-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    background: var(--dark-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-section h2 {
    color: var(--replay-mint);
    margin: 0;
    padding: 1.25rem 1.5rem;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(174, 100%, 50%, 0.3);
}

.form-section .card {
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 1.5rem;
}

.form-section .form-group {
    margin-bottom: 1.5rem;
}

.form-section .form-group:last-child {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff5555;
}

/* Responsive pour les blocs de formulaire */
@media (max-width: 768px) {
    .form-container {
        padding: 120px 1rem 60px;
    }
    
    .form-section h2 {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .form-section .card {
        padding: 1rem;
    }
}

/* RESPONSIVE DESIGN AMÉLIORÉ */

/* Mobile First - Base styles pour mobile */
@media (max-width: 480px) {
    body {
        padding-top: 85px;
    }
    
    .hero {
        margin-top: -85px;
        padding-top: 85px;
        min-height: calc(100vh - 85px);
    }
    
    /* Container et espacement */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header mobile */
    header .container {
        padding: 0.75rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    nav a {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    /* Hero section mobile */
    .hero {
        min-height: 80vh;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Boutons mobile */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    /* Features mobile */
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    /* Formulaires mobile */
    .form-container,
    .rules-container {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .form-container h1,
    .rules-container h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .form-section h2,
    .rules-section h2 {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .form-section .card,
    .rules-section .card {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    /* Tables mobile */
    .admin-table {
        font-size: 0.75rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.375rem;
        min-width: 80px;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Tablette Portrait */
@media (min-width: 481px) and (max-width: 768px) {
    body {
        padding-top: 90px; /* Réduction légère sur mobile */
    }
    
    .hero {
        margin-top: -90px;
        padding-top: 90px;
        min-height: calc(100vh - 90px);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    header .container {
        padding: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-container,
    .rules-container {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
    
    .btn {
        display: inline-block;
        width: auto;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablette Paysage */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero h1 {
        font-size: 3.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-container,
    .rules-container {
        padding: 130px 1.25rem 55px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .form-container,
    .rules-container {
        padding: 140px 0 60px;
        max-width: 1000px;
    }
}

/* Large Desktop */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .form-container,
    .rules-container {
        max-width: 1200px;
        padding: 150px 0 70px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Orientation paysage pour mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        display: inline-block;
        width: auto;
        margin-right: 0.5rem;
    }
}

/* Amélioration de la navigation responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav ul {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(174, 100%, 50%, 0.3);
    }
    
    nav ul.active {
        display: flex !important;
    }
    
    nav a {
        padding: 0.75rem;
        border-bottom: 1px solid rgba(174, 100%, 50%, 0.1);
    }
    
    nav a:last-child {
        border-bottom: none;
    }
}

/* Amélioration des cards responsive */
.card {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .card:hover {
        transform: none;
    }
}

/* Amélioration des images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Amélioration du texte responsive */
@media (max-width: 480px) {
    body {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }
}

/* Styles pour l'administration */
.admin-container {
    display: flex;
    min-height: calc(100vh - 150px);
    background: var(--dark-navy);
    margin-top: 0; /* Pas de margin supplémentaire */
    padding-top: 2rem; /* Juste un padding pour l'espacement visuel */
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(174, 100%, 50%, 0.2);
}

.admin-sidebar {
    width: 250px;
    background: var(--dark-card);
    padding: 2rem 1rem;
    border-right: 1px solid rgba(174, 100%, 50%, 0.2);
}

.admin-sidebar h2 {
    color: var(--replay-mint);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(174, 100%, 50%, 0.2);
    font-size: 1.5rem;
    text-align: center;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background: rgba(174, 100%, 50%, 0.1);
    color: var(--replay-mint);
}

.admin-nav a.active {
    background: rgba(174, 100%, 50%, 0.15);
    color: var(--replay-mint);
    border-left: 3px solid var(--replay-mint);
}

.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.admin-content h1 {
    color: var(--replay-mint);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 1px solid rgba(174, 100%, 50%, 0.2);
    padding-bottom: 1rem;
}

/* Statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--dark-card);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(174, 100%, 50%, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--replay-mint);
}

.stat-card.pending::before {
    background: #fbbf24; /* Jaune */
}

.stat-card.accepted::before {
    background: #22c55e; /* Vert */
}

.stat-card.rejected::before {
    background: #ef4444; /* Rouge */
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--replay-mint);
    margin-bottom: 0.5rem;
}

.stat-card.pending .stat-number {
    color: #fbbf24;
}

.stat-card.accepted .stat-number {
    color: #22c55e;
}

.stat-card.rejected .stat-number {
    color: #ef4444;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Tableau des candidatures récentes */
.recent-applications {
    background: var(--dark-card);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(174, 100%, 50%, 0.2);
}

.recent-applications h2 {
    color: var(--replay-mint);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(174, 100%, 50%, 0.2);
}

.table-container {
    overflow-x: auto;
}



/* Ajustement du main pour les nouveaux headers */
main {
    margin-top: 120px; /* 60px header + 60px navigation */
    min-height: calc(100vh - 120px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-buttons {
        gap: 0.3rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .page-navigation {
        padding: 0.6rem 0;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
        justify-content: space-between;
    }
    
    .nav-btn {
        flex: 1;
        text-align: center;
        padding: 0.5rem 0.4rem;
        font-size: 0.75rem;
    }
}





/* Page de connexion - Centrage et styling */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(5,5,5,0.5));
    border: 1px solid rgba(174, 100%, 50%, 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(162, 100%, 70%, 0.2);
    transition: all 0.3s ease;
}

.login-container:hover {
    border-color: rgba(174, 100%, 50%, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(162, 100%, 70%, 0.3);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    font-weight: 700;
}

/* Centrage vertical de la page de connexion */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px; /* Maintenir l'espacement */
}

body.login-page .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding-top: 0; /* Supprimer le double espacement */
}

/* Correction spécifique pour le header sur la page de connexion */
body.login-page header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    min-height: auto !important;
    padding-top: 0 !important;
}

.login-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Styles pour les filtres utilisateurs */
.filters-container {
    background: var(--dark-card);
    border: 1px solid var(--replay-mint);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(162, 100%, 70%, 0.1);
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    color: var(--replay-mint);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-select,
.search-input {
    background: var(--dark-navy);
    border: 1px solid var(--replay-teal);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--replay-mint);
    box-shadow: 0 0 0 2px rgba(162, 100%, 70%, 0.2);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: end;
}

.btn-filter {
    background: linear-gradient(135deg, var(--replay-mint), var(--replay-teal));
    color: var(--dark-navy);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(162, 100%, 70%, 0.3);
}

.btn-reset {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    color: var(--replay-mint);
    border-color: var(--replay-mint);
}

/* Badges de rôle */
.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.role-staff {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-player {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Aide pour les formulaires */
.form-help {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Responsive pour les filtres */
@media (max-width: 768px) {
    .filters-form {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .btn-filter,
    .btn-reset {
        flex: 1;
    }
}

/* Responsive pour l'administration */
@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(174, 100%, 50%, 0.2);
        padding: 1.5rem;
    }
    
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .admin-nav a {
        padding: 0.5rem 1rem;
    }
    
    .admin-content {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .admin-content h1 {
        font-size: 1.5rem;
    }
}

/* Notice Illégal Styles */
.illegal-notice-section {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    min-height: 100vh;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.illegal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* En-tête principal */
.illegal-header {
    margin-bottom: 60px;
}

.illegal-content-main {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.illegal-text-main {
    flex: 1;
}

.illegal-title-main {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.illegal-description {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.replay-logo {
    margin: 20px 0;
}

.logo-replay {
    height: 80px;
    width: auto;
}

.illegal-image-main {
    flex: 1;
}

.crew-image-main {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Sections communes */
.weapons-section,
.handguns-section,
.melee-weapons-section,
.prices-section {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #8B0000;
}

.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Section Armes présentes */
.weapons-content {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.weapons-image {
    flex: 2;
}

.weapons-crew-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.weapons-icons {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: center;
}

.weapon-icon {
    background: rgba(139,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.weapon-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.weapons-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Section Armes de Poing */
.handguns-content {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.handguns-image {
    flex: 1;
}

.evidence-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.ammunition-list {
    flex: 1;
}

.ammo-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(139,0,0,0.1);
    padding: 15px;
    border-radius: 8px;
}

.ammo-icon {
    background: #8B0000;
    padding: 10px;
    border-radius: 5px;
    min-width: 50px;
    text-align: center;
}

.ammo-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ammo-details h3 {
    color: #ffffff;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.ammo-details p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

.handguns-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Section Armes Blanches */
.melee-content {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.melee-image {
    flex: 1;
}

.street-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.melee-lists {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.melee-category h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #8B0000;
    padding-bottom: 5px;
}

.melee-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.melee-category li {
    color: #cccccc;
    padding: 5px 0;
    border-bottom: 1px solid rgba(139,0,0,0.2);
    font-size: 0.9rem;
}

.melee-category li:before {
    content: "• ";
    color: #8B0000;
    font-weight: bold;
}

.melee-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Section Prix */
.prices-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    overflow: hidden;
}

.prices-table th {
    background: #8B0000;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.prices-table td {
    padding: 12px 15px;
    text-align: center;
    color: #cccccc;
    border-bottom: 1px solid rgba(139,0,0,0.2);
}

.prices-table tr:nth-child(even) {
    background: rgba(139,0,0,0.1);
}

.prices-table tr:hover {
    background: rgba(139,0,0,0.2);
}

.prices-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Section Armes Automatiques */
.automatic-weapons-section {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #8B0000;
}

.automatic-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 30px;
}

.caliber-diagram {
    flex: 1;
    display: flex;
    justify-content: center;
}

.diagram-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.caliber-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a0f0a;
    border: 3px solid #8B0000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caliber-segment {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.caliber-segment:hover {
    background: #B22222;
    transform: scale(1.1);
}

.segment-9mm {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.segment-762x51 {
    top: 50px;
    right: 20px;
    transform: translateY(-50%);
}

.segment-556x45 {
    bottom: 50px;
    right: 20px;
    transform: translateY(50%);
}

.segment-12gauge {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.segment-45acp {
    bottom: 50px;
    left: 20px;
    transform: translateY(50%);
}

.segment-762x39 {
    top: 50px;
    left: 20px;
    transform: translateY(-50%);
}

.caliber-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.caliber-details {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.caliber-info {
    background: rgba(139,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #8B0000;
}

.caliber-info h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.caliber-info p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.automatic-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

/* Signature */
.signature-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #8B0000;
}

.signature {
    color: #8B0000;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.signature-note {
    color: #666666;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

/* Responsive pour les armes automatiques */
@media (max-width: 768px) {
    .automatic-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .diagram-container {
        width: 250px;
        height: 250px;
    }
    
    .caliber-segment {
        width: 60px;
        height: 60px;
    }
    
    .caliber-icon-img {
        width: 30px;
        height: 30px;
    }
}

.drugs-section {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.drugs-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 30px 0;
}

.drugs-diagram {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drugs-circle {
    position: relative;
    width: 350px;
    height: 350px;
    border: 3px solid #8B0000;
    border-radius: 50%;
    background: radial-gradient(circle, #2d1810 0%, #1a1a1a 100%);
    box-shadow: inset 0 0 30px rgba(139, 0, 0, 0.3);
}

.drug-segment {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px solid #8B0000;
    border-radius: 50%;
    background: #000000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.drug-segment:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.6);
    background: linear-gradient(135deg, #DC143C 0%, #FF6347 100%);
}

.drug-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

/* Positionnement des segments - disposition circulaire sans chevauchement */
.segment-weed {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.segment-cocaine {
    top: 60px;
    right: 20px;
    transform: rotate(72deg);
}

.segment-wax {
    bottom: 60px;
    right: 20px;
    transform: rotate(144deg);
}

.segment-lsd {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(216deg);
}

.segment-crack {
    top: 60px;
    left: 20px;
    transform: rotate(288deg);
}

.drugs-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drug-info {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.drug-info:hover {
    background: rgba(139, 0, 0, 0.2);
    border-color: #DC143C;
    transform: translateX(5px);
}

.drug-info h3 {
    color: #DC143C;
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drug-info p {
    color: #cccccc;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.drugs-description {
    color: #cccccc;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid #8B0000;
}

/* Responsive */
@media (max-width: 768px) {
    .drugs-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .drugs-circle {
        width: 280px;
        height: 280px;
    }
    
    .drug-segment {
        width: 55px;
        height: 55px;
    }
    
    .drug-icon-img {
        width: 35px;
        height: 35px;
    }
    
    /* Repositionnement pour mobile */
    .segment-weed {
        top: 5px;
    }
    
    .segment-cocaine {
        top: 45px;
        right: 15px;
    }
    
    .segment-wax {
        bottom: 45px;
        right: 15px;
    }
    
    .segment-lsd {
        bottom: 5px;
    }
    
    .segment-crack {
        top: 45px;
        left: 15px;
    }
    
    .drugs-description {
        padding: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .illegal-content-main,
    .weapons-content,
    .handguns-content,
    .melee-content {
        flex-direction: column;
    }
    
    .melee-lists {
        grid-template-columns: 1fr;
    }
    
    .illegal-title-main {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}