        :root {
            --primary-color: #ff7b00;
            --secondary-color: #51ff00;
            --background-color: #0a0a12;
            --text-color: #e0e0e0;
            --panel-color: #12121f;
            --accent-color: #444466;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--background-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: auto;
            padding: 0px 15px;
        }
        
        header {
            background-color: var(--panel-color);
            border-bottom: 2px solid var(--primary-color);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary-color);
            text-shadow: 0 0 5px rgba(0, 194, 255, 0.5);
        }

        a:link, a:visited {
            color: inherit;
            text-decoration: none;
        }
        
        a:hover, a:focus {
            color: inherit;
        }
        
        
        nav ul {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        nav ul li {
            margin-left: 1.5rem;
        }
        
        nav ul li a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary-color);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .hero {
            background-image: linear-gradient(rgba(87, 46, 0, 0.377), rgba(10, 10, 18, 0.9)), url('/api/placeholder/1200/400');
            background-size: cover;
            background-position: center;
            padding: 5rem 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
            text-shadow: 0 0 10px var(--primary-color);
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        main {
            padding: 2rem 0;
        }
        
        .section {
            margin-bottom: 3rem;
        }
        
        .section-title {
            font-size: 2rem;
            color: var(--primary-color);
            border-bottom: 1px solid var(--accent-color);
            padding-bottom: 0.5rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 0px 0px;
        }

        .card {
            background-color: var(--panel-color);
            border-radius: 5px;
            border: 1px solid var(--accent-color);
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(255, 153, 0, 0.2);
            border-color: var(--primary-color);
        }
        
        .card-image {
            height: 180px;
            background-color: #232338;
            background-image: url('/api/placeholder/280/180');
            background-size: cover;
            background-position: center;
        }

        .card-image2 {
            height: 180px;
            background-color: #232338;
            background-image: url('/api/placeholder/280/180');
            background-size: cover;
            background-position: center;
        }
        
        .card-content {
            padding: 1.5rem;
        }
        
        .card-title {
            font-size: 1.4rem;
            margin-top: 0;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        
        .card-description {
            margin-bottom: 1rem;
        }
        
        .card-link {
            display: inline-block;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.5s;
        }
        
        .card-link:hover {
            color: var(--primary-color);
        }
        

        .lang-toggle {
            margin-left: auto;
            font-weight: bold;
        }

        .lang-toggle a {
            color: #fff; /* ou autre couleur de ton thème */
            background-color: #12121f;
            padding: 6px 12px;
            border-radius: 4px;
            text-decoration: none;
            transition: background 0.2s;
        }

        .lang-toggle a:hover {
            background-color: #12121f;
        }

        .article {
            background-color: var(--panel-color);
            border-radius: 5px;
            border: 1px solid var(--accent-color);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .article-title {
            color: var(--primary-color);
            font-size: 2rem;
            margin-top: 0;
            margin-bottom: 1rem;
        }
        
        .article-meta {
            color: #888;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }
        
        .article-content {
            line-height: 1.8;
        }
        
        .article-content h2 {
            color: var(--primary-color);
            margin-top: 2rem;
        }
        
        .article-content p {
            margin-bottom: 1.5rem;
        }
        
        .article-content ul, .article-content ol {
            margin-bottom: 1.5rem;
            padding-left: 2rem;
        }
        
        .sidebar {
            background-color: var(--panel-color);
            border-radius: 5px;
            border: 1px solid var(--accent-color);
            padding: 1.5rem;
        }
        
        .sidebar-title {
            color: var(--primary-color);
            font-size: 1.4rem;
            margin-top: 0;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--accent-color);
            padding-bottom: 0.5rem;
        }
        
        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-list li {
            margin-bottom: 0.5rem;
        }
        
        .sidebar-list li a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .sidebar-list li a:hover {
            color: var(--primary-color);
        }
        
        .two-column {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }
        
        @media (max-width: 768px) {
            .two-column {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                flex-direction: column;
                align-items: flex-start;
            }
            
            nav ul {
                flex-direction: column;
                margin-top: 1rem;
            }
            
            nav ul li {
                margin-left: 0;
                margin-bottom: 0.5rem;
            }
        }
        
        footer {
            background-color: var(--panel-color);
            border-top: 2px solid var(--primary-color);
            padding: 2rem 0;
            text-align: center;
            margin-top: 3rem;
        }
        
        .search-bar {
            display: flex;
            margin: 1rem 0 2rem;
        }
        
        .search-bar input {
            flex-grow: 1;
            padding: 0.8rem;
            border: 1px solid var(--accent-color);
            background-color: rgba(18, 18, 31, 0.7);
            color: var(--text-color);
            border-radius: 5px 0 0 5px;
            outline: none;
            transition: border-color 0.3s;
        }
        
        .search-bar input:focus {
            border-color: var(--primary-color);
        }
        
        .search-bar button {
            padding: 0.8rem 1.5rem;
            background-color: var(--primary-color);
            color: var(--panel-color);
            border: none;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .search-bar button:hover {
            background-color: var(--secondary-color);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 2rem;
        }
        
        table th, table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--accent-color);
        }
        
        table th {
            background-color: rgba(0, 194, 255, 0.1);
            color: var(--primary-color);
            font-weight: 500;
        }
        
        table tr:nth-child(even) {
            background-color: rgba(68, 68, 102, 0.1);
        }

        .artist-logo img{
            width: 100px;
            height: 100px;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
            object-fit: cover;
            border-radius: 50%;
            object-position: 0px -0px;
            background-color: black;
        }
        
        .faction-logo img {
            width: 100px;
            height: 100px;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
            object-fit: cover;
            border-radius: 50%;
            object-position: 0px -20px;
            background-color: black;
        }
        
        .faction-relations {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.faction-relations table {
    border-collapse: collapse;
    width: 100%;
    background-color: #1a1a1a;
    color: white;
}

.faction-relations th, 
.faction-relations td {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    min-width: 40px; /* Assure une largeur minimale pour les cellules */
}

.faction-relations th {
    background-color: #2a2a2a00;
    font-weight: bold;
}

.faction-relations td:first-child {
    text-align: left;
    font-weight: bold;
    min-width: 200px; /* Largeur minimale pour la première colonne */
}

.faction-relations tr:hover {
    background-color: #252525;
}

/* Carrés colorés pour les relations */
.faction-relations td.ally {
    background-color: #4CAF50; /* Vert */
}

.faction-relations td.neutral {
    background-color: #FFC107; /* Jaune */
}

.faction-relations td.enemy {
    background-color: #F44336; /* Rouge */
}

.faction-relations td.same {
    background-color: #FFFFFF; /* Blanc */
}

/* Légende */
.legend {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.square {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.square.ally {
    background-color: #4CAF50;
}

.square.neutral {
    background-color: #FFC107;
}

.square.enemy {
    background-color: #F44336;
}

.square.same {
    background-color: #FFFFFF;
}

@media (max-width: 768px) {
    .faction-relations {
        padding: 10px;
    }
    
    .faction-relations th, 
    .faction-relations td {
        padding: 5px;
        font-size: 14px;
        min-width: 30px; /* Largeur minimale réduite pour mobile */
    }

    .faction-relations td:first-child {
        min-width: 150px; /* Largeur minimale réduite pour mobile */
    }

    .legend {
        flex-wrap: wrap;
    }

    .square {
        width: 15px;
        height: 15px;
    }
}
        
        .faction-item {
            display: flex;
            margin-bottom: 2rem;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            padding: 1.5rem;
        }
        
        .faction-content {
            flex-grow: 1;
        }
        
        .faction-title {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 0.5rem;
        }
        
        /* Navigation latérale wiki */
        .wiki-nav {
            position: sticky;
            top: 100px;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            padding: 1rem;
        }
        
        .wiki-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .wiki-nav li {
            margin-bottom: 0.5rem;
        }
        
        .wiki-nav a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .wiki-nav a:hover {
            color: var(--primary-color);
        }
        
        .wiki-nav-title {
            color: var(--primary-color);
            border-bottom: 1px solid var(--accent-color);
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
            font-weight: bold;
        }
        
        .tech-specs {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .tech-spec-item {
            background-color: rgba(18, 18, 31, 0.7);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            padding: 1rem;
        }
        
        .tech-spec-title {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        
        .stat-bar {
            height: 10px;
            background-color: rgba(68, 68, 102, 0.3);
            border-radius: 5px;
            margin-top: 0.5rem;
            position: relative;
            overflow: hidden;
        }
        
        .stat-bar-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 5px;
            width: 70%;
        }
        
        .breadcrumb {
            background-color: var(--panel-color);
            padding: 0.8rem 1rem;
            border-radius: 5px;
            margin-bottom: 0rem;
            font-size: 0.9rem;
            border: 1px solid var(--accent-color);
        }
        
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        .breadcrumb span:not(:last-child)::after {
            content: '>';
            margin: 0 0.5rem;
            color: var(--primary-color);
        }
        
        .alert {
            background-color: #0ac5391a;
            border-left: 4px solid var(--secondary-color);
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 0 5px 5px 0;
        }
        
        .alert-title {
            color: var(--secondary-color);
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .mission-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 1.5rem;
            border: 1px solid var(--accent-color);
        }
        
        .mission-info-box {
            background-color: rgba(255, 123, 0, 0.1);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .objective-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .objective-list li {
            margin-bottom: 1rem;
            padding-left: 2rem;
            position: relative;
        }
        
        .objective-list li:before {
            content: '■';
            color: var(--primary-color);
            position: absolute;
            left: 0;
            top: 0;
        }
        
        .reward-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .reward-icon {
            width: 40px;
            height: 40px;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            margin-right: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
        }
        
        .npc-card {
            display: flex;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .npc-image {
            width: 80px;
            height: 80px;
            background-color: #232338;
            border-radius: 50%;
            margin-right: 1rem;
            overflow: hidden;
        }
        
        .npc-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .npc-info {
            flex-grow: 1;
        }
        
        .npc-name {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 0.5rem;
        }
        
        .dialogue-box {
            background-color: rgba(18, 18, 31, 0.7);
            border-left: 3px solid var(--primary-color);
            padding: 1rem;
            margin: 1.5rem 0;
            font-style: italic;
        }
        
        .mission-map {
            width: 100%;
            height: 300px;
            background-color: var(--panel-color);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .mission-map img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
        }
        
        .difficulty-rating {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .difficulty-stars {
            display: flex;
            margin-left: 1rem;
        }
        
        .star {
            color: var(--primary-color);
            margin-right: 0.25rem;
        }







        .map-container {
            position: relative;
            max-width: 1600px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .map-image {
            width: 100%;
            display: block;
            border: 1px solid var(--accent-color);
            border-radius: 5px;
        }
        
        .map-area {
            position: absolute;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 123, 0, 0);
            border-radius: 2px;
        }
        
        .map-area:hover {
            background-color: rgba(255, 123, 0, 0.3);
            box-shadow: 0 0 15px var(--primary-color);
            border: 1px solid rgba(255, 123, 0, 0.5);
        }
        
        .map-area.active {
            background-color: rgba(255, 123, 0, 0.4);
            border: 1px solid var(--primary-color);
            box-shadow: 0 0 20px var(--primary-color);
        }
        
        .map-info {
            background-color: var(--panel-color);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            padding: 1.5rem;
            margin-top: 2rem;
            display: block;
            animation: fadeIn 0.5s;
        }
        
        .map-selector {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .map-button {
            padding: 0.8rem 1.5rem;
            background-color: var(--panel-color);
            color: var(--text-color);
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .map-button:hover {
            background-color: var(--panel-color);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .map-button.active {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--panel-color);
        }
        
        .zone-title {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 1rem;
            font-size: 1.8rem;
            border-bottom: 1px solid var(--accent-color);
            padding-bottom: 0.5rem;
        }
        
        .zone-description {
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }
        
        .activities-title {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            font-size: 1.4rem;
        }
        
        .activities-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .activities-list li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .activities-list li:before {
            content: '■';
            color: var(--primary-color);
            position: absolute;
            left: 0;
            top: 0;
        }
        
        footer {
            background-color: var(--panel-color);
            border-top: 2px solid var(--primary-color);
            padding: 1.5rem 0;
            text-align: center;
            margin-top: 3rem;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                align-items: center;
            }
            
            .logo {
                margin-bottom: 1rem;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav ul li {
                margin: 0.5rem;
            }
            
            .map-selector {
                flex-direction: column;
                align-items: center;
            }
            
            .map-button {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
        }



        
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-color);
            background: none;
            border: none;
            font-weight: bold;
        }
        
        .close-btn:hover {
            color: var(--primary-color);
        }
        

                .timeline {
            margin: 20px 0;
            padding: 0;
        }
        
        .timeline-item {
            border-left: 3px solid #cc7400;
            padding-left: 20px;
            margin-bottom: 30px;
            position: relative;
        }
        
        .timeline-item::before {
            content: "";
            position: absolute;
            left: -8px;
            top: 0;
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background-color: #cc7400;
        }
        
        .timeline-date {
            color: #cc7400;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 5px;
        }
        
        .period-title {
            background: linear-gradient(135deg, #cc7400, #cc7400);
            color: white;
            padding: 15px 20px;
            margin: 30px 0 20px 0;
            border-radius: 8px;
            font-size: 1.3em;
            font-weight: bold;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0,122,204,0.3);
        }