* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-frame {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

#orientation-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#orientation-message.visible {
    display: flex;
    opacity: 1;
}

.message-content {
    text-align: center;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.message-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rotation-icon {
    font-size: 3rem;
    animation: rotate 2s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile-specific styles */
@media (max-width: 1024px) {
    #game-frame {
        width: 100vw;
        height: 100vh;
    }
}

/* Prevent overscroll bounce on iOS */
body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
} 