:root {
    --opaque-black: #00000091;
    --opaque-grey: #1d1c1c91;
    --black: #000000;
    --white: #ffffff;
    --yellow: #f7ff19;
    --mustard: #ff7c06;
    --blue: #003dff;
    --lighter-black: #010101;
    --cyan-blue: #003798;
    --grey: #7c7c7c;
    --red: #C8102E;

    --gradient-grey: linear-gradient(90deg, #0C0C0C, #1D1C1C);

}

* {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--opaque-black);
    z-index: 10;
    backdrop-filter: blur(10px);
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #0C0C0C, #1D1C1C);
    overflow-x: hidden;
}

body.countdown-overflow-locked {
    overflow: hidden;
}

nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

li {
    cursor: pointer;
    transition-duration: 0.3s;
    text-decoration: none;
}

li a {
    text-decoration: none;
    color: inherit;
}

li:hover {
    color: var(--red);
}


.release-active {
    opacity: 0;
    overflow: hidden;
}

.countdown {
    position: relative;
    width: 100%;
    margin-top: 0;
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    border-top: 0px solid rgba(255, 255, 255, 0.15);
    border-bottom: 0px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.countdown-title {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: clamp(140px, 24vw, 240px);
    height: auto;
    margin: 0;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.4vw, 24px);
    flex-wrap: wrap;
}

.countdown-unit {
    min-width: 86px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--opaque-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0px solid rgba(255, 255, 255, 0.16);
}

.countdown-unit span {
    color: var(--red);
    font-size: clamp(24px, 4.5vw, 40px);
    font-weight: 900;
    line-height: 1;
}

.countdown-unit small {
    margin-top: 6px;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-date,
.countdown-ended {
    margin: 0;
    color: var(--white);
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
}

.topics {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    color: var(--white);
    padding-right: 40px;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    padding: min(1rem, 20px);
    opacity: 100%;
    z-index: 10;
}

.logo img {
    width: 300px;
    opacity: 100%;
    padding-left: 30px;
    pointer-events: none;
}

.mobile {
    display: none;
    cursor: pointer;
    width: 34px;
    padding-left: 50px;
}

.mobile .bar {
    flex-basis: 100%;
    height: 4px;
    background-color: #ffffff;
    margin: 3px;
}

.homepage {
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 800px;
    padding-top: 140px;
    --welcome-offset: 80px;
}

.welcome-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 300;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
    pointer-events: none;
}

.welcome-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: var(--opaque-black);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    pointer-events: auto;
}

.welcome-nav button:hover {
    transform: scale(1.06);
    background: var(--red);
}

.welcome {
    display: flex;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--welcome-offset);
    --highlight-x: 90px;
    --highlight-y: 60px;
    width: 100%;
    max-width: 1439px;
    min-height: 789px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.welcome.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.highlight {
    position: absolute;
    z-index: 215;
    left: var(--highlight-x);
    top: var(--highlight-y);
    pointer-events: none;
    animation: looping 5s infinite alternate ease-in-out;
}

@keyframes looping {
    0% {
        transform: translateX(1%) scale(1.05);
    }
    100% {
        transform: translateX(-1%) scale(1);
    }
}

