.footer-container {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping on mobile */
        gap: 2rem;       /* Modern way to handle spacing between flex items */
        width: 100%;
        max-width: 1200px;
        margin: auto;
        padding: 1rem;
    }

    .footer-info {
        flex: 1;
        min-width: 300px; /* Forces wrap if space is less than 300px */
        text-align: left;
    }

    .footer-map {
        flex: 1;
        min-width: 300px;
        text-align: left;
    }

    /* Makes the map responsive */
    .map-wrapper iframe {
        width: 100%;      /* Fill the container width */
        max-width: 448px; /* Maintain your desired desktop size */
        height: auto;
        aspect-ratio: 1 / 1; /* Keeps the map square */
        border-radius: 12px;
        border: 1px solid rgba(255, 198, 0, 0.3);
    }

    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column; /* Stack vertically on phones */
            text-align: center;
        }
        .footer-info, .footer-map {
            text-align: center;
        }
        .map-wrapper iframe {
            max-width: 100%; /* Map takes full width on mobile */
        }
    }



/* Classes for the Games lists, make used of the Cyber Grid */
    .game-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .game-item img {
        width: 100%;
        /* Maintains aspect ratio while filling the grid cell */
        height: auto; 
        object-fit: contain;
        border-radius: 4px;
		border: solid 1px #ffc600;
    }

/* Container for all games */
.cyber-grid {
    display: grid;
    /* The Magic Math:
       100% / 3 columns = 33%. 
       Accounting for gaps (30px), we set the min-width to ~600px 
       to ensure it fits 3 per row on a 1920px screen.
    */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}
/* Mobile view (2 wide) */
@media (max-width: 768px) {
    .cyber-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Individual Game Card */
.game-card {
    background: rgba(20, 24, 28, 0.95);
    border-radius: 12px;
    border: 1px solid #ffc600;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Rajdhani', sans-serif;
    transition: transform 0.3s ease;
}

/* Header Image Styling */
.card-header {
    width: 100%;
	min-height: 40px;
    background: #000;
    display: flex;
    align-items: flex-start; /* The "Line Effect" */
    justify-content: center;
    border-bottom: 2px solid #ffc600;
}

.card-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

/* Score Row Styling */
.score-entry {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.score-entry .initials {
    font-weight: 700;
    color: #eee;
}

.score-entry .val {
    font-family: 'Orbitron', sans-serif;
    color: #ffc600;
}

/* Hide the checkbox itself */
.toggle-input {
    display: none;
}

/* Hide the extra scores by default */
.hidden-scores {
    display: none;
}

/* THE MAGIC: When checkbox is checked, find the sibling .score-list and the .hidden-scores inside it */
.toggle-input:checked ~ .score-list .hidden-scores {
    display: block !important;
}

/* Update Label Text */
.toggle-label {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffc600;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
}

.toggle-input:checked ~ .toggle-label::before {
    content: "SHOW LESS";
}

.toggle-input:not(:checked) ~ .toggle-label::before {
    content: "Show More";
}

.arcade-book-btn {
        display: inline-block;
        background: #000; /* Dark center */
        color: #ffc600; /* Neon Gold text */
        font-family: 'Orbitron', sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 2px;
        padding: 18px 35px;
        border: 2px solid #ffc600;
        border-radius: 4px; /* Slightly squared for that retro feel */
        position: relative;
        transition: all 0.3s ease;
        box-shadow: 0 0 10px rgba(255, 198, 0, 0.2), 
                    inset 0 0 10px rgba(255, 198, 0, 0.1);
        cursor: pointer;
        overflow: hidden;
    }

    /* The "Glow" Effect on Hover */
    .arcade-book-btn:hover {
        background: #ffc600;
        color: #000;
    }

    /* Mobile scaling */
    @media (max-width: 768px) {
        .arcade-book-btn {
            font-size: 14px;
            padding: 15px 20px;
            display: block;
            text-align: center;
        }
    }