/* Game Modal */
.game-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-info {
    display: flex;
    gap: 20px;
    color: #dcddde;
    font-size: 14px;
}

.game-container {
    flex: 1;
    background-color: #40444b;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Geometry Dash Styles */
.geometry-dash-game {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #87ceeb 0%, #98fb98 100%);
    position: relative;
    overflow: hidden;
}

.player {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #ffd700;
    border-radius: 8px;
    bottom: 60px; /* Ground level */
    left: 100px;
    transition: bottom 0.3s ease-out; /* Smooth jump animation */
}

.obstacle {
    position: absolute;
    width: 40px;
    height: 60px;
    background-color: #ff4444;
    bottom: 0;
}

.instructions {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    z-index: 10;
}

/* GeoGuesser Styles */
.geoguesser-game {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.street-view {
    flex: 1;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    overflow: hidden; /* Ensure image fits */
}

.street-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Or cover, depending on desired behavior */
}

.guess-controls {
    padding: 16px;
    background-color: #2f3136;
    display: flex;
    gap: 12px;
    align-items: center;
}

.guess-controls input {
    flex: 1;
    padding: 8px;
}

.guess-controls button {
    padding: 8px 16px;
}