* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts */
@font-face {
    font-family: 'Header';
    src: url('./fonts/boris.woff') format('woff');
}

@font-face {
    font-family: 'Small';
    src: url('./fonts/i_light.woff') format('woff');
}

@font-face {
    font-family: 'Reg';
    src: url('./fonts/i_bold.woff') format('woff');
}

/* Base */
html, body {
    min-height: 100vh;
    height: auto;
    background: #04052E url('images/sitebg.png') center top / cover no-repeat fixed;
    font-family: Small, sans-serif;
    font-size: 18px;
    color: #04052E;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.game-page {
    background: url('images/bg2.png') center top / cover no-repeat fixed;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 50px;
}

main {
    flex: 1;
    height: 100%;
}

/* Header */
header {
    font-family: Reg, sans-serif;
    background: url('images/headerbg.png') center center / cover no-repeat;
    color: rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 200px;
    z-index: 1000;
    overflow: hidden;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header img {
    width: 30%;
    height: auto;
    max-height: 15vh;
    margin-top: -4vh;
    object-fit: contain;
}

header .nav-button {
    font-family: Reg, sans-serif;
    color: #04052E;
    text-decoration: none;
    font-size: 1.5rem;
    margin-top: -1rem;
    display: inline-block;
}

header .nav-button:hover {
    color: #5e0139;
}

/* About Section */
#about .container {
    display: flex;
    gap: 2rem;
    width: 70%;
    margin: 2rem auto;
    align-items: center;
    color: #EAEAEA;
    flex-wrap: wrap;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.left-header {
    font-family: Reg, sans-serif;
    font-size: 30px;
    color: #EAEAEA;
    margin: 2rem 3rem 1rem;
}

.left-side {
    flex: 1;
    font-family: Small, sans-serif;
    background: #52576D;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 5px 5px 5px #2b2136;
    text-align: center;
    margin-right: auto;
}

.left-side h2 {
    font-family: Reg, sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.left-side img {
    max-width: 100%;
    border-radius: 12px;
    margin-top: 1rem;
}

.right-side {
    flex: 2;
    font-family: Small, sans-serif;
    font-size: 18px;
    color: #EAEAEA;
    line-height: 1.5;
    background: #52576D;
    margin: 1rem 0;
    padding: 5rem;
    height: 100%;
    box-shadow: 5px 5px 5px #2b2136;
    border-radius: 15px;
}

.right-side.game-page {
    background: rgba(116, 91, 139, 0.4);
    box-shadow: 5px 5px 5px #0e0c2c;
    padding: 10vw;
}

/* Video Embeds */
.video-wrapper iframe {
    max-height: 350px;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border: none;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* Screenshot Grid */
.screenshot-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.screenshot-grid img {
    width: 90%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #030514;
    color: #989fc6;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Mailchimp */
#mc_embed_signup {
    background: #ffffff;
    font: 14px Helvetica, Arial, sans-serif;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#mc_embed_signup h2,
#mc_embed_signup label {
    color: #04052E;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#mc_embed_signup .button {
    background-color: #04052E;
    color: #EAEAEA;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

#mc_embed_signup .button:hover {
    background-color: #15163c;
}

#mc_embed_signup .indicates-required {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        max-height: 120px;
        overflow: hidden;
    }

    header .container {
        flex-direction: row;
        align-items: center;
        text-align: center;
        justify-content: space-between;
    }

    header img {
        width: 75%;
        margin-top: -0.5rem;
    }

    header .nav-button {
        font-size: 1.2rem;
        margin-top: -1rem;
        padding: 0.5rem 1.2rem;
    }

    .video-wrapper iframe {
        max-height: 250px;
    }

    #about .container {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .left-side,
    .right-side,
    .right-side.game-page {
        width: 100%;
        padding: 5vw;
        max-width: 90%;
        margin: 0 auto;
    }

    .screenshot-grid img {
        max-width: 100%;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    #mc_embed_signup {
        padding: 1rem;
    }

    #about .container:has(.right-side):not(:has(.left-column)) {
        justify-content: center;
    }

    #about .container:has(.right-side):not(:has(.left-column)) .right-side {
        max-width: 90%;
    }
}
