/** MAIN */

:root {
    --blue: #2979FF;
    --yellow: #FFD23F;
    --black: #0B0B0B;
    --white: #F2F2F2;
    --purple: #7B5CFF;
    --pink: #F15BB5;
    --mint: #00F5D4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--blue);
    overflow-x: hidden;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    scroll-margin-top: 100px;
}

h1, h2, h3 {
    font-family: 'Luckiest Guy', cursive;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}


/** NAVBAR */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--blue);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

header img {
    height: 20px;
}

nav {
    display: flex;
    gap: 100px;
    align-items: center;
}

.nav__home {
    display: none;
}

nav a {
    font-family: 'Luckiest Guy', cursive;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.5rem;
    transition: transform 0.2s, color 0.2s;
}

nav a:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

nav a:last-child {
    background-color: var(--yellow);
    color: var(--black);
    padding: 10px 24px;
    border: 3px solid var(--black);
}

nav a:last-child:hover {
    background-color: var(--black);
    color: var(--yellow);
}

nav a:focus-visible,
#landing a:focus-visible,
.quiz-card__register:focus-visible,
#contact button:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
}

@media (max-width: 1280px) {
    header {
        padding: 16px 24px;
    }

    nav {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
        margin-left: auto;
        margin-top: 8px;
        position: relative;
        z-index: 100;
    }

    nav {
        display: none;
    }

    .nav__home {
        display: block;
    }

    header img {
        display: block;
        height: 18px;
    }

    nav.nav--open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--blue);
        gap: 30px;
        z-index: 99;
        justify-content: center;
        align-items: center;
        padding: 24px;
    }

    nav.nav--open a {
        font-size: 2rem;
        text-align: center;
    }

    .burger span {
        transition: transform 0.3s, opacity 0.3s;
        transform-origin: center;
    }

    .burger--open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger--open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .burger--open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}


/** HERO */

#landing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 120px 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#landing > div:first-child,
#landing > div:last-child {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

#landing > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

#landing > div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#landing > div:first-child img {
    width: 100%;
    max-width: 620px;
    height: auto;
}

#landing > div:last-child img {
    width: 100%;
    max-width: 160px;
    height: auto;
    flex: 0 0 auto;
}

#landing a {
    font-family: 'Luckiest Guy', cursive;
    background-color: var(--yellow);
    color: var(--black);
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    width: 100%;
    max-width: 420px;
    min-height: 140px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--black);
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    line-height: 1.1;
}

#landing a:hover {
    background-color: var(--black);
    color: var(--yellow);
}

.landing__logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 620px;
}

.landing__tagline {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: clamp(2.5rem, 3vw, 3rem);
    color: var(--white);
    margin-top: 200px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.watermark {
    position: fixed;
    right: -80px;
    top: 15%;
    height: 700px;
    width: auto;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-9deg);
}

