body{
margin:0;
font-family:'Exo 2', sans-serif;

background-image:
linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
url("/images/background.png");

background-size:cover;
background-position:center;
background-attachment:fixed;

color:white;
}

header, section{
position:relative;
z-index:1;
}


/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;

background:rgba(5,7,13,0.65);
backdrop-filter:blur(6px);

position:fixed;
width:100%;
box-sizing:border-box;
top:0;
z-index:1000;
}

.logo{
display:flex;
align-items:center;
gap:15px;
}

.logo-company{
height:45px;
}

.logo-game{
height:45px;
}


/* MENU */

.menu{
display:flex;
align-items:center;
}

.menu a{
margin:0 18px;
text-decoration:none;
color:white;
font-weight:600;
font-size:18px;
letter-spacing:1px;
}

.menu a:hover{
color:#161b1e;
}


/* SOCIAL */

.social a{
margin-left:10px;
color:white;
text-decoration:none;
}

.social img {
width: 28px;
height: 28px;
margin-left: 10px;
transition: transform 0.2s ease;
}

.social img:hover {
transform: scale(1.2);
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;

padding-top:120px;
padding-bottom:40px;
padding-left:60px;
padding-right:60px;

width:100%;
box-sizing:border-box;
}


/* HERO GRID */

.hero-grid{
display:grid;
grid-template-columns:1.1fr 0.9fr;
gap:80px;
align-items:center;
width:100%;
}

.hero-left{
text-align:center;
}

.hero-right{
background:rgba(5,7,13,0.65);
padding:40px;
border-radius:10px;
backdrop-filter:blur(6px);
}

.hero-right h2{
font-size:32px;
margin-bottom:20px;
}

.hero-right p{
font-size:18px;
line-height:1.6;
margin-bottom:25px;
}

.title-image{
max-width:520px;
}


/* HERO BUTTONS */

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.cta-button{
display:inline-block;
padding:14px 28px;
background:#00ffaa;
color:black;
font-weight:700;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}

.cta-button:hover{
transform:scale(1.05);
}

.secondary-button{
display:inline-block;
padding:14px 28px;
background:rgba(255,255,255,0.1);
border:1px solid rgba(255,255,255,0.3);
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}

.secondary-button:hover{
background:rgba(255,255,255,0.2);
}


/* DIORAMA */

.diorama{
display:flex;
align-items:center;
justify-content:center;
margin-top:80px;
gap:20px;
}

.diorama-images{
display:flex;
gap:20px;
overflow-x:hidden;
scroll-behavior:smooth;
}

.diorama-images img{
height:200px;
border-radius:8px;
transition:0.3s;
}
/* cacher la scrollbar du carrousel */

.diorama-images::-webkit-scrollbar {
display:none;
}

.diorama-images {
-ms-overflow-style: none;
scrollbar-width: none;
}

.diorama-images img:hover{
transform:scale(1.05);
}

.nav-arrow{
background:rgba(5,7,13,0.7);
border:none;
color:white;
font-size:30px;
padding:10px 15px;
cursor:pointer;
border-radius:5px;
}


/* PARTICLES */

#particles{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
pointer-events:none;
}

#imageModal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:2000;
cursor:pointer;
}

#modalImage{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.game-features{
font-size:20px;
margin-top:20px;
}

/* SECTION EQUIPAGE */

.crew-section{

background:rgba(5,7,13,0.65);
backdrop-filter:blur(6px);

margin-top:140px;
padding:80px 60px;

border-radius:12px;

max-width:1400px;
margin-left:auto;
margin-right:auto;
}

.crew-section h1{
text-align:center;
font-size:40px;
margin-bottom:60px;
}

.crew-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;

}

.crew-card{
text-align:center;
}

.crew-image{
overflow:hidden;
border-radius:10px;
}

.crew-image img{

width:100%;
filter:grayscale(100%);
transition:0.4s;

}

.crew-card:hover img{

filter:grayscale(0%);
transform:scale(1.1);

}

.crew-card h3{
margin-top:20px;
font-size:22px;
}

.crew-card p{
font-size:16px;
opacity:0.85;
}

/* CONTAINER IMAGE INFESTEE */

.infested-container{
position:relative;
display:inline-block;
}

/* IMAGE INFESTEE */

#roomInfested{
filter: grayscale(100%) brightness(45%) contrast(120%);
transition:0.3s;
}

/* IMAGE NORMALE */

#roomNormal{
transition:0.3s;
}

/* BIOHAZARD */

.biohazard{

position:absolute;
top:50%;
left:50%;

transform:translate(-50%,-50%);

width:160px;
opacity:0.85;
pointer-events:none;

transition:0.3s;

}

/* HOVER */

.infested-container:hover #roomInfested{

filter:grayscale(0%);

}

.infested-container:hover .biohazard{

opacity:0;

}

/* ============================= */
/* PAGE VAISSEAU */
/* ============================= */

.vaisseau-section{

margin-top:140px;
padding:60px;

max-width:1200px;
margin-left:auto;
margin-right:auto;

background:rgba(5,7,13,0.65);
backdrop-filter:blur(6px);
border-radius:12px;

text-align:center;

}

/* navigation titre */

.room-nav{

display:flex;
justify-content:center;
align-items:center;
gap:30px;
margin-bottom:40px;

}

/* titre */

.room-title{

font-size:34px;
font-weight:600;

}

/* images */

.room-images{

display:flex;
justify-content:center;
align-items:center;
gap:40px;

margin-bottom:40px;

flex-wrap:wrap;

}

/* description */

.room-description{

font-size:18px;
max-width:800px;
margin:auto;
line-height:1.6;

}

