:root {
    --bg-color: #0a0a0a;
    --card-bg: #1a1a1a;
    --accent-red: #ff0000;
    --dark-red: #8b0000;
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none; /* Empêche la sélection de texte */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle, #1a0000 0%, #000 100%);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.eye-container {
    width: 250px;
    height: 150px;
    background: #fff;
    border-radius: 100% 0%;
    transform: rotate(45deg);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px var(--accent-red);
    border: 4px solid var(--accent-red);
    z-index: 2;
}

.eye {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fff 40%, #ddd 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iris {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-red) 20%, var(--dark-red) 70%, #000 100%);
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.pupil {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
}

.title-group {
    text-align: center;
    z-index: 2;
    margin-top: 50px;
}

.main-title {
    font-size: 3rem;
    letter-spacing: 5px;
    text-shadow: 0 0 15px var(--accent-red);
    margin-bottom: 10px;
}

.sub-title {
    font-size: 1.1rem;
    color: #cccccc;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.nav-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-red);
    padding: 20px 40px;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    transition: 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.nav-card:hover {
    background: var(--accent-red);
    transform: translateY(-10px);
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 5;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #333;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.img-wrapper:hover .gallery-img {
    transform: scale(1.1);
}

.main-gif {
    width: 100%;
    max-width: 800px;
    border: 3px solid var(--accent-red);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.info-panel {
    background: var(--card-bg);
    border: 2px solid var(--accent-red);
    padding: 40px;
    border-radius: 20px;
}

.info-content h3 {
    color: var(--accent-red);
    margin: 20px 0 10px 0;
}

.main-discord-btn {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 40px;
    transition: 0.3s;
}

.main-discord-btn:hover {
    box-shadow: 0 0 25px var(--accent-red);
}

.sub-discord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.sub-discord-card {
    background: #2c2c2c;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 5px;
    border-left: 4px solid var(--accent-red);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

#modal-content {
    max-width: 90%;
    max-height: 80%;
    border: 2px solid var(--accent-red);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .eye-container { width: 180px; height: 110px; }
    .main-title { font-size: 2rem; }
}