@media (max-width: 1400px) and (min-width: 769px) {
    #landing {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 90px 40px 70px;
        min-height: auto;
        gap: 18px;
    }

    #landing > div:first-child,
    #landing > div:last-child {
        width: 100%;
        flex: none;
        margin: 0;
        padding: 0;
        align-self: center;
        justify-content: center;
    }

    #landing > div:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    #landing > div:last-child {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin-top: 0;
    }

    #landing > div:first-child img {
        width: 100%;
        max-width: 560px;
        height: auto;
    }

    #landing > div:last-child img {
        display: none;
    }

    #landing a {
        width: 100%;
        max-width: 520px;
        min-height: 120px;
        padding: 20px 24px;
        margin: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .watermark {
        right: -100px;
        top: 18%;
        height: 620px;
        opacity: 0.06;
    }

    .landing__logo-wrap {
        align-items: center;
    }

    .landing__tagline {
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 1100px) {
    #landing {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 70px 40px 90px;
        min-height: auto;
        gap: 28px;
    }

    #landing > div:first-child,
    #landing > div:last-child {
        width: 100%;
        flex: none;
        min-width: 0;
        margin: 0;
        padding: 0;
        align-self: center;
        justify-content: center;
    }

    #landing > div:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #landing > div:last-child {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    #landing > div:first-child img {
        width: 100%;
        max-width: 560px;
        height: auto;
    }

    #landing > div:last-child img {
        display: none;
    }

    #landing a {
        width: 100%;
        max-width: 520px;
        min-height: 120px;
        padding: 20px 24px;
        font-size: clamp(2rem, 4vw, 3rem);
        margin: 0;
    }

    .watermark {
        right: -100px;
        top: 18%;
        height: 620px;
        opacity: 0.06;
    }

    .landing__logo-wrap {
        align-items: center;
    }

    .landing__tagline {
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    #landing {
        padding: 80px 24px 60px;
        min-height: 80vh;
        align-items: center;
        gap: 32px;
    }

    #landing > div:first-child,
    #landing > div:last-child {
        margin: 0;
        align-self: center;
        width: 100%;
        justify-content: center;
    }

    #landing > div:first-child {
        padding-top: 0;
        display: flex;
        justify-content: center;
    }

    #landing > div:first-child img {
        height: auto;
        max-height: 220px;
    }

    #landing a {
        width: 100%;
        min-height: 90px;
        font-size: 30px;
        margin-bottom: 200px;
    }

    #landing > div:last-child img {
        display: none;
    }

    .watermark {
        display: block;
        opacity: 0.05;
        right: -80px;
        height: 500px;
    }

    .landing__tagline {
        font-size: 1.5rem;
        text-align: center;
        white-space: normal;
        margin-top: 48px;
        margin-bottom: 24px;
    }
}


/** ABOUT */

#about {
    background-color: var(--yellow);
    padding: 80px 120px 200px 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

#about > div:first-child {
    flex: 1;
}

#about > div:last-child {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#about .about__image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border: 6px solid var(--blue);
}

#about h2 {
    font-family: 'Luckiest Guy', cursive;
    color: var(--blue);
    font-size: clamp(2rem, 6vw, 4.5rem);
    text-transform: uppercase;
    margin-bottom: 32px;
    -webkit-text-stroke: 5px white;
    paint-order: stroke fill;
}

#about p {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    font-size: clamp(1.125rem, 2.4vw, 1.875rem);
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 1280px) {
    #about {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #about {
        flex-direction: column;
        gap: 32px;
        padding: 48px 24px 80px;
        min-height: auto;
    }

    #about h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px white;
        white-space: normal;
    }

    #about p {
        font-size: 18px;
    }

    #about > div:last-child {
        width: 100%;
        justify-content: center;
    }

    #about .about__image {
        display: block;
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 20px auto 0;
        transform: none;
    }
}

/** SERVICES */

#services {
    position: relative;
    z-index: 1;
    background-color: var(--blue);
}

#services .services__hero {
    background-image: url('../images/corporate_event.jpg');
    background-size: cover;
    background-position: center;
    padding: 300px 120px 60px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

#services .services__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

#services .services__hero h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    z-index: 1;
    line-height: 1;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.5);
}

#services .services__tabs {
    display: flex;
    flex-direction: row;
}

#services .services__tab {
    flex: 1;
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    padding: 32px 24px;
    cursor: pointer;
    background-color: transparent !important;
    color: var(--white) !important;
    border: none;
    border-bottom: 4px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.05em;
}

#services .services__tab--active {
    background-color: var(--white) !important;
    color: var(--blue) !important;
    border-bottom: 4px solid var(--white);
}

#services .services__tab:hover:not(.services__tab--active) {
    background-color: rgba(255,255,255,0.1) !important;
    border-bottom: 4px solid rgba(255,255,255,0.4);
}

#services .services__panel {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 60px 120px 80px;
    background-color: var(--white);
}

#services .services__panel--active {
    display: flex;
}

#services .services__panel-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#services .services__mobile-title {
    display: none;
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 4px;
}

#services .services__subtitle {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 8px;
}

#services .services__panel-text p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--black);
    line-height: 1.8;
}

