/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- SKY BACKGROUND --- */
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    /*background: linear-gradient(#7ec8ff, #bfe8ff);*/
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #000000 15%,
        #330000 50%,
        #660000 70%,
        #990000 90%,
        #ff0000 100%);
    overflow-x: hidden;
}



/* --- MAIN CONTAINER --- */
.sky {
    position: relative;
    height: 100%;
    width: 100%;
}

/* --- CONTENT CENTERING --- */
.content {
    position: absolute;
    top: 10%;
    width: 100%;
    text-align: center;
}

.content {
    position: absolute;
    z-index: 11;
    pointer-events: none;
}

.content .btn {
    pointer-events: auto;
}
/* --- TITLE IMAGE --- */
.title-image {
    width: 75%;
    max-width: 550px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* --- PROMO TEXT --- */
.promo-text {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    font-weight: bold;
}
.promo-text p {
    margin-bottom: 1.5rem;
}

/* --- BUTTONS --- */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    background: white;
    transform: translateY(-3px);
}

/* DESKTOP: buttons in one row */
@media (min-width: 900px) {
    .buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .btn {
        font-size: 1.1rem;
        padding: 0.9rem 1.4rem;
        white-space: nowrap;
    }
}
.horizon {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 380px; /* height of the horizon strip */
    background-image:linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0)),url('horizon.png');
    background-repeat: repeat-x;
    background-size: contain;
 /*   background-image: url('horizon.png'); /* your repeating horizon image */
 /*   background-repeat: repeat-x; /* repeat horizontally */
 /* background-size: contain; /* keeps crisp pixel edges */
    pointer-events: none;
}

/* --- SCREENSHOT THUMBNAILS --- */
.screenshots {
    position: absolute;
    top: 15%;
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.screenshots {
    position: absolute;
    z-index: 10;
}

.screenshots.left {
    left: 5%;
}

.screenshots.right {
    right: 5%;
}

.thumb {
    width: 100%;
    border-radius: 2px; /* tighter radius feels more retro */
    border: 2px solid #EEbb00; /* classic yellow arcade border */
   box-shadow:
        0 0 0 2px #EEbb00,        /* yellow border */
        inset 0 0 12px rgba(255,255,0,0.4), /* inner glow */
        0 4px 10px rgba(0,0,0,0.3); /* existing shadow */
    transition: transform 0.15s ease;
    
}

.thumb:hover {
    transform: scale(1.05);
}


/* --- UPDATE SECTION --- */
.update-section {
    margin-top: 2rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.update-icon {
    width: 40px;
    height: auto;
    margin-bottom: 0.5rem;
}

.update-text {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
.footer {
    position: absolute;
    bottom: 5%;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
    opacity: 0.85;
    padding-right: 60px; /* gives room for the logo */
}

.footer-logo {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 200px;   /* adjust size as needed */
    height: auto;
    opacity: 0.9;
}

@media (max-width: 700px) {

    /* Turn off absolute positioning everywhere */
    .content,
    .screenshots,
    .screenshots.left,
    .screenshots.right,
    .footer,
    .footer-logo {
        position: static !important;
    }

    /* Stack screenshots vertically */
    .screenshots {
        width: 90%;
        margin: 1.5rem auto;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .thumb {
        width: 100%;
        max-width: 300px;
    }

    /* Title and promo text flow naturally */
    .content {
        margin-top: 1rem;
        text-align: center;
    }

    /* Footer becomes normal block */
    .footer {
        margin-top: 2rem;
        text-align: center;
    }

    .footer-logo {
        display: block;
        margin: 1rem auto 0 auto;
        width: 150px;
    }

    .horizon {
        display: none !important;
    }
}
