/* ================================================================== */
/* --- YOLVENZA STYLE MASTER --- */
/* --- © Yolvenza 2026. ® Tous droits réservés. --- */
/* ================================================================== */

:root {
    /* --- PALETTE UNIFIÉE --- */
    --bg-color: #000000;       /* Noir Pur */
    --text-main: #FFFFFF;      /* Blanc Pur */
    --text-sub: #777777;       /* Gris 777 */
    --brun-yolvenza: #3E2723;  /* Brun Chocolat Profond (Unique) */
    --brun-hover: #5D4037;     /* Variante légèrement plus claire pour hover */
    
    /* --- TYPOGRAPHIE --- */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ================================================================== */
/* --- RESET & BASE (CORRIGÉ POUR PLEIN ÉCRAN) --- */
/* ================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    height: 100%; /* Force la hauteur html */
}

html::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* GARANTIT 100% HAUTEUR ÉCRAN */
    width: 100%;       /* GARANTIT 100% LARGEUR */
    overflow-x: hidden; /* Évite scroll horizontal indésirable */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================== */
/* --- TYPOGRAPHIE GLOBALE --- */
/* ================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; letter-spacing: 3px; }
h2 { font-size: 2rem; letter-spacing: 2.5px; }
h3 { font-size: 1.5rem; letter-spacing: 2px; }

p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.subtitle, .text-sub, .artist-alias, .footer-text-777, .link-777, .faq-answer, .legal-text, .project-desc {
    color: var(--text-sub);
    font-weight: 300;
}

.italic-note, .status-message {
    font-style: italic;
    color: var(--text-sub);
}

/* ================================================================== */
/* --- LAYOUT & NAVIGATION --- */
/* ================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--brun-yolvenza);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-main);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    font-weight: 400;
}

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

/* Conteneurs Principaux */
.hero-section, .page-container, .content-nude {
    flex: 1; /* Pousse le footer vers le bas */
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.hero-section {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    /* Pas de max-width ici pour permettre le plein écran si besoin */
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    justify-content: flex-start;
}

.content-nude {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    padding: 0 20px;
    width: 100%;
}

/* ================================================================== */
/* --- COMPOSANTS GLOBAUX --- */
/* ================================================================== */
.separator {
    width: 60px;
    height: 3px;
    background-color: var(--brun-yolvenza);
    margin: 20px auto;
}

.btn, .social-btn, .form-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-chocolate, .social-btn, .form-submit-btn, .btn-mini-choco {
    background-color: var(--brun-yolvenza);
    color: var(--text-main);
    border-color: var(--brun-yolvenza);
}

.btn-chocolate:hover, .social-btn:hover, .form-submit-btn:hover, .btn-mini-choco:hover {
    background-color: var(--brun-hover);
    border-color: var(--brun-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 39, 35, 0.4);
}

.btn-outline, .btn-mini-outline {
    background-color: transparent;
    color: var(--text-sub);
    border-color: var(--text-sub);
}

.btn-outline:hover, .btn-mini-outline:hover {
    color: var(--text-main);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-mini {
    padding: 8px 16px;
    font-size: 0.7rem;
}

.artists-grid, .games-grid, .misc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px auto 60px auto;
    width: 100%;
}

.artist-card, .game-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 30px;
    width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.artist-card:hover, .game-card:hover {
    transform: translateY(-5px);
    border-color: var(--brun-yolvenza);
}

.artist-logo, .game-card-image, .release-cover {
    object-fit: contain;
    margin-bottom: 20px;
    background-color: #111;
}

.artist-logo { width: 150px; height: 150px; }
.game-card-image { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    border-radius: 2px 2px 0 0;
    margin-bottom: 15px;
    padding: 0;
    background: #000;
}

.artist-name, .game-card-title {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card-desc {
    color: var(--text-sub);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.games-grid {
    max-width: 1000px;
}
.game-card {
    width: 420px;
    padding: 0;
    overflow: hidden;
    text-align: left;
}
.game-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ================================================================== */
/* --- BANNIÈRE RÉUTILISABLE --- */
/* ================================================================== */
.banner-section {
    position: relative;
    width: 100%;
    height: 500px; /* Hauteur par défaut */
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--brun-yolvenza);
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.01); /* Voile léger (%) */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

/* ================================================================== */
/* --- SPÉCIFICITÉS PAR PAGE --- */
/* ================================================================== */

/* --- PAGE APPLICATION (Pulse Animation) --- */
.pulse-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-core {
    width: 20px;
    height: 20px;
    background-color: var(--text-main);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--text-main);
    animation: breathe 3s infinite ease-in-out;
    z-index: 2;
}

.pulse-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--text-sub);
    opacity: 0;
    animation: ripple 3s infinite linear;
}

