/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #333333; /* Charcoal background */
    color: #FFFFFF;
    transition: margin-left .5s;
}


@font-face {
    font-family: 'SF Sports Night';
    src: url("/static/fonts/SFSportsNight.4783af984f25.woff2") format('woff2'), url("/static/fonts/SFSportsNight.fab6b1635b68.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

.title {
    font-family: 'SF Sports Night', sans-serif;
}
/* Header and Banner Styles */
.site-header {
    background-color: #262626; /* Slightly darker charcoal */
    border-bottom: 2px solid #006400; /* Dark football pitch green */
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.banner {
    padding: 20px;
    text-align: center;
}

    .banner h1 {
        margin: 0;
        color: #FFFFFF;
    }

/* Navigation Bar Styles */
.navbar {
    background-color: #262626;
    border-top: 1px solid #006400; /* Dark football pitch green */
    border-bottom: 1px solid #006400; /* Dark football pitch green */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: relative;
}
/* put these where you define your layout variables */
:root {
    --ad-width: 160px; /* your skyscraper width */
    --ad-gap: 16px; /* gap between content and ad */
    --header-h: 60px; /* header height */
}

/* Hamburger */
.hamburger {
    position: fixed; /* changed from absolute */
    top: calc(var(--header-h)/2 - 16px); /* vertically center (icon ~32px tall) */
    left: calc(var(--ad-width) + var(--ad-gap) + 20px);
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    z-index: 5000; /* above header & ads */
    line-height: 1;
    width: 44px;
    height: 44px; /* generous click target */
    display: grid;
    place-items: center;
}

/* On small screens ads are hidden so hug the edge */
@media (max-width: 768px) {
    .hamburger {
        left: 20px;
    }
}

/* Sidebar Styles */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 6000;
    top: 0;
    left: 0;
    background-color: #2C2C2C; /* Slightly lighter matte charcoal */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5); /* Shadow for defined border */
}

    .sidebar a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 25px;
        color: #FFFFFF;
        display: block;
        transition: 0.3s;
    }

        .sidebar a:hover {
            background-color: #006400; /* Dark football pitch green */
            color: #333333;
        }

    .sidebar .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
    }

/* Main Content Styles */
.site-content {
    padding: 20px;
    transition: margin-left .5s;
    text-align: center;
}

/* Footer Styles */
.site-footer {
    background-color: #262626;
    padding: 10px;
    text-align: center;
    border-top: 2px solid #006400; /* Dark football pitch green */
}

/* at the bottom of styles.css */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-button {
    display: inline-flex; /* lay out icon text in a row */
    align-items: center; /* vertically center them */
    justify-content: flex-start; /* icon comes left, text next */
    padding: 8px 16px; /* shrink the padding if you like */
    gap: 8px; /* space between icon & text */

}

.button-logo {
    width: 24px; /* or 16px if you want it even smaller */
    height: 24px;
    /* margin-right no longer needed now that youre using gap */
}

#game-demo {
    position: relative;
}

/*SIGNPOST*/

/* Container */
.how-to-play {
    position: absolute;
    top: 50%;
    right: -14.5rem; /* or whatever offset you’ve tuned */
    transform: translateY(-50%);
    pointer-events: none;
}

.how-to-play__inner {
    width: 200px;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient( to bottom, var(--bg-start, #000000), var(--bg-end, #36454F) );
    text-align: center;
}

/* Title + arrow */
.how-to-play__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #7CFC00;
    margin: 0;
    letter-spacing: 1px;
}

.how-to-play__arrow-icon {
    width: 20px;
    height: auto;
    margin: 0.5rem 0 1rem;
}

/* Steps list */
.how-to-play__steps .step {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.step__icon {
    width: 32px;
    height: auto;
    border: 2px solid #7CFC00;
    border-radius: 8px;
    padding: 4px;
    margin-right: 0.5rem;
}

.step__text {
    font-family: 'HemiHead', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    text-align: left;
}


.ad-container {
    position: fixed; /* create a stacking context */
    top: var(--header-h);
    z-index: 20; /* higher than .how-to-play’s z-index */
}


@media (max-width: 768px) {
    /* Let the demo box grow to fit both grid + signpost */
    #game-demo {
        height: auto !important;
    }

    .how-to-play {
        position: static; /* flow in document order */
        transform: none; /* cancel the centering hack */
        margin: 1.5rem auto 0; /* push below grid & center it */
        width: 90%; /* or whatever fits your sidebar */
        max-width: 300px;
    }
}