@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
}

body {
    background: #0a0a1a;
}

.bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Léger overlay pour lisibilité du texte en bas */
.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 55%,
        rgba(5, 5, 20, 0.4) 75%,
        rgba(5, 5, 20, 0.85) 100%
    );
    pointer-events: none;
}

/* Logo */
.logo-container {
/*     animation: logoEnter 1s ease-out forwards; */
/*     opacity: 0; */
}


/* ---- Floating sports items ---- */
.sports-layer {
    position: fixed;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.sport-item {
    position: absolute;
    will-change: transform;
}

.sport-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.6));
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(4px, -8px) rotate(1deg); }
    50% { transform: translate(-3px, -14px) rotate(-1deg); }
    75% { transform: translate(6px, -6px) rotate(0.5deg); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-6px, -10px) rotate(-1.5deg); }
    50% { transform: translate(4px, -16px) rotate(1deg); }
    75% { transform: translate(-3px, -5px) rotate(-0.5deg); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5px, -12px) rotate(1.2deg); }
    66% { transform: translate(-4px, -7px) rotate(-0.8deg); }
}
@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(-5px, -9px) rotate(-1deg); }
    60% { transform: translate(7px, -15px) rotate(1.5deg); }
}
@keyframes float5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    40% { transform: translate(3px, -11px) rotate(0.8deg); }
    70% { transform: translate(-6px, -6px) rotate(-1.2deg); }
}

/* Positionnement — de gauche à droite comme la maquette */
.item-flechettes {
    left: 3%; bottom: 30%;
    width: 13vw; max-width: 180px;
    animation: float1 6s ease-in-out infinite;
}
.item-basket {
    left: 15%; bottom: 24%;
    width: 7vw; max-width: 95px;
    animation: float2 7s ease-in-out infinite;
    animation-delay: -1s;
}
.item-teqball {
    left: 23%; bottom: 18%;
    width: 7vw; max-width: 85px;
    animation: float3 5.5s ease-in-out infinite;
    animation-delay: -2s;
}
.item-badminton {
    left: 30%; bottom: 24%;
    width: 13vw; max-width: 165px;
    animation: float4 6.5s ease-in-out infinite;
    animation-delay: -0.5s;
}
.item-padel {
    left: 42%; bottom: 20%;
    width: 13vw; max-width: 175px;
    animation: float2 7.5s ease-in-out infinite;
    animation-delay: -1.5s;
}
.item-golf {
    left: 54%; bottom: 18%;
    width: 13vw; max-width: 165px;
    animation: float3 6s ease-in-out infinite;
    animation-delay: -1s;
}
.item-pickleball {
    right: 27%; bottom: 26%;
    width: 11vw; max-width: 145px;
    animation: float5 6.8s ease-in-out infinite;
    animation-delay: -0.8s;
}
.item-squash {
    right: 13%; bottom: 22%;
    width: 12vw; max-width: 155px;
    animation: float2 6.2s ease-in-out infinite;
    animation-delay: -1.2s;
}
.item-pingpong {
    right: 1%; bottom: 24%;
    width: 10vw; max-width: 125px;
    animation: float4 7s ease-in-out infinite;
    animation-delay: -2s;
}


/* Desktop */
.item-badminton-volant {
    left: 37%; bottom: 42%;
    width: 3.5vw; max-width: 45px;
    animation: float5 5s ease-in-out infinite;
    animation-delay: -3s;
}
.item-padel-balle {
    left: 48%; bottom: 36%;
    width: 2.5vw; max-width: 32px;
    animation: float1 4.5s ease-in-out infinite;
    animation-delay: -2.5s;
}
.item-golf-balle {
    left: 59%; bottom: 30%;
    width: 2.5vw; max-width: 28px;
    animation: float4 5s ease-in-out infinite;
    animation-delay: -3.5s;
}
.item-pickleball-balle {
    right: 25%; bottom: 36%;
    width: 2.5vw; max-width: 32px;
    animation: float1 5.2s ease-in-out infinite;
    animation-delay: -2s;
}
.item-squash-balle {
    right: 14%; bottom: 36%;
    width: 2vw; max-width: 25px;
    animation: float3 4.8s ease-in-out infinite;
    animation-delay: -3s;
}
.item-pingpong-balle {
    right: 4%; bottom: 36%;
    width: 2vw; max-width: 25px;
    animation: float5 4.5s ease-in-out infinite;
    animation-delay: -1s;
}

/* Mobile : masquer pour garder la lisibilité */
@media (max-width: 640px) {
    /* Masquer tout sauf quelques items */
    .sport-item { display: none; }

    /* Afficher uniquement badminton, padel, golf — en bords d'écran, partiellement visibles */
    .item-badminton,
    .item-badminton-volant,
    .item-padel,
    .item-golf {
        display: block;
    }

    .item-badminton {
        left: -8%; bottom: 18%;
        width: 35vw; max-width: 180px;
    }
    .item-badminton-volant {
        left: 8%; bottom: 42%;
        width: 10vw; max-width: 50px;
    }
    .item-padel {
        left: 50%; bottom: 15%;
        transform: translateX(-50%);
        width: 35vw; max-width: 180px;
    }
    .item-golf {
        right: -8%; bottom: 18%;
        left: auto;
        width: 30vw; max-width: 160px;
    }
}

@keyframes logoEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Texte */
.text-appear {
    animation: textEnter 1s ease-out forwards;
    opacity: 0;
}

.text-appear-d1 { animation-delay: 0.3s; }
.text-appear-d2 { animation-delay: 0.5s; }
.text-appear-d3 { animation-delay: 0.7s; }

@keyframes textEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots pulsants */
.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Slogan styling */
.slogan {
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
}

.slogan .sep {
    display: inline-block;
    margin: 0 0.3em;
}

/* Responsive ajustements */
@media (max-width: 768px) {
    .bg-wrapper img {
        object-position: center 30%;
    }
}

@media (max-height: 500px) {
    .bg-wrapper img {
        object-position: center 20%;
    }
}

/* Lignes de vitesse */
.speed-lines {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.55;
    z-index: 2;
    pointer-events: none;
}

.line {
    opacity: 1;
    position: absolute;
    height: 4px;
    border-radius: 3px;
    animation: speedLine 3s ease-in-out infinite;
    animation-fill-mode: backwards;
}

@keyframes speedLine {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 1; }
            80% { opacity: 1; }
            100% { transform: translateX(100vw); opacity: 0; }
        }

        /* Très grands écrans : on garde le ratio propre */
        @media (min-width: 2000px) {
            .bg-wrapper img {
                object-fit: cover;
                object-position: center center;
            }
        }
        
        @keyframes sparkle {
            0%,100% { opacity:0; transform:scale(0.5); }
            50% { opacity:1; transform:scale(1.2); }
        }
        
        .sparks{
            position:absolute;top:9%;left:50%;transform:translateX(-50%);width:25%;height:25%;pointer-events:none;z-index:3;
        }