@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a; /* slate-900 */
    color: #cbd5e1; /* slate-300 */
    line-height: 1.7;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #be185d, #f97316); /* pink-600 to orange-500 */
    color: #ffffff;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: none; /* Remove border for a cleaner look */
}

header h1 {
    margin: 0;
    font-size: 2.8rem; /* Slightly larger */
    font-weight: 700; /* Bolder */
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.3rem; /* Slightly larger */
    color: #f1f5f9; /* slate-100 */
    font-weight: 300;
}

/* Main Content Styles */
main {
    padding: 1.5rem; /* Adjusted padding */
    max-width: 1200px;
    margin: 2.5rem auto; /* Adjusted margin */
}

.game-cards-container {
    display: grid; /* Using grid for more control */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Increased gap */
    justify-content: center;
}

/* Game Card Styles */
.game-card {
    background-color: #1e293b; /* slate-800 */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 2rem; /* Increased padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px); /* More pronounced hover effect */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.game-card h2 {
    margin-top: 1rem;
    margin-bottom: 0.75rem; /* Adjusted margin */
    color: #e2e8f0; /* slate-200 */
    font-size: 1.9rem; /* Slightly larger */
    font-weight: 600;
}

.game-card p {
    font-size: 1rem;
    color: #94a3b8; /* slate-400 */
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.game-preview {
    width: 80px;
    height: 80px;
    background-color: #334155; /* slate-700 */
    border-radius: 12px; /* Match card rounding */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem; /* Increased margin */
    color: #22d3ee; /* cyan-400 */
}

.game-preview svg {
    width: 48px; 
    height: 48px; 
}


/* Play Button Styles */
.play-button {
    display: inline-block;
    background-color: #0ea5e9; /* sky-500 */
    color: #ffffff;
    padding: 0.85rem 1.8rem; /* Slightly larger padding */
    text-decoration: none;
    border-radius: 8px; /* More rounded */
    font-weight: 600; /* Bolder text */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.play-button:hover {
    background-color: #0284c7; /* sky-600 */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem 1rem; /* Increased padding */
    background-color: #1e293b; /* slate-800 - to match cards */
    color: #f8f9fa; /* Light text on dark background */
    margin-top: 3rem; /* Increased margin */
}

footer p {
    margin: 0;
    font-size: 0.95rem; /* Slightly larger */
}

footer p a {
    color: #ffffff; /* White color for the link */
    text-decoration: none; /* Optional: remove underline */
}

footer p a:hover {
    text-decoration: underline; /* Optional: add underline on hover */
}

/* Responsive adjustments for larger screens */
/* No changes needed to @media queries for now, grid handles responsiveness well */
/* @media (min-width: 600px) { ... } */
/* @media (min-width: 900px) { ... } */
