/* =======================================================
   SHADOW WOLVES RACING TEAM
   STYLE.CSS
   ======================================================= */


/* =======================================================
   ROOT
======================================================= */

:root{

    --primary:#009DFF;
    --primary-hover:#1FB2FF;

    --background:#050505;
    --surface:#101010;
    --card:#181818;

    --border:#2B2B2B;

    --white:#FFFFFF;
    --text:#D4D4D4;
    --muted:#8F8F8F;

    --radius:16px;

    --shadow:
        0 15px 45px rgba(0,0,0,.35);

    --transition:.35s ease;

    --container:1280px;

}


/* =======================================================
   RESET
======================================================= */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--background);

    color:var(--white);

    overflow-x:hidden;

    line-height:1.7;

}

img{

    display:block;

    max-width:100%;

}

a{

    color:inherit;

    text-decoration:none;

}

ul{

    list-style:none;

}

button{

    font:inherit;

    border:none;

    background:none;

    cursor:pointer;

}


/* =======================================================
   SCROLLBAR
======================================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#080808;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-hover);

}


/* =======================================================
   GLOBAL
======================================================= */

.container{

    width:min(var(--container),92%);

    margin:auto;

}

.section{

    padding:120px 0;

}

.section-header{

    max-width:850px;

    margin:0 auto 70px;

    text-align:center;

}

.section-header span{

    display:inline-block;

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.85rem;

    font-weight:800;

    margin-bottom:18px;

}

.section-header h2{

    font-size:3rem;

    margin-bottom:20px;

}

.section-header p{

    color:var(--text);

}


/* =======================================================
   TYPOGRAPHY
======================================================= */

h1{

    font-size:clamp(3rem,7vw,5.8rem);

    line-height:1.05;

    font-weight:900;

}

h2{

    font-size:2.5rem;

    font-weight:800;

}

h3{

    font-size:1.45rem;

    font-weight:700;

}

p{

    color:var(--text);

}


/* =======================================================
   BUTTONS
======================================================= */

.btn-primary,
.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 34px;

    border-radius:14px;

    transition:var(--transition);

    font-weight:700;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-hover);

    transform:translateY(-4px);

}

.btn-secondary{

    border:2px solid var(--primary);

    color:#fff;

}

.btn-secondary:hover{

    background:var(--primary);

    transform:translateY(-4px);

}


/* =======================================================
   LOADER
======================================================= */

#loader{

    position:fixed;

    inset:0;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

#loader img{

    width:140px;

}


/* =======================================================
   PROGRESS BAR
======================================================= */

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:var(--primary);

    z-index:99999;

}


/* =======================================================
   HEADER
======================================================= */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    transition:var(--transition);

}

header.scrolled{

    background:rgba(5,5,5,.92);

    backdrop-filter:blur(15px);

    box-shadow:var(--shadow);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo img{

    width:58px;

}

.logo strong{

    display:block;

    font-size:1rem;

}

.logo span{

    color:var(--muted);

    font-size:.8rem;

}

#navigation{

    display:flex;

    gap:38px;

}

#navigation a{

    position:relative;

    transition:var(--transition);

}

#navigation a:hover,
#navigation a.active{

    color:var(--primary);

}

#navigation a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:var(--transition);

}

#navigation a:hover::after,
#navigation a.active::after{

    width:100%;

}

.discord-button{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:var(--primary);

    color:#fff;

    padding:14px 26px;

    border-radius:14px;

    transition:var(--transition);

}

.discord-button:hover{

    background:var(--primary-hover);

}

#mobile-menu{

    display:none;

    font-size:1.7rem;

    color:#fff;

}


/* =======================================================
   HERO
======================================================= */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    background:url("../images/hero/hero-banner.png") center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(5,5,5,.72),

        rgba(5,5,5,.92)

    );

}

.hero-container{

    position:relative;

    z-index:2;

}

.hero-content{

    max-width:760px;

    margin:auto;

    text-align:center;

}

.hero-logo{

    width:180px;

    margin:0 auto 30px;

}

.hero-tag{

    display:inline-block;

    color:var(--primary);

    font-size:.85rem;

    letter-spacing:3px;

    font-weight:800;

    margin-bottom:20px;

}

.hero h1 span{

    display:block;

    color:var(--primary);

}

.hero h2{

    margin:25px 0;

    font-weight:500;

}

