/* 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: #121214;
    color: #e1e1e6;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
.about-section {
    background-color: #1a1a1e;
    padding: 60px 0;
    border-bottom: 1px solid #29292e;
    text-align: center;
}

.about-section h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.about-section .bio {
    max-width: 600px;
    margin: 0 auto;
    color: #a8a8b3;
    font-size: 1.1rem;
}

/* Games Section */
.games-section {
    padding: 60px 0;
}

.games-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Responsive Grid Layout */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Individual Game Cards */
.game-card {
    background-color: #1a1a1e;
    border: 1px solid #29292e;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: #4fc3f7;
}

.game-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-card p {
    color: #a8a8b3;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes buttons to the bottom evenly */
}

/* Action Buttons */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-download {
    background-color: #00e676;
    color: #121214;
}

.btn-download:hover {
    background-color: #69f0ae;
}

.btn-github {
    background-color: #29292e;
    color: #e1e1e6;
    border: 1px solid #3a3a40;
}

.btn-github:hover {
    background-color: #3a3a40;
}