/* --- 1. BASE ET FOND D'ÉCRAN (POISSONS) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Trebuchet MS", "Lucida Grande", Tahoma, Arial, sans-serif;
    font-size: 14px; /* Police légèrement plus petite */
    
    /* Image de fond : remplace l'URL entre les guillemets par le nom de ton image uploadée sur Neocities */
    background-image: url('https://images.unsplash.com/photo-1524704654690-b56c05c78a00?q=80&w=2000&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #0b3954;
    line-height: 1.5;
}

/* --- 2. BARRE DE DÉFILEMENT CUSTOM (Détail Années 2000) --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #86c4f4, #3488c9);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* --- 3. CONTENEUR PLUS PETIT --- */
.page-container {
    max-width: 850px; /* L'interface est beaucoup plus étroite (était 1100px) */
    margin: 20px auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- 4. L'EFFET VERRE DÉTAILLÉ (AERO GLASS 3D) --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.25); /* Plus transparent pour bien voir les poissons */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* Bordures asymétriques pour imiter la lumière qui tape sur le dessus du verre */
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    
    border-radius: 18px;
    padding: 15px;
    
    /* Ombre portée douce + reflet interne blanc */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), inset 0 2px 15px rgba(255,255,255,0.6);
}
/* --- 5. L'EN-TÊTE ET LES TITRES --- */
header {
    text-align: center;
}

h1, h2, h3 {
    color: #004b7c;
    /* Ombre blanche très marquée pour que le texte reste lisible sur le fond complexe */
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 2px 3px 5px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.2em;
}

/* --- 6. BOUTONS GLOSSY PLUS FINS --- */
nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.glossy-button {
    text-decoration: none;
    color: white;
    font-size: 1em;
    padding: 6px 20px;
    border-radius: 20px;
    background: linear-gradient(to bottom, #74bcf0 0%, #4c9ee0 49%, #2786cf 50%, #3ba0e8 100%);
    border: 1px solid rgba(0, 91, 150, 0.8);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 3px 5px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
    transition: all 0.2s ease;
}

.glossy-button:hover {
    background: linear-gradient(to bottom, #93cdfc 0%, #63b0ef 49%, #3a97de 50%, #51b2f8 100%);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 2px rgba(255,255,255,1), 0 4px 8px rgba(0,0,0,0.3);
}

/* --- 7. STRUCTURE DES COLONNES --- */
main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

/* --- 8. MÉDIAS --- */
.media-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media-box {
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: inset 0 -3px 10px rgba(0,0,0,0.05);
}

.media-box img, .media-box video {
    max-width: 100%;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    margin-bottom: 8px;
}
/* --- 9. WIDGETS --- */
.widget-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-container {
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 10px;
    border-top: 1px solid white;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.4);
}

audio {
    width: 100%;
    margin-top: 5px;
    height: 35px; /* Lecteur audio plus fin */
}

.placeholder-widget {
    background: rgba(184, 230, 255, 0.4);
    border: 1px dashed rgba(255,255,255,0.8);
    color: #004b7c;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.9em;
}

footer {
    text-align: center;
    font-size: 0.85em;
    color: #004b7c;
    text-shadow: 1px 1px 0 #fff;
}