/*======================================================
    CITE DES SABLES - WIKI OFFICIEL
=======================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*======================================================
    VARIABLES
=======================================================*/

:root{

    --background:#0d0d0d;
    --background-light:#181818;

    --sand:#d8b26e;
    --sand-light:#f0d39b;

    --emerald:#39d353;
    --emerald-hover:#56f26f;

    --white:#ffffff;
    --text:#d7d7d7;

    --shadow:0px 20px 60px rgba(0,0,0,.45);

    --transition:.30s;

    --max-width:1400px;

}


/*======================================================
    RESET
=======================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--white);

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

}


/*======================================================
    CONTAINER
=======================================================*/

.container{

    width:90%;
    max-width:var(--max-width);

    margin:auto;

}


/*======================================================
    LINKS
=======================================================*/

a{

    color:inherit;

    text-decoration:none;

}


/*======================================================
    HEADER
=======================================================*/

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:9999;

    padding:20px 0;

    transition:all .35s ease;

}

/* Etat après le scroll */

header.scrolled{

    background:rgba(8,8,8,.72);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.06);

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

/*======================================================
    NAVBAR
=======================================================*/

.navbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*======================================================
    LOGO
=======================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:52px;

    transition:.3s;

}

.logo:hover img{

    transform:scale(1.05);

}

/*======================================================
    NAVIGATION
=======================================================*/

nav ul{

    display:flex;

    align-items:center;

    list-style:none;

    gap:45px;

}

nav a{

    position:relative;

    color:var(--white);

    font-weight:600;

    font-size:15px;

    letter-spacing:.5px;

    transition:.3s;

}

nav a:hover{

    color:var(--emerald);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--emerald);

    border-radius:10px;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

/*======================================================
    BOUTON NAVBAR
=======================================================*/

.play-button{

    padding:14px 26px;

    background:var(--emerald);

    color:#111;

    border-radius:12px;

    font-weight:700;

    transition:.3s;

    box-shadow:0 10px 30px rgba(57,211,83,.20);

}

.play-button:hover{

    background:var(--emerald-hover);

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(57,211,83,.35);

}


/*======================================================
    HERO
=======================================================*/

#hero{

    position:relative;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    background-image:

    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.80)),
    url("../assets/backgrounds/hero.png");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

}


/*======================================================
    HERO OVERLAY
=======================================================*/

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        transparent,

        rgba(13,13,13,.5),

        var(--background)

    );

}


/*======================================================
    HERO CONTENT
=======================================================*/

.hero-content{

    position:relative;

    z-index:2;

}

.hero-content h2{

    font-size:28px;

    color:var(--sand);

    font-weight:400;

}

.hero-content h1{

    margin-top:10px;

    font-size:90px;

    font-weight:900;

    letter-spacing:6px;

    text-transform:uppercase;

}

.hero-content h3{

    margin-top:10px;

    font-size:42px;

    color:var(--emerald);

    letter-spacing:8px;

}

.hero-content p{

    margin-top:30px;

    color:var(--text);

    font-size:22px;

}


/*======================================================
    BUTTONS
=======================================================*/

.hero-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    padding:18px 42px;

    background:var(--emerald);

    color:#111;

    font-weight:700;

    border-radius:10px;

    transition:.3s;

    box-shadow:var(--shadow);

}

.btn-primary:hover{

    background:var(--emerald-hover);

    transform:translateY(-5px);

}

.btn-secondary{

    padding:18px 42px;

    border:2px solid white;

    border-radius:10px;

    transition:.3s;

}

.btn-secondary:hover{

    border-color:var(--sand);

    color:var(--sand);

    transform:translateY(-5px);

}


/*======================================================
    MAIN
=======================================================*/

main{

    min-height:100vh;

}


/*======================================================
    FOOTER
=======================================================*/

footer{

    background:#080808;

    padding:60px;

    text-align:center;

    color:#888;

    border-top:1px solid #222;

}


/*======================================================
    SELECTION
=======================================================*/

::selection{

    background:var(--emerald);

    color:black;

}

body{
    font-family: "Inter", sans-serif;
}

.hero-content h1,
.hero-content h2,
.hero-content h3{
    font-family: "Cinzel", serif;
}

/*======================================================
    HERO LOGO
=======================================================*/

.hero-logo{

    margin-bottom:30px;

}

.hero-logo img{

    width:220px;

    filter:drop-shadow(0 10px 35px rgba(0,0,0,.5));

    animation:floatLogo 5s ease-in-out infinite;

}

/*======================================================
    ANIMATION LOGO
=======================================================*/

@keyframes floatLogo{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}

/*======================================================
    QUICK INFO
======================================================*/

#quick-info{

    margin-top:-80px;

    position:relative;

    z-index:20;

}

.info-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.info-card{

    background:rgba(24,24,24,.75);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.06);

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:.35s;

}

.info-card:hover{

    transform:translateY(-8px);

    border-color:rgba(57,211,83,.45);

    box-shadow:0 20px 45px rgba(57,211,83,.15);

}

.info-card span{

    font-size:42px;

    display:block;

    margin-bottom:15px;

}

.info-card h3{

    margin-bottom:12px;

    font-size:20px;

    color:var(--sand);

}

