/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
    linear-gradient(rgba(2,8,23,.96),
    rgba(2,8,23,.98)),
    url('https://www.transparenttextures.com/patterns/cartographer.png');

    color:white;

    font-family:'Orbitron',sans-serif;

    overflow-x:hidden;

    position:relative;
}

/* =========================
   GLOW BACKGROUND
========================= */

body::before{
    content:'';

    position:fixed;

    width:500px;
    height:500px;

    background:#2563eb;

    border-radius:50%;

    filter:blur(180px);

    opacity:.12;

    top:-200px;
    right:-200px;

    z-index:-1;

    pointer-events:none;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#020817;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:999px;
}

/* =========================
   IMAGES
========================= */

img{
    width:100%;
    display:block;
}

/* =========================
   LINKS
========================= */

a{
    text-decoration:none;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:90px;

    padding:20px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:999;

    background:
    rgba(0,0,0,.4);

    backdrop-filter:blur(14px);

    border-bottom:
    1px solid rgba(255,255,255,.08);

    transition:.4s;
}

.navbar.scrolled{
    background:
    rgba(2,6,23,.95);

    box-shadow:
    0 10px 30px rgba(0,0,0,.4);
}

.logo{
    font-size:32px;

    font-weight:900;

    color:#3b82f6;
}

nav{
    display:flex;

    gap:35px;
}

nav a{
    color:white;

    font-size:14px;

    transition:.3s;
}

nav a:hover{
    color:#3b82f6;
}

/* =========================
   BUTTONS
========================= */

.btn-nav,
.btn-primary{
    position:relative;

    overflow:hidden;

    padding:16px 28px;

    border-radius:14px;

    background:
    linear-gradient(
    90deg,
    #2563eb,
    #3b82f6
    );

    color:white;

    font-weight:700;

    transition:.4s;

    box-shadow:
    0 0 25px rgba(37,99,235,.3);
}

.btn-nav:hover,
.btn-primary:hover{
    transform:
    translateY(-4px)
    scale(1.03);
}

.btn-primary::before,
.btn-nav::before{
    content:'';

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.3),
    transparent
    );

    transition:.7s;
}

.btn-primary:hover::before,
.btn-nav:hover::before{
    left:100%;
}

.btn-secondary{
    padding:16px 28px;

    border-radius:14px;

    border:
    1px solid rgba(255,255,255,.1);

    background:
    rgba(255,255,255,.04);

    color:white;

    backdrop-filter:blur(12px);

    transition:.3s;
}

.btn-secondary:hover{
    transform:translateY(-4px);

    border-color:#3b82f6;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    margin-bottom:60px;
}

.section-title span{
    color:#3b82f6;

    letter-spacing:3px;

    font-size:14px;
}

.section-title h2{
    font-size:58px;

    margin-top:15px;

    text-transform:uppercase;
}

/* =========================
   GLOBAL CARDS
========================= */

.glass-card{
    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border-radius:28px;

    box-shadow:
    0 10px 40px rgba(0,0,0,.25);

    transition:.4s;
}

.glass-card:hover{
    transform:
    translateY(-10px)
    scale(1.02);

    border-color:#3b82f6;

    box-shadow:
    0 0 40px rgba(37,99,235,.2);
}

/* =========================
   INPUTS
========================= */

input,
select,
textarea{
    width:100%;

    padding:18px;

    border:none;

    outline:none;

    border-radius:16px;

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(255,255,255,.08);

    color:white;

    font-family:'Orbitron',sans-serif;
}

input::placeholder,
textarea::placeholder{
    color:#94a3b8;
}

/* =========================
   PAGE SECTION
========================= */

.page-section{
    padding:120px 8%;
}

/* =========================
   FOOTER
========================= */

footer{
    padding:40px 8%;

    text-align:center;

    border-top:
    1px solid rgba(255,255,255,.08);

    background:
    rgba(255,255,255,.02);

    backdrop-filter:blur(10px);
}

footer p{
    color:#94a3b8;

    font-size:14px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:980px){

    nav{
        display:none;
    }

    .section-title h2{
        font-size:42px;
    }

}/* =========================
   HERO BACKGROUNDS
========================= */

.tournoi-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('/images/tournament-bg.png')
    center/cover;
}

.joueurs-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/players-bg.png')
    center/cover;
}

.classement-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/leaderboard-bg.png')
    center/cover;
}

.contact-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/contact-bg.png')
    center/cover;
}

.reglement-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/rules-bg.png')
    center/cover;
}

.slots-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/slots-bg.png')
    center/cover;
}

.inscription-hero{
    background:
    linear-gradient(rgba(0,0,0,.82),
    rgba(0,0,0,.9)),
    url('../images/register-bg.png')
    center/cover;
}