/* Variables mystiques */
:root {
    --couleur-sang: #8B0000;
    --couleur-or: #FFD700;
    --couleur-violet: #4B0082;
    --couleur-noir: #0a0a0a;
    --couleur-blanc: #f0f0f0;
    --font-mystique: 'Cinzel', serif;
    --font-creepy: 'Creepster', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-mystique);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #330011 100%);
    color: var(--couleur-blanc);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Particules en arrière-plan */
#particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: floatParticles 20s infinite ease-in-out;
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Header mystique */
.header-mystique {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 3px solid var(--couleur-or);
    position: relative;
    overflow: hidden;
}

.header-mystique::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.03) 10px,
        rgba(255, 215, 0, 0.03) 20px
    );
    animation: slidePattern 10s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.pentagram {
    font-size: 3rem;
    margin: 0 2rem;
    color: var(--couleur-or);
}

.rotating {
    animation: rotate 10s linear infinite;
}

.rotating.reverse {
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Effet Glitch */
h1.glitch {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--couleur-or);
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--couleur-sang);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--couleur-violet);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip: rect(42px, 9999px, 44px, 0); transform: translate(0); }
    20% { clip: rect(12px, 9999px, 85px, 0); transform: translate(-2px, -2px); }
    40% { clip: rect(92px, 9999px, 12px, 0); transform: translate(2px, 2px); }
    60% { clip: rect(25px, 9999px, 75px, 0); transform: translate(-1px, 1px); }
    80% { clip: rect(30px, 9999px, 90px, 0); transform: translate(0px, -1px); }
}

@keyframes glitch-2 {
    0%, 100% { clip: rect(65px, 9999px, 119px, 0); transform: translate(0); }
    20% { clip: rect(32px, 9999px, 12px, 0); transform: translate(2px, 2px); }
    40% { clip: rect(85px, 9999px, 45px, 0); transform: translate(-2px, -2px); }
    60% { clip: rect(5px, 9999px, 95px, 0); transform: translate(1px, -1px); }
    80% { clip: rect(72px, 9999px, 28px, 0); transform: translate(-1px, 0px); }
}

/* Navigation ésotérique */
.nav-esoterique {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(75, 0, 130, 0.2);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--couleur-blanc);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--couleur-or);
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--couleur-or);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--couleur-noir);
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Section Hero */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
}

.smoke-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    animation: smoke 15s infinite linear;
    opacity: 0.3;
}

@keyframes smoke {
    from { transform: translateY(100%) rotate(0deg); }
    to { transform: translateY(-100%) rotate(360deg); }
}

.titre-apocalyptique {
    font-size: 2.5rem;
    margin: 2rem 0;
    color: var(--couleur-or);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(139, 0, 0, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.symbole {
    display: inline-block;
    animation: spin 3s linear infinite;
    color: var(--couleur-sang);
    font-size: 2rem;
    margin: 0 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sous-titre-mystique {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 2rem auto;
    max-width: 800px;
}

.countdown {
    margin-top: 3rem;
    font-size: 1.5rem;
    color: var(--couleur-sang);
}

#countdown {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: var(--couleur-or);
    text-shadow: 0 0 10px currentColor;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Gourou */
.section-gourou {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(75, 0, 130, 0.1) 50%, transparent 100%);
}

.titre-section {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--couleur-or);
    position: relative;
}

.oeil {
    display: inline-block;
    animation: wink 3s infinite;
    font-size: 2.5rem;
    margin: 0 1rem;
}

@keyframes wink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

.gourou-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    flex-wrap: wrap;
    justify-content: center;
}

