/* ==========================================================================
   Arma 3 Project Life - Main Stylesheet
   ========================================================================== */

   :root {
    --primary-orange: #F6602B;
    --dark-bg: #1A2632;
    --darker-bg: #1a1f2e;
    --card-bg: #1e2936;
    --light-grey: #9ca3af;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #6b7280;
    --border-color: #374151;
    --section-bg: #1f2937;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--darker-bg);
    color: var(--text-primary);
    padding-top: 86px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
/* Avatar dans la navbar */
.navbar .dropdown-toggle:after {
    display: none; /* Cache la petite flèche par défaut */
}

.navbar .dropdown-toggle:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(246, 96, 43, 0.1) !important;
    color: var(--primary-orange) !important;
}

.dropdown-item-text {
    color: var(--text-primary) !important;
    padding: 12px 16px;
}

.navbar {
    transition: all 0.3s ease;
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: rgba(26, 38, 50, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar.scrolled {
    background-color: rgba(26, 38, 50, 0.6) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand img {
    height: 70px;
    max-width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 0 0 transparent);
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(246, 96, 43, 1)) brightness(1.1);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    color: var(--text-secondary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
    text-shadow: 0 0 10px rgba(246, 96, 43, 0.5) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-orange);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(246, 96, 43, 0.6);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
}

/* Force active state to stay visible even with transparency */
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(246, 96, 43, 0.8);
}

