/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at 20% 20%, #0d0d0d, #0f0f0f 80%);
    color: #f5f5f5;
    padding: 3rem;
    min-height: 100vh;
    overflow-x: hidden;
    background-attachment: fixed;
    animation: pulseBg 15s ease infinite;
}

/* Heading with animated gradient */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(270deg, #ff4c60, #ff6ec7, #3a86ff, #ff4c60);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animateGradient 10s ease infinite;
    letter-spacing: 2px;
}

/* Paragraph with soft glow */
p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1s ease;
}

/* Neon Link Effects */
a {
    color: #ff6ec7;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: 0.3s ease;
    text-shadow: 0 0 5px #ff6ec7, 0 0 10px #ff6ec7;
}

a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6ec7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #fff, 0 0 15px #ff6ec7;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Futuristic Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #ccc;
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.05);
    animation: fadeIn 2s ease;
}

/* Optional: content glass card */
.glass-card {
    max-width: 800px;
    margin: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeInUp 1s ease-out;
}

/* Animations */
@keyframes animateGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseBg {
    0%, 100% { background-position: 20% 20%; }
    50% { background-position: 80% 80%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo-fixed {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    width: 100px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Applique un dégradé animé comme pour h1 */
.logo-fixed img {
    width: 100%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(1); /* rend le logo noir "transparent" pour le bg clip */
    background: linear-gradient(270deg, #ff4c60, #ff6ec7, #3a86ff, #ff4c60);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientLogo 10s ease infinite;
}
@media (max-width: 768px) {
    .logo-fixed {
        right: 10px;
        width: 80px;
    }
}
