@font-face {
    font-family: "Gabarito";
    src: url(./Fonts/Gabarito-Regular.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gabarito";
}

:root {
    --black: #1A1A1A;
    --white: #FFFFFF;
    --red: #E31E24;
    --silver: #C0C0C0;
    --pc1: #E31E24;
    --pc2: #1A1A1A;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

#splash-cursor-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#fluid {
    width: 100%;
    height: 100%;
    display: block;
}

main {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

main::-webkit-scrollbar {
    display: none;
}

#page1 {
    background-image: url('./img/background.png');
    background-size: cover;
    background-position: center top;
    background-color: #fff;
    position: sticky;
    top: 0;
    overflow: hidden;
}

main nav {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    font-size: 13px;
    font-weight: 900;
    position: absolute;
    padding: 0 1.5vw;
    z-index: 99;
}

main nav #logo {
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    color: var(--black);
    letter-spacing: 2px;
    font-size: 18px;
}

main nav #nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 30%;
    margin-left: -200px;
}

main nav #nav-links a {
    text-decoration: none;
    color: var(--black);
    position: relative;
    padding: 2px 4px;
}

main nav #nav-links a::before {
    content: "";
    background-color: var(--black);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(0);
    z-index: -1;
}

main nav #nav-links a:hover::before {
    transition: 0.5s;
    transform: translate(-50%, -50%) scaleY(1);
}

main nav #btn-left {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100%;
}

main nav #btn-left button,
main nav #btn-right button {
    background-color: transparent;
    border: none;
    color: var(--black);
    font-weight: 900;
    cursor: pointer;
}

main nav #btn-left button::before {
    content: "";
    background-color: var(--black);
    height: auto;
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: -1;
}

main nav #btn-right button {
    border: 2px solid var(--red);
    color: var(--red);
    padding: 5px 8px;
    border-radius: 30px;
    font-size: 14px;
    transition: background-color 0.4s, color 0.4s;
}

main nav #btn-right button:hover {
    background-color: var(--red);
    color: var(--white);
}

main #hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 50px;
}

main #hero #big-txt {
    display: flex;
    align-items: center;
    height: 60%;
    width: 100%;
    overflow: hidden;
}

main #hero #bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30%;
    padding: 0 3vw 4vw;
}

main #hero #bottom p {
    height: 100%;
    width: 60%;
    font-size: 2.8vw;
    color: var(--black);
    line-height: 2.5vw;
}

main #hero #bottom #buttons {
    height: 100%;
    width: 22%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main #hero #bottom #buttons button {
    font-size: 18px;
    background-color: transparent;
    border: none;
    color: var(--black);
    cursor: pointer;
}

main #hero #bottom #buttons button:first-child {
    border: 2px solid var(--red);
    color: var(--red);
    padding: 8px 35px;
    border-radius: 50px;
}

main #hero #bottom #buttons button:first-child:hover {
    background-color: var(--red);
    color: var(--white);
    transition: 0.5s;
}

main #hero #bottom #buttons button:last-child {
    width: fit-content;
    height: fit-content;
    position: relative;
    overflow: hidden;
    padding: 0 4px;
}

main #hero #bottom #buttons button:last-child::before {
    content: "";
    background-color: var(--black);
    position: absolute;
    top: calc(50% - 14.5px);
    left: calc(50% - 30px);
    width: 60px;
    height: 0px;
    padding: 1px 0px;
    z-index: -1;
}

main #hero #bottom #buttons button:last-child:hover::before {
    transition: 1s;
    height: 25px;
}

#page2 {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

#page-container {
    position: relative;
    z-index: 1;
}

#page2 .nav-part {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    background-color: var(--pc1);
    font-size: 15px;
    padding: 0 2vw;
    width: 100%;
    height: 40px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    z-index: 98;
    color: var(--white);
}

.page-wrapper {
    position: sticky;
    top: 0;
}

#page2 .main-part {
    width: 100%;
    height: 100vh;
    display: flex;
    padding: 0 2vw;
    position: relative;
    z-index: 1;
}

#page2 .main-part .text-container {
    width: 100%;
    height: 100vh;
    display: flex;
    padding: 0 2vw;
    position: relative;
}

#page2 .main-part1 {
    background-color: var(--pc2);
}

#page2 .main-part2 {
    background-color: var(--pc1);
}

#page2 .main-part3 {
    background-color: #2D2D2D;
}

#page2 .main-part4 {
    background-color: var(--pc1);
}

#page2 .main-part .text-container .left-part {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    color: var(--white);
}

#page2 .main-part .text-container .left-part h1 {
    font-size: 5vw;
    font-weight: 600;
}

#page2 .main-part .text-container .left-part p {
    font-size: 2vw;
}