@media (max-width: 1280px) {
    #services .services__hero,
    #services .services__panel {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #services .services__hero {
        padding: 200px 24px 40px;
    }

    #services .services__hero h2 {
        font-size: 52px;
    }

    #services .services__tabs {
        display: none;
    }

    #services .services__panel {
        display: flex;
        flex-direction: column;
        padding: 48px 24px;
        gap: 24px;
        border-bottom: 2px solid rgba(0,0,0,0.1);
    }

    #services .services__mobile-title {
        display: block;
    }

    #services .services__subtitle {
        font-size: 1.3rem;
        color: var(--black);
        opacity: 0.7;
    }

    #services .services__panel-text p {
        font-size: 18px;
    }
}

/** HOST */

#host {
    background-color: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 80px 80px;
    gap: 60px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

#host .host__text {
    flex: 2;
}

#host h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 5.5vw, 4.375rem);
    text-transform: uppercase;
    color: var(--yellow);
    -webkit-text-stroke: 6px var(--blue);
    paint-order: stroke fill;
    margin-bottom: 40px;
    line-height: 1.1;
}

#host p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 20px;
}

#host .host__name {
    font-family: 'Luckiest Guy', cursive;
    color: var(--blue);
    font-size: 26px;
    text-transform: uppercase;
}

#host .host__image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#host .host__image img {
    width: 100%;
    max-width: 500px;
    height: 600px;
    object-fit: cover;
    position: relative;
    right: -80px;
    border: 8px solid var(--blue);
}

@media (max-width: 1280px) {
    #host {
        padding-left: 40px;
        padding-right: 40px;
    }

    #host .host__image img {
        right: 0;
        height: auto;
        max-height: 520px;
    }
}

@media (max-width: 768px) {
    #host {
        flex-direction: column;
        gap: 32px;
        padding: 48px 24px;
    }

    #host h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px var(--blue);
    }

    #host p {
        font-size: 18px;
    }

    #host .host__name {
        font-size: 22px;
    }

    #host .host__image {
        justify-content: center;
        width: 100%;
    }

    #host .host__image img {
        right: 0;
        width: 100%;
        max-width: 320px;
        height: auto;
        max-height: none;
    }
}


/** UPCOMING */

#upcoming {
    background: var(--white);
    padding: 80px 120px;
    position: relative;
    z-index: 1;
}

#upcoming h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    color: var(--blue);
    paint-order: stroke fill;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.1;
}

.quiz-card {
    background-color: var(--blue);
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    padding: 40px 40px 20px 0;
    overflow: visible;
    margin-top: 50px;
    gap: 20px;
}

.quiz-card__logo {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    position: relative;
    left: -40px;
    border: 6px solid var(--yellow);
    overflow: hidden;
}

.quiz-card__logo--pink {
    border: none;
}

.quiz-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-card__info {
    flex: 1;
    padding: 0 40px;
}

.quiz-card__info h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2rem, 4.5vw, 3.125rem);
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.1;
}

.quiz-card__info p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.4vw, 1.875rem);
    color: var(--white);
    line-height: 1.2;
}

.quiz-card__remaining {
    color: var(--yellow) !important;
    font-size: 2rem;
    font-weight: 600;
}

.quiz-card__register {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.8rem, 4vw, 3.125rem);
    text-transform: uppercase;
    background-color: var(--yellow);
    color: var(--black);
    padding: 20px 40px;
    border: 4px solid var(--black);
    position: absolute;
    right: -20px;
    bottom: -30px;
    transform: rotate(-4deg);
    transition: transform 0.2s, background 0.2s;
}

.quiz-card__register:hover {
    transform: rotate(0deg);
    background-color: var(--black);
    color: var(--yellow);
}

@media (max-width: 1280px) {
    #upcoming {
        padding-left: 48px;
        padding-right: 48px;
    }

    .quiz-card__register {
        right: 16px;
    }
}

@media (max-width: 768px) {
    #upcoming {
        padding: 48px 24px;
    }

    #upcoming h2 {
        font-size: 42px;
        margin-bottom: 32px;
    }

    .quiz-card {
        flex-direction: column;
        padding: 24px;
        margin-top: 24px;
        gap: 24px;
        align-items: flex-start;
    }

    .quiz-card__logo {
        position: static;
        width: 100%;
        max-width: 260px;
        height: 260px;
        left: 0;
    }

    .quiz-card__info {
        padding: 0;
        width: 100%;
    }

    .quiz-card__info h3 {
        font-size: 34px;
    }

    .quiz-card__info p {
        font-size: 18px;
    }

    .quiz-card__register {
        position: static;
        transform: none;
        margin-top: 8px;
        display: inline-block;
        font-size: 28px;
        padding: 16px 24px;
    }

    .quiz-card__register:hover {
        transform: none;
    }
}


