/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #31147a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    min-height: 100vh;
}

/* Enter Button - 90s Aesthetic */
.enter-button {
    display: inline-block;
    background-color: #2edd35;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 2px;
    padding: 1rem 3rem;
    border: 3px solid #1a9f20;
    box-shadow: 4px 4px 0 #1a9f20;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.enter-button:hover {
    background-color: #3fff45;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #1a9f20;
}

.enter-button:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* Game Page Styles */
.game-page {
    flex-direction: column;
    text-align: center;
}

.game-coming-soon {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.back-button {
    display: inline-block;
    background-color: #2edd35;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border: 3px solid #1a9f20;
    box-shadow: 4px 4px 0 #1a9f20;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.back-button:hover {
    background-color: #3fff45;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #1a9f20;
}

.back-button:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* Footer */
footer {
    background: transparent;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
    color: #ffffff;
}

footer p {
    margin: 0;
}

/* Responsive Design */

/* Tablets and below */
@media (max-width: 768px) {
    .logo {
        max-width: 150px;
    }

    .enter-button {
        font-size: 1.25rem;
        padding: 0.875rem 2.5rem;
    }

    .game-coming-soon {
        font-size: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    header {
        padding: 0.75rem;
    }

    .logo {
        max-width: 120px;
    }

    .enter-button {
        font-size: 1.125rem;
        padding: 0.75rem 2rem;
        letter-spacing: 1.5px;
    }

    .game-coming-soon {
        font-size: 1.25rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 0.625rem 1.5rem;
    }

    footer {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .logo {
        max-width: 100px;
    }

    .enter-button {
        font-size: 1rem;
        padding: 0.625rem 1.5rem;
    }

    .game-coming-soon {
        font-size: 1.125rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
    }
}