.carte-gourou {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--couleur-or);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.carte-gourou::before {
    content: '🔺';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.photo-gourou {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 5px solid var(--couleur-or);
    filter: sepia(20%) saturate(1.5);
    transition: all 0.5s ease;
}

.photo-gourou:hover {
    filter: sepia(0%) saturate(2) hue-rotate(180deg);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.carte-gourou h3 {
    color: var(--couleur-or);
    font-size: 1.8rem;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.titre-gourou {
    color: var(--couleur-sang);
    font-style: italic;
    margin-bottom: 2rem;
}

.stats-gourou {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-nombre {
    display: block;
    font-size: 2rem;
    color: var(--couleur-or);
    font-weight: bold;
    text-shadow: 0 0 10px currentColor;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--couleur-blanc);
    margin-top: 0.5rem;
}

.bio-mystique {
    flex: 2;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-left: 5px solid var(--couleur-sang);
}

.bio-mystique h3 {
    color: var(--couleur-or);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.prophecie {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--couleur-blanc);
    margin-bottom: 2rem;
    font-style: italic;
}

.pouvoirs h4 {
    color: var(--couleur-or);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.liste-pouvoirs {
    list-style: none;
    padding: 0;
}

.liste-pouvoirs li {
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: rgba(75, 0, 130, 0.2);
    border-left: 3px solid var(--couleur-or);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.liste-pouvoirs li:hover {
    transform: translateX(10px);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Galerie Sofian */
.galerie-sofian {
    margin-top: 5rem;
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--couleur-or);
}

.titre-galerie {
    text-align: center;
    font-size: 2rem;
    color: var(--couleur-or);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.photos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--couleur-sang);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
    border-color: var(--couleur-or);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.galerie-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: sepia(30%) contrast(1.2);
    transition: all 0.5s ease;
}

.photo-item:hover .galerie-photo {
    filter: sepia(0%) contrast(1.3) brightness(1.1);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: var(--couleur-or);
    padding: 1.5rem 1rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    font-style: italic;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-caption {
    transform: translateY(0);
}

/* Section Bras Droit - ELYESA */
.section-bras-droit {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(75, 0, 130, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.section-bras-droit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50" y="50" font-size="80" fill="rgba(255,215,0,0.03)" text-anchor="middle">⚔️</text></svg>');
    background-size: 200px;
    animation: floatPattern 20s infinite linear;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.flamme {
    display: inline-block;
    animation: flameDance 1.5s infinite alternate;
    font-size: 2.5rem;
    margin: 0 1rem;
}

@keyframes flameDance {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.2) rotate(5deg); }
}

.intro-bras-droit {
    text-align: center;
    margin: 3rem auto;
    max-width: 900px;
}

.citation-epique {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--couleur-or);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    line-height: 1.8;
    position: relative;
}

.citation-epique::before,
.citation-epique::after {
    content: '⚔️';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
}

.citation-epique::before {
    left: -60px;
    top: -20px;
}

.citation-epique::after {
    right: -60px;
    bottom: -20px;
}

.bras-droit-container {
    max-width: 1400px;
    margin: 0 auto;
}

.bras-droit-presentation {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
    flex-wrap: wrap;
}

.portrait-principal {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    position: relative;
}

.photo-bras-droit {
    width: 100%;
    height: auto;
    border: 5px solid var(--couleur-sang);
    box-shadow: 
        0 0 30px rgba(139, 0, 0, 0.8),
        0 0 60px rgba(255, 0, 0, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    filter: contrast(1.2) saturate(0.8);
    transition: all 0.5s ease;
}

.portrait-principal:hover .photo-bras-droit {
    transform: scale(1.05);
    filter: contrast(1.3) saturate(1);
    box-shadow: 
        0 0 50px rgba(255, 0, 0, 1),
        0 0 100px rgba(139, 0, 0, 0.8);
}

.aura-mystique {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, transparent 30%, rgba(139, 0, 0, 0.3) 70%);
    pointer-events: none;
    animation: pulseAura 3s infinite;
}

@keyframes pulseAura {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.info-bras-droit {
    flex: 2;
    min-width: 300px;
}

.nom-bras-droit {
    font-size: 2.5rem;
    color: var(--couleur-sang);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 10px currentColor,
        0 0 30px rgba(255, 0, 0, 0.5);
    animation: glowText 2s infinite alternate;
}

@keyframes glowText {
    from { text-shadow: 0 0 10px currentColor, 0 0 30px rgba(255, 0, 0, 0.5); }
    to { text-shadow: 0 0 20px currentColor, 0 0 50px rgba(255, 0, 0, 0.8); }
}

.titre-bras-droit {
    font-size: 1.2rem;
    color: var(--couleur-or);
    margin-bottom: 2rem;
    font-style: italic;
}

.attributs-bras-droit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.attribut {
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid var(--couleur-sang);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.attribut:hover {
    background: rgba(139, 0, 0, 0.2);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.attribut .icone {
    font-size: 2rem;
}

.attribut .label {
    color: var(--couleur-blanc);
    font-size: 1.1rem;
}

.bio-bras-droit {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--couleur-or);
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
}

.bio-bras-droit::before {
    content: '💀';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    background: var(--couleur-noir);
    padding: 0 20px;
}

.bio-bras-droit h4 {
    color: var(--couleur-or);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bio-bras-droit p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--couleur-blanc);
    text-align: center;
}

/* Pouvoirs du Bras Droit */
.pouvoirs-bras-droit {
    margin: 4rem 0;
    background: rgba(75, 0, 130, 0.1);
    padding: 3rem 2rem;
    border-top: 3px solid var(--couleur-sang);
    border-bottom: 3px solid var(--couleur-sang);
}

.pouvoirs-bras-droit h4 {
    text-align: center;
    font-size: 2rem;
    color: var(--couleur-or);
    margin-bottom: 3rem;
}

.grille-pouvoirs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pouvoir-carte {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--couleur-sang);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pouvoir-carte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(139, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pouvoir-carte:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.5);
}

.pouvoir-carte:hover::before {
    opacity: 1;
}

.pouvoir-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.pouvoir-carte:nth-child(odd) .pouvoir-icon {
    animation-delay: 0.5s;
}

.pouvoir-carte h5 {
    color: var(--couleur-sang);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pouvoir-carte p {
    color: var(--couleur-blanc);
    font-size: 1rem;
    line-height: 1.5;
}

/* Galerie Bras Droit */
.galerie-bras-droit {
    margin: 4rem 0;
    padding: 3rem 0;
}

.galerie-bras-droit h4 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--couleur-or);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.photos-bras-droit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item-bd {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid var(--couleur-sang);
    transition: all 0.3s ease;
}

.photo-item-bd:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: var(--couleur-or);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.galerie-photo-bd {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.2);
    transition: all 0.5s ease;
}

.photo-item-bd:hover .galerie-photo-bd {
    filter: grayscale(0%) contrast(1.3) brightness(1.1);
    transform: scale(1.1);
}

.photo-caption-bd {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    color: var(--couleur-or);
    padding: 2rem 1rem 1rem;
    font-size: 1rem;
    text-align: center;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item-bd:hover .photo-caption-bd {
    transform: translateY(0);
}

/* Serment */
.serment-bras-droit {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--couleur-or);
    position: relative;
}

.serment-bras-droit::before,
.serment-bras-droit::after {
    content: '📜';
    position: absolute;
    font-size: 60px;
    opacity: 0.1;
}

.serment-bras-droit::before {
    top: 20px;
    left: 20px;
}

.serment-bras-droit::after {
    bottom: 20px;
    right: 20px;
}

.serment-bras-droit h4 {
    text-align: center;
    color: var(--couleur-or);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.serment-texte {
    font-size: 1.3rem;
    line-height: 2;
    text-align: center;
    color: var(--couleur-blanc);
    font-style: italic;
    border: none;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
}

.serment-texte strong {
    color: var(--couleur-or);
    font-size: 1.5rem;
    text-shadow: 0 0 20px currentColor;
}

/* Section Mystères */
.section-mysteres {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.grille-mysteres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.carte-mystere {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.3) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 2px solid var(--couleur-or);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carte-mystere:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--couleur-sang);
}

.carte-mystere::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carte-mystere:hover::after {
    opacity: 1;
    animation: pulsate 1s infinite;
}

@keyframes pulsate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.numero-mystere {
    font-size: 3rem;
    color: var(--couleur-or);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px currentColor;
}

.carte-mystere h3 {
    color: var(--couleur-blanc);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.carte-mystere p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.symbole-mystere {
    font-size: 3rem;
    display: block;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

/* Section Sacrifices */
.section-sacrifices {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.1) 0%, transparent 100%);
}

.calendrier-rituel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto;
}

.rituel-carte {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--couleur-sang);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.description-rituel {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
    font-style: italic;
    line-height: 1.4;
}

.rituel-carte.pulse {
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
        border-color: var(--couleur-sang);
    }
    50% { 
        box-shadow: 0 0 30px rgba(139, 0, 0, 0.9);
        border-color: var(--couleur-or);
    }
}

.rituel-carte h3 {
    color: var(--couleur-or);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rituel-carte p {
    color: var(--couleur-blanc);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.prix {
    display: inline-block;
    background: var(--couleur-sang);
    color: var(--couleur-blanc);
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
}

.prix::before {
    content: '💀';
    position: absolute;
    left: -20px;
    animation: bounce 1s infinite;
}

.prix::after {
    content: '💀';
    position: absolute;
    right: -20px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.warning-box {
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed var(--couleur-or);
    padding: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Section Formulaire */
.section-formulaire {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.7);
}

.formulaire-container {
    max-width: 800px;
    margin: 0 auto;
}

.formulaire-mystique {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%);
    border: 3px solid var(--couleur-or);
    padding: 3rem;
    position: relative;
}

.formulaire-mystique::before {
    content: '⛤';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    color: var(--couleur-or);
    background: var(--couleur-noir);
    padding: 0 20px;
}

.champ-groupe {
    margin-bottom: 2rem;
}

.champ-groupe label {
    display: block;
    color: var(--couleur-or);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.champ-groupe input,
.champ-groupe select,
.champ-groupe textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--couleur-or);
    color: var(--couleur-blanc);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.champ-groupe input:focus,
.champ-groupe select:focus,
.champ-groupe textarea:focus {
    outline: none;
    border-color: var(--couleur-sang);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.champ-groupe input::placeholder,
.champ-groupe textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.checkbox-groupe {
    display: flex;
    align-items: flex-start;
}

.checkbox-groupe input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-groupe label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.checkbox-groupe span {
    flex: 1;
    color: var(--couleur-blanc);
    font-size: 1rem;
    text-transform: none;
}

.bouton-invocation {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--couleur-sang) 0%, var(--couleur-violet) 100%);
    color: var(--couleur-blanc);
    border: 3px solid var(--couleur-or);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bouton-invocation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.bouton-invocation:hover::before {
    width: 100%;
    height: 100%;
}

.bouton-invocation:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    text-shadow: 0 0 10px currentColor;
}

.bouton-invocation:active {
    transform: scale(0.98);
}

/* Message de confirmation */
.message-confirmation {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 255, 0, 0.2) 100%);
    border: 3px solid var(--couleur-or);
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
    animation: appearMagic 0.5s ease;
}

