:root {
    --bg-dark: #0f111a;
    --card-bg: #1a1d2d;
    --accent-red: #ff3e3e;
    --accent-blue: #00d2ff;
    --text-main: #f0f3f8;
    --text-muted: #a0a7b5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background: rgba(15, 17, 26, 0.9);
    border-bottom: 1px solid #2a2e45;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--text-main);
}

.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: 2rem;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-blue), #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn.primary {
    background-color: var(--accent-blue);
    color: #000;
}

.btn.primary:hover {
    transform: translateY(-2px);
}

.section-title {
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.main-villain-title {
    color: var(--accent-red);
}

.villain-card.Boss {
    background: linear-gradient(135deg, #1f1124 0%, #100b14 100%);
    border: 1px solid var(--accent-red);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.badge.danger {
    background-color: var(--accent-red);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #2a2e45;
}/* Styles spécifiques aux Héros */
.hero-title {
    color: var(--accent-blue);
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-card {
    border-top: 3px solid var(--accent-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
}

.badge.hero-badge {
    background-color: rgba(0, 210, 255, 0.15);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stats {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid #2a2e45;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.margin-top {
    margin-top: 1.5rem;
}/* Styles spécifiques à la page Staff */
.staff-title {
    color: #f39c12;
}

.role-category {
    font-size: 1.4rem;
    color: var(--text-main);
    border-bottom: 2px solid #2a2e45;
    padding-bottom: 0.5rem;
}

.margin-top-lg {
    margin-top: 3rem;
}

.staff-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.staff-card.founder {
    border: 1px solid #f1c40f;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.05) 0%, var(--card-bg) 100%);
}

.staff-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    image-rendering: pixelated; /* Conserve le rendu net du skin Minecraft */
}

.badge.role-founder {
    background-color: #f1c40f;
    color: #000;
    font-weight: 700;
}

.badge.role-admin {
    background-color: #e74c3c;
    color: #fff;
}

.badge.role-mod {
    background-color: #2ecc71;
    color: #fff;
}/* Styles pour la page Contact */
.contact-title {
    color: var(--accent-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-card {
    background-color: var(--card-bg);
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-dark);
    border: 1px solid #2a2e45;
    border-radius: 6px;
    padding: 0.8rem;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
}

.btn-block {
    width: 100%;
}

.discord-btn {
    display: inline-block;
    text-align: center;
    background-color: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 1rem;
    width: 100%;
}

.discord-btn:hover {
    background-color: #4752C4;
}

.staff-contact-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.staff-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.staff-contact-list img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    image-rendering: pixelated;
}

.staff-contact-list div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.staff-contact-list span {
    font-size: 0.85rem;
    color: var(--text-muted);
}/* Alignement et taille du Logo dans la barre de navigation */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.server-logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(138, 43, 226, 0.5);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

/* Thème Cosmique */
.cosmic-theme {
    background: radial-gradient(ellipse at top, #1b092b 0%, #08030d 100%);
    background-attachment: fixed;
}

.cosmic-banner {
    position: relative;
    background: radial-gradient(circle at center, rgba(88, 28, 135, 0.25) 0%, rgba(9, 3, 18, 0.9) 80%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.cosmic-title {
    font-size: 4rem;
    background: linear-gradient(135deg, #a855f7 0%, #00d2ff 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.cosmic-subtitle {
    color: #c084fc;
    font-size: 1.2rem;
}

.cosmic-heading {
    color: #e9d5ff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.cosmic-card {
    background: rgba(23, 15, 38, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, border-color 0.2s;
}

.cosmic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
}

.cosmic-btn {
    background: linear-gradient(90deg, #7e22ce, #0284c7);
    color: #fff;
    box-shadow: 0 0 15px rgba(126, 34, 206, 0.4);
}

.cosmic-btn:hover {
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.6);
}

.cosmic-btn-outline {
    border-color: #a855f7;
    color: #c084fc;
}

.cosmic-btn-outline:hover {
    background: rgba(168, 85, 247, 0.15);
}