:root {
    --bg-color-inner: #6960a9;
    --bg-color-outer: #544c8c;
    --text-white: #FFFFFF;
    --text-black: #000000;
    --btn-black: #000000;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-color-inner);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Changed to column to stack container and footer */
    align-items: center;
    color: var(--text-white);
    overflow-x: hidden;
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.container {
    width: 100%;
    max-width: 600px;
    flex: 1;
    /* Take up available space to push footer down */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center the content group vertically */
    padding: 0 20px;
    text-align: center;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: calc(35vh - 68px);
    margin-bottom: 40px;
}

header {
    margin-top: 0;
    margin-bottom: 10px;
}

.gampany-logo {
    width: 533px;
    height: auto;
    margin-bottom: 0;
}

.tagline {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 80px;
    /* Reduced gap to game logo */
}

main {
    width: 100%;
    margin-bottom: 8px;
}

.game-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-logo {
    width: 488px;
    height: auto;
    margin-bottom: 30px;
    /* Reduced gap */
}

.steam-status {
    font-size: 19px;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 6px;
}

.steam-button {
    display: block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 231px;
    height: auto;
}

.steam-button:hover {
    transform: scale(1.05);
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.3));
}

.steam-button img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    margin-top: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: block;
    width: 60px;
    height: 60px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother premium timing */
    text-decoration: none;
}

.social-btn:hover {
    transform: scale(1.2);
    /* Centered expansion only */
}

.social-btn img {
    width: 100%;
    height: 100%;
    display: block;
}

.site-footer {
    width: 100%;
    /* background-color: #453f70; */
    /* Darker shade for better contrast */
    padding: 12px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    /* Softened white with opacity */
}

.site-footer p {
    font-size: 10pt;
    font-weight: 400;
}

@media (max-width: 600px) {
    .gampany-logo {
        width: 90%;
    }

    .game-logo {
        width: 90%;
    }

    header {
        margin-top: 100px;
        /* Adjusted for smaller screens but keeping logo space */
        margin-bottom: 10px;
        /* Keep consistent with desktop */
    }

    .tagline {
        margin-bottom: 80px;
        /* Match desktop gap for RogueDiceR */
    }
}