@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@font-face {
    font-family: 'Doors';
    src: url('../assets/fonts/DOORS.otf') format('opentype');
    font-display: swap;
}

html {
    scrollbar-color: #ffffff40 #131313;
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: #131313;
}

html::-webkit-scrollbar-thumb {
    background: #ffffff40;
    border: 2px solid #131313;
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #ffffff70;
}

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

body {
    font-family: 'Oswald', sans-serif;
    background: #080607;
    margin: 0;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


.thumbnail {
    display: block;
    position: absolute;
    left: 50%;
    z-index: 1;
    width: clamp(170px, 20vw, 340px);
    height: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65));
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.34;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    filter: saturate(1.15) contrast(1.08);
}

.booshit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1rem, 2vw, 2rem);
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 3rem;
}

.logo {
    display: block;
    width: clamp(180px, 22vw, 400px);
    margin: 0 auto;
    height: auto;
}

.video-container {
    position: relative;
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    margin: 2rem auto 0;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.countdown-area {
    width: min(100%, 700px);
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    border: 2px solid #ffffff20;
    border-radius: 8px;
    background: linear-gradient(-45deg, #00000045, #2e292345);
    backdrop-filter: blur(32px);
    box-shadow: 0 0 12px #00000070;
}

.countdown-header {
    margin: 0 0 0.75rem;
    color: #fff;
    font-family: 'Doors';
    font-weight: normal;
    font-size: clamp(2.25rem, 2.5vw, 3rem);
    font-weight: normal;
    text-shadow: 0 0 6px #ffffff90, 0 0 18px #ffffffcb;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 4vw, 2.5rem);
    font-family: 'Oswald', sans-serif;
}

#countdown span {
    display: flex;
    min-width: 3.5rem;
    flex-direction: column;
}

#countdown strong {
    color: #fff;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 0 8px #ffffff70;
}

#countdown small {
    margin-top: 0.35rem;
    font-weight: 300;
    color: #ffffff90;
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    text-transform: uppercase;
}

#release-time {
    margin: 0.9rem 0 0;
    color: #ffffff5d;
    font-size: clamp(0.7rem, 1.5vw, 1.2rem);
    text-align: center;
}

.description {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-align: right;
    opacity: 0.5;
}

.footer {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-align: center;
    margin: 2rem auto 1rem;
    opacity: 0.25;
}

.title {
    font-size: clamp(1.25rem, 4.5vw, 3.5rem);
    margin: 0;
    font-family: 'Doors';
    font-weight: normal;
    line-height: 1.1;
    text-shadow: 0 0 6px #ffffff90, 0 0 18px #ffffffcb;
}

.thumbnail-card {
    position: relative;
    width: min(100%, 950px);
    margin: 0 auto;
}

.thumbnail-copy {
    position: absolute;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2rem);
    width: min(65%, 430px);
    text-align: right;
    animation: thumbnail-copy 1.5s ease-in-out forwards;
    transition: all 0.15s ease-in-out;
}

@keyframes thumbnail-copy {
    0% {
        transform: translateX(-15px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.spacer {
    height: 3px;
    margin: 1rem auto;
    width: 65%;
    background: #ffffff25;
    animation: spacer 1.5s ease-in-out forwards;
}

@keyframes spacer {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.part1thumbnail {
    display: block;
    width: 100%;
    margin: 0;
    height: auto;
    border: 2px solid #ffffff20;
    border-radius: 8px;
    animation: part1thumbnail 1.5s ease-in-out forwards;
    transition: all 0.15s ease-in-out;
}

.text-header {
    background: #302a24;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: clamp(1.25rem, 1.5vw, 4rem);
    text-align: center;
    border: 2px solid #ffffff20;
    color: #fff4e7;
    margin: 0;
    font-family: 'Doors';
    font-weight: normal;
    line-height: 1.1;
}

p {
    text-align: center;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-weight: 300;
}

@keyframes part1thumbnail {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.part1thumbnail:hover {
    border-color: #ffffff40;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.75));
}

.watch-button {
    display: inline-block;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
    font-size: clamp(0.8rem, 1.5vw, 1.5rem);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #3b3328;
    background-color: #fff4e7;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    margin-top: 1rem;
}

.watch-button:hover {
    background-color: #e6c9a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.watch-button:active {
    background-color: #99836a;
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 600px) {
    .content {
        padding: 2rem 0.85rem 2rem;
    }

    .logo {
        width: min(78vw, 300px);
    }

    .countdown-area {
        margin: 1.5rem auto;
        padding: 1.25rem 0.75rem;
    }

    .countdown-header {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    #countdown {
        gap: 0.5rem;
    }

    #countdown span {
        min-width: 3.25rem;
    }

    #countdown strong {
        font-size: clamp(1.35rem, 9vw, 2.25rem);
    }

    #countdown small {
        font-size: 0.6rem;
    }

    .thumbnail-copy {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 1rem 0.5rem 0;
        text-align: center;
    }

    .title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .description {
        text-align: center;
        font-size: 1rem;
    }

    .watch-button {
        width: 100%;
        margin-top: 0.85rem;
    }

    .text-header {
        font-size: 1.35rem;
    }

    p {
        line-height: 1.5;
    }
}