@keyframes breathe {
    0%, 100% { transform: scale(0.8); opacity: 0.6; box-shadow: 0 0 10px var(--text-main); }
    50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 30px var(--text-main), 0 0 60px var(--brun-yolvenza); }
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 0; }
    20% { opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--brun-yolvenza);
    color: var(--text-main);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 20px;
}

/* --- PAGE CONTACT (Formulaire) --- */
.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    color: var(--text-sub);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.95rem;
    border-radius: 2px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brun-yolvenza);
    box-shadow: 0 0 5px rgba(62, 39, 35, 0.3);
}

.form-textarea { resize: vertical; min-height: 120px; }

.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 2px;
    text-align: center;
    font-weight: 600;
    display: none;
}
.status-success { background-color: rgba(76, 175, 80, 0.1); border: 1px solid #4CAF50; color: #81C784; display: block; }
.status-error { background-color: rgba(244, 67, 54, 0.1); border: 1px solid #F44336; color: #E57373; display: block; }

.social-alt-links {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
}

/* --- PAGES NUES (FAQ, TERMS) --- */
.back-btn {
    align-self: flex-start;
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
    text-transform: uppercase;
}
.back-btn:hover { color: var(--text-main); }

.faq-item, .legal-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px;
}

.faq-question {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-section h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-left: 2px solid var(--brun-yolvenza);
    padding-left: 15px;
    text-align: left;
}

.legal-text { text-align: justify; }

/* --- FOOTER (VERROUILLÉ LARGEUR) --- */
.footer-modular {
    width: 100%;       /* Force 100% largeur du body */
    box-sizing: border-box; /* Inclut padding/border dans la largeur */
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--brun-yolvenza);
    background-color: #050505;
    margin-top: auto; /* S'assure qu'il est tout en bas */
}

.footer-links { margin-top: 15px; }
.separator-dot { color: var(--brun-yolvenza); margin: 0 8px; }

/* --- INDEX (Background Image & Correction Hauteur) --- */
body.home-page {
    background-image: url('/images/Zuxyria-Bench-Picture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh; /* Force le body à faire au moins 1 écran */
}

body.home-page .hero-section {
    /* Voile très léger pour lisibilité texte (15%) */
    background-color: rgba(0, 0, 0, 0.01); 
    width: 100%;
    height: 100%; /* Prend toute la hauteur disponible */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* ================================================================== */
/* --- RESPONSIVE --- */
/* ================================================================== */
@media (max-width: 900px) {
    .games-grid { max-width: 450px; }
    .game-card { width: 100%; }
    .release-card { flex-direction: column; text-align: center; }
    .release-cover { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; text-align: center; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .artists-grid, .games-grid { flex-direction: column; align-items: center; }
    .artist-card, .game-card { width: 100%; max-width: 320px; }
    .cta-container { flex-direction: column; }
    .content-nude { margin-top: 20px; }
    
    .banner-section { height: 300px; }
  
  
  
  /* =========================================
   STYLES DU BOUTON D'INSTALLATION PWA
   ========================================= */

/* État initial : En attente (Sombre, Désactivé) */
.btn-install-waiting {
    background-color: #2b1d1a; /* Brun très sombre, presque noir */
    color: #5d4037; /* Texte brun terne */
    border: 1px solid #3e2723;
    cursor: not-allowed; /* Curseur interdit */
    opacity: 0.5; /* Transparent */
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.5s ease; /* Transition douce sur 0.5s */
    pointer-events: none; /* Bloque les clics */
    box-shadow: none;
}

/* État actif : Prêt (Lumineux, Fonctionnel) */
/* On utilise la classe .btn-chocolate si elle existe, sinon on force le style ici */
.btn-install-waiting.ready {
    background-color: #5D4037; /* Brun Chocolat Yolvenza */
    color: #ffffff; /* Texte Blanc */
    border: 1px solid #8D6E63;
    cursor: pointer; /* Curseur main */
    opacity: 1; /* Opaque */
    pointer-events: auto; /* Clics autorisés */
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.5); /* Lueur chaude */
    transform: translateY(-2px); /* Léger soulèvement */
}

/* Effet de survol (seulement si prêt) */
.btn-install-waiting.ready:hover {
    background-color: #6D4C41;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.7);
}

/* Si tu n'as pas de classe .btn-chocolate globale, ces styles suffisent. 
   Si tu en as une, assure-toi qu'elle n'écrase pas ces propriétés spécifiques. */
}