/** CONTACT */

#contact {
    background-color: var(--yellow);
    padding: 80px 120px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
}

#contact .contact__left {
    flex: 2;
}

#contact h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 5.5vw, 4.375rem);
    text-transform: uppercase;
    color: var(--blue);
    -webkit-text-stroke: 6px var(--white);
    paint-order: stroke fill;
    margin-bottom: 16px;
    line-height: 1.1;
}

#contact .contact__intro {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.125rem, 2.4vw, 1.875rem);
    color: var(--black);
    margin-bottom: 30px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(100% - 100px);
}

#contact .contact__input {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--blue);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.4vw, 1.875rem);
    color: var(--blue);
    outline: none;
}

#contact .contact__input::placeholder {
    color: var(--blue);
    opacity: 0.7;
}

#contact .contact__textarea {
    min-height: 160px;
    resize: vertical;
}

#contact .contact__privacy {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.375rem);
    color: var(--black);
}

#contact .contact__privacy a {
    color: var(--blue);
    font-weight: bold;
}

#contact button {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    text-transform: uppercase;
    background-color: var(--blue);
    color: var(--white);
    padding: 16px;
    border: 3px solid var(--white);
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, color 0.2s;
}

#contact button:hover {
    background-color: var(--black);
    color: var(--yellow);
}

#contact .contact__watermark {
    flex: 1;
    position: relative;
    height: auto;
    width: 300px;
    opacity: 0.15;
    align-self: center;
}

@media (max-width: 1280px) {
    #contact {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #contact {
        flex-direction: column;
        gap: 32px;
        padding: 48px 24px;
    }

    #contact h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px var(--white);
    }

    #contact .contact__intro {
        font-size: 18px;
    }

    #contact form {
        width: 100%;
    }

    #contact .contact__input {
        font-size: 18px;
    }

    #contact .contact__privacy {
        font-size: 16px;
    }

    #contact button {
        font-size: 24px;
        margin-top: 20px;
    }

    #contact .contact__watermark {
        display: none;
    }
}


/** MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.modal--open {
    opacity: 1;
    pointer-events: auto;
}

.modal__content {
    position: relative;
    width: min(90%, 900px);
    background: var(--blue);
    color:var(--white);
    padding: 3.5rem 2.5rem 2.5rem;
    border: 10px solid var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal--open .modal__content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal__content h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 3rem;
    font-weight: 600;
}

.modal__content p {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 1rem;
}

.modal__content a {
    color: var(--yellow);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #f2f2f2;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s;
}

.modal__close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #bbdefb;
}

@media (max-width: 768px) {
    .modal__content p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/** FOOTER */

#footer {
    background-color: var(--blue);
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 80px;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col--right {
    align-items: flex-end;
    gap: 4px;
}

.footer__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.footer__nav a {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.375rem);
    color: var(--white);
    transition: color 0.2s;
}

.footer__nav a:hover {
    color: var(--yellow);
}

.footer__title {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--yellow);
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.footer__icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer__icons a img {
    height: 40px;
    width: auto;
    transition: opacity 0.2s;
}

.footer__icons a:hover img {
    opacity: 0.7;
}

.footer__email {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.375rem);
    color: var(--white);
    transition: color 0.2s;
}

.footer__copy {
    width: 100%;
    text-align: center;
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(0.95rem, 2vw, 1.375rem);
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.05em;
    opacity: 0.6;
}

#backToTop {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 20px;
    height: 46px;
    width: 46px;
    color: var(--blue);
    background-color: var(--yellow);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#backToTop:hover {
    background-color: var(--white);
    color: var(--blue);
}

