@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root { 
    --bg-dark: #050505; 
    --text-light: #e0e0e0; 
    --text-dim: #888; 
    --border-dark: #333; 
    --card-bg-dark: #121212; 
    --card-bg-light: #f4f4f4; 
    --neon-color: rgba(255, 255, 255, 0.7);
}

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

html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body { 
    background-color: var(--bg-dark); 
    color: var(--text-light); 
    font-family: 'Share Tech Mono', monospace; 
    position: relative; 
    min-height: 100vh;
}



/* --- ANIMATIONS SMOOTH --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- STRUCTURE PRINCIPALE CORRIGÉE --- */
.container {
    width: min(1300px, calc(100vw - 60px));
    height: 100vh; /* Force la hauteur exacte de l'écran */
    margin: 0 auto;
    padding: 15px 0 10px; /* Marges réduites pour tout compacter proprement */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribue l'espace équitablement du haut en bas */
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.2s ease-out;
}

/* --- BACKGROUND HERO GLITCH --- */
.bg-hero {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.85;
}

.bg-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    filter: grayscale(100%) contrast(1.3);
}

.fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45% !important;
    background: linear-gradient(to top, #050505 0%, rgba(5,5,5,0.75) 30%, transparent 100%) !important;
}

/* --- HEADER & PROFILE (AGRANDIS) --- */
header { text-align: center; margin: 0 0 12px; }

.profile-container { margin-bottom: 12px; }

.profile-pic { 
    width: 120px;  /* Photo plus imposante */
    height: 120px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neon-color);
}

.glow-text { 
    font-family: 'Cinzel', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem); /* Titre SNYZZ plus massif */
    letter-spacing: 4px; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3); 
    margin-bottom: 8px; 
}

.subtitle { 
    font-size: 1.1rem; /* Plus grand */
    color: var(--text-dim); 
    letter-spacing: 4px; 
}

/* BOUTON NÉON "QUI EST SNYZZ" (AGRANDI) */
.neon-button {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 12px 32px; /* Plus gros */
    margin-top: 20px;
    font-family: inherit;
    font-size: 1.1rem; /* Texte plus grand */
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.neon-button:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-color), 0 0 40px var(--neon-color);
    transform: translateY(-2px);
}

/* --- MAIN & GRILLE (AGRANDIE) --- */
main { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }


.section-title { 
    font-size: 1.3rem; /* Titre de section plus grand */
    letter-spacing: 3px; 
    margin-bottom: 15px; 
    color: var(--text-light); 
}

.grid-layout { 
    display: grid; 
    grid-template-columns: 1.05fr 0.95fr; 
    gap: 30px; /* Plus d'espace entre les éléments */
    min-height: 0; 
}

/* EFFETS NEON CARTES & SPOTIFY */
.neon-box {
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neon-box:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* CORRECTION DU CADRE SPOTIFY */
.main-player { 
    align-self: start; /* Empêche le cadre néon de s'étirer dans le vide */
    height: auto; 
}
.main-player iframe { 
    width: 100%;
    height: 380px !important; /* Spotify plus grand */
    display: block; 
}

/* --- CARTES EPs (AGRANDIES ET AJUSTÉES) --- */
.ep-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px; /* Espace très légèrement réduit */
}
.ep-card { 
    display: flex; 
    flex-direction: column; 
    min-height: 170px; 
}

.dark-card { 
    background: var(--card-bg-dark); 
    padding: 12px 14px; /* Rembourrage optimisé pour gagner de la place en hauteur */
}

