@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    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: clamp(1.5em, 4vw, 3em);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    padding: 5px;
    text-shadow: rgb(0, 0, 0) 1px 0 30px;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.2em, 3vw, 2.5em);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    padding: 5px;
    text-shadow: rgb(0, 0, 0) 1px 0 30px;
    line-height: 1.3;
}

.stagestar-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #6543ff;
}

html {
    scroll-behavior: smooth;
}

#logo {
    max-width: 80%;
    max-height: 50%;
    transition: all 0.3s ease;
}

/* Progressive logo sizing for better mobile experience */
@media screen and (max-width: 1024px) {
    #logo {
        max-width: 85%;
        max-height: 45%;
    }
}

@media screen and (max-width: 768px) {
    #logo {
        max-width: 90%;
        max-height: 40%;
    }
}

@media screen and (max-width: 480px) {
    #logo {
        max-width: 95%;
        max-height: 35%;
    }
}

.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: clamp(20px, 4vw, 50px);
    color: #fff;
    max-width: 1280px;
    margin: 0 auto;
}

.section .last-container {
    justify-content: center;
    align-items: center;
    padding: clamp(20px, 4vw, 50px);
    color: #fff;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.section .image {
    flex-basis: 40%;
    height: clamp(250px, 30vw, 350px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
}

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: blur(10px);
    padding: clamp(1ch, 3vw, 3ch) clamp(1.5ch, 4vw, 4ch);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.section .text:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.section.noimage .text {
    flex-basis: 100%;
    border: none;
    background: transparent;
}

/* Tablet responsive design */
@media screen and (max-width: 1100px) {
    .section .text {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .section .container {
        flex-direction: column;
        gap: 20px;
        padding: clamp(15px, 3vw, 30px);
    }

    .section .image {
        flex-basis: 100%;
        width: 100%;
        height: clamp(200px, 25vw, 300px);
        margin: 0 auto;
        order: -1; /* Show images first on mobile */
    }

    img.gif {
        max-width: 100%;
        height: auto;
        margin: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius: 12px;
    }

    .space {
        display: block;
        margin: 15px 0;
    }
}

/* Mobile responsive design */
@media screen and (max-width: 768px) {
    .section .container {
        gap: 15px;
        padding: 15px;
    }
    
    .section .image {
        height: clamp(180px, 20vw, 250px);
    }
    
    .section .text {
        padding: clamp(1ch, 2.5vw, 2ch) clamp(1ch, 3vw, 2.5ch);
        margin-bottom: 15px;
    }

    .section .text h2 {
        margin-bottom: 10px;
    }

    .section .text p {
        padding: 5px 0;
        line-height: 1.6;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .section .container {
        padding: 10px;
        gap: 10px;
    }
    
    .section .image {
        height: 160px;
    }
    
    .section .text {
        padding: 1ch 1.5ch;
    }
}

/* Header Navigation */
.header-nav {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.header-nav .nav-link {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.header-nav .nav-link:hover {
    background: rgba(101, 67, 255, 0.3);
    border-color: #6543ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(101, 67, 255, 0.3);
}

.social {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.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;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* Enhanced mobile responsiveness */
@media screen and (max-width: 768px) {
    .header-nav {
        top: 15px;
        right: 15px;
        flex-direction: column;
        gap: 8px;
    }

    .header-nav .nav-link {
        padding: 8px 14px;
        font-size: 0.8em;
        border-radius: 20px;
        backdrop-filter: blur(15px);
    }

    .get-it-on-banners {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .get-it-on-banners a {
        margin: 8px 0 !important;
        width: 100%;
        max-width: 200px;
        display: flex;
        justify-content: center;
    }

    .get-it-on-banners img {
        height: 50px !important;
        width: auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 8px;
        padding: 0 20px;
    }

    .social {
        bottom: 20px;
        padding: 0 20px;
    }

    .social .link {
        font-size: 18pt;
        width: 45px;
        height: 55px;
        margin: 0 5px;
    }

    .scroll-hint {
        bottom: 10px;
    }

    .arrow {
        width: 25px;
        margin-right: 1ch;
    }
}

/* Very small mobile devices */
@media screen and (max-width: 480px) {
    .header-nav {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .header-nav .nav-link {
        padding: 6px 12px;
        font-size: 0.75em;
    }

    .get-it-on-banners {
        padding: 0 15px;
    }

    .social .link {
        font-size: 16pt;
        width: 40px;
        height: 50px;
        margin: 0 3px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-text, .link {
        font-size: 0.9em;
    }
}

/* Landscape mobile orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    #logo {
        max-height: 30%;
    }

    .header-nav {
        top: 10px;
        right: 10px;
    }

    .social {
        bottom: 10px;
    }

    .social .link {
        font-size: 14pt;
        width: 35px;
        height: 40px;
    }
}