@media (max-width: 1280px) {
    #footer {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        gap: 24px;
        padding: 48px 24px 80px;
        text-align: center;
    }

    .footer__col,
    .footer__col--right {
        width: 100%;
        align-items: center;
    }

    .footer__nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer__icons a img {
        height: 36px;
    }

    #backToTop {
        bottom: 16px;
        right: 16px;
    }
}

/** FAQ */

#faq-hero {
    background-color: var(--yellow);
    padding: 80px 120px;
}

#faq-hero h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    color: var(--blue);
    -webkit-text-stroke: 5px var(--white);
    paint-order: stroke fill;
    line-height: 1;
    margin-bottom: 16px;
}

#faq-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.125rem, 2.4vw, 1.875rem);
    color: var(--black);
}

#faq {
    background-color: var(--blue);
    padding: 80px 120px;
}

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

#faq .faq__category {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--yellow);
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--yellow);
}

#faq .faq__category:first-child {
    margin-top: 0;
}

#faq .faq__item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#faq .faq__question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--white);
    padding: 20px 40px 20px 0;
    position: relative;
    transition: color 0.2s;
}

#faq .faq__question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.3s;
}

#faq .faq__item--open .faq__question {
    color: var(--yellow);
}

#faq .faq__item--open .faq__question::after {
    transform: translateY(-50%) rotate(45deg);
}

#faq .faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#faq .faq__item--open .faq__answer {
    max-height: 500px;
}

#faq .faq__answer p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--white);
    line-height: 1.8;
    padding-bottom: 20px;
}

#faq .faq__answer a {
    color: var(--yellow);
    text-decoration: underline;
}

@media (max-width: 1280px) {
    #faq-hero,
    #faq {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #faq-hero {
        padding: 48px 24px;
    }

    #faq-hero h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px var(--white);
    }

    #faq-hero p {
        font-size: 18px;
    }

    #faq {
        padding: 48px 24px;
    }

    #faq .faq__category {
        font-size: 28px;
    }

    #faq .faq__question {
        font-size: 16px;
    }

    #faq .faq__answer p {
        font-size: 15px;
    }
}

/** GALLERY */

#gallery {
    background-color: var(--blue);
}

#gallery .gallery__hero {
    background-color: var(--yellow);
    padding: 80px 120px;
}

#gallery .gallery__hero h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    color: var(--blue);
    -webkit-text-stroke: 5px var(--white);
    paint-order: stroke fill;
    line-height: 1;
}

#gallery .gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 40px 120px 80px;
}

#gallery .gallery__item {
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
}

#gallery .gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.gallery__lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery__lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.gallery__lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid var(--white);
}

.gallery__lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.gallery__lightbox-close:hover {
    color: var(--yellow);
}

.gallery__lightbox-prev,
.gallery__lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--yellow);
    border: none;
    color: var(--black);
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s;
    padding: 12px 20px;
    line-height: 1;
    font-weight: 700;
}

.gallery__lightbox-prev {
    left: 24px;
}

.gallery__lightbox-next {
    right: 24px;
}

.gallery__lightbox-prev:hover,
.gallery__lightbox-next:hover {
    background: var(--white);
}

@media (max-width: 1280px) {
    #gallery .gallery__hero,
    #gallery .gallery__grid {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #gallery .gallery__hero {
        padding: 48px 24px;
    }

    #gallery .gallery__hero h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px var(--white);
    }

    #gallery .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 6px;
    }

    .gallery__lightbox-img {
        max-width: 90vw;
        max-height: 70vh;
    }

    .gallery__lightbox-prev {
        left: 50%;
        top: 16px;
        transform: translateX(-50%);
        bottom: auto;
        right: auto;
    }

    .gallery__lightbox-next {
        left: 50%;
        top: auto;
        bottom: 16px;
        right: auto;
        transform: translateX(-50%);
    }
}

/** STANDINGS */

#standings {
    background-color: var(--blue);
}

#standings .standings__hero {
    background-color: var(--yellow);
    padding: 80px 120px;
}

#standings .standings__hero h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    color: var(--blue);
    -webkit-text-stroke: 5px var(--white);
    paint-order: stroke fill;
    line-height: 1;
    margin-bottom: 8px;
}

#standings .standings__hero p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: var(--blue);
}

#standings .standings__body {
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

