:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --nk-yellow: #FBD341;
    --nk-yellow-hover: #e0bc39;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Oxanium', sans-serif;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; position: fixed; width: 100%; top: 0;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 200;
}
.nav-logo { height: 35px; width: auto; }

.nav-controls { display: flex; align-items: center; gap: 15px; }

.nav-action-button {
    background-color: transparent; color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px; border-radius: 2px; font-family: inherit;
    cursor: pointer; font-size: 0.8rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
}
.nav-action-button:hover {
    border-color: var(--nk-yellow);
    background-color: rgba(251, 211, 65, 0.1);
}

#language-selector {
    background: transparent; color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px; border-radius: 2px; font-family: inherit; cursor: pointer;
    font-size: 0.8rem; transition: border-color 0.3s ease;
}
#language-selector:hover { border-color: var(--nk-yellow); }
#language-selector option { background: #111; color: var(--text-main); }

/* --- Section Hero --- */
.hero {
    height: 100vh; display: flex; justify-content: center; align-items: center;
    text-align: center; position: relative; overflow: hidden;
}

.hero-bg-logo {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px;
    margin-top: 30vh;
}

.subtitle { font-size: 1.2rem; color: var(--text-main); font-weight: 500; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.scroll-wrapper {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-term { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.scroll-visual { display: flex; gap: 8px; }
.pulse-icon {
    width: 6px; height: 6px; background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%; display: inline-block; animation: pulse 1.5s infinite;
}
.pulse-icon:nth-child(2) { animation-delay: 0.2s; }
.pulse-icon:nth-child(3) { animation-delay: 0.4s; }

/* --- Section Écran Divisé (Fixe) --- */
.projects-split {
    display: flex; height: 100vh; width: 100%; z-index: 10;
}
.project-half {
    flex: 1; display: flex; justify-content: center; align-items: center; text-align: center;
    position: relative; overflow: hidden;
}

.cubot-side { background-color: #000; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.other-side { background-color: #060606; }

/* --- GRILLE DE FOND CUBOT (Optimisée sans espaces vides) --- */
.cubot-bg-grid {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: center; /* Garde l'ensemble bien centré */
    gap: 8px; /* Écart réduit entre les images */
    padding: 10px; /* Marge extérieure réduite pour prendre plus de place */
    
    z-index: 1; 
    pointer-events: none;
}

.grid-image {
    width: 100%; 
    height: 100%; 
    aspect-ratio: 16/9; /* Force le format standard du jeu vidéo */
    object-fit: cover; /* Remplit parfaitement la case sans bandes vides */
    border-radius: 6px; 
    
    opacity: 1; /* Rendu légèrement plus lumineux */
    filter: grayscale(10%); 
}

/* --- CARTE ET LOGO (Format compact) --- */
.content-card {
    z-index: 12; 
    position: relative;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; /* L'espacement entre les textes est réduit */
    
    background: rgba(15, 15, 15, 0.65); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    
    /* C'est ici que la carte devient moins longue */
    padding: 30px 25px; /* Moins d'espace vide en haut et en bas */
    
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    
    width: 85%; 
    max-width: 380px; /* Légèrement moins large aussi pour l'élégance */
}

.cubot-main-logo { 
    width: 100%; 
    max-width: 300px; /* <--- Le logo est maintenant plus grand */
    height: auto; 
    margin-bottom: 5px; 
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); 
}

/* Les autres éléments de la carte (textes, boutons) restent inchangés */
.placeholder-icon {
    width: 60px; height: 60px; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%; 
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; color: var(--text-main); margin-bottom: 5px;
}

.project-title { 
    font-size: 2.2rem; font-weight: 700; letter-spacing: 5px; 
    color: var(--text-main); margin-bottom: 0px; 
}

.project-desc { 
    font-size: 0.95rem; 
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300; 
    line-height: 1.5;
    text-align: center;
}

.release-badge {
    padding: 6px 16px; 
    border: 1px solid rgba(251, 211, 65, 0.4); 
    background: rgba(251, 211, 65, 0.05); 
    color: var(--nk-yellow);
    border-radius: 30px; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 500;
}

.cta-button {
    padding: 12px 36px; /* Bouton très légèrement plus fin */
    background-color: var(--nk-yellow); 
    color: #000;
    border: none; 
    border-radius: 4px; 
    font-size: 0.9rem; 
    font-weight: 700;
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(251, 211, 65, 0.2);
}

.cta-button:hover { 
    background-color: var(--nk-yellow-hover); 
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 211, 65, 0.4);
}


/* --- SECTION LE STUDIO & CONTACT --- */
.about-studio {
    background-color: #040404; /* Un noir extrêmement profond, à peine différent du fond principal */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.about-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-main);
}

.about-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
    max-width: 650px;
}

.about-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap; /* Permet aux boutons de passer l'un sous l'autre sur petit écran mobile */
    justify-content: center;
}

/* Variante du bouton (Fond transparent, contour jaune) */
.outline-button {
    background-color: transparent;
    border: 2px solid var(--nk-yellow);
    color: var(--nk-yellow);
    box-shadow: none;
}

.outline-button:hover {
    background-color: rgba(251, 211, 65, 0.1);
    color: var(--nk-yellow-hover);
    border-color: var(--nk-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 211, 65, 0.15);
}

/* --- FOOTER --- */
.site-footer {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 20px 30px;
    text-align: center;
    position: relative;
    z-index: 100;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-icon {
    width: 45px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-icon:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-link {
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.social-link:hover {
    color: var(--nk-yellow); /* S'allume en jaune au survol */
    transform: translateY(-4px); /* Petit bond vers le haut */
}

.footer-legal {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 10px;
}