@keyframes appearMagic {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.message-confirmation.hidden {
    display: none;
}

.message-confirmation h3 {
    color: var(--couleur-or);
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    50% { text-shadow: 0 0 40px rgba(255, 215, 0, 1); }
}

.message-confirmation p {
    color: var(--couleur-blanc);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.petit-texte {
    font-size: 0.9rem !important;
    font-style: italic;
    margin-top: 1rem !important;
    opacity: 0.8;
}

/* Section Témoignages */
.section-temoignages {
    padding: 5rem 2rem;
    background: rgba(75, 0, 130, 0.1);
}

.grille-temoignages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.temoignage {
    background: rgba(0, 0, 0, 0.8);
    border-left: 5px solid var(--couleur-or);
    padding: 2rem;
    position: relative;
    font-style: italic;
}

.temoignage::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--couleur-or);
    opacity: 0.3;
}

.temoignage p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.auteur {
    display: block;
    text-align: right;
    color: var(--couleur-or);
    font-style: normal;
    font-size: 0.95rem;
}

.etoiles {
    text-align: center;
    font-size: 1.5rem;
    color: var(--couleur-or);
    margin-top: 1rem;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Footer mystique */
.footer-mystique {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 3px solid var(--couleur-or);
    margin-top: 5rem;
}

.symboles-footer {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--couleur-or);
}

