/* Reset some default browser styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Set a background color and basic font */
body {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text color for readability */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Main Content Section */
.main {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Game Section Styles */
.games-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.game {
    width: calc(50% - 20px); /* Adjust the width as needed, considering margin */
    margin: 10px;
    margin-bottom: 50px;
    padding: 20px;
    background-color: #333333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
}

.game h2 {
    margin-bottom: 10px;
}

.game img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border: 2px solid #FFD700; /* Gold border for images */
    border-radius: 10px;
}

.game p {
    margin-bottom: 10px;
}

.game a {
    display: block;
    text-align: center;
    background-color: #FFD700; /* Gold background for links */
    color: #000000; /* Black text color for links */
    padding: 10px;
    margin: 10px 0;
    text-decoration: none;
    border-radius: 5px;
}

.game a:hover {
    background-color: #ffffff; /* White background on hover */
    color: #000000; /* Black text color on hover */
}

.game h2 {
    color: #FFD700; /* Gold color for game titles */
}

.game h3 {
    color: #FFD700; /* Gold color for reward headers */
}

.footer {
    text-align: center;
    padding: 10px 0;
}

.headline h1 {
    text-align: center;
    margin-top: 30px;
}

.headline p {
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
}

.playtest-page {
    background-color: #1e1e1e; /* Dark grey background for the section */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.social-media {
    text-align: center;
    margin-top: 30px;
}

.social-media a {
    display: inline-block;
    margin: 0 30px;
}

.social-media img {
    width: 50px;
    height: 50px;
}

.social-media img.substack-logo {
    width: 150px; /* Adjust this width as needed */
    height: 50px; /* Adjust this height as needed */
}

/* Media Queries */

/* Mobile Landscape */
@media (orientation: landscape) {
    .game {
        width: calc(50% - 20px);
    }
}

/* Mobile Portrait */
@media (orientation: portrait) {
    .game {
        width: calc(90% - 20px); /* Adjust to 90% width, leaving 10px margin on each side */
    }
}