/* === Base Body & Layout === */

/* === Page Background Pattern === */
body {
    background-color: #eaf2f8;
    background-image:
        radial-gradient(#d3e4cd 3px, transparent 4px),
        radial-gradient(#c7d8f4 3px, transparent 4px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
}

/* Ensure content area stays on white/pastel */
main {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

body {
    background-color: #eaf2f8;
    /* soft desaturated blue */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* === Navbar === */
.navbar {
    background-color: #4e6e81 !important;
    /* dark muted blue-gray */
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #f5f7fa !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* === Section Styling === */
main section {
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

main section:nth-of-type(odd) {
    background-color: #d3e4cd;
    /* dusty green pastel */
}

main section:nth-of-type(even) {
    background-color: #c7d8f4;
    /* muted blue pastel */
}

/* === Headings === */
main h1,
main h2 {
    font-weight: 700;
    color: #2e4053;
}

main h1 {
    font-size: 2.5rem;
}

main h2 {
    font-size: 1.8rem;
}

/* === Paragraphs === */
main p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* === Cards (Games) === */
.card {
    border-radius: 15px;
    background-color: #ffffff;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.card .btn-primary {
    background-color: #6f87af;
    /* muted violet-blue */
    border: none;
}

.card .btn-primary:hover {
    background-color: #5b6f96;
}

/* === Footer === */
footer {
    background-color: #e4e9f0;
    /* soft light gray-blue */
    color: #555;
    font-size: 0.9rem;
}

footer a {
    color: #555;
}

footer a:hover {
    text-decoration: underline;
}

/* === Responsive Tweaks === */
@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 1.2rem;
    }
}