*{
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

h1,h2,h3,.folder{
    font-family:'Orbitron',sans-serif;
}

body{
    background:black;
    color:white;
    margin:0;
    padding:0 80px;
}

/* TRACK */

.track{
    position: fixed;
    top: 0;
    height: 100vh;
    width: 6px;

    background: repeating-linear-gradient(
            to bottom,
            white 0px,
            white 12px,
            transparent 12px,
            transparent 36px
    );

    z-index:1;
}

.left{ left:0; }
.right{ right:0; }

/* CAR LEFT */

.car{
    position: fixed;
    left:-60px;
    width:210px;

    transform: rotate(90deg) scaleX(-1);
    transform-origin:center;

    animation: driveDown 12s linear infinite;
    z-index:50;
}

@keyframes driveDown{
    0%{ top:-120px; }
    45%{ top:100vh; }
    50%{ top:100vh; }
    100%{ top:100vh; }
}

/* CAR RIGHT */

.car2{
    position: fixed;
    right:-60px;
    width:210px;

    top:150vh;

    transform: rotate(-90deg) scaleX(-1);
    transform-origin:center;

    animation: driveUp 12s linear infinite;
    z-index:50;
}

@keyframes driveUp{
    0%{ top:150vh; }
    49%{ top:150vh; }
    50%{ top:100vh; }
    100%{ top:-120px; }
}

/* HEADER */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    color:red;
}

nav a{
    color:white;
    margin-left:25px;
    text-decoration:none;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:red;
    transition:.3s;
}

nav a:hover::after,
nav a.active::after{
    width:100%;
}

/* HERO */

.hero{
    text-align:center;
    margin-top:-30px;
}

.hero p{
    margin-top:30px;
    font-size:19px;
    line-height:1.7;
    color:#ddd;

}

.glow{
    color:#ff2b2b;
    font-size:70px;
    text-shadow:
            0 0 8px rgba(255,0,0,0.5),
            0 0 16px rgba(255,0,0,0.3);
}

.hero-img{
    display:inline-block;
    width:800px;
    max-width:90%;
    padding:6px;
    border-radius:20px;
    animation:heroGlow 2.5s ease-in-out infinite alternate;
    margin:-20px auto 0;
}

.hero-img img{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
}

@keyframes heroGlow{
    0%{
        box-shadow:
                0 0 15px rgba(255,0,0,0.6),
                0 0 30px rgba(255,0,0,0.4),
                0 0 60px rgba(255,0,0,0.25);
    }

    100%{
        box-shadow:
                0 0 30px rgba(255,0,0,0.9),
                0 0 60px rgba(255,0,0,0.6),
                0 0 90px rgba(255,0,0,0.35);
    }
}

/* BUTTON */

button{
    margin-top:20px;
    padding:12px 30px;
    border:none;
    border-radius:30px;
    background:red;
    color:white;
    font-size:16px;
    cursor:pointer;
}

/* SECTIONS */

.section-title{
    font-size:55px;
    margin-top:110px;
    margin-bottom:20px;
    animation:slide 1s;
}

@keyframes slide{
    from{opacity:0;transform:translateY(40px)}
    to{opacity:1;transform:translateY(0)}
}

.subtitle{
    color:#aaa;
}

/* FOLDERS */

.folder{
    border:1px solid #333;
    padding:18px;
    margin:20px 0;
    border-radius:14px;
    cursor:pointer;
    font-size:24px;
    transition:.3s;
}

.folder:hover{
    border-color:red;
}

.sub{
    margin-left:40px;
    font-size:20px;
}

/* CONTENT (horizontal scroll) */

.content{
    display:flex;
    gap:30px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:20px 0;
    scroll-behavior:smooth;
}

/* SCROLLBAR */

.content::-webkit-scrollbar{
    height:6px;
}

.content::-webkit-scrollbar-track{
    background:#111;
    border-radius:10px;
}

.content::-webkit-scrollbar-thumb{
    background:#555;
    border-radius:10px;
}

.content::-webkit-scrollbar-thumb:hover{
    background:red;
}

/* TEAM CARD */

.card{
    width:230px;
    flex:0 0 auto;
    text-align:center;
    cursor:pointer;
}

.card img{
    width:100%;
    border-radius:14px;
    transition:.3s;
}

.card img:hover{
    transform:scale(1.05);
}

/* NAME */

.name{
    margin-top:12px;
    font-size:22px;
    border-bottom:2px solid red;
    display:inline-block;
    padding-bottom:3px;
}

/* INFO BOX */

.info{
    margin-top:12px;
    padding:12px;
    border:2px solid red;
    border-radius:10px;
    color:white;
    font-size:15px;
    line-height:1.5;
    width:100%;
}

/* GALLERY */

.gallery-img{
    width:450px;
    border-radius:16px;
    cursor:pointer;
    transition:.3s;
}


.gallery-img:hover{
    transform:scale(1.05);
}

/* IMAGE OVERLAY */

#overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:100;
}

