/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    /* background-color: #f8f9fa; */
    background: url(../images/download.jpeg);    /*BACKGROUND IMAGE*/
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header styling */
header {
    width: 100%;
    height: 115px;
    text-align: center;
    padding: 30px 0;
    background-color: #000000;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Main container */
main {
    display: flex;
    flex-direction: column; /* Stack vertically by default */
    gap: 20px;
    margin-top: 20px;
    width: 90%;
    max-width: 500px;
}

/* Game boxes */
.top, .bottom {
    background: #000000;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.top:hover, .bottom:hover {
    transform: scale(1.03);
}

/* Anchor tag styling */
.top a, .bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 10px;
}

/* Images */
.top img, .bottom img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Titles under images */
.top h2, .bottom h2 {
    margin-top: 10px;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
}

/* Footer styling */
footer {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #666;
}

/* -------------------------------
   MOBILE RESPONSIVENESS
-------------------------------- */
@media screen and (max-width: 768px) {
    main {
        flex-direction: column; /* Stack vertically */
        width: 95%;
    }

    .top img, .bottom img {
        width: 100%;
    }

    .top h2, .bottom h2 {
        font-size: 16px;
    }
}