.info-card p{

    color:var(--white);

    font-weight:600;

}

/*======================================================
    HERO EVENT CARD
======================================================*/

.hero-event-card{

    width:650px;
    max-width:90%;

    margin:60px auto 0;

    padding:30px;

    border-radius:20px;

    background:rgba(15,18,20,.55);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);

    text-align:center;

    animation:fadeUp 1s ease;
}

.event-status{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(46,204,113,.15);

    color:#7dffb2;

    font-weight:700;

    letter-spacing:1px;

    font-size:.8rem;

    margin-bottom:20px;
}

.event-day{

    font-family:"Cinzel",serif;

    font-size:2rem;

    color:#e6c77d;

    margin-bottom:10px;
}

.event-title{

    font-size:1.6rem;

    color:white;

    margin-bottom:15px;
}

.event-description{

    color:#d0d0d0;

    line-height:1.6;

    margin-bottom:25px;
}

.event-unlocks{

    list-style:none;

    padding:0;

    margin:0;

    display:flex;

    flex-direction:column;

    gap:10px;
}

.event-unlocks li{

    background:rgba(255,255,255,.05);

    border-left:4px solid #2ecc71;

    padding:12px 18px;

    border-radius:10px;

    text-align:left;

    transition:.3s;
}

.event-unlocks li:hover{

    transform:translateX(8px);

    background:rgba(255,255,255,.08);
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.event-countdown{

    margin:25px 0;

    padding:18px;

    border-radius:15px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    font-size:1.1rem;

    font-weight:600;

    color:#ffe29a;

    letter-spacing:1px;

}

/*======================================================
    TIMELINE
======================================================*/

#timeline{

    padding:80px 0;

}

#timeline-wrapper{

    position:relative;
    margin:40px 0 60px;

}

#timeline-road{

    position:absolute;

    left:45px;
    right:45px;

    top:36px;

    height:16px;

    border-radius:999px;

    background:linear-gradient(
        to bottom,
        #d4b06d,
        #b98c49,
        #8f6835
    );

    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.25),
        inset 0 -2px 3px rgba(0,0,0,.35);

    z-index:0;

}

#timeline-bar{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    z-index:1;

}

.timeline-step{

    width:90px;

    display:flex;

    flex-direction:column;

    align-items:center;

    cursor:pointer;

    transition:.3s;

    z-index:2;

}

.timeline-circle{

    width:90px;

    height:90px;

    border-radius:50%;

    background:#24292d;

    border:4px solid #c89d57;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    transition:.3s;

}

.timeline-label{

    margin-top:15px;

    color:#ddd;

    font-weight:600;

    text-align:center;

}

.timeline-step:hover{

    transform:translateY(-8px);

}

.timeline-step:hover .timeline-circle{

    box-shadow:0 0 25px rgba(255,220,120,.45);

}

.timeline-step.selected{

    transform:translateY(-10px);

}

.timeline-step.current .timeline-circle{

    background:#2ecc71;

    border-color:#2ecc71;

    animation:pulse 2s infinite;

}

.timeline-step.past .timeline-circle{

    background:#c89d57;

    border-color:#c89d57;

}

.timeline-step.future{

    opacity:.45;

}

.timeline-panel{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:40px;

    background:#181b1f;

    border:1px solid rgba(255,255,255,.05);

    border-radius:22px;

    overflow:hidden;

    animation:fadeUp .35s;

}

.timeline-step.selected{

    transform:translateY(-10px);

}

.timeline-step:nth-child(odd),
.timeline-step:nth-child(even){
    margin-top:0;
}

#timeline-progress{

    position:absolute;

    left:45px;
    top:36px;

    height:16px;

    width:0;

    border-radius:999px;

    background:linear-gradient(
        to right,
        #2ecc71,
        #69f0ae
    );

    z-index:1;

    transition:.5s;

}

.timeline-image{

    height:100%;

}

.timeline-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.timeline-content{

    padding:40px;

}

.timeline-content h3{

    font-size:36px;

    margin:15px 0;

}

.timeline-content p{

    color:#d5d5d5;

    line-height:1.8;

}

.timeline-grid{

    display:grid;

    grid-template-columns:1fr 250px;

    gap:40px;

    margin:35px 0;

}

.timeline-grid h4{

    color:#d9b66d;

    margin-bottom:15px;

}

.timeline-grid ul{

    list-style:none;

    padding:0;

}

.timeline-grid li{

    margin:8px 0;

}

.timeline-content .btn{

    margin-top:20px;

}

.timeline-circle img{

    width:60px;
    height:60px;

    object-fit:contain;

    display:block;

}

.timeline-circle .lock{

    font-size:30px;

}

.timeline-step.locked{
    cursor: not-allowed;
    opacity: .55;
}

.timeline-step.locked:hover{
    transform: none;
}

@keyframes pulse{

    0%{

        box-shadow:0 0 0 0 rgba(46,204,113,.8);

    }

    70%{

        box-shadow:0 0 0 18px rgba(46,204,113,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(46,204,113,0);

    }

}

/*======================================================
    MENU MOBILE
======================================================*/

#menu-toggle{
    display:none;
}