.symboles-footer span {
    margin: 0 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.symboles-footer span:nth-child(1) { --i: 0; }
.symboles-footer span:nth-child(2) { --i: 1; }
.symboles-footer span:nth-child(3) { --i: 2; }
.symboles-footer span:nth-child(4) { --i: 3; }
.symboles-footer span:nth-child(5) { --i: 4; }
.symboles-footer span:nth-child(6) { --i: 5; }
.symboles-footer span:nth-child(7) { --i: 6; }

.copyright {
    color: var(--couleur-blanc);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.copyright small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

.liens-footer {
    margin-top: 2rem;
}

.liens-footer a {
    color: var(--couleur-or);
    text-decoration: none;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.liens-footer a:hover {
    color: var(--couleur-sang);
    text-shadow: 0 0 10px currentColor;
}

/* Bouton flottant */
.bouton-flottant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: radial-gradient(circle, var(--couleur-sang) 0%, var(--couleur-violet) 100%);
    border: 3px solid var(--couleur-or);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    animation: floatButton 3s ease-in-out infinite;
}

@keyframes floatButton {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.bouton-flottant:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.oeil-flottant {
    font-size: 2rem;
}

.texte-flottant {
    font-size: 0.7rem;
    color: var(--couleur-or);
    margin-top: 0.2rem;
    text-align: center;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    h1.glitch {
        font-size: 2rem;
    }
    
    .titre-apocalyptique {
        font-size: 1.8rem;
    }
    
    .gourou-container {
        flex-direction: column;
        align-items: center;
    }
    
    .formulaire-mystique {
        padding: 2rem 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .bouton-flottant {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .oeil-flottant {
        font-size: 1.5rem;
    }
    
    .texte-flottant {
        font-size: 0.6rem;
    }
    
    /* Section Bras Droit Mobile */
    .bras-droit-presentation {
        flex-direction: column;
        align-items: center;
    }
    
    .portrait-principal {
        max-width: 100%;
    }
    
    .nom-bras-droit {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .citation-epique {
        font-size: 1.2rem;
    }
    
    .citation-epique::before,
    .citation-epique::after {
        display: none;
    }
    
    .grille-pouvoirs {
        grid-template-columns: 1fr;
    }
    
    .photos-bras-droit {
        grid-template-columns: 1fr;
    }
    
    .serment-texte {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Animations supplémentaires pour plus de folie */
@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.rainbow-text {
    animation: rainbow 5s linear infinite;
}

/* Curseur personnalisé */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text x="0" y="28" style="font-size:28px">🔺</text></svg>'), auto;
}

a, button, input, select, textarea {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text x="0" y="28" style="font-size:28px">👁️</text></svg>'), pointer;
}