#page2 .main-part .text-container .right-part {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page2 .main-part .text-container .right-part img {
    height: 73%;
    object-fit: cover;
}

#page3 {
    width: 100%;
    height: 100vh;
    background-color: var(--pc2);
    position: relative;
    display: flex;
    align-items: center;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

#page3 .left3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 100%;
    padding: 0 4vw;
    color: var(--white);
}

#page3 .left3 .text1 {
    display: flex;
    position: absolute;
}

#page3 .left3 .text1 h1 {
    font-size: 11vw;
    z-index: 2;
}

#page3 .left3 .text2 {
    display: flex;
    position: absolute;
    top: 49vh;
    left: 14vh;
}

#page3 .left3 .text2 h1 {
    font-size: 11vw;
    background-color: var(--pc2);
    z-index: 1;
}

#star1 {
    position: absolute;
    height: 40%;
    top: 3vh;
    right: -21vw;
}

#star2 {
    position: absolute;
    height: 25%;
    left: -14vw;
    top: 15vh;
}

#arrow {
    position: absolute;
    height: 20%;
    left: -5.5vw;
    top: 47vh;
}

#page3 .right3 {
    width: 50%;
    height: 90%;
    position: relative;
    overflow: hidden;
    position: absolute;
    left: 50%;
}

#page3 .right3 .text-tag {
    background-color: var(--white);
    color: var(--black);
    display: inline-block;
    position: absolute;
    font-size: 3vw;
    padding: 5px 10px;
}

#page3 .right3 .text-tag:hover {
    background-color: var(--red);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.6s;
}

#page3 .right3 .text-tag1,
#page3 .right3 .text-tag7,
#page3 .right3 .text-tag8 {
    background-color: var(--red);
    color: var(--white);
}

#page3 .right3 .text-tag1 {
    top: 30%;
    left: 30%;
    rotate: 10deg;
}

#page3 .right3 .text-tag2 {
    top: 30%;
    left: 55%;
    rotate: -15deg;
}

#page3 .right3 .text-tag3 {
    top: 40%;
    left: 28%;
    rotate: 6deg;
}

#page3 .right3 .text-tag4 {
    top: 50%;
    left: 20%;
    rotate: -8deg;
}

#page3 .right3 .text-tag5 {
    top: 70%;
    left: 60%;
    rotate: -10deg;
}

#page3 .right3 .text-tag6 {
    top: 50%;
    left: 55%;
    rotate: 7deg;
}

#page3 .right3 .text-tag7 {
    top: 70%;
    left: 20%;
    rotate: 3deg;
}

#page3 .right3 .text-tag8 {
    top: 60%;
    left: 30%;
    rotate: 5deg;
}

#page3 .right3 .text-tag9 {
    top: 40%;
    left: 50%;
    rotate: -7deg;
}

#page3 .right3 .text-tag10 {
    top: 50%;
    left: 75%;
    rotate: -5deg;
}

/* ─── Holographic Ticket (Access section) ─── */

.main-part4 .right-part {
    display: flex;
    align-items: center;
    justify-content: center;
}

#ticket-cta.card {
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#ticket-cta.card:hover,
#ticket-cta.card:focus-visible {
    transform: scale(1.015);
}

#ticket-cta.card:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 6px;
}

