/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a0033, #001a33);
    background-size: cover;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    padding-top: 90px; /* espace pour la navbar */
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li a {
    text-decoration: none;
    color: #e0e0ff;
    font-size: 1.2em;
    transition: 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #a855f7;
    border-bottom: 2px solid #a855f7;
}

/* CONTAINER */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* GLASS BOX */
.glass-box {
    width: 90%;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 25px rgba(120, 0, 255, 0.5);
    animation: fadeIn 1.5s ease forwards;
}

/* TITLE */
.title {
    font-size: 2.4em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(120, 0, 255, 0.6);
}

/* SLIDER */
.slider {
    height: 40px;
    overflow: hidden;
    position: relative;
    margin: 25px 0;
}

.slider p {
    font-size: 1.3em;
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: slide 12s infinite;
    color: #e0e0ff;
}

/* Animation des phrases */
.slider p:nth-child(1) { animation-delay: 0s; }
.slider p:nth-child(2) { animation-delay: 3s; }
.slider p:nth-child(3) { animation-delay: 6s; }
.slider p:nth-child(4) { animation-delay: 9s; }

@keyframes slide {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    25% { opacity: 1; }
    35% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; }
}

/* FOOTER */
.footer {
    margin-top: 25px;
    font-size: 1.1em;
    opacity: 0.9;
    color: #c7c7ff;
}

/* Fade-in global */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
