/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap');


/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p, h1, h2, h3, h4, span {
    cursor: default;
}


/* VARIABLES */
:root {
    /* colors */
    --primary: #090909;
    --secondary: #FFCB28;
    --white: #F6EFE4;

    /* fonts */
    --numbers: Anton;
    --texts: Archivo;
    --hero: Unbounded;

    /* weights */
    --semiBold: 600;
    --black: 900;
}


/* HTML */
html {
  font-size: 62.5%;
  background-color: var(--primary);
}

/* LOADER */
.skip-loader .loader {
    display: none !important;
}

/* NAVIGATION */
nav {
    padding: 2.4rem 2.4rem 0 2.4rem;
}

ul {
    display: flex;
    font-size: 2.8rem;
    align-items: center;
    justify-content: end;
    list-style: none;
    gap: 6.4rem;
    text-transform: uppercase;
}

li:first-child {
    position: absolute;
    left: 2.4rem;
}

li:last-child a {
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    padding: 2rem 3.2rem;
    color: var(--primary);
}

nav li {
    visibility: hidden;
    cursor: pointer;
}

nav li a {
    text-decoration: none;
    color: var(--white);
    font-family: var(--texts);
    font-weight: var(--semiBold);
}

nav li span {
    cursor: pointer;
}

nav li svg:first-child {
    width: 12rem;
    height: auto;
}

.tickets {
    background-color: var(--secondary);
    color: var(--primary);
    transition: transform 0.2s ease;
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0%, 65%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }

    72% {
        transform: scale(1.07);
        filter: brightness(1.2);
    }

    79% {
        transform: scale(1);
        filter: brightness(1);
    }

    86% {
        transform: scale(1.04);
        filter: brightness(1.1);
    }

    93% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.tickets:hover {
    animation-play-state: paused;
    transform: scale(1.04);
}

.tickets svg {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tickets:hover svg {
    transform: translate(4px, -4px) rotate(5deg);
}

nav .nav-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1.15;
}

nav .nav-text-original,
nav .nav-text-hover {
    display: block;
    white-space: nowrap;
}

nav .nav-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
}

/* HAMBURGER MENU */
/* .mobile-logo {
    visibility: hidden;
} */

.mobile-logo svg {
    display: none;
    height: 5.6rem;
    width: auto;
    z-index: 999;
}

.menu-toggle,
.mobile-menu {
    display: none;
}


/* PARTNERS SECTION */
.partners {
    background-color: var(--primary);
    margin-bottom: 200px;
    text-align: center;
}

.partners-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.partners-label-wrapper {
    overflow: hidden;
    margin-bottom: 30px;
}

.partners-label {
    display: block;
    color: var(--secondary);
    font-family: var(--texts);
    font-weight: var(--semiBold);
    font-size: 3.2rem;
    /* font-size: 1.3vw; */
    letter-spacing: 5px;
    margin-bottom: 0;
    opacity: 0;
    text-transform: uppercase;
}

.partners .partners-header h1 {
    font-family: var(--texts);
    font-weight: var(--black);
    font-size: 12.5vw;
    color: var(--secondary);
    line-height: .8;
    text-align: center;
    text-transform: uppercase;
    margin: 0;

    width: max-content;
    max-width: 100%;
}

.partners-title-line {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.partners-reveal-text {
    display: block;
    visibility: hidden;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

.partners-reveal-text.first-reveal {
    color: var(--white);
}

.partners-title-line .reveal-block {
    position: absolute;
    inset: 0;
    background-color: var(--secondary);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
}

.partners-title-line .first-block {
    background-color: var(--white);
}

.partners-title-line .reveal-text {
    display: block;
    visibility: hidden;
}

.partners .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 40px);
    /* gap: 50px; */
    width: 100%;
    max-width: 1400px;
    padding: 0 20%;
    margin: 0 auto 300px;
    padding: 0 40px;
    justify-self: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 180px;
    padding: 25px;
    background-color: var(--primary);
    will-change: transform, opacity;
}

.partner-item img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s ease;
}

.partners .grid img:hover {
    filter: grayscale(0%);
}

.partners-button {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-self: center;
    background-color: var(--secondary);
    padding: 2.4rem 3.2rem;
    text-decoration: none;
    color: var(--primary);
    font-size: 32px;
    font-family: var(--texts);
    font-weight: var(--semiBold);
    text-transform: uppercase;
}

.partners-button span {
    cursor: pointer;
}

.partners-button svg {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.partners-button:hover svg {
    transform: translate(4px, -4px) rotate(5deg);
}

.button-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}

.button-text-original,
.button-text-hover {
    display: block;
    white-space: nowrap;
}

.button-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
}


/* LINKS SECTION */
.links a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4.7vw 1.9vw;
    font-family: var(--texts);
    font-weight: var(--black);
    font-size: 16vw;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -4%;
}

.links a span {
    cursor: none;
}

.links a:last-child {
    font-size: 13vw;
}

.links a:first-child,
.links a:last-child {
    background-color: var(--secondary);
    color: var(--primary);
}