.card {
    --width: 380px;
    --height: 600px;
    --perforation-size: 16px;
    --cutouts-adjust: 80px;

    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    grid-template-areas:
        "header"
        "body"
        "footer";

    width: var(--width);
    height: var(--height);
    padding: var(--perforation-size) 0;

    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    user-select: none;
    overflow: hidden;

    filter: drop-shadow(0 2px 1px #00000025) drop-shadow(0 4px 3px #00000025)
        drop-shadow(0 10px 9px #00000025) drop-shadow(0 20px 20px #00000025)
        drop-shadow(0 40px 40px #00000025);
    animation: ticket-hover 3s ease infinite;
    will-change: transform, filter;
}

@keyframes ticket-hover {
    50% {
        filter: drop-shadow(0 4px 3px #00000015) drop-shadow(0 6px 6px #00000015)
            drop-shadow(0 16px 14px #00000015) drop-shadow(0 30px 28px #00000015)
            drop-shadow(0 60px 60px #00000015);
        transform: translateY(-7px) scale(1.02);
    }
}

.card .filter {
    position: absolute;
}

.card .bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: #fff;
    filter: url(#bump);
    mask:
        radial-gradient(circle at 50% 0, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
        radial-gradient(circle at 50% 100%, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
        radial-gradient(circle 8px at left center, #000 98%, #0000 100%),
        radial-gradient(circle 8px at right center, #000 98%, #0000 100%),
        repeating-linear-gradient(90deg, #000 10px, #000 15px, #0000 16px, #0000 24px);
    mask-repeat: repeat-x, repeat-x, no-repeat, no-repeat, repeat-x;
    mask-size:
        calc(var(--perforation-size) * 2) 100%,
        calc(var(--perforation-size) * 2) 100%,
        16px 16px,
        16px 16px,
        10px 2px;
    mask-position:
        calc(0.5 * var(--perforation-size)) top,
        calc(0.5 * var(--perforation-size)) bottom,
        left var(--cutouts-adjust),
        right var(--cutouts-adjust),
        0 calc(var(--cutouts-adjust) + 7px);
    mask-composite: intersect, exclude, add, add;
}

.card .holographic {
    background-image: linear-gradient(to bottom, #fe58, 90%, #0002),
        conic-gradient(
            at 60% 50%,
            #ccc, #ff6bfe, #00f9f8, #ddd,
            #0081fd, #eef0bc, #0081fd, #ff6bfe,
            #0002, #0081fd, #ddd, #01fefb, #ccc
        );
}

.card .holographic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 70% 20%, #f0f, #0000),
        repeating-radial-gradient(circle at 30% 80%, #fff, #f4a 48px, #eeeeee 150px);
    mix-blend-mode: color-burn;
}

.card .holographic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, #f205, #f00, #0f0, #f205);
    mix-blend-mode: difference;
    animation: bg-pos 3s ease-in-out infinite alternate;
    background-position: 0 0;
    background-size: 100% 300%;
    background-repeat: repeat;
}

@keyframes bg-pos {
    to { background-position: 0 500px; }
}

.card .header {
    position: relative;
    grid-area: header;
    margin: 0 12px;
    text-align: center;
    z-index: 1;
    font-family: "Impact", sans-serif;
    font-size: 4rem;
    letter-spacing: 4px;
    color: #ffffff9f;
    text-shadow: 0 0 0 #000;
    -webkit-text-stroke: #fff 0.5px;
    mix-blend-mode: difference;
}

.card .body {
    grid-area: body;
    margin: 0 1.5em;
    padding: 1.2em 1em;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 2.2;
    letter-spacing: 0.5px;
    z-index: 1;
}

.card .footer {
    grid-area: footer;
    z-index: 1;
    margin: 0 1.5em 1.5em 1.5em;
}

.card .number {
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 999px 0;
    color: #000;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.card .number .bold {
    font-weight: 600;
}

.card .barcode {
    justify-self: center;
    width: 0;
    height: 32px;
    box-shadow:
        0px 0 0 1px #000, 5px 0 0 1px #000, 7px 0 0 1px #000,
        11px 0 0 1px #000, 15px 0 0 1px #000, 16px 0 0 1px #000,
        22px 0 0 1px #000, 27px 0 0 1px #000, 30px 0 0 1px #000,
        35px 0 0 1px #000, 36px 0 0 1px #000, 39px 0 0 1px #000,
        43px 0 0 1px #000, 47px 0 0 1px #000, 50px 0 0 1px #000,
        55px 0 0 1px #000, 59px 0 0 1px #000, 60px 0 0 1px #000,
        64px 0 0 1px #000, 69px 0 0 1px #000, 70px 0 0 1px #000,
        74px 0 0 1px #000;
    transform: translateX(37px);
}

.card .symbol {
    position: absolute;
    top: 1.3em;
    right: 0px;
    rotate: 185deg;
    font-size: 1.1em;
    color: #fff;
    line-height: 0.5;
    opacity: 0.2;
}

.card .notes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    font-size: 7rem;
    color: #e7e7e7;
    mix-blend-mode: color-burn;
    transform: translateY(20%);
    z-index: 1;
}

.card .notes:nth-child(2) {
    transform: translateY(40%);
}

.card .notes:nth-child(3) {
    transform: translateY(60%);
}

/* ─── Waitlist modal ─── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    color: var(--black);
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
}

.modal-box h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 8px;
}

#modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--black);
}

#waitlist-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#waitlist-email {
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 1rem;
    outline: none;
}

#waitlist-email:focus {
    border-color: var(--red);
}

#waitlist-submit,
#waitlist-try-demo {
    padding: 12px 16px;
    border-radius: 50px;
    border: none;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#waitlist-submit:hover,
#waitlist-try-demo:hover {
    opacity: 0.85;
}

#waitlist-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#waitlist-done {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 2px solid #ddd;
    background: transparent;
    color: var(--black);
    font-weight: 600;
    cursor: pointer;
}

#waitlist-success-view button {
    width: 100%;
}

#waitlist-success-view #waitlist-try-demo {
    margin-top: 16px;
}

.modal-error {
    color: var(--red);
    font-size: 0.85rem;
    text-align: left;
}