@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

@font-face {
    font-family: 'JotrideSTD';
    src: url('/static/JoyrideSTD.ttf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'JotrideSTD', sans-serif;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

banner {
    width: 100%;
    background-color: #62aa8b;
    text-align: center;
}

.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

nav {
    font-family: 'JotrideSTD';
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 200;
    padding: 10px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #c0c0c0;
}

.section-one {
    background-color: #3a6351;
    font-family: 'JotrideSTD';
    padding-top: 200px;
}

.section-one-inline {
    width: 100%;
    max-width: 1000px;
    max-width: none;
    padding: clamp(4rem, 10vh, 10rem) 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.masters-img,
.forebros-img {
    max-height: 100%;
    max-width: 350px;
    margin: 0 auto;
    object-fit: scale-down;
}

.masters-img {
    max-width: 100%;
    width: clamp(200px, 40vw, 600px);
    object-fit: contain;
}

.section-one-inline p.subtitle {
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.8rem);
    letter-spacing: 0.2em;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: #ffd66a;
}

.section-one-inline {
    width: 90%;
    max-width: 600px;
    padding: min(10vh, 80px) 20px;
    height: auto;
    margin: auto;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}


.signup-form {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
}

.signup-label {
    color: #d8d8d8;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

form input {
    font-size: 1rem;

    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    width: calc(100% - 20px);
    border: none;
    background-color: #f0f0f0;
}

form button {
    padding: 10px 20px;
    margin: 10px auto;
    border-radius: 5px;
    border: none;
    background-color: #ffd66a;
    color: #3a6351;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.section-two {
    background-color: #2e423a;
    background-image: url('/static/IMG_6903.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    min-height: 120vh;
    background-color: rgba(0, 0, 0, 0.7);
    font-family: 'Inter', sans-serif;
    color: #e9e9e9;
    text-align: center;
}

.section-two-inline {
    padding: 20px;
    max-width: 1300px;
}

.section-two h2 {
    font-family: 'JotrideSTD';
    margin-top: 0;
    text-transform: capitalize;
}

.site-footer {
    background-color: #3a6351;
    color: #aaa;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 80px 0 20px 0;
}

.footer-links {
    padding-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-line-wrapper {
    position: relative;
    width: 100%;
    height: 0; /* so it doesn’t push content down */
}

.footer-line {
    border: none;
    border-top: 1px solid #ffffffaf;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ticket-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: bottom center;
    bottom: 0;
    width: 700px;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

.sticky-sec01 {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    user-select: none;
}

.sticky-countdown {
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    user-select: none;
}

.sponsor-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    flex-wrap: wrap;
}

.sponsor-bar img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.sponsor-bar img:hover {
    opacity: 1;
}

.showdown-tab {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.showdown-tab img {
    max-height: 600px;
    height: auto;
    width: auto;
}

/* sec 3 */
.section-three-faq {
    position: relative;
    overflow: hidden;
}

.section-three-faq {
    color: #fff;
}

.sec03-content {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 20vh;
}

.sec04-content {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 0;
}

.sec02-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-sec {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #181818;
}

.faq-item {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #fff;
}

.faq-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 200;
    cursor: pointer;
    position: relative;
    color: #3a6351;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-family: Helvetica, sans-serif;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding: 0 1rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 1rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3a6351;
    
    animation: moveSpots 5s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes moveSpots {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@media (max-width: 868px) {
    /*nav ul {
        display: none;
    }*/

    .sticky-countdown {
        font-size: 0.9rem;
    }

    .section-one-inline {
        height: auto;
        padding: 20px;
        padding-top: 10vh;
        padding-bottom: 30vh;
    }

    .masters-img,
    .forebros-img {
        width: 100%;
    }

    .masters-img {
        /* scaling hack that works with the transform scale */
        max-width: calc(100% / 2);
    }

    .section-one-inline p.subtitle {
        font-size: 1.2rem;
    }

    form#signupForm input {
        width: calc(100% - 20px);
    }

    .ticket-img {
        max-width: 90%;
    }

    .section-two {
        min-height: fit-content;
        padding-bottom: 10vh;
    }

    .section-two-inline iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .showdown-tab {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .showdown-tab img {
        max-width: 100%;
        height: auto;
    }

    .section-two-inline {
        padding: 10px;
    }

    .section-two h2 {
        font-size: 1.8rem;
    }
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #62aa8b;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}