.links a:first-child svg,
.links a:last-child svg {
    width: 10vw;
    height: auto;
    transform: rotate(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.links a:first-child:hover svg {
    transform: rotate(-45deg);
}

.links a:nth-child(2) {
    background-color: var(--primary);
    color: var(--white);
}

.links a:nth-child(2) svg {
    width: 14.5vw;
    height: auto;
}

.links a svg path {
    fill: currentColor;
}

.links .link-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: 1.1;
    padding-inline: 0.03em;
}

.links .link-letter {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    padding-inline: 0.03em;
    margin-inline: -0.03em;
}

.links .link-letter-text {
    display: block;
}

.links .link-letter-reveal {
    position: absolute;
    inset: 0;
    z-index: 2;
    transform: translateY(0);
    pointer-events: none;
}

.links a:first-child .link-letter-reveal,
.links a:last-child .link-letter-reveal {
    background-color: var(--secondary);
}

.links a:nth-child(2) .link-letter-reveal {
    background-color: var(--primary);
}

.links a svg {
    flex-shrink: 0;
    clip-path: inset(0% 0% 100% 0%);
}

.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--texts);
    font-size: 1.4rem;
    font-weight: 900;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0 0 0 rgba(246, 239, 228, 0.4);
    will-change: transform;
    isolation: isolate;
}

.cursor-ring {
    position: absolute;
    inset: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.cursor-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.links a.custom-cursor {
    cursor: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    background-color: var(--secondary);
    color: var(--primary);
    font-family: var(--texts);
    font-weight: var(--semiBold);
    text-transform: uppercase;
    cursor: pointer;
    visibility: hidden;
    will-change: transform, opacity;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@media only screen and (max-width: 1300px) {
    
    ul {
        display: flex;
        font-size: 2rem;
    }

    .tickets svg {
        width: 3rem;
        height: auto;
    }

    nav li svg:first-child {
        width: 12rem;
        height: auto;
    }
}

@media (max-width: 1200px) {

    .partners-label {
        font-size: 2.5vw;
        letter-spacing: 3px;
    }
}

@media (max-width: 1100px) {

    .partners-label-wrapper {
        margin-bottom: 20px;
    }

    .partners .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding: 0 40px;
        margin-bottom: 200px;
    }

    .partner-item {
        height: 160px;
        padding: 20px;
    }

    .partner-item img {
        max-width: 190px;
        height: 90px;
    }
}

@media only screen and (max-width: 990px) {
    
    /* NAVIGATION*/
    nav ul {
        display: none;
    }

    .mobile-logo {
        display: block;
        position: relative;
        height: 6.4rem;
        width: fit-content;
        z-index: 991;
    }

    .mobile-logo svg {
        display: block;
        height: 6.4rem;
        width: auto;
    }

    .menu-toggle {
        position: absolute;
        top: 2.4rem;
        right: 2.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 991;
        width: 56px;
        height: 56px;
        padding: 0;
        background: transparent;
        border: none;
        visibility: hidden;
        cursor: pointer;
    }

    .menu-toggle svg {
        width: 100%;
        height: 100%;
    }

    .mobile-menu.is-open {
        pointer-events: auto;
    }

    .mobile-menu {
        position: fixed;
        display: flex;
        visibility: hidden;
        pointer-events: none;
        inset: 0;
        z-index: 990;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3.5rem;
        background: var(--primary);
        padding-inline: 2.4rem;
    }

    .mobile-menu a {
        display: block;
        font-family: var(--texts);
        font-size: 5rem;
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
    }

    .mobile-menu > a:not(.tickets-mobile) {
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 5rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
        text-align: center;
    }

    .mobile-menu .tickets-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        width: 100%;
        max-width: 42rem;
        min-height: 7.2rem;
        margin-top: 2rem;
        padding: 1.8rem 2.4rem;
        background-color: var(--secondary);
        color: var(--primary);
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 4rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        box-sizing: border-box;
    }

    .tickets-mobile svg {
        width: 3.6rem;
        height: auto;
        flex-shrink: 0;
    }

    .tickets-mobile svg path {
        fill: var(--primary);
    }

    .partners-header {
        height: 100vh;
        transform: translateY(-15rem);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 720px) {

    .loader .screen img,
    .loader .screen svg {
        width: 40vw;
    }

    .mobile-logo svg {
        display: block;
        height: 3.2rem;
        width: auto;
        z-index: 1000;
    }

    .menu-toggle {
        width: 3.2rem;
        height: 3.2rem;
    }

    .menu-toggle svg {
        width: 3.2rem;
        height: 100%;
    }

    .mobile-menu a {
        font-size: 3.8rem;
    }

    .partners-label {
        font-size: 3vw;
        letter-spacing: 2px;
    }

    .partners .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 120px;
    }

    .partner-item {
        height: 130px;
        padding: 15px;
    }

    .partner-item img {
        max-width: 150px;
        height: 80px;
    }
}

@media (max-width: 380px) {
    .partners .grid {
        gap: 8px;
        padding: 0 12px;
    }

    .partner-item {
        height: 110px;
        padding: 10px;
    }

    .partner-item img {
        height: 65px;
    }
}