@font-face {
    font-family: 'Minecraftia';
    src: url('https://fonts.cdnfonts.com/s/15033/Minecraft.woff') format('woff');
}

:root {
    --pink: #ff007f;
    --pink-glow: rgba(255, 0, 127, 0.4);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0; padding: 0;
    font-family: 'Minecraftia', sans-serif;
    color: white;
    background: #050505 url('fond.gif') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
}

/* --- NAVIGATION FLUIDE --- */
.nav {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: center;
    gap: 20px; border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

/* --- LOGO RECTEUR NÉON --- */
.logo-container { text-align: center; margin-top: 120px; padding: 20px; }
.logo { 
    width: 150px; height: 150px; border-radius: 50%; 
    border: 2px solid var(--pink);
    box-shadow: 0 0 30px var(--pink-glow);
    animation: spin 20s linear infinite;
    object-fit: cover;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo:hover { transform: scale(1.1); box-shadow: 0 0 50px var(--pink); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- BANNIÈRE STYLE PREMIUM --- */
.banniere-pro {
    background: linear-gradient(135deg, rgba(240, 208, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 20px;
    padding: 40px; margin: 40px auto; max-width: 900px;
    text-align: center; color: #1a1a1a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
}
.banniere-pro::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: pulse 6s infinite;
}
.quote { font-size: 1.4rem; position: relative; z-index: 1; font-weight: bold; }
.author { display: block; margin-top: 15px; color: var(--pink); font-size: 0.9rem; }

/* --- GRID ET CARTES GLASS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card { 
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 30px;
    aspect-ratio: 1/1; display: flex; flex-direction: column; justify-content: space-between;
    transition: 0.3s ease;
}
.card:hover { 
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2);
}

/* --- FORMULAIRES ET BOUTONS --- */
input { 
    width: 100%; padding: 15px; margin: 10px 0; background: rgba(0,0,0,0.5); 
    border: 1px solid var(--glass-border); border-radius: 12px;
    color: white; font-family: 'Minecraftia'; transition: 0.3s;
}
input:focus { border-color: var(--pink); box-shadow: 0 0 15px var(--pink-glow); }

.btn-ui {
    background: var(--pink); color: white; border: none;
    padding: 14px 28px; border-radius: 12px; cursor: pointer;
    font-family: 'Minecraftia'; font-size: 0.8rem;
    transition: 0.3s; text-decoration: none; display: inline-block;
    box-shadow: 0 4px 15px var(--pink-glow);
}
.btn-ui:hover { transform: scale(1.05); filter: brightness(1.2); box-shadow: 0 6px 20px var(--pink); }

/* --- LOADER PRO --- */
#loader-container { position: fixed; inset: 0; background: #050505; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loading-bar { width: 300px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
#fill { height: 100%; background: var(--pink); width: 0%; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes pulse { 0% { opacity: 0.3; } 50% { opacity: 0.6; } 100% { opacity: 0.3; } }