@keyframes appear-pop-up {
    0% {
        opacity: 0;
        scale: 0.5;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}

@keyframes appear-slide {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight img {
    display: block;
    width: min(720px, 60vw);
    height: auto;
    padding: 0;
    z-index: 15;
    pointer-events: none;
}

.square {
    display: flex;
    position: relative;
    z-index: 1;
    flex: 0 0 min(684px, 100%);
    min-width: 240px;
    width: min(684px, 100%);
    aspect-ratio: 684 / 908;
    height: 100%;
    left: 0;
    top: 33px;
    background: linear-gradient(180deg, #C8102E 0%, #620817 100%);

}

.welcome-text {
    width: 55%;
    padding-right: 190px;
    padding-top: 200px;
    padding-left: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
}

.title {
    font-size: 48px;
    font-weight: 900;
    font-style: italic;
    line-height: 6px;
    color: var(--white);
    margin-bottom: 10px;
}

.description {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: var(--white);
}

.btn-welcome a {
    background: var(--dark-red, #c8102e);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-welcome a:hover {
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 30px;
    transform: scale(1.05);
}

.attributions {
    position: fixed;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

.attribution-item {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: appear-pop-up 1s ease-in-out forwards;
    animation-timeline: view();
    animation-range: entry 30% 80%;
}

.divisor-bar {
    display: flex;
    gap: 200px;
    justify-content: center;
    align-items: center;
}

.attribution-item:hover {
    cursor: pointer;
    opacity: 70%;
    transform: scale(1.1);
}

.play {
    margin-top: 0;
    clear: both;
    position: relative;
    min-height: 600px;
}

.play-background {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 1100px;
    z-index: 0;
    pointer-events: none;
}

.play-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-content {
    position: relative;
    z-index: 2;
    padding: 180px 20px;
    color: var(--white);
    animation: appear-slide 1s ease-in-out forwards;
    animation-timeline: view();
    animation-range: entry 0% 40%;
}

.play-title {
    font-size: 86px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 20px;
}

.play-description {
    font-size: 21px;
    font-weight: 400;
    line-height: 32px;
    max-width: 900px;
}

.rate-content {
    background-color: var(--opaque-grey);
    position: absolute;
    right: 20px;
    bottom: -270px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    max-width: fit-content;
    border-radius: 10px;
    gap: 10px;
    animation: appear-pop-up 1s ease-in-out forwards;
    animation-timeline: view();
    animation-range: entry 0% 40%;
}

.rate-img {
    display: block;
    width: 90px;
    height: auto;
    padding: 10px;
}

.play-btn {
    margin-top: 0px;
    background: var(--yellow);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 18px;
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.play-btn:hover {
    border: 2px solid var(--white);
    border-radius: 18px;
    transform: scale(1.05);
}

.trailer-btn {
    margin-top: 0px;
    margin-left: 10px;
    background: #d9dfea;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 18px;
    color: var(--black);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trailer-btn:hover {
    border: 2px solid var(--white);
    border-radius: 18px;
    transform: scale(1.05);
}

button:hover {
    border: 2px solid var(--white);
    border-radius: 18px;
    transform: scale(1.05);
}

.prelude-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 300px 0 0 0;
    min-height: 650px;
    padding: 80px 20px 60px 20px;
    background-color: var(--gradient-grey);
    animation: appear-slide 1s ease-in-out forwards;
    animation-timeline: view();
    animation-range: entry 0% 40%;
}

.prelude-title {
    font-size: 76px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: var(--white);
    margin-bottom: 0px;
    text-align: center;
}

.prelude-description {
    font-size: 21px;
    font-weight: 300;
    line-height: 30px;
    color: var(--white);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 30px;
    height: auto;
}

.prelude-catalogue {
    display: flex;
    gap: 0px;
    padding: 0 10px;
    justify-content: flex-start;
    width: 100%;
    max-width: 1350px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    overflow: visible;
    margin: 50px auto 0;
}

.prelude-catalogue .swiper-slide {
    display: flex;
    justify-content: stretch;
}

.prelude-catalogue a {
    display: block;
    line-height: 0;
    width: 100%;
    height: auto;
}

.prelude-catalogue img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 40px;
    border: 2px solid transparent;
    transition: border 0.3s ease, transform 0.3s ease;
}

.prelude-catalogue img:hover {
    border: 4px solid var(--white);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.swiper-button-next,
.swiper-button-prev {
    z-index: 1000;
    color: var(--white);
    top: 0;
    bottom: 0;
    margin-top: 0;
    width: 90px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.swiper-button-next::before,
.swiper-button-prev::before {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1D1C1C;
    border: 3px solid var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.swiper-button-next:hover::before,
.swiper-button-prev:hover::before {
    transform: scale(1.06);
    background-color: var(--red);
    z-index: 10;
}

.swiper-button-next {
    right: 180px;
}

.swiper-button-prev {
    left: 180px;
    right: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "" !important;
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    background-image: url('./img/swiper-arrow.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
    font-family: initial !important;
    z-index: 10;
}

.swiper-button-prev::after {
    transform: rotate(180deg);
}

.swiper-button-next svg,
.swiper-button-prev svg {
    display: none !important;
}

.prelude-content .swiper-slide a {
    pointer-events: auto;
}

.island-code {
    position: fixed;
    width: 100%;
    height: 300px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    z-index: 0;
    background-image: url('./img/lobby-background.png');
    background-size: cover;
    background-position: fixed;
}

.island-divisor {
    position: relative;
    width: 700px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.island-code-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 54px;
    font-weight: 1000;
    font-style: italic;
    color: var(--black);
    margin: 0;
    justify-content: center;
    letter-spacing: 2px;
    display: flex;
    white-space: nowrap;
    line-height: 50px;
    max-width: 900px;
    font-family: 'Archivo Black', sans-serif;
}
.code-tag {
    position: relative;
    z-index: 1;
    width: 700px;
    height: 140px;
    margin-right: 0;
}

.characters {
    margin-top: 100px;
}

.character-selector {
    display: inline-flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.character-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.character-option {
    opacity: 0;
    display: none;
    transform: translateY(18px) scale(0.98);
}

.character-square-jones {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--blue);
    padding: 10px;
}

.character-square-slone {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--mustard);
    padding: 10px;
}

.character-square-kado {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--red);
    padding: 10px;
}

.character-square-paradigm {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--cyan-blue);
    padding: 10px;
}

.character-square-order {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--grey);
    padding: 10px;
}

.character-square-dealer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: var(--lighter-black);
    padding: 10px;
}

.character-square-you {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 700px;
    width: 800px;
    background-color: #8713ff;
    padding: 10px;
}

.character-option [class^="character-square-"] {
    width: min(800px, 92vw);
}

.character-img {
    width: 70%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.character-img img {
    width: 250%;
    height: 250%;
    object-fit: contain;
    pointer-events: none;
    filter: saturate(1.5);
    z-index: 20;
    animation: left-to-right 5s infinite alternate ease-in-out;
}

.character-name {
    font-size: 80px;
    color: var(--white);
    font-weight: 900;
    font-style: italic;
}

.character-text {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    color: var(--white);
    margin-top: -200px;
}

.character-description {
    font-size: 21px;
    font-weight: 350;
    line-height: 25px;
    margin-top: -90px;
}

.character-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: -308px;
    max-width: 500px;
    line-height: 1px;
    align-self: flex-end;
    transform: translateX(-18px);

}

.btn-person  {
    background-color: transparent;
    border: transparent;
    transition: ease-in-out 0.3s;
    cursor: pointer;
    margin-top: 0;
    width: 84px;
    height: 84px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.btn-person:hover {
    border: 0px solid var(--white);
    border-radius: 18px;
    transform: scale(1.05);
    filter: brightness(1.5);
}

.btn-person.is-clicked {
    animation: button-pop 0.22s ease;
}

.character-option.selected {
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    transform: translateY(0) scale(1);
}

.character-option.is-entering {
    display: flex;
    animation: character-in 0.28s ease forwards;
}

.character-option.is-leaving {
    display: flex;
    pointer-events: none;
    animation: character-out 0.24s ease forwards;
}

@keyframes character-in {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes character-out {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-14px) scale(0.98);
    }
}

@keyframes button-pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.14);
    }
    100% {
        transform: scale(1);
    }
}

footer {
    background: var(--gradient-grey);
    border-top: 1px solid var(--grey);
    padding: 60px 20px 30px;
    margin-top: 0px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.footer-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 14px;
    color: var(--grey);
    margin: 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--grey);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--grey);
    padding-top: 20px;
    color: var(--grey);
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-divisor {
    position: fixed;
    width: 100%;
    height: 230px;
    margin-top: 164.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

@keyframes left-to-right {
    0% {
        transform: translateX(6%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 1366px) {
    .logo img {
        width: clamp(220px, 22vw, 300px);
    }

    .homepage {
        min-height: 760px;
        padding-top: 120px;
        --welcome-offset: 56px;
    }

    .welcome {
        min-height: 680px;
        --highlight-x: 50px;
        --highlight-y: 40px;
    }

    .welcome-text {
        width: 50%;
        padding-right: clamp(24px, 6vw, 140px);
        padding-left: clamp(16px, 2.5vw, 44px);
        padding-top: clamp(140px, 12vw, 185px);
    }

    .title {
        font-size: clamp(40px, 4.2vw, 48px);
    }

    .description {
        font-size: clamp(18px, 1.8vw, 24px);
        line-height: 1.4;
    }

    .divisor-bar {
        gap: clamp(36px, 8vw, 160px);
    }

    .play-background {
        min-height: 960px;
    }

    .play-content {
        padding: 150px 20px;
    }

    .play-title {
        font-size: clamp(62px, 6.6vw, 86px);
    }

    .play-description {
        font-size: clamp(18px, 1.8vw, 21px);
    }

    .prelude-content {
        margin-top: 180px;
    }

    .prelude-title {
        font-size: clamp(56px, 6vw, 76px);
    }

    .prelude-description {
        font-size: clamp(18px, 1.8vw, 21px);
    }

    .island-code {
        height: clamp(210px, 21vw, 300px);
        padding: 12px;
        background-position: center;
    }

    .island-divisor {
        width: min(700px, 92vw);
        height: auto;
    }

    .code-tag {
        width: 100%;
        height: auto;
    }

    .island-code-title {
        font-size: clamp(34px, 4.3vw, 54px);
        line-height: 1;
        letter-spacing: clamp(0.4px, 0.25vw, 2px);
    }

    .character-option [class^="character-square-"] {
        height: min(640px, 58vw);
    }

    .character-name {
        font-size: clamp(58px, 6.2vw, 80px);
    }

    .character-text {
        max-width: min(520px, 42vw);
        margin-top: clamp(-170px, -13vw, -100px);
    }

    .character-description {
        margin-top: clamp(-70px, -5.5vw, -30px);
    }

    .character-buttons {
        margin-top: clamp(-260px, -18vw, -130px);
    }
}

@media (max-width: 1200px) {
    .topics {
        gap: 28px;
        padding-right: 18px;
    }

    .welcome {
        --highlight-x: 32px;
    }

    .highlight img {
        width: min(560px, 52vw);
    }

    .welcome-text {
        width: 48%;
    }

    .play-content {
        padding: 132px 20px;
    }

    .play-description {
        max-width: 760px;
    }

    .rate-content {
        right: 10px;
        bottom: -160px;
    }

    .prelude-catalogue img {
        width: min(380px, 58vw);
        border-radius: 30px;
    }

    .swiper-button-next {
        right: 92px;
    }

    .swiper-button-prev {
        left: 92px;
    }

    .character-option [class^="character-square-"] {
        width: min(620px, 64vw);
    }

    .character-buttons {
        max-width: 420px;
    }
}

@media (max-width: 900px) {
    .play-btn,
    .trailer-btn {
        font-size: 1.05rem;
        padding: 10px 18px;
    }

    .rate-content {
        right: 50%;
        transform: translateX(50%);
        bottom: 14px;
        width: calc(100% - 28px);
        justify-content: center;
        flex-wrap: wrap;
        padding: 8px 10px;
    }

    .character-option.selected {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .character-option [class^="character-square-"] {
        width: min(520px, 92vw);
        height: 430px;
    }

    .character-text {
        max-width: min(640px, 92vw);
        margin-top: 24px;
        text-align: center;
        align-items: center;
    }

    .character-description {
        margin-top: 0;
        line-height: 1.45;
    }

    .character-buttons {
        justify-content: center;
        align-self: center;
        transform: none;
        margin-top: 20px;
        max-width: min(420px, 92vw);
        line-height: normal;
    }
}

@media (max-width: 1024px) {
    .homepage {
        min-height: 980px;
        --welcome-offset: 120px;
    }

    .welcome {
        min-height: 700px;
        --highlight-x: 50px;
        --highlight-y: 120px;
    }

    .welcome-nav {
        left: 50%;
        right: auto;
        width: min(684px, calc(100% - 32px));
        transform: translate(-50%, -50%);
        padding: 0 12px;
    }

    .highlight img {
        width: min(560px, 52vw);
        z-index: 20;
    }

    .welcome-text {
        width: 48%;
        padding-right: 40px;
        padding-left: 20px;
        padding-top: 170px;
        font-size: 10px;
    }

    .title {
        font-size: clamp(36px, 5vw, 46px);
        line-height: 1.1;
    }

    .description {
        font-size: clamp(18px, 2.4vw, 22px);
        line-height: 1.4;
    }

    .divisor-bar {
        gap: clamp(20px, 8vw, 90px);
    }

    .divisor-bar img {
        width: clamp(120px, 22vw, 220px);
        height: auto;
    }

    .play-content {
        padding: 140px 20px;
    }

    .play-title {
        font-size: clamp(52px, 8vw, 76px);
        line-height: 1;
    }

    .play-description {
        font-size: clamp(18px, 2.8vw, 21px);
        line-height: 1.45;
        max-width: 700px;
    }

    .rate-content {
        right: 10px;
        bottom: -180px;
    }

    .prelude-content {
        margin-top: 140px;
        margin-bottom: 100px;
        padding: 70px 14px 40px;
        min-height: auto;

    }

    .prelude-title {
        font-size: clamp(48px, 8vw, 70px);
    }

    .prelude-description {
        font-size: clamp(18px, 2.8vw, 21px);
        line-height: 1.4;
    }

    .prelude-catalogue img {
        width: min(380px, 60vw);
        border-radius: 28px;
    }

    .swiper-button-next {
        right: 72px;
        color: var(--white);
    }

    .swiper-button-prev {
        left: 72px;
        color: var(--white);
    }

    .character-option [class^="character-square-"] {
        width: min(520px, 55vw);
        height: 560px;
    }

    .character-name {
        font-size: clamp(52px, 8vw, 72px);
    }

    .character-text {
        margin-top: -100px;
    }

    .character-description {
        font-size: clamp(17px, 2.4vw, 20px);
        line-height: 1.35;
        margin-top: -50px;
    }

    .character-buttons {
        gap: 8px;
        margin-top: 0;
        max-width: 360px;
    }

    .btn-person {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 763px) {
    html {
        scroll-padding-top: 80px;
    }

    .countdown {
        margin-top: 0;
        padding: 18px 10px;
    }

    .countdown-unit {
        min-width: 76px;
        padding: 8px;
    }

    header {
        height: 80px;
    }

    nav {
        flex-wrap: wrap;
        color: var(--white);
        width: 100%;
        justify-content: flex-end;
    }

    .mobile {
        display: flex;
        flex-wrap: wrap;
    }

    .logo {
        height: 80px;
    }

    .logo img {
        width: min(230px, 56vw);
        padding-left: 10px;

    }

    .topics {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-right: 0;
        padding: 90px 16px 20px;
        background-color: var(--opaque-black);
    }

    .welcome-nav {
        top: clamp(180px, 24vw, 235px);
        padding: 0 8px;
    }

    .welcome-nav button {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .homepage {
        min-height: 1100px;
        padding-top: 120px;
        --welcome-offset: 140px;
    }

    .welcome {
        flex-wrap: wrap;
        min-height: auto;
        padding: 0 12px;
        --highlight-x: 50%;
        --highlight-y: 10px;
    }

    .highlight {
        left: var(--highlight-x);
        top: var(--highlight-y);
        transform: translateX(-50%);
        width: auto;
        z-index: 1;
        animation: none;
    }

    .highlight img {
        display: block;
        margin: 0 auto;
        width: min(500px, 90vw);
        height: auto;
        padding: 0;
        z-index: 1;
    }

    .square {
        flex-basis: 100%;
        min-width: 0;
        width: min(100%, 560px);
        aspect-ratio: 684 / 558;
        height: auto;
        top: 0;
        margin: 0 auto;
        padding: 0;
    }

    .welcome-text {
        width: 100%;
        padding: 32px 8px 0;
        margin-top: 12px;
        align-items: center;
        text-align: center;
        animation: appear-slide 1s ease-in-out forwards;
        animation-timeline: view();
        animation-range: entry 0% 40%;
    }

    .title {
        font-size: clamp(24px, 6vw, 34px);
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .description {
        font-size: clamp(14px, 3.8vw, 17px);
        line-height: 1.4;
    }

    .btn-welcome a {
        padding: 10px 20px;
        width: min(150px, 40vw);
    }

    .play {
        min-height: 720px;
    }

    .play-background {
        min-height: 720px;
    }

    .attributions {
        padding: 16px 12px;
        font-size: clamp(12px, 3.5vw, 14px);
        position: relative;
        z-index: 500;
        margin-top: 0;
    }

    .play-title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1;
    }

    .play-description {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.45;
        margin: 0 auto;
    }

    .play-btn {
        margin-top: 12px;
        width: min(100%, 290px);
        text-align: center;
    }

    .trailer-btn {
        margin-left: 0;
        margin-top: 10px;
        width: min(100%, 290px);
        text-align: center;
    }

    .rate-content {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
        width: calc(100% - 24px);
        justify-content: center;
        flex-wrap: wrap;
        padding: 6px 8px;
    }

    .rate-description {
        font-size: 12px;
    }

    .prelude-content {
        margin-top: 60px;
        margin-bottom: 48px;
        padding: 50px 10px 24px;
    }

    .prelude-title {
        font-size: clamp(32px, 10vw, 42px);
    }

    .prelude-description {
        font-size: clamp(13px, 3.8vw, 16px);
        line-height: 1.45;
        padding: 0 10px;
    }

    .prelude-catalogue {
        margin-top: 24px;
        padding: 0 6px;
    }

    .prelude-catalogue img {
        width: min(320px, 82vw);
        border-radius: 22px;
    }

    .island-code {
        height: clamp(160px, 36vw, 230px);
        padding: 10px;
        background-position: center;
    }

    .island-divisor {
        width: min(700px, 94vw);
    }

    .island-code-title {
        font-size: clamp(24px, 6vw, 38px);
        letter-spacing: clamp(0.4px, 0.2vw, 1px);
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .character-highlight {
        padding: 0 12px;
    }

    .character-option.selected {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .character-option [class^="character-square-"] {
        width: 100%;
        max-width: 420px;
        height: 360px;
    }

    .character-img {
        width: 72%;
        height: 72%;
        margin-top: -61.5px;
        z-index: 2000;
    }

    .character-img img {
        width: 224.20%;
        height: 180%;
        z-index: 2000;
    }

    .character-text {
        max-width: 100%;
        margin-top: 56px;
        text-align: center;
        align-items: center;
    }

    .character-name {
        font-size: clamp(34px, 11vw, 46px);
        margin: 0;
    }

    .character-description {
        margin-top: 0;
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.45;
    }

    .character-buttons {
        justify-content: center;
        margin-top: 10px;
        max-width: 320px;
        line-height: normal;
        align-self: center;
        transform: none;
    }

    .btn-person {
        margin-top: 0;
        width: 62px;
        height: 62px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 480px) {
    .countdown-timer {
        gap: 8px;
    }

    .countdown-unit {
        min-width: 68px;
    }

    .homepage {
        min-height: 980px;
        --welcome-offset: 120px;
    }

    .title {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }

    .divisor-bar img {
        width: min(130px, 42vw);
    }

    .play {
        min-height: 680px;
    }

    .play-background {
        min-height: 680px;
    }

    .rate-content {
        bottom: 14px;
    }

    .character-option [class^="character-square-"] {
        height: 300px;
    }

    .btn-person {
        width: 54px;
        height: 54px;
    }

    .play-content {
        padding: 100px 12px 150px;
        align-items: center;
        text-align: center;
    }

    .play-btn,
    .trailer-btn {
        max-width: 280px;
        width: 100%;
    }

    .play-title {
        font-size: 32px;
        line-height: 1;
    }

    .play-description {
        font-size: 13px;
    }

    .prelude-title {
        font-size: 30px;
    }

    .prelude-content {
        margin-bottom: 36px;
        min-height: 350px;

    }

    .island-code {
        height: 145px;
    }

    .island-code-title {
        font-size: clamp(18px, 5.8vw, 27px);
    }

    .prelude-description,
    .character-description {
        font-size: 13px;
    }

    .character-name {
        font-size: 32px;
    }

    footer {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        gap: 15px;
    }

}   

@media (max-width: 900px) {
    .homepage {
        min-height: 1050px;
        --welcome-offset: 120px;
    }

    .welcome {
        min-height: auto;
        padding: 0 10px;
        --highlight-x: 50%;
        --highlight-y: 18px;
    }

    .highlight {
        left: var(--highlight-x);
        top: var(--highlight-y);
        transform: translateX(-50%);
        animation: none;
    }

    .highlight img {
        width: min(520px, 88vw);
        margin: 0 auto;
    }

    .square {
        width: min(100%, 560px);
        margin: 0 auto;
        top: 0;
        aspect-ratio: 684 / 558;
        height: auto;
    }

    .welcome-text {
        width: 100%;
        padding: 30px 12px 0;
        margin-top: 12px;
        text-align: center;
        align-items: center;
    }

    .play-content {
        padding: 120px 14px 170px;
        text-align: center;
        align-items: center;
    }

    .play-description {
        max-width: 92vw;
        margin: 0 auto;
    }

    .play-btn,
    .trailer-btn {
        display: block;
        width: min(100%, 300px);
        margin: 10px auto 0;
        text-align: center;
    }

    .rate-content {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 16px;
        width: calc(100% - 24px);
        justify-content: center;
        flex-wrap: wrap;
    }

    .character-option.selected {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .character-option [class^="character-square-"] {
        width: min(460px, 92vw);
        height: clamp(300px, 58vw, 420px);
    }

    .character-text {
        max-width: min(680px, 92vw);
        margin-top: 18px;
        text-align: center;
        align-items: center;
    }

    .character-description {
        margin-top: 0;
        line-height: 1.45;
    }

    .character-buttons {
        justify-content: center;
        align-self: center;
        transform: none;
        margin-top: 14px;
        max-width: min(420px, 92vw);
        line-height: normal;
    }
}

@media (max-width: 763px) {
    .topics {
        width: 100%;
    }

    .welcome-nav {
        top: clamp(195px, 30vw, 255px);
        left: 50%;
        right: auto;
        width: min(560px, calc(100% - 24px));
        transform: translate(-50%, -50%);
        padding: 0 6px;
    }

    .prelude-catalogue img {
        width: min(320px, 86vw);
    }

    .island-code {
        height: clamp(150px, 38vw, 210px);
    }

    .island-code-title {
        font-size: clamp(20px, 6vw, 34px);
    }
}

@media (max-width: 480px) {
    .homepage {
        min-height: 920px;
        --welcome-offset: 112px;
    }

    .welcome-nav {
        top: clamp(178px, 40vw, 238px);
        left: 50%;
        right: auto;
        width: min(560px, calc(100% - 16px));
        transform: translate(-50%, -50%);
        padding: 0 4px;
    }

    .play {
        min-height: 620px;
    }

    .play-background {
        min-height: 620px;
    }

    .play-content {
        padding: 96px 10px 140px;
    }

    .prelude-content {
        margin-top: 44px;
        padding: 44px 8px 22px;
    }

    .character-option [class^="character-square-"] {
        height: clamp(250px, 70vw, 320px);
    }

    .character-img {
        margin-top: -42px;
    }

    .character-img img {
        width: 208%;
        height: 170%;
    }
}

@media (max-width: 360px) {
    .title {
        font-size: 22px;
    }

    .description,
    .play-description,
    .prelude-description,
    .character-description {
        font-size: 12px;
    }

    .btn-person {
        width: 48px;
        height: 48px;
    }

    .island-code-title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
}