.hero p{

    max-width:720px;

    margin:0 auto 45px;

    font-size:1.05rem;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.scroll-indicator{

    position:absolute;

    left:50%;

    bottom:40px;

    transform:translateX(-50%);

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:10px;

    color:var(--muted);

}

.scroll-indicator i{

    color:var(--primary);

}
/* =======================================================
   ABOUT
======================================================= */

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.about-image{

    overflow:hidden;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.about-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:var(--transition);

}

.about-image:hover img{

    transform:scale(1.05);

}

.about-content{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.about-content p{

    margin-bottom:25px;

}

.about-content strong{

    color:var(--primary);

}

.about-content .btn-primary{

    width:fit-content;

    margin-top:10px;

}


/* =======================================================
   GAMES
======================================================= */

.games-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.game-card{

    position:relative;

    overflow:hidden;

    min-height:360px;

    border-radius:18px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.game-card.featured{

    min-height:460px;

}

.game-card img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s ease;

}

.game-card:hover img{

    transform:scale(1.08);

}

.game-card:hover{

    transform:translateY(-8px);

}

.game-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:35px;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.88)

    );

}

.game-overlay span{

    display:inline-block;

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.8rem;

    font-weight:700;

    margin-bottom:12px;

}

.game-overlay h3{

    margin-bottom:15px;

}


/* =======================================================
   PHILOSOPHY
======================================================= */

.philosophy{

    background:var(--surface);

}

.philosophy-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

}

.philosophy-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:40px 25px;

    text-align:center;

    transition:var(--transition);

}

.philosophy-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.philosophy-card i{

    font-size:2.5rem;

    color:var(--primary);

    margin-bottom:25px;

}

.philosophy-card h3{

    margin-bottom:15px;

}


/* =======================================================
   WHY
======================================================= */

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.why-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:40px 30px;

    text-align:center;

    transition:var(--transition);

}

.why-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.why-card i{

    font-size:2.4rem;

    color:var(--primary);

    margin-bottom:25px;

}

.why-card h3{

    margin-bottom:15px;

}


/* =======================================================
   JOIN
======================================================= */

.join{

    background:var(--surface);

}

.join-wrapper{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:70px;

    align-items:center;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    padding:70px;

}

.section-tag{

    display:inline-block;

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.85rem;

    font-weight:800;

    margin-bottom:20px;

}

.join-content h2{

    margin-bottom:25px;

}

.join-content p{

    margin-bottom:20px;

}

.join-buttons{

    margin-top:35px;

}

.join-image{

    display:flex;

    justify-content:center;

}

.join-image img{

    max-width:260px;

}
/* =======================================================
   FOOTER
======================================================= */

footer{

    background:#030303;

    border-top:1px solid var(--border);

    padding:80px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:60px;

    align-items:center;

}

/* =======================================================
   BRAND
======================================================= */

.footer-brand .footer-logo{

    width:90px;

    margin-bottom:25px;

}

.footer-brand h3{

    font-size:1.6rem;

    margin-bottom:20px;

}

.footer-brand p{

    max-width:420px;

    color:var(--text);

    line-height:1.8;

}

/* =======================================================
   NAVIGATION
======================================================= */

.footer-links{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links h4{

    margin-bottom:10px;

}

.footer-links a{

    color:var(--text);

    transition:var(--transition);

}

.footer-links a:hover{

    color:var(--primary);

    padding-left:8px;

}

/* =======================================================
   EMPTY COLUMN
======================================================= */

.footer-space{

    width:100%;

}

/* =======================================================
   NETWORK BADGE
======================================================= */

.footer-network{

    display:flex;

    justify-content:center;

    align-items:center;

}

.network-link{

    display:inline-block;

}

.network-badge{

    width:220px;

    transition:all .35s ease;

    filter:drop-shadow(0 0 18px rgba(0,157,255,.18));

}

.network-badge:hover{

    transform:scale(1.06);

    filter:
        drop-shadow(0 0 20px rgba(0,157,255,.45))
        drop-shadow(0 0 45px rgba(0,157,255,.70));

}

/* =======================================================
   COPYRIGHT
======================================================= */

.copyright{

    margin-top:60px;

    padding-top:30px;

    border-top:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.copyright-left{

    color:var(--muted);

    line-height:1.8;

}

.copyright-right{

    display:flex;

    align-items:center;

    gap:15px;

}

.copyright-right a{

    color:var(--muted);

    transition:var(--transition);

}

.copyright-right a:hover{

    color:var(--primary);

}


/* =======================================================
   COOKIE BANNER
======================================================= */

#cookieBanner{

    position:fixed;

    left:0;

    bottom:0;

    width:100%;

    background:#101010;

    border-top:1px solid var(--border);

    z-index:9999;

}

.cookie-wrapper{

    width:min(var(--container),92%);

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    padding:20px 0;

}


/* =======================================================
   SCROLL TO TOP
======================================================= */

#topButton{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    display:none;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    box-shadow:var(--shadow);

    transition:var(--transition);

    z-index:999;

}

#topButton.show{

    display:flex;

}

#topButton:hover{

    background:var(--primary-hover);

    transform:translateY(-4px);

}
