@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Basic Reset & Body Style */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px 0;
    border-bottom: 2px solid #3a3a5e;
}

header h1 {
    font-size: 3.5em;
    color: #ffffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #a0a0c0;
}

/* The Grid for all your games */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* Individual Game Card Styles */
.game-card {
    background-color: #2a2a4e;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-decoration: none;
    color: #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3a3a5e;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #00ffff;
}

.game-card h3 {
    margin: 20px;
    font-size: 1.4em;
    color: #00ffff;
}

.game-card p {
    margin: 0 20px 20px;
    font-size: 1em;
    color: #a0a0c0;
}