/* Add padding to body to compensate for fixed navbar */
body {
    padding-top: 0;
    background-color: var(--darker-bg);
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Carousel
   ========================================================================== */

.hero-carousel {
    height: 400px;
    position: relative;
    margin-top: 0;
}

.hero-slide {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-civilian {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/bg/civilian.jpg');
}

.slide-police {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/bg/police.jpg');
}

.slide-fire {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/bg/fire.jpg');
}

.slide-court {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/bg/coast.jpg');
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.orange-text {
    color: var(--primary-orange) !important;
}

.orange-bg {
    background-color: var(--primary-orange) !important;
}

.dark-bg {
    background-color: var(--dark-bg) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-dark {
    background-color: var(--section-bg) !important;
}

.text-light-custom {
    color: var(--text-secondary) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-orange {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-orange:hover {
    background-color: #e55a26;
    border-color: #e55a26;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(246, 96, 43, 0.4);
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-orange:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

/* Login button specific styling */
.btn-orange.ms-2 {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-orange.ms-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-orange.ms-2:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(246, 96, 43, 0.5);
    filter: brightness(1.1);
    color: white !important;
}

.btn-orange.ms-2:hover::before {
    left: 100%;
}

.btn-outline-light {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-orange);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover::before {
    left: 100%;
}

/* Discord button specific styling */
.btn-discord {
    background-color: #5865F2;
    border-color: #5865F2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-discord:hover {
    background-color: #4752C4;
    border-color: #4752C4;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover::before {
    left: 100%;
}

/* ==========================================================================
   Feature Circles
   ========================================================================== */

.feature-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.feature-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(246, 96, 43, 0.3);
}

/* ==========================================================================
   Discord Section
   ========================================================================== */

.counter-section {
    background-color: var(--primary-orange);
    color: white;
    padding: 60px 0;
}

.discord-widget {
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

@media (max-width: 768px) {
    .discord-widget {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    body {
        padding-top: 70px; /* Navbar plus petite sur mobile */
    }
    
    .counter-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .discord-widget {
        height: 350px;
        width: 100%;
        max-width: 300px;
    }

    body {
        padding-top: 60px; /* Encore plus petite sur très petit écran */
    }
}

/* ==========================================================================
   Social Icons
   ========================================================================== */

.social-icons a {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: scale(1.2) translateY(-3px);
    color: var(--primary-orange);
    text-shadow: 0 5px 15px rgba(246, 96, 43, 0.4);
    filter: drop-shadow(0 0 10px rgba(246, 96, 43, 0.6));
}

/* Specific hover colors for social platforms */
.social-icons a:nth-child(1):hover { /* Discord */
    color: #5865F2;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6));
    text-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.social-icons a:nth-child(2):hover { /* Steam */
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.6);
}

.social-icons a:nth-child(3):hover { /* YouTube */
    color: #FF0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
    text-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.social-icons a:nth-child(4):hover { /* Twitch */
    color: #9146FF;
    filter: drop-shadow(0 0 10px rgba(145, 70, 255, 0.6));
    text-shadow: 0 5px 15px rgba(145, 70, 255, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--darker-bg);
    color: var(--text-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer a.orange-text {
    transition: all 0.3s ease;
    position: relative;
}

.footer a.orange-text:hover {
    color: #e55a26 !important;
    text-shadow: 0 0 10px rgba(246, 96, 43, 0.5);
    transform: translateY(-1px);
}

/* Footer Links */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8c42);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-separator {
    color: var(--text-muted);
    font-weight: bold;
    user-select: none;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-separator {
        display: none;
    }
}

/* ==========================================================================
   NOUVELLES CLASSES POUR LE CENTRAGE
   ========================================================================== */

/* Centrage des cartes de positions */
.positions-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.position-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px; /* Largeur optimisée */
    margin: 0 auto 2rem;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.position-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-open {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-limited {
    background-color: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.status-closed {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.position-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

/* Styles pour les postes fermés */
.position-closed {
    opacity: 0.7;
    position: relative;
}

.position-closed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    z-index: 1;
}

.position-closed .position-icon {
    opacity: 0.6;
    filter: grayscale(30%);
}

/* Styles pour l'affichage des places restantes */
.spots-remaining {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 0.25rem;
    color: #ffc107;
}

.status-closed {
    background-color: #dc3545 !important;
    color: white;
}

.status-limited .spots-remaining {
    color: #fd7e14;
}

/* Animation pour les postes avec places limitées */
.status-limited {
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); 
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); 
    }
}

/* Désactiver l'animation si plus de places */
.position-card:has(.btn:disabled) .status-limited {
    animation: none;
}

/* Centrage des sections features et factions */
.features-centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    flex: 0 0 auto;
    max-width: 300px;
    text-align: center;
}

/* Centrage du contenu Discord section */
.discord-section-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

@media (max-width: 992px) {
    .discord-section-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Amélioration du centrage des feature circles */
#factions-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

#factions-container > div {
    flex: 0 0 auto;
    max-width: 250px;
}

/* Styles pour les formulaires */
.application-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.form-control {
    background: var(--darker-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.form-control:focus {
    background: var(--darker-bg) !important;
    border-color: var(--primary-orange) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 96, 43, 0.25) !important;
}

.form-select {
    background: var(--darker-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero-slide h1 {
        font-size: 2rem;
    }
    
    .hero-slide h2 {
        font-size: 1.2rem;
    }
    
    .social-icons a {
        font-size: 2rem;
        margin: 0 10px;
    }
    
    .feature-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .counter h2 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .positions-row {
        gap: 1.5rem;
    }
    
    .position-card {
        max-width: 100%;
    }
}


@media (max-width: 576px) {
    .hero-slide h1 {
        font-size: 1.5rem;
    }
    
    .hero-slide h2 {
        font-size: 1rem;
    }
    
    .counter h2 {
        font-size: 2rem;
    }
    
    .social-icons a {
        font-size: 1.8rem;
        margin: 0 8px;
    }
    
    .positions-row {
        gap: 1rem;
    }
}

/* ==========================================================================
   RECRUITMENT PAGE SPECIFIC STYLES
   ========================================================================== */

.recruitment-hero {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    min-height: 100vh; /* Prend toute la hauteur de l'écran */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-top: 60px !important; /* Compense la navbar */
    padding-bottom: 0 !important;
}

.recruitment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.1) 0%, rgba(26, 38, 50, 0.3) 100%);
    pointer-events: none;
}

.recruitment-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Hauteur minimum pour le contenu */
}

.recruitment-hero .row {
    width: 100%;
}

.recruitment-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    text-align: center !important;
}

.recruitment-hero p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center !important;
    margin: 0 auto 0 !important; /* Supprime la marge bottom */
    max-width: 800px;
}

/* Animation d'apparition pour le hero */
.recruitment-hero {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour le hero recruitment */
@media (max-width: 768px) {
    .recruitment-hero {
        min-height: 70vh; /* Plus petit sur mobile */
        padding-top: 80px !important;
        background-attachment: scroll; /* Fix pour mobile */
    }
    
    .recruitment-hero .container {
        min-height: 300px;
    }
    
    .recruitment-hero h1 {
        font-size: 2.5rem;
        text-align: center !important;
    }
    
    .recruitment-hero p {
        font-size: 1.1rem;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .recruitment-hero {
        min-height: 60vh;
        padding-top: 60px !important;
    }
    
    .recruitment-hero .container {
        min-height: 250px;
    }
    
    .recruitment-hero h1 {
        font-size: 2rem;
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    
    .recruitment-hero p {
        font-size: 1rem;
        text-align: center !important;
    }
}

/* ==========================================================================
   GAMEPLAY PAGE SPECIFIC STYLES
   ========================================================================== */

/* Gameplay Hero Section */
.gameplay-hero {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
}

.gameplay-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.1) 0%, rgba(26, 38, 50, 0.3) 100%);
    pointer-events: none;
}

.gameplay-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gameplay-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    text-align: center !important;
}

.gameplay-hero p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px;
}

/* Faction Sections */
.faction-section {
    padding: 80px 0;
    position: relative;
}

.faction-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 1s ease;
}

.faction-card:hover::before {
    left: 100%;
}

.faction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(246, 96, 43, 0.3);
}