/* ===== PAGE VAISSEAU LAYOUT FIX ===== */

.vaisseau-section{
display:block;
text-align:center;
}

.room-nav{
display:flex;
justify-content:center;
align-items:center;
gap:30px;
margin-bottom:40px;
}

.room-images{
display:flex;
justify-content:center;
gap:40px;
margin-bottom:40px;
}

.room-description{
max-width:800px;
margin:0 auto;
line-height:1.6;
}



.jrr-description h2{

margin-top:40px;
margin-bottom:10px;

font-size:26px;
font-weight:600;

color:#00ffaa;

}

.jrr-description p{

margin-bottom:16px;

}

.jrr-description ul{

margin:10px 0 20px 25px;

}

.jrr-description li{

margin-bottom:6px;

}

/* ============================= */
/* PAGE SCENARIOS */
/* ============================= */

.mission-terminal{
text-align:center;
padding:140px 20px 80px 20px;
}

.terminal-subtitle{
opacity:0.7;
margin-bottom:50px;
}

.folder-grid{

display:grid;
grid-template-columns:repeat(auto-fit,200px);
gap:40px;
justify-content:center;

}

.folder{

background:rgba(0,0,0,0.7);
border:1px solid #00ffaa;
padding:25px;
cursor:pointer;
font-weight:600;
transition:0.3s;

}

.folder:hover{

background:#00ffaa;
color:black;

}

.mission-modal{

display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.92);

align-items:center;
justify-content:center;

z-index:5000;

}

.mission-content{

background:#000;
border:1px solid #00ffaa;

padding:40px;

max-width:700px;
width:90%;

text-align:center;

position:relative;

box-shadow:0 0 40px rgba(0,255,170,0.25);

}

.mission-content img{

width:100%;
margin:20px 0;

border:1px solid #00ffaa;

}

.close{

position:absolute;
top:15px;
right:20px;

cursor:pointer;
font-size:26px;

color:#00ffaa;

}

.mission-terminal{

padding:120px 20px;
display:flex;
justify-content:center;

}

.terminal-frame{

width:900px;
background:rgba(0,0,0,0.85);
border:1px solid #00ffaa;
box-shadow:0 0 30px rgba(0,255,170,0.4);
padding:30px;

}

/* HEADER TERMINAL */

.terminal-header{

display:flex;
justify-content:space-between;
border-bottom:1px solid #00ffaa;
padding-bottom:10px;
margin-bottom:30px;
font-size:14px;
letter-spacing:2px;

}

.terminal-status{

color:#00ffaa;
font-weight:600;

animation:statusBlink 1.2s infinite;

}

.terminal-frame{

box-shadow:
0 0 40px rgba(0,255,170,0.35),
inset 0 0 25px rgba(0,255,170,0.15);

}

@keyframes statusBlink{

0% {opacity:1;}
50% {opacity:0.2;}
100% {opacity:1;}

}
/* DOSSIERS */

.folder-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.folder{

display:flex;
align-items:center;
gap:12px;
padding:18px;
border:1px solid rgba(0,255,170,0.5);
background:rgba(0,255,170,0.05);
cursor:pointer;
transition:0.25s;

}

.folder:hover{

background:rgba(0,255,170,0.2);
box-shadow:0 0 15px #00ffaa;

}

.folder-icon{

font-size:22px;

}
.terminal-frame::after{

content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;

background: repeating-linear-gradient(
0deg,
rgba(0,255,170,0.05) 0px,
rgba(0,255,170,0.05) 2px,
rgba(0,0,0,0) 4px
);

pointer-events:none;
mix-blend-mode:screen;

}

.terminal-frame{

position:relative;

width:900px;
background:rgba(0,0,0,0.9);

border:1px solid #00ffaa;

box-shadow:0 0 30px rgba(0,255,170,0.4);

padding:40px;

overflow:hidden;

}

.folder-tree{

display:flex;
flex-direction:column;
gap:12px;

font-family:monospace;

}

.folder{
padding:12px 16px;
border:1px solid rgba(0,255,170,0.3);
background:rgba(0,255,170,0.05);
transition:0.2s;
}

.folder.master{
font-weight:700;
background:rgba(0,255,170,0.15);
cursor:default;
}

.folder.child{
cursor:pointer;
margin-left:25px;
}

.folder.child:hover{
background:rgba(0,255,170,0.2);
box-shadow:0 0 10px #00ffaa;
}

.branch{
color:#00ffaa;
margin-right:10px;
}

.terminal-header span:first-child{

font-size:28px;
font-weight:700;
letter-spacing:3px;
text-shadow:0 0 8px #00ffaa;
}

.site-footer{

position:fixed;
bottom:0;
left:0;
width:100%;

text-align:center;

padding:12px 10px;

font-size:13px;

color:white;

background:rgba(0,0,0,0.6);

z-index:1000;

}

.site-footer a{
color:white;
text-decoration:none;
}

.site-footer a:hover{
text-decoration:underline;
}

.privacy-page{

background:white;
color:black;

}

.privacy-container{

max-width:900px;
margin:120px auto 80px auto;
padding:20px;

font-family:Arial, sans-serif;
line-height:1.6;

}

.privacy-container h1{

font-size:36px;
margin-bottom:20px;

}

.privacy-container h2{

margin-top:30px;

}

.privacy-container ul{

margin-left:20px;

}

.mission-content {
    height: 90vh;
    overflow: hidden; /* plus de scrollbar */
    display: flex;
    flex-direction: column;
}

.mission-content img {
    max-width: 100%;
    height: auto;
}

#missionText {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: pre-line;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}


