/* =================================
   Home Page Button Grid
   ================================= */

.home-button-grid {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Row layout */
.home-button-row {
    display: flex;
    justify-content: center;   /* center rows */
    gap: 30px;
    flex-wrap: wrap;           /* prevent overflow */
}

/* Centre bottom row */
.home-center-row {
    justify-content: center;
}

/* Individual Button */
.home-button {
    position: relative;
    width: 250px;   /* fixed size */
    height: 200px;  /* fixed size */
    overflow: hidden;
    text-decoration: none;

    border: 2px solid #000;
    border-radius: 12px;

    box-shadow:
        inset 0 0 0 2px #fff,
        0 8px 16px rgba(0,0,0,0.25);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image */
.home-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Text */
.home-button-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    text-align: center;

    font-family: 'Play', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;

    background: rgba(0,0,0,0.35);
    transition: background 0.3s ease;
}

/* Hover Effect */
.home-button:hover {
    transform: translateY(-6px);
    box-shadow:
        inset 0 0 0 2px #fff,
        0 12px 20px rgba(0,0,0,0.35);
}

.home-button:hover .home-button-text {
    background: rgba(0,0,0,0.55);
}

/* =================================
   Responsive (Stack Only – No Resize)
   ================================= */

@media (max-width: 768px) {

    .home-button-row {
        flex-direction: column;
        align-items: center;
    }

    /* IMPORTANT: no width or height changes */
}