body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 31, 37, 0.4); /* <-- adjust opacity here */
    pointer-events: none;
    z-index: -1;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: #1e1f25 url("doodle.png");
    background-size: 300px;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
}


/* HEADER CARD */
.header-card {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px 20px;
    background: #2a2b32;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid #3b3c44;
}

.header-card h1 {
    margin: 0;
    font-size: 42px;
    color: #4aa8ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Audiowide', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(74,168,255,0.5);
}

.header-card p {
    margin-top: 8px;
    font-size: 15px;
    color: #bfc4cc;
    font-family: 'Audiowide', sans-serif;
    letter-spacing: 1px;
}

/* GAME GRID */
.game-container {
    width: 90%;
    margin: auto;
    padding-bottom: 60px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* GAME CARD (dark + modern) */
.game-card {
    background: #2a2b32;
    border-radius: 16px;
    padding-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid #3b3c44;
    transition: 0.25s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    border-color: #4aa8ff;
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* TEXT INSIDE GAME CARD */
.game-card h2 {
    margin: 15px 20px 5px;
    color: #ffffff;
    font-size: 20px;
}

.game-card p {
    margin: 0 20px;
    color: #bfc4cc;
    font-size: 14px;
}

/* BUTTON */
.play-btn {
    display: block;
    width: 80%;
    margin: 15px auto 0;
    padding: 10px 0;
    background: #4aa8ff;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s;
}

/* INFO BAR (clean and spaced properly) */
.info-bar {
    max-width: 900px;
    margin: 20px auto 40px auto;
    padding: 20px 20px;

    background: #2a2b32;
    border-radius: 16px;
    border: 1px solid #3b3c44;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    text-align: center;
}

/* Each item */
.info-item h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #4aa8ff;
     font-family: 'Audiowide', sans-serif;
    letter-spacing: 1px;
}

.info-item p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #bfc4cc;
     font-family: 'Audiowide', sans-serif;
    letter-spacing: 1px;
}

/* Responsive */
@media(max-width: 700px) {
    .info-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

/* Responsive Info Bar */
@media(max-width: 700px) {
    .info-bar {
        flex-wrap: wrap;
        gap: 20px;
        text-align: center;
        padding: 20px 10px;
    }

    .info-item {
        width: 45%;
    }
}


.play-btn:hover {
    background: #1e78d6;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .game-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 600px) {
    .game-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .header-card h1 {
        font-size: 28px;
    }
}