#standings h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 8px;
    line-height: 1.1;
}

#standings .standings__subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.6;
    margin-bottom: 24px;
}

#standings .standings__last-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    gap: 0 60px;
}

#standings .standings__last-item {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

#standings .standings__last-item.standings__first {
    color: var(--yellow);
}

#standings .standings__pos {
    min-width: 32px;
    opacity: 0.6;
}

#standings .standings__team {
    flex: 1;
}

#standings .standings__score {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--yellow);
    min-width: 36px;
    text-align: right;
}

#standings .standings__table-wrap {
    overflow-x: auto;
    margin-bottom: 16px;
}

#standings .standings__table-mobile {
    display: none;
}

#standings .standings__table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

#standings .standings__table thead th {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    text-transform: uppercase;
    color: var(--yellow);
    padding: 10px 14px;
    text-align: center;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

#standings .standings__table thead th:nth-child(2) {
    text-align: left;
}

#standings .standings__table tbody td {
    padding: 10px 14px;
    text-align: center;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

#standings .standings__team-name {
    text-align: left !important;
    font-weight: 600;
    white-space: nowrap;
}

#standings .standings__pts {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--yellow) !important;
    font-weight: 700 !important;
}

#standings .standings__table tbody td.standings__quiz-winner {
    color: var(--yellow) !important;
    font-weight: 700;
}

#standings .standings__table tbody tr:hover td {
    background-color: rgba(255,255,255,0.05);
}

.standings__hidden-row {
    display: none;
}

.standings__hidden-row.standings__visible {
    display: table-row;
}

#standings .standings__toggle {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    background-color: transparent;
    color: var(--yellow);
    border: 3px solid var(--yellow);
    padding: 12px 32px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: block;
    margin: 16px 0;
}

#standings .standings__toggle:hover {
    background-color: var(--yellow);
    color: var(--blue);
}

#standings .standings__winners {
    margin-top: 100px;
}

#standings .standings__winners ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#standings .standings__winners ul li {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

#standings .standings__season-label {
    color: var(--yellow);
    min-width: 48px;
}

#standings .standings__winner-name {
    flex: 1;
}

@media (max-width: 1280px) {
    #standings .standings__hero,
    #standings .standings__body {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    #standings .standings__hero {
        padding: 48px 24px;
    }

    #standings .standings__hero h2 {
        font-size: 42px;
        -webkit-text-stroke: 3px var(--white);
    }

    #standings .standings__body {
        padding: 48px 24px;
        gap: 48px;
    }

    #standings .standings__last-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }

    #standings h2 {
        font-size: 28px;
    }

    #standings .standings__table-wrap {
        display: none;
    }

    #standings .standings__table-mobile {
        display: block;
        overflow-x: auto;
        margin-bottom: 16px;
    }

    #standings .standings__table {
        font-size: 0.85rem;
    }

    #standings .standings__table thead th,
    #standings .standings__table tbody td {
        padding: 8px 10px;
    }

    #standings .standings__winners {
        margin-top: 0;
    }
}

/** TESTIMONIALS */

.testimonials__divider {
    height: 12px;
    background-color: var(--yellow);
    width: 100%;
}

#testimonials {
    padding: 60px 80px;
    background-color: var(--white);
}

#testimonials h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 50px;
    text-transform: uppercase;
    color: var(--blue);
    text-align: center;
    margin-bottom: 40px;
}

#testimonials .testimonials__grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#testimonials .testimonials__grid::-webkit-scrollbar {
    display: none;
}

#testimonials .testimonials__card {
    background-color: var(--white);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-snap-align: start;
    flex: 0 0 100%;
}

#testimonials .testimonials__stars {
    color: #FFD700;
    font-size: 22px;
    letter-spacing: 2px;
}

#testimonials .testimonials__text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #000;
    line-height: 1.7;
    margin: 0;
}

#testimonials .testimonials__name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.testimonials__dot--active {
    background-color: var(--blue);
}

@media (min-width: 768px) {
    #testimonials .testimonials__card {
        flex: 0 0 calc(33.333% - 20px);
    }

    .testimonials__dots {
        display: none;
    }
}

