* {
    margin: 0;
    padding: 0;
    outline: 0;
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
    border: 0;
    text-decoration: none;
    list-style-type: none;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #161618;
}

p {
    color: #fff;
    padding: 10px;
    font-weight: 400;
}

.p-purple {
    color: #6543ff;
    font-weight: 600;
}

#countdown {
    color: #fff30e;
    font-size: 4em;
    font-weight: 600;
    text-shadow: rgb(0, 0, 0) 1px 0 30px;
}


h1 {
    font-size: 1.5em;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    padding: 5px;
    text-shadow: rgb(0, 0, 0) 1px 0 30px;
}

h2 {
    font-size: 1.5em;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    padding: 5px;
    text-shadow: rgb(0, 0, 0) 1px 0 30px;
}

.stagestar-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #6543ff;
}

html {
    scroll-behavior: smooth;
}

#logo {
    max-width: 80%;
    max-height: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@media screen and (max-width: 1024px) {
    #logo {
        max-width: 90%;
        max-height: 50%;
    }
}

.video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer {
    background-color: #161618;
    display: flex;
    /* Added display flex */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 20px;
}

.footer-container {
    display: flex;
    flex-direction: row;
    gap: 13px;
}

.footer-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: rgb(129, 129, 129);
    text-align: center;
    /*margin: 6px 0;*/
}

.link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #dedede;
    text-align: center;
    /*margin: 6px 0;*/
}

.link:hover {
    color: #6543ff;
}

.section {
    background-color: #161618;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.section .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    color: #fff;
}

.section .last-container {
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    color: #fff;
}

.section .image {
    flex-basis: 40%;
    height: 350px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

img.gif {
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    object-fit: contain;
    margin: 0;
    max-width: none;
    max-height: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #2f2f2f;
}

.section .text {
    flex-basis: 50%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: grayscale(50px);
    padding: 1ch 2ch;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.section.noimage .text {
    flex-basis: 100%;
    border: none;
    background: transparent;
}

@media screen and (max-width: 1100px) {
    .section .text {
        flex-basis: 100%;
        max-width: 100%;
    }

    .section .container {
        flex-direction: column;
        padding: 20px 20px;
        /* Adjust padding for better fit */
    }

    .section .image {
        flex-basis: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
        /* Center image */
    }

    img.gif {
        max-width: 100%;

        margin: 0px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .space {
        display: block;
        margin: 10px 0;
    }
}

.social {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.social .link {
    width: 50px;
    height: 64px;
    margin-left: 0.3ch;
    font-size: 22pt;
    color: #fff;
}

.center {
    text-align: center;
}

.steam {
    margin-top: 20px;
}

.scroll-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.arrow {
    margin-right: 2ch;
    width: 30px;
    animation: bounce 1.5s infinite;
}

#header {
    z-index: 1;
}

.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100%;
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    z-index: -3;
    pointer-events: none;
}

.header-video iframe {
    width: 100%;
    height: 100%;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -2;
}

#logo,
.social,
.scroll-hint {
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .header-video {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

@media screen and (max-width: 768px) {
    .get-it-on-banners {
        flex-direction: column;
        align-items: center;
    }

    .get-it-on-banners a {
        margin: 10px 0 !important;
        /* Adjust vertical spacing */
    }

    .footer-container {
        flex-direction: column;
        gap: 5px;
    }
}