/* Faction Header */
.faction-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faction-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faction-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.faction-card:hover .faction-icon::before {
    transform: translateX(100%);
}

/* Faction Icon Colors */
.civilian-icon { background: linear-gradient(135deg, #2196F3, #1976D2); }
.business-icon { background: linear-gradient(135deg, #4CAF50, #388E3C); }
.criminal-icon { background: linear-gradient(135deg, #F44336, #D32F2F); }
.police-icon { background: linear-gradient(135deg, #2196F3, #0D47A1); }
.fire-icon { background: linear-gradient(135deg, #FF5722, #D84315); }
.county-icon { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.court-icon { background: linear-gradient(135deg, #607D8B, #455A64); }

.faction-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.2;
}

.faction-subtitle {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 600;
}

/* Faction Content */
.faction-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faction-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.faction-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faction-features li {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.faction-features li:hover {
    color: var(--text-primary);
    padding-left: 10px;
}

.faction-features li:last-child {
    border-bottom: none;
}

/* Faction Gallery */
.faction-gallery {
    position: relative;
}

.faction-gallery img {
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faction-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(246, 96, 43, 0.3);
}

.main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.faction-gallery .row img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

/* Image Overlay Effect */
.faction-gallery {
    position: relative;
}

.faction-gallery .main-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.faction-gallery .main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(246, 96, 43, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.faction-card:hover .faction-gallery .main-image::before {
    opacity: 1;
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faction-card {
    animation: fadeInUp 0.8s ease-out;
}

.faction-card:nth-child(even) {
    animation-delay: 0.2s;
}

/* Parallax Effect for Alternating Sections */
.faction-section:nth-child(even) {
    position: relative;
}

.faction-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.02) 0%, rgba(26, 38, 50, 0.05) 100%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faction-card {
        padding: 30px;
    }
    
    .faction-title {
        font-size: 2rem;
    }
    
    .faction-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .faction-gallery .row img {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .gameplay-hero {
        min-height: 70vh;
        padding-top: 80px !important;
        background-attachment: scroll;
    }
    
    .faction-section {
        padding: 60px 0;
    }
    
    .faction-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .faction-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .faction-title {
        font-size: 1.8rem;
    }
    
    .main-image img {
        height: 200px;
    }
    
    .faction-gallery .row img {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .gameplay-hero {
        min-height: 60vh;
        padding-top: 60px !important;
    }
    
    .faction-card {
        padding: 20px;
    }
    
    .faction-title {
        font-size: 1.5rem;
    }
    
    .faction-subtitle {
        font-size: 1rem;
    }
    
    .faction-description {
        font-size: 1rem;
    }
    
    .main-image img {
        height: 180px;
    }
    
    .faction-gallery .row img {
        height: 80px;
    }
    
    .faction-features li {
        font-size: 0.9rem;
    }
}

/* Special Effects for Different Factions */
.civilian-icon:hover { box-shadow: 0 0 30px rgba(33, 150, 243, 0.6); }
.business-icon:hover { box-shadow: 0 0 30px rgba(76, 175, 80, 0.6); }
.criminal-icon:hover { box-shadow: 0 0 30px rgba(244, 67, 54, 0.6); }
.police-icon:hover { box-shadow: 0 0 30px rgba(33, 150, 243, 0.6); }
.fire-icon:hover { box-shadow: 0 0 30px rgba(255, 87, 34, 0.6); }
.county-icon:hover { box-shadow: 0 0 30px rgba(156, 39, 176, 0.6); }
.court-icon:hover { box-shadow: 0 0 30px rgba(96, 125, 139, 0.6); }

/* Loading Animation for Images */
.faction-gallery img {
    opacity: 0;
    animation: imageLoad 0.8s ease-out forwards;
}

.faction-gallery img:nth-child(1) { animation-delay: 0.2s; }
.faction-gallery img:nth-child(2) { animation-delay: 0.4s; }
.faction-gallery img:nth-child(3) { animation-delay: 0.6s; }

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Interactive Elements */
.faction-features li {
    position: relative;
    cursor: default;
}

.faction-features li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--primary-orange);
    transition: height 0.3s ease;
}

.faction-features li:hover::before {
    height: 100%;
}

/* Gradient Text Effects for Titles */
.faction-title {
    background: linear-gradient(135deg, var(--text-primary), var(--primary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.1) 0%, rgba(26, 38, 50, 0.3) 100%);
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.contact-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    text-align: center !important;
}

.contact-hero p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px;
}

/* Contact Method Cards */
.contact-method-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.8s ease;
}

.contact-method-card:hover::before {
    left: 100%;
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-method-card:hover .contact-icon::before {
    transform: translateX(100%);
}

.discord-bg { background: linear-gradient(135deg, #5865F2, #4752C4); }
.email-bg { background: linear-gradient(135deg, var(--primary-orange), #e55a26); }
.steam-bg { background: linear-gradient(135deg, #1b2838, #2a475e); }

.contact-method-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-method-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Contact Form */
.contact-form-card {
    background: rgba(30, 41, 54, 0.9);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 1.2s ease;
}

.contact-form-card:hover::before {
    left: 100%;
}

.contact-form {
    position: relative;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-control, .form-select {
    background: rgba(26, 31, 46, 0.8) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-control:focus, .form-select:focus {
    background: rgba(26, 31, 46, 0.9) !important;
    border-color: var(--primary-orange) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 96, 43, 0.25) !important;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-left: 4px solid #4caf50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border-left: 4px solid #f44336;
}

/* FAQ Accordion */
.accordion-item {
    background: rgba(30, 41, 54, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.accordion-button {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 20px 25px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(246, 96, 43, 0.1) !important;
    color: var(--primary-orange) !important;
}

.accordion-button::after {
    background-image: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    background: rgba(26, 31, 46, 0.3);
    color: var(--text-secondary);
    padding: 20px 25px;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
}

/* Form Animation */
.contact-form .form-group {
    position: relative;
}

.contact-form .form-control:focus + .form-label,
.contact-form .form-control:not(:placeholder-shown) + .form-label {
    transform: translateY(-25px) scale(0.8);
    color: var(--primary-orange);
}

/* Button Hover Effects */
.contact-form .btn-orange:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(246, 96, 43, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 70vh;
        padding-top: 80px !important;
        background-attachment: scroll;
    }
    
    .contact-method-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-method-title {
        font-size: 1.3rem;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        min-height: 60vh;
        padding-top: 60px !important;
    }
    
    .contact-form-card {
        padding: 25px 15px;
    }
    
    .contact-method-card {
        padding: 20px 15px;
    }
    
    .contact-method-title {
        font-size: 1.2rem;
    }
    
    .contact-method-description {
        font-size: 0.95rem;
    }
    
    .form-control, .form-select {
        padding: 10px 14px !important;
        font-size: 0.95rem !important;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-method-card,
.contact-form-card,
.accordion-item {
    animation: fadeInUp 0.8s ease-out;
}

.contact-method-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-method-card:nth-child(3) {
    animation-delay: 0.4s;
}



/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

/* About Hero Section */
.about-hero {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.1) 0%, rgba(26, 38, 50, 0.3) 100%);
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-hero h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    text-align: center !important;
}

.about-hero p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px;
}

/* Mission Stats */
.mission-stats {
    background: rgba(30, 41, 54, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card {
    background: rgba(26, 31, 46, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.8s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 96, 43, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Value Cards */
.value-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.8s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover .value-icon::before {
    transform: translateX(100%);
}

.realism-icon { background: linear-gradient(135deg, #2196F3, #1976D2); }
.community-icon { background: linear-gradient(135deg, #4CAF50, #388E3C); }
.innovation-icon { background: linear-gradient(135deg, #FF9800, #F57C00); }
.respect-icon { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }

.value-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.value-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Staff Cards */
.staff-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.8s ease;
}

.staff-card:hover::before {
    left: 100%;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.3);
}

.staff-card.compact {
    padding: 20px;
}

.staff-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.staff-card:hover .staff-avatar {
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(246, 96, 43, 0.3);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--primary-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    border: 2px solid var(--dark-bg);
}

.leadership-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.staff-badge {
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
}

.staff-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.staff-role {
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.staff-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-item {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

/* Association Info */
.association-info .detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(26, 31, 46, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.association-info .detail-item:hover {
    background: rgba(26, 31, 46, 0.6);
    border-color: rgba(246, 96, 43, 0.3);
    transform: translateX(10px);
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.detail-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Association Visual */
.association-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.visual-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.visual-header {
    text-align: center;
    border-bottom: 2px solid rgba(246, 96, 43, 0.3);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.responsibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibility-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.responsibility-list li:hover {
    color: var(--text-primary);
    padding-left: 10px;
}

.responsibility-list li:last-child {
    border-bottom: none;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-orange), rgba(246, 96, 43, 0.3));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 50%;
    border: 3px solid var(--dark-bg);
    box-shadow: 0 0 0 3px rgba(246, 96, 43, 0.3);
}

.timeline-date {
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Placeholder Message */
.placeholder-message {
    padding: 60px 30px;
    background: rgba(30, 41, 54, 0.4);
    border-radius: 16px;
    border: 2px dashed rgba(246, 96, 43, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staff-card,
.value-card,
.stat-card,
.timeline-item {
    animation: fadeInUp 0.8s ease-out;
}

.staff-card:nth-child(2) { animation-delay: 0.1s; }
.staff-card:nth-child(3) { animation-delay: 0.2s; }
.staff-card:nth-child(4) { animation-delay: 0.3s; }

.value-card:nth-child(2) { animation-delay: 0.1s; }
.value-card:nth-child(3) { animation-delay: 0.2s; }
.value-card:nth-child(4) { animation-delay: 0.3s; }

.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }
.timeline-item:nth-child(5) { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        min-height: 70vh;
        padding-top: 80px !important;
        background-attachment: scroll;
    }
    
    .staff-card,
    .value-card {
        margin-bottom: 20px;
    }
    
    .staff-avatar {
        width: 60px;
        height: 60px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .association-info .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        margin: 0 auto 15px;
    }
    
    .association-info .detail-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .about-hero {
        min-height: 60vh;
        padding-top: 60px !important;
    }
    
    .staff-card,
    .value-card {
        padding: 20px;
    }
    
    .mission-stats {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline-item::before {
        left: 1px;
    }
}



/* ==========================================================================
   LOGIN PAGE SPECIFIC STYLES - CORRECTION FINALE CHIFFRES + POSITION
   ========================================================================== */

/* Login Hero Section - CORRECTION POSITION */
.login-hero {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 60px !important; /* AUGMENTÉ ENCORE PLUS pour compenser le margin-top: -86px */
    padding-bottom: 60px !important;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 96, 43, 0.1) 0%, rgba(26, 38, 50, 0.4) 100%);
    pointer-events: none;
}

.login-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Login Card */
.login-card {
    background: rgba(30, 41, 54, 0.95);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 1.5s ease;
}

.login-card:hover::before {
    left: 100%;
}

.login-logo img {
    filter: drop-shadow(0 0 10px rgba(246, 96, 43, 0.3));
    transition: all 0.3s ease;
}

.login-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(246, 96, 43, 0.6));
    transform: scale(1.05);
}

/* Steam Login Button */
.btn-steam {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border: 2px solid #66c0f4;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-steam::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 192, 244, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-steam:hover::before {
    left: 100%;
}

.btn-steam:hover {
    background: linear-gradient(135deg, #2a475e, #1b2838);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 192, 244, 0.3);
}

.steam-btn-title {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.2;
}

.steam-btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.2;
}

/* Login Divider */
.login-divider {
    position: relative;
    text-align: center;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.divider-text {
    background: rgba(30, 41, 54, 0.95);
    color: var(--text-muted);
    padding: 0 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Benefits Section */
.login-benefits {
    space-y: 15px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item:hover {
    padding-left: 10px;
    background: rgba(246, 96, 43, 0.05);
    border-radius: 8px;
    border-bottom: 1px solid rgba(246, 96, 43, 0.2);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Login Footer */
.login-footer .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}

.btn-outline-orange {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.btn-outline-orange:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.btn-outline-discord {
    border-color: #5865F2;
    color: #5865F2;
}

.btn-outline-discord:hover {
    background-color: #5865F2;
    border-color: #5865F2;
    color: white;
}

/* Step Cards - CORRECTION CHIFFRES TRONQUÉS */
.step-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 50px 20px 30px; /* AUGMENTÉ le padding-top de 40px à 50px */
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: visible; /* CHANGÉ de hidden à visible pour les numéros */
    margin-top: 30px; /* AUGMENTÉ de 25px à 30px */
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(246, 96, 43, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.5);
}

/* Step Number - CORRECTION TRONQUAGE */
.step-number {
    position: absolute;
    top: -20px; /* AUGMENTÉ de -15px à -20px */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;  /* AUGMENTÉ de 30px à 40px */
    height: 40px; /* AUGMENTÉ de 30px à 40px */
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem; /* AUGMENTÉ de 0.9rem à 1.1rem */
    border: 4px solid var(--darker-bg); /* AUGMENTÉ de 3px à 4px */
    z-index: 10;
    box-shadow: 0 4px 15px rgba(246, 96, 43, 0.3); /* AJOUTÉ une ombre */
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 31, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin: 20px auto 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.step-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Privacy Points */
.privacy-points {
    space-y: 20px;
}

.privacy-point {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: rgba(26, 31, 46, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.privacy-point:hover {
    background: rgba(26, 31, 46, 0.6);
    border-color: rgba(246, 96, 43, 0.3);
    transform: translateX(10px);
}

.privacy-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.privacy-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.privacy-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Security Card */
.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.security-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.security-header {
    border-bottom: 2px solid rgba(246, 96, 43, 0.3);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.security-features {
    space-y: 12px;
}

.security-feature {
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.security-feature:hover {
    padding-left: 10px;
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-left: 4px solid #4caf50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border-left: 4px solid #f44336;
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border-left: 4px solid #2196f3;
}

/* FAQ Accordion */
.accordion-item {
    background: rgba(30, 41, 54, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.accordion-button {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 20px 25px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(246, 96, 43, 0.1) !important;
    color: var(--primary-orange) !important;
}

.accordion-button::after {
    background-image: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    background: rgba(26, 31, 46, 0.3);
    color: var(--text-secondary);
    padding: 20px 25px;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleGlow {
    0% { 
        box-shadow: 0 8px 25px rgba(102, 192, 244, 0.2);
        border-color: #66c0f4;
    }
    50% { 
        box-shadow: 0 12px 35px rgba(102, 192, 244, 0.4);
        border-color: #ffffff;
    }
    100% { 
        box-shadow: 0 8px 25px rgba(102, 192, 244, 0.2);
        border-color: #66c0f4;
    }
}

.login-card {
    animation: fadeInUp 0.8s ease-out;
}

.step-card {
    animation: fadeInUp 0.8s ease-out;
}

.step-card:nth-child(2) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.3s; }

.btn-steam:hover {
    animation: gentleGlow 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-hero {
        min-height: auto;
        padding-top: 140px !important; /* AJUSTÉ pour mobile */
        padding-bottom: 40px !important;
        background-attachment: scroll;
    }
    
    .login-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .btn-steam {
        padding: 15px;
    }
    
    .steam-btn-title {
        font-size: 1rem;
    }
    
    .steam-btn-subtitle {
        font-size: 0.85rem;
    }
    
    .step-card {
        margin-bottom: 30px; /* AUGMENTÉ pour compenser les numéros plus gros */
        margin-top: 35px;    /* AUGMENTÉ pour compenser les numéros plus gros */
        padding: 45px 15px 25px; /* AJUSTÉ le padding-top */
    }
    
    .step-number {
        width: 35px;  /* AJUSTÉ pour mobile */
        height: 35px; /* AJUSTÉ pour mobile */
        font-size: 1rem; /* AJUSTÉ pour mobile */
        top: -18px;   /* AJUSTÉ pour mobile */
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .benefit-item,
    .privacy-point {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon,
    .privacy-icon {
        margin: 0 auto 15px;
    }
    
    .privacy-point:hover,
    .benefit-item:hover {
        transform: translateY(-5px);
        padding-left: inherit;
    }
}

@media (max-width: 576px) {
    .login-hero {
        padding-top: 120px !important; /* AJUSTÉ pour petit mobile */
        padding-bottom: 20px !important;
    }
    
    .login-card {
        padding: 25px 15px;
        margin: 10px;
        border-radius: 16px;
    }
    
    .login-logo img {
        max-height: 60px;
    }
    
    .btn-steam {
        padding: 12px;
    }
    
    .steam-btn-title {
        font-size: 0.95rem;
    }
    
    .steam-btn-subtitle {
        font-size: 0.8rem;
    }
    
    .step-card {
        padding: 40px 12px 20px; /* AJUSTÉ le padding-top */
        margin-top: 30px; /* ESPACE pour les numéros */
        margin-bottom: 25px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        top: -16px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .security-card {
        padding: 20px;
    }
    
    .login-footer .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin: 2px;
    }
}



/* ==========================================================================
   AUTHENTICATION & DASHBOARD STYLES
   ========================================================================== */

/* Dashboard Header */
.dashboard-header {
    background: var(--section-bg) !important;
    border-bottom: 1px solid var(--border-color);
    padding-top: 140px !important;
}

.user-avatar {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-orange);
    box-shadow: 0 0 20px rgba(246, 96, 43, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-approved, .status-active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-staff, .status-admin, .status-owner {
    background: rgba(246, 96, 43, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(246, 96, 43, 0.3);
}

.status-banned, .status-suspended {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Dashboard Cards */
.dashboard-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.3);
}

.dashboard-card .card-header {
    background: rgba(26, 31, 46, 0.6);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 25px;
}

.dashboard-card .card-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.dashboard-card .card-body {
    padding: 25px;
}

/* Special card types */
.dashboard-card.pending-approval {
    border-color: rgba(255, 152, 0, 0.4);
    background: rgba(30, 41, 54, 0.9);
}

.dashboard-card.pending-approval .card-header {
    background: rgba(255, 152, 0, 0.1);
}

.dashboard-card.approved {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(30, 41, 54, 0.9);
}

.dashboard-card.approved .card-header {
    background: rgba(76, 175, 80, 0.1);
}

/* Profile Information */
.profile-info {
    space-y: 15px;
}

.info-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    min-width: 120px;
    flex-shrink: 0;
}

.status-text {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Quick Links */
.quick-links {
    space-y: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(26, 31, 46, 0.4);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-link:hover {
    background: rgba(246, 96, 43, 0.1);
    border-color: rgba(246, 96, 43, 0.3);
    color: var(--primary-orange);
    transform: translateX(5px);
}

.quick-link i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.quick-link span {
    flex-grow: 1;
}

.quick-link i:last-child {
    margin-left: 12px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Activity List */
.activity-list {
    space-y: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(246, 96, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-description {
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Notifications */
.notifications {
    space-y: 12px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: rgba(26, 31, 46, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary-orange);
}

.notification-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-text {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.notification-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Steam Button Style */
.btn-steam {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border: 2px solid #66c0f4;
    color: #ffffff;
    transition: all 0.4s ease;
}

.btn-steam:hover {
    background: linear-gradient(135deg, #2a475e, #1b2838);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 192, 244, 0.3);
}

/* Enhanced Stat Cards for Dashboard */
.stat-card {
    background: rgba(30, 41, 54, 0.8);
    border-radius: 16px;
    padding: 25px 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.8s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 96, 43, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.stat-content {
    flex-grow: 1;
}

.stat-number {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .dashboard-card .card-header,
    .dashboard-card .card-body {
        padding: 20px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .info-item strong {
        margin-bottom: 5px;
    }
    
    .quick-link {
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .dashboard-header {
        padding-top: 120px !important;
    }
    
    .dashboard-card .card-header,
    .dashboard-card .card-body {
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px 12px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .status-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   CANDIDATURES DASHBOARD - AMÉLIORATIONS
   ========================================================================== */

/* Séparation et espacement des candidatures */
.application-item {
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.application-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.application-item:hover {
    background: rgba(246, 96, 43, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-bottom-color: rgba(246, 96, 43, 0.3);
}

/* Layout des informations candidature */
.application-info {
    flex-grow: 1;
}

.application-actions {
    flex-shrink: 0;
    align-items: center;
}

/* Status badges plus petits */
.application-actions .status-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 80px;
    text-align: center;
}

/* Couleurs status badges */
.status-pending {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-under_review {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.status-interview_scheduled {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-accepted {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-rejected {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Bouton détails ajusté */
.application-actions .btn-sm {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    min-width: 90px;
}

/* Responsive pour candidatures */
@media (max-width: 768px) {
    .application-actions {
        flex-direction: column;
        gap: 8px !important;
        align-items: stretch;
    }
    
    .application-actions .status-badge {
        min-width: auto;
        text-align: center;
    }
    
    .application-actions .btn-sm {
        min-width: auto;
        width: 100%;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
    }
    
    .application-info {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .application-item {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .application-item:hover {
        padding: 12px;
    }
    
    .application-actions {
        gap: 6px !important;
    }
    
    .application-actions .status-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .application-actions .btn-sm {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}


/* ==========================================================================
   NOUVELLES CARTES DE RECRUTEMENT - DESIGN PROPRE
   ========================================================================== */

/* Carte principale */
.recruitment-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recruitment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(246, 96, 43, 0.3);
}

/* Carte désactivée */
.recruitment-card--disabled {
    opacity: 0.6;
    filter: grayscale(20%);
}

.recruitment-card--disabled:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header de la carte */
.recruitment-card__header {
    padding: 24px 24px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.recruitment-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recruitment-card__status {
    text-align: right;
    flex-shrink: 0;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

.status-badge--success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status-badge--warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.status-badge--danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Body de la carte */
.recruitment-card__body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recruitment-card__title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.recruitment-card__department {
    color: var(--primary-orange);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recruitment-card__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Pré-requis */
.recruitment-card__requirements {
    margin-bottom: 24px;
}

.requirements-title {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.requirements-item i {
    color: var(--primary-orange);
    font-size: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.requirements-item:last-child {
    margin-bottom: 0;
}

/* Footer de la carte */
.recruitment-card__footer {
    padding: 0 24px 24px;
    margin-top: auto;
}

.recruitment-card__info {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffc107;
    font-size: 0.8rem;
    font-weight: 500;
}

.recruitment-card__info i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Boutons */
.recruitment-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    text-transform: none;
}

.recruitment-btn i {
    font-size: 0.8rem;
}

.recruitment-btn--primary {
    background: linear-gradient(135deg, var(--primary-orange), #e55a26);
    color: white;
    box-shadow: 0 4px 12px rgba(246, 96, 43, 0.3);
}

.recruitment-btn--primary:hover {
    background: linear-gradient(135deg, #e55a26, #d14d21);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 96, 43, 0.4);
    color: white;
}

.recruitment-btn--disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.recruitment-btn--disabled:hover {
    background: var(--border-color);
    color: var(--text-muted);
    transform: none;
    box-shadow: none;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recruitment-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Décalage des animations */
.recruitment-card:nth-child(1) { animation-delay: 0.1s; }
.recruitment-card:nth-child(2) { animation-delay: 0.2s; }
.recruitment-card:nth-child(3) { animation-delay: 0.3s; }
.recruitment-card:nth-child(4) { animation-delay: 0.4s; }
.recruitment-card:nth-child(5) { animation-delay: 0.5s; }
.recruitment-card:nth-child(6) { animation-delay: 0.6s; }

/* Effet de survol sur les icônes */
.recruitment-card:hover .recruitment-card__icon {
    transform: scale(1.05) rotate(5deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recruitment-card__header {
        padding: 20px 20px 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .recruitment-card__status {
        text-align: center;
    }
    
    .recruitment-card__body {
        padding: 20px;
        text-align: center;
    }
    
    .recruitment-card__footer {
        padding: 0 20px 20px;
    }
    
    .recruitment-card__icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
    
    .recruitment-card__title {
        font-size: 1.1rem;
    }
    
    .requirements-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .recruitment-card__header {
        padding: 16px 16px 0;
    }
    
    .recruitment-card__body {
        padding: 16px;
    }
    
    .recruitment-card__footer {
        padding: 0 16px 16px;
    }
    
    .recruitment-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* ==========================================================================
   SUPPRESSION DES ANCIENS STYLES PROBLÉMATIQUES
   ========================================================================== */

/* Supprimer complètement les anciens styles de cartes */
.position-card,
.position-card::before,
.position-card::after,
.position-icon,
.position-status,
.position-closed {
    display: none !important;
}

/* S'assurer que les anciens styles n'interfèrent pas */
.positions-row {
    display: none !important;
}

/* Styles pour maintenir la compatibilité */
.recruitment-card .fas,
.recruitment-card .fab,
.recruitment-card .far {
    display: inline-block;
}

/* Effet de focus pour l'accessibilité */
.recruitment-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.recruitment-btn--primary:focus {
    outline-color: rgba(246, 96, 43, 0.6);
}

/* Animation de chargement */
.recruitment-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Amélioration des gradients */
.status-badge--success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.status-badge--warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.status-badge--danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}