.ep-card img { 
    width: 70px; 
    height: 70px; 
    border-radius: 6px; 
    margin-bottom: 8px; /* Marge réduite */
    object-fit: cover; 
}
.ep-card h5 { 
    font-size: 1.1rem; 
    margin-bottom: 2px; /* Marge réduite */
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.ep-card p { 
    font-size: 0.85rem; 
    color: var(--text-dim); 
    margin-bottom: 8px; /* Marge réduite */
    flex-grow: 1; 
}

.ep-links { 
    display: flex; gap: 15px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 8px; /* Espace réduit au-dessus des icônes */
}
.ep-links a { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-size: 1.3rem; 
    transition: color 0.3s, text-shadow 0.3s; 
}
.ep-links a:hover { 
    color: #fff; 
    text-shadow: 0 0 10px #fff; 
}

/* --- FOOTER (AGRANDI ET CENTRÉ) --- */
footer { 
    flex: 0 0 auto;
    margin-top: 15px; 
    padding-top: 20px; 
    border-top: 1px solid var(--border-dark); 
    display: grid; 
    grid-template-columns: 1fr auto 1fr; 
    align-items: center; 
    font-size: 0.9rem; /* Plus lisible */
    color: var(--text-dim); 
}

.contact { justify-self: start; }
.footer-logo { justify-self: center; } 
.footer-logo img { height: 40px !important; /* Logo plus gros */ transition: filter 0.3s; }
.footer-logo img:hover { filter: invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.8)); }
.socials { justify-self: end; }
.socials a { 
    color: var(--text-dim); 
    text-decoration: none; 
    margin-left: 20px; 
    font-size: 1.5rem; /* Icônes réseaux plus grosses */
    transition: all 0.3s; 
}
.socials a:hover { color: #fff; text-shadow: 0 0 10px #fff; }

/* --- MODAL "QUI EST SNYZZ" --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-dark);
    margin: 10vh auto; 
    padding: 50px;
    width: 90%; 
    max-width: 600px; 
    text-align: center;
    position: relative;
    animation: fadeInUp 0.4s ease-out;
}

.close-btn {
    position: absolute; 
    top: 15px; right: 25px; 
    color: var(--text-dim); 
    font-size: 35px; 
    font-weight: bold; 
    cursor: pointer;
    transition: color 0.3s;
}
.close-btn:hover { color: #fff; text-shadow: 0 0 10px #fff; }

.real-photo {
    width: 200px; height: 200px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin: 25px auto; 
    border: 2px solid rgba(255,255,255,0.5); 
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* --- RESPONSIVE MOBILE COMPLET ET CORRIGÉ --- */
@media (max-width: 900px) { 
    html, body { 
        height: auto !important;
        overflow-y: auto !important; 
    }

    .container { 
        width: calc(100vw - 24px); 
        height: auto !important; 
        min-height: 100vh; 
        padding: 20px 0; 
        justify-content: flex-start;
        gap: 20px;
    }

    header {
        margin-bottom: 5px;
    }

    .profile-pic { 
        width: 110px; 
        height: 110px; 
    }

    .glow-text {
        font-size: 2.4rem;
        letter-spacing: 2px;
    }

    .subtitle { 
        font-size: 0.75rem; 
        letter-spacing: 1.5px; 
        white-space: nowrap; 
    }

    .neon-button {
        padding: 8px 20px;
        font-size: 0.85rem;
        margin-top: 12px;
    }

    main { 
        flex: none; 
        margin: 10px 0;
    }

    .grid-layout { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }

    /* --- CORRECTION DU LECTEUR SPOTIFY SUR MOBILE --- */
    .main-player {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }

    .main-player iframe { 
        width: 100% !important;
        max-width: 100% !important;
        height: 352px !important; 
    }

    .ep-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 10px; 
    }

    .ep-card {
        min-height: 140px;
    }

    .ep-card img {
        width: 50px;
        height: 50px;
    }

    .ep-card h5 {
        font-size: 0.8rem;
    }

    .ep-card p {
        font-size: 0.65rem;
    }

    footer { 
        grid-template-columns: 1fr; 
        gap: 15px; 
        text-align: center; 
        padding-bottom: 20px;
        margin-top: 20px;
    }

    .contact, .footer-logo, .socials { 
        justify-self: center; 
        text-align: center; 
    }

    .socials a { 
        margin: 0 10px; 
        font-size: 1.2rem;
    }
}
