:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --font-main: "Inter", sans-serif
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-y: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: fit-content;
    user-select: none;
    -webkit-user-select: none
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none
}

#main-content {
    display: flex;
    flex-direction: row;
    width: max-content;
    height: 85vh;
    margin-top: 50px;
    padding-left: 20vw;
    padding-right: 20vw
}

.item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60vw;
    height: 100%;
    padding: 0 2vw;
    flex-shrink: 0
}

.item__content {
    position: absolute;
    bottom: 13%;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    width: 100%
}

.item__title {
    font-size: 5.5vw;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -.04em;
    line-height: .9;
    opacity: 1;
    transform-origin: center;
    will-change: transform;
    white-space: nowrap;
    pointer-events: auto;
    cursor: default;
    perspective: 1000px
}

.item__title .char {
    display: inline-block;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    transform-style: preserve-3d
}

.item__title:hover .char:nth-child(odd) {
    transform: rotateY(360deg);
    color: #fff
}

.item__title:hover .char:nth-child(2n) {
    transform: rotateY(-360deg);
    color: #fff
}

.item__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .8;
    transform-origin: center;
    will-change: transform
}

.item__img {
    width: 49vw;
    max-width: none;
    height: auto;
    aspect-ratio: 5/5;
    object-fit: cover;
    opacity: 0
}

.footer-spacer {
    display: none
}

@media(min-width:1500px) {
    .item__img {
        width: 46vw
    }
}

@media(min-width:1900px) {
    #main-content {
        margin-top: 100px
    }
}

@media(max-width:1024px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%
    }

    #canvas-container {
        width: 100vw;
        height: 100vh
    }

    #main-content {
        flex-direction: column;
        margin-top: 70px;
        width: 100%;
        height: auto;
        padding: 0
    }

    .item {
        width: 100%;
        height: 95%;
        padding: 0;
        margin-bottom: 1vh
    }

    .item__content {
        bottom: 30%;
        transform: translateY(50%);
        width: 100%;
        padding: 0 .5rem
    }

    .item__title {
        font-size: 12vw;
        white-space: normal
    }

    .item__subtitle {
        font-size: 1.2rem
    }

    .item__img {
        width: 95vw;
        height: 60vh;
        aspect-ratio: auto
    }
}

.fixed-menu {
    position: fixed;
    top: 1.3rem;
    left: 50%;
    transform: translate(-50%);
    width: max-content;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 2rem
}

.fixed-menu__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0
}

.fixed-menu__link {
    color: #fff;
    text-decoration: none;
    font-family: Inter, sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .1em;
    font-size: .9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0
}

.fixed-menu__link:hover {
    opacity: .7
}

.fixed-menu__socials {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, .3)
}

.social-icon {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease
}

.social-icon:hover {
    transform: scale(1.1)
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    border-radius: 20px
}

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

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000c;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px)
}

.modal__content {
    position: relative;
    background: #111;
    border: 1px solid #333;
    padding: 1.5rem;
    max-width: 500px;
    width: 97%;
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform .4s ease;
    border-radius: 20px
}

.modal.is-open .modal__content {
    transform: translateY(0)
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer
}

.modal__title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase
}

.modal__body p {
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ccc
}

@media(max-width:1024px) {
    .fixed-menu {
        inset: 20px 0 auto;
        transform: none;
        width: 100%;
        background: transparent padding: 1.1rem;
        justify-content: center;
        flex-wrap: wrap
    }

    .fixed-menu__socials {
        border-left: none;
        padding-left: 0
    }
}

.spotify-player {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%);
    width: 95%;
    max-width: 350px;
    height: 80px;
    z-index: 90;
    border-radius: 12px;
    transition: transform .3s ease, opacity .3s ease;
    mix-blend-mode: normal;
    overflow: hidden
}

.spotify-player iframe {
    height: 80px !important;
    max-height: 80px !important;
    width: 100%;
    display: block
}

.spotify-player:hover {
    transform: translate(-50%) scale(1.02)
}

@media(max-width:768px) {
    .spotify-player {
        bottom: 2%;
        max-height: 80px !important;
        width: 95%;
        max-width: 320px
    }
}