/* ============================
   GLOBAL STYLES
============================ */
html, body {
    background-color: #030815;
    min-height: 100%;
    margin: 0;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* ============================
   HEADER / TITLE
============================ */
.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-text h1 {
    font-size: 3em;
    margin: 0;
    color: #FFFFFF;
}

.title-text h2 {
    font-size: 1.5em;
    margin: 0;
    color: #CCCCCC;
}
.cyan-title {
    color: #00E5FF;
}

.title-img {
    width: 75px;
    height: auto;
}

.title-container img {
    width: 175px;
    height: auto;
    display: block;
    flex-shrink: 0;
    max-width: none;
}
/* ============================
   TOURNAMENT MANAGER BACKGROUND
============================ */
#tournament-manager-page {
    background-color: #000000;
}
/* ============================
   INTRO
============================ */
.intro p {
    margin: 0;
    padding: 2px 0;
}

/* ============================
   DOWNLOAD / DONATE
============================ */
#download-donate .btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#downloadBtn,
#donateBtn,
#facebookBtn,
#reviewForm button,
#subscribeForm button {
    background-color: #00E5FF;
    color: #090915;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#downloadBtn:hover,
#donateBtn:hover,
#facebookBtn:hover,
#reviewForm button:hover,
#subscribeForm button:hover {
    background-color: #66F2FF;
}

.instructions {
    margin: 0;
}

/* ============================
   SECTIONS
============================ */
section {
    padding: 40px 20px;
}

/* ============================
   SCREENSHOTS
============================ */
#screenshots .mode {
    margin: 20px auto;
    text-align: center;
}

.bottom-shot {
    display: block;
    width: 574px;
    height: auto;
    margin: 0 auto;
}

#screenshots .mode {
    margin: 20px auto;
    text-align: center;
}

#screenshots .mode img {
    display: inline-block;
    height: auto;
    border: 1px solid #00E5FF;
    border-radius: 8px;
    padding: 4px;
    background-color: #191923;
    box-sizing: border-box;
}

/* Bottom image kept at its cropped size and aligned left */
#screenshots .mode img.bottom-shot {
    display: block;
    width: 585px;
    height: auto;
    position: relative;
    left: 0;
    margin-left: calc(50% - 294.5px);
    margin-right: 0;
}

/* ============================
   FIX FIRST THREE SCREENSHOTS SIZE
============================ */
#screenshots .mode:nth-child(2) img,
#screenshots .mode:nth-child(3) img,
#screenshots .mode:nth-child(4) img,
#tournament-manager-page #screenshots .mode:nth-child(5) img,
#tournament-manager-page #screenshots .mode:nth-child(6) img,
#tournament-manager-page #screenshots .mode:nth-child(7) img,
#tournament-manager-page #screenshots .mode:nth-child(8) img {
    width: 450px;
    height: auto;
}

/* ============================
   REVIEWS
============================ */
#reviewsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review {
    max-width: 600px;
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    background-color: #191923;
    border: 1px solid #00E5FF;
}

/* ============================
   FORMS
============================ */
.form-section {
    max-width: 400px;
    margin: 0 auto;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #00E5FF;
    background-color: #191923;
    color: #FFFFFF;
    box-sizing: border-box;
}

textarea {
    resize: none;
}

/* ============================
   GOOGLE PLAY BADGE
============================ */

.google-play-badge {
    width: 250px;
    height: auto;
    margin-top: 10px;
    cursor: pointer;
}

/* ============================
   FOOTER
============================ */
footer {
    background-color: #191923;
    border-top: 1px solid #00E5FF;
    padding: 20px;
    margin-top: 40px;
}

/* ============================
   MOBILE FIXES (PHONE ONLY)
   DOES NOT AFFECT WINDOWS
============================ */
@media (max-width: 600px) {

    /* Prevent left/right scrolling */
    html,
    body {
        background-color: #191923;
        overflow-x: hidden;
    }

      /* All screenshots scale correctly on mobile */
    #screenshots .mode img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

      /* Bottom screenshot - mobile only */
    #screenshots .mode img.bottom-shot {
        width: 100%;          /* Adjust width here */
        max-width: none;
        height: auto;
        display: block;
        position: relative;
        left: 0;
                margin-left: 0%;    /* Higher moves right */
        margin-right: 0;
    }
}
