/* Background and Section Styling */
.game-details-section {
    background: linear-gradient(45deg, #37474f, #607d8b);
    /* Darker and consistent palette */
    padding: 40px 0;
}

/* Game Title Styling */
h2 {
    color: #ff6f61;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Game Description Styling */
.game-description {
    color: #b0bec5;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.game-story {
    color: #b0bec5;
    font-size: 1.2rem;
    max-width: 80vw;
    margin: 0 auto;
}

/* Game Controls Styling */
.game-controls {
    color: #b0bec5;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* Story Section */
.story-section {
    background: #263238;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.story-section h4 {
    color: #80cbc4;
    font-weight: bold;
}

.story-section p {
    color: #cfd8dc;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.iframe-container {
    position: relative;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* No need for padding-bottom or height, as it will be dynamically set */
}

/* Iframe Styling */
#html-game-frame {
    border-radius: 10px;
    border: none;
    width: 100%;
    /* Make the iframe fit the container */
    height: 100%;
}

/* Media query for mobile devices */
/* Hide iframe on mobile devices */
/* Optionally, adjust the button size on mobile */
.hidden
{
    display: none;
}
#fullscreen-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    /* Set a height if you want to adjust the button size */
    line-height: 50px;
    /* This matches the button height for vertical alignment */
    text-align: center;
    margin: 20px auto;
    width: 80%;
    /* Optional: Set button width to 80% of the container */
}



/* Button Styles */
.btn {
    margin: 5px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.switch-version {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.switch-version:hover {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    transform: translateY(-2px);
}

a.btn {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a.btn:hover {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    transform: translateY(-2px);
}