#overlay img{
    max-width:80%;
    max-height:80%;
    border-radius:20px;
}

/* JOIN BUTTON */

.join-btn{
    display:inline-block;
    margin-top:5px;
    padding:14px 34px;
    border-radius:30px;
    background:red;
    color:white;
    font-size:18px;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.join-btn:hover{
    transform:scale(1.05);
}

/* HISTORY SECTION */

.history-section{
    max-width:1100px;
    margin:0 auto;
}

.history-text{
    text-align:left;
    max-width:800px;
}

.history-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:100px;
    margin-top:20px;
}

/* HISTORY TEXT */

.history-line{
    font-size:19px;
    line-height:1.7;
    color:#ddd;
    max-width:900px;
    text-align:left;
}

/* HISTORY IMAGE */

.history-image img{
    width:480px;
    border-radius:18px;
    box-shadow:
            0 0 20px rgba(255,0,0,0.5),
            0 0 40px rgba(255,0,0,0.35);
}

/* STATS */

.stats{
    display:flex;
    justify-content:center;
    gap:80px;
    margin-top:70px;
    flex-wrap:wrap;
}

.stat{
    text-align:center;
}

.stat h3{
    font-size:70px;
    color:red;
    margin:0;
    font-family:'Orbitron',sans-serif;
}

.stat p{
    margin-top:10px;
    color:#ccc;
    letter-spacing:1px;
}

/* COMPETITION */

.competition-title{
    margin-top:100px;
    font-size:38px;
    color:white;
}

.competition-text{
    max-width:900px;
    font-size:19px;
    line-height:1.7;
    color:#ddd;
    margin-top:20px;
}

.competition-text p{
    margin-bottom:18px;
}

.logo img{
    height:130px;
    display:block;
}

.gallery-layout{
    display:flex;
    gap:60px;
    align-items:flex-start;
    margin-top:40px;
}

.gallery-tabs{
    display:flex;
    flex-direction:column;
    gap:20px;
    min-width:160px;
}

.gallery-tab{
    font-size:22px;
    cursor:pointer;
    position:relative;
    padding-bottom:6px;
    display:inline-block;
}

.gallery-tab::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:3px;
    background:red;
    transition:.3s;
}

.gallery-tab.active::after{
    width:100%;
}

.gallery-content{
    display:none;
    opacity:0;
    transition:opacity .35s ease;
}

.gallery-content.active{
    display:flex;
    opacity:1;
}

/* FAQ */

#faq{
    padding:120px 10%;
}

.faq-container{
    max-width:900px;
    margin:0 auto;
}

.faq-item{
    border:1px solid #333;
    border-radius:12px;
    margin-bottom:18px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    text-align:left;
    background:black;
    color:white;
    border:none;
    padding:20px 25px;
    font-size:20px;
    cursor:pointer;
    font-family:inherit;
    font-style:italic;
}

.faq-question:hover{
    background:#111;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    padding:0 25px;
    color:#bbb;
    font-size:19px;
    line-height:1.7;
    transition:max-height .35s ease, padding .35s ease;
}

.faq-item.active .faq-answer{
    max-height:200px;
    padding:20px 25px;
}

.body-text{
    font-size:19px;
    line-height:1.7;
    color:#ddd;
    max-width:900px;
}

#history-text{
    white-space: pre-wrap;
}


/*contact*/
.contact-links{
    margin-top:50px;
    display:flex;
    flex-direction:column;
    gap:28px;
    font-size:22px;
    max-width:500px;
}

.contact-links a{
    display:flex;
    align-items:center;
    gap:16px;
    color:white;
    text-decoration:none;
    transition:.25s;
}

.contact-links i{
    font-size:34px;
    width:40px;
    text-align:center;
}

.contact-links a:hover{
    color:red;
    transform:translateX(8px);
    text-shadow:
            0 0 6px rgba(255,0,0,0.6),
            0 0 12px rgba(255,0,0,0.4);
}

#contact{
    padding:60px 0 120px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    border-top:1px solid #222;
    margin-top:0;
}

.contact-logo{
    width:600px;
    margin-top:10px;
    margin-bottom:40px;
    opacity:0.9;

    filter: drop-shadow(0 0 8px rgba(255,0,0,0.4))
    drop-shadow(0 0 18px rgba(255,0,0,0.3));
}


/* NEWS */

.news-container{
    max-width:1000px;
    margin:40px auto;
}

.news-card{
    display:flex;
    gap:30px;
    background:#0d0d0d;
    border:1px solid #222;
    border-radius:18px;
    padding:25px;
    align-items:center;
}

.news-card img{
    width:260px;
    border-radius:12px;
}

.news-text h3{
    margin:0;
    font-size:26px;
}

.news-date{
    color:#999;
    margin:8px 0 12px 0;
}

.news-link{
    color:red;
    text-decoration:none;
    font-weight:600;
}

.news-link:hover{
    text-decoration:underline;
}

.news-card:nth-child(n+4){
    display:none;
}
