/* style.css */
body {
    font-size: 1.0em;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    background-image: url('../media/images/header_banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* ←←← CHANGE THIS ONE NUMBER TO CONTROL TOTAL HEADER HEIGHT ←←← */
    height: 110px;           /* try 140px, 160px, 200px, 240px — whatever looks best */
    
    display: flex;
    flex-direction: column;      /* logo on top, nav below */
    align-items: center;         /* everything centered horizontally */
    justify-content: center;     /* logo vertically centered in the space */
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: visible; 
    padding-bottom: 4px;
}

header .banner img {
    max-height: 50px;        /* ←←← THIS is the only number you need to change */
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

header .banner img {
    margin-top: 8px;
    margin-bottom: 8px;
}


nav a {
    color: white;
    text-decoration: none;           /* removes underline completely */
    padding: 0px 8px;
    /*border-radius: 4px; */
    transition: all 0.25s ease;
    position: relative;
    font-weight: bold; 
    font-size: 1.2em;
}

/* Hover + Active state — same beautiful cyan glow */
nav a:hover,
nav a.active {
    color: #B0FFFF !important;        /* very light cyan */
    background-color: rgba(176, 255, 255, 0.1);
    /* box-shadow: 0 0 12px rgba(176, 255, 255, 0.5); */
    text-decoration: none !important;
}


main {
    width: 100%;
    margin: 0;
    padding-top: 10px !important;
    padding-bottom: 10px; 
    /* padding: 1em 0 3em 0; */
    background-image: url('../media/images/stars2.webp');
    background-size: 100% auto; /* Full width, natural height */
    background-position: center top;
    background-repeat: repeat-y; /* Tile vertically */
    background-color: #000;
    min-height: 100vh;
    text-align: center;
}

/* Shop page styles */
.shop-banner {
    background-image: url('../media/images/stars2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 1em 0;
    width: 100%;
    box-sizing: border-box;
}

.shop-banner h1 {
    margin: 0;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 2em auto;
}

/* .gear-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
} */

.gear-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    
    /* Replace the old shadow with this */
    box-shadow: 
        0 0 6px rgba(176, 255, 255, 0.35),   /* soft cyan glow */
        inset 0 0 6px rgba(176, 255, 255, 0.15); /* very faint inner glow */
    
    /* Optional: tiny border-like outline */
    border: 2px solid rgba(176, 255, 255, 0.5);
}
.gear-placeholder {
    width: 100%;
    height: 250px;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    font-size: 1em;
    text-align: center;
}

.shop-button-container {
    text-align: center;
    margin: 2em 0;
}

.shop-button {
    background-color: #333;
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2em;
    display: inline-block;
    transition: background-color 0.2s;
}

.shop-button:hover {
    background-color: #555;
}

@media (max-width: 600px) {
    .shop-banner h1 {
        font-size: 1.0em;
    }

    .gear-grid {
        grid-template-columns: 1fr; /* Stack images on mobile */
        gap: 15px;
        margin: 1em auto;
    }

    .gear-image, .gear-placeholder {
        height: 200px; /* Smaller square images on mobile */
    }

    .shop-button {
        font-size: 1em;
        padding: 0.6em 1.2em;
    }
}

.copy-btn {
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.3em;
    margin-left: 0.5em;
    cursor: pointer;
    font-size: 0.9em;
    vertical-align: middle;
    width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: #777;
}

.copy-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.copy-btn {
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.3em;
    margin-left: 0.5em;
    cursor: pointer;
    font-size: 0.9em;
    vertical-align: middle;
    width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Button is the positioning context */
}

.copy-popup {
    position: absolute;
    top: -20px; /* Half a line above, using pixels for precision */
    left: 20px; /* Just right of the button */
    background-color: #333;
    color: white;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    font-family: "Avantgarde", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.8em;
    opacity: 0.9;
    z-index: 10;
    white-space: nowrap; /* Prevent text wrapping */
}
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
}

.game-def {
    color: white !important; /* Ensure text is white on all devices */
}
#contact-content {
    color: white !important; /* Ensure contact page text is white */
    padding: .01em;
    margin: .01em;
}

/* Top code block on about page - centered */
.code-block-top {
    background: rgba(20,30,50,0.45);
    color: #D4D4D4;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1em;
    line-height: 1.5;
    width: 450px;
    margin: .01em auto;
    padding: .1em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-align: center;
    box-sizing: border-box;
    border: 2px solid rgba(176, 255, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(176, 255, 255, 0.3) !important;
}

.code-block {
    background: rgba(20,30,50,0.45);
    color: #D4D4D4;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1em;
    line-height: 1.5;
    width: 450px;
    margin: .11em auto;
    padding: .7em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-align: left;
    box-sizing: border-box;
    border: 2px solid rgba(176, 255, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(176, 255, 255, 0.3) !important;
}
.code-block-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 700px;
    margin: .01em auto;
    gap: 0;
}

@media (max-width: 600px) {
    .shop-banner h1 {
        font-size: 1.0em;
    }

    .gear-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 1em auto;
    }

    .gear-image, .gear-placeholder {
        height: 200px;
    }

    .shop-button {
        font-size: 1em;
        padding: 0.6em 1.2em;
    }

    .code-block {
        font-size: 0.7em;
        margin: 0.5em auto;
        border: 2px solid rgba(176, 255, 255, 0.5) !important;
        box-shadow: 0 0 10px rgba(176, 255, 255, 0.3) !important;
    }
}

.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover; /* Ensure square cropping */
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-left: 1.2em; /* Small margin to separate from code block */
    margin-top: .1em; /* Lower images to align with code block content */
}

@media (max-width: 450px) {
    .code-block-container {
        flex-direction: column; /* Stack image below code block on mobile */
        align-items: center;
        width: 100%; /* Full width on mobile */
    }

    .code-block {
        width: 100%; /* Full width on mobile, up to max-width */
        max-width: 450px; /* Maintain max width */
    }
    .code-block-top {
        width: 100%; /* Full width on mobile, up to max-width */
        max-width: 450px; /* Maintain max width */
        align-items: center;
    }

    .profile-pic {
        margin-left: 0; /* Remove left margin */
        margin-top: 1em; /* Consistent spacing below code block */
    }
}

/* Code-block-top - fix text wrapping on mobile */
@media (max-width: 768px) {
    .code-block-top pre {
        margin: 0;
        white-space: pre-wrap;          /* allow wrapping on long lines */
        padding: 0.1em;                 /* extra padding inside for fit */
        font-size: .8em;                 /* slightly smaller text on mobile */
    }
}
.code-block pre {
    margin: 0;
    white-space: pre-wrap; /* Wrap long lines */
}

/* VS Code-inspired syntax highlighting */
.code-block .keyword {
    color: #C792EA; /* Purple for keywords (e.g., def, if) */
}

.code-block .string {
    color: #F1FA8C; /* Yellow for strings */
}

.code-block .comment {
    color: #6A9955; /* Green for comments */
}
.code-block-top .comment {
    color: #6A9955; /* Green for comments */
}

.code-block .function {
    color: #61D6D6; /* Cyan for function names */
}

.code-block .number {
    color: #B5CEA8; /* Light green for numbers */
}

.code-block .operator {
    color: #D4D4D4; /* White for operators (+, =) */
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex: 0; /* Center links in available space */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content vertically */
    max-width: 800px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    gap: 25px;
    justify-content: center; /* Center logos horizontally */
    margin-top: 0.5em;
}

.social-icon {
    width: 30px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s;
    background: transparent;
    filter: none;
    -webkit-filter: none;
    image-rendering: -webkit-optimize-contrast;
    forced-color-adjust: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

footer p {
    margin: 0; /* Remove default margin for alignment */
    padding-top: 0.5em; /* Add space above text */
}

.social-icon:hover {
    transform: scale(1.1);
}

.x-icon {
    background-image: url('../media/images/socialX.webp');
    margin-right: auto; /* Push X logo to left */
}
.instagram-icon {
    background-image: url('../media/images/socialInstagram.webp');
    margin-left: auto; /* Push Instagram logo to right */
}
.youtube-icon {
    background-image: url('../media/images/socialYoutube.webp');
    margin-left: auto; /* Push youtube logo to left */
}
.tiktok-icon {
    background-image: url('../media/images/socialTiktok.webp');
    margin-left: auto; /* Push Instagram logo to right */
}

.game-card {
    background: white;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 1em 0;
}

form {
    background: white;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

label, input, textarea {
    display: block;
    margin: 0.5em 0;
    width: 100%;
}

input, textarea {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #333;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

footer {
    text-align: center;
    padding: 0.05em;
    background-color: #090909;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 0.8em;
}
/* Updated styles for header and dropdown */
.header-container {
    display: flex;
    justify-content: center;
    margin: 1em 0;
    text-align: center; /* Ensure inline elements center */
}


.header-text {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
}


.game-selector-wrapper {
    background-image: url('../media/images/rinkiCircle350x320.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 140px;
    height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .1em auto;
}

.game-selector {
    display: inline-block;
}

.game-option-image {
    width: 100px;
    height: 38px;
    object-fit: contain;
    cursor: pointer;
}

.game-selector select {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100px;
    height: 38px;
    appearance: none; /* Remove default dropdown arrow */
    padding: 0;
    text-align: center;
}

.video-container {
    max-width: 240px !important;     /* ~50% of original size */
    margin: 0em auto !important;    /* nice vertical spacing + center */
    padding: 0 2px;
    height: auto !important;          /* ← add this */
    max-height: none !important;
}
.video-wrapper {
    position: relative;
    padding-bottom:175%;
    overflow: hidden;
    border-radius: 16px;
    border: 3px solid rgba(176, 255, 255, 0.7) !important;
    box-shadow: 0 0 15px rgba(176, 255, 255, 0.4);
    background: #000;
    max-height: none !important;
    height: auto !important; 
}
.video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 40px solid white;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    margin-left: 10px;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* #game-video {
    width: 360px;
    height: 640px;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    max-width: 100%;
} */


.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 600px; /* Narrower grid */
    margin: 1em auto; /* Center grid */}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 9px;
    border: 2px solid rgba(0, 255, 255, .5);   /* ←←← THIS ADDS THE BORDER */
    box-shadow: 0 0 15px rgba(176, 255, 255, 0.25);    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}


.platforms {
    margin: 2em 0;
    text-align: center;
}

.platform-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-icon {
    height: 44px !important;   /* perfect size for all icons */
    width: auto !important;
    margin: 0 20px;            /* nice spacing between them */
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        font-size: 1.2em; /* 20%+ on mobile */
    }
    /* #game-video {
        width: 280px;
        height: 498px;
    } */

    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .header-text {
        flex-direction: column;
        align-items: center;
    }

    .game-selector {
        margin-left: 0;
        margin-top: 0.5em;
    }
   
}

/* THIS IS THE FINAL FIX — WORKS 100% ON YOUR CODE */
.dropdown-menu a {
    display: block !important;
    padding: 2px 2px !important;          /* big clickable area */
    margin: 2px 0 !important;              /* THIS IS THE VERTICAL GAP BETWEEN ITEMS */
    color: white !important;
    text-decoration: none !important;
    font-size: 1.1em !important;
}

.dropdown-menu a:hover {
    background: #B0FFFF !important;
    color: black !important;
    border-radius: 10px !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle {
    color: white;
    text-decoration: none;
    padding: 0.1em 0;
    cursor: pointer;
}
/* .dropdown-toggle::after { content: none; } */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.98);
    min-width: 60px;
    width: fit-content;
    padding: 8px 4px;
    /* margin-bottom: 21px; */
    margin-top: 8px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(176, 255, 255, 0.25);
    text-align: center;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
}

/* Divider in floating menu */
#floatDropdown .dropdown-menu hr {
    border: none;
    height: 3px;                     /* thin line */
    background: #B0FFFF;             /* solid cyan for visibility */
    background: linear-gradient(to right, transparent, #B0FFFF 30%, #B0FFFF 90%, transparent); /* subtle glow gradient */
    margin: 10px 0;                  /* good spacing above/below */
    /* box-shadow: 0 0 12px rgba(176, 255, 255, 0.7); */
    opacity: 0.99;                    /* slightly soft */
    color-scheme: dark !important;
}

/* .dropdown-item {
    display: block !important;
    color: white !important;
    padding: 38px 20px !important;
    text-decoration: none !important;
    font-size: 1.1em !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s !important;
}

.dropdown-item:hover {
    background: #B0FFFF !important;
    color: black !important;
    border-radius: 8px !important;
    margin: 0 8px !important;
    width: calc(100% - 16px) !important;
} */

/* Highlight when on Games page */
/* .dropdown:hover .dropdown-toggle,
.dropdown-toggle.active {
    color: #B0FFFF;
} */


/* ——— REUSABLE CONTENT BLOCK SYSTEM ——— */
.content-block {
    background: rgba(30, 30, 50, 0.25);
    border: 2px solid rgba(176, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.8em;
    margin: 2em auto;
    max-width: 900px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 2em;
    flex-wrap: wrap;
    color: white;
    text-align: left;
}

.content-block img.left-img {
    width: 280px;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.content-block .text-content {
    flex: 1;
    min-width: 300px;
}

.content-block h3 {
    margin: 0 0 0.4em 0;
    font-size: 1.7em;
    color: #B0FFFF;
    text-align: left;
}

.content-block .pronunciation {
    font-size: 1.1em;
    color: #ccc;
    margin: 0.2em 0 1em 0;
    font-style: italic;
    text-align: left;
}

.content-block p {
    margin: 0.9em 0;
    line-height: 1.6;
    font-size: 1.05em;
}

.content-block p.informal {
    color: #B0FFFF;
    font-style: italic;
}

.content-block p.usage {
    margin-top: 1.5em;
    padding: 1em;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid #B0FFFF;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
}

/* Mobile: stack image on top */
@media (max-width: 680px) {
    .content-block {
        flex-direction: column;
        text-align: center;
        padding: 1.5em;
    }
    .content-block img.left-img {
        width: 220px;
    }
    .content-block h3 {
        text-align: center;
    }
}

.game-banner {
    text-align: center;
    margin: .1em 0 0em 0;
}
/* .game-banner img {
    height: 70px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 0px 0px rgba(176,255,255,0.3);
} */
.game-banner img {
    height: auto;                      /* ← allow natural height */
    width: auto;
    max-height: 80px;                  /* cap at your original max size */
    max-width: 100%;                   /* fit screen on mobile */
    border-radius: 12px;
    display: block;
    margin: 0 auto;                    /* perfect centering */
}
/* Center wide game banner on mobile only */
@media (max-width: 768px) {
    .game-banner {
        text-align: center;
    }

    .game-banner img {
        max-width: 100%;           /* prevents overflow on small screens */
        width: auto;               /* maintains aspect ratio */
        height: auto;              /* keeps your original height */
        display: inline-block;
    }
}

.guide-item {
    background: rgba(10,20,30,0.6);
    border: 0px solid rgba(176,255,255,0.3);
    border-radius: 16px;
    padding: .5em;
    margin: -.01em auto;
    max-width: 600px;
    display: flex;
    /* align-items: left !important; */
    align-items: center;
    gap: 1em;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px `2px rgba(0,0,0,0.4);
    min-height: 50px;
    display: flex;
}

.guide-img {
    width: 100px;
    height: auto;
    border: 2px solid rgba(176,255,255,0.3);
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0,0,0,0.6);
    flex-shrink: 0;
}

.guide-text p {
    text-align: left !important;
    margin: 0;
    font-size: 1.0em;
    line-height: 1.6;
    color: #eee;
    align-items: left !important;
}

@media (max-width: 768px) {
    .guide-item {
        flex-direction: row;          /* ← side-by-side on mobile */
        align-items: center;          /* vertically center text next to image */
        padding: 1em;
        gap: 1em;                     /* space between image and text */
        text-align: left;             /* left-align text */
    }

    .guide-img {
        width: 80px;                  /* slightly smaller image on mobile */
        flex-shrink: 0;
    }

    .guide-text p {
        font-size: 0.95em;            /* slightly smaller text for fit */
        margin: 0;
    }
}

/* #game-content {
    margin-top: -40px !important;
} */

.contact-block {
    background: rgba(20,30,50,0.45);
    border: 2px solid rgba(176,255,255,0.55);
    border-radius: 12px;
    padding: .01em;
    max-width: 600px;
    margin: .5em auto;
    text-align: center;
    font-size: 1.1em;
    color: #eee;
    box-shadow: 0 0 10px rgba(176,255,255,0.3);
    backdrop-filter: blur(12px);
}

.contact-block2 {
    background: rgba(2,3,5,0.45);
    border: 1px solid rgba(176,255,255,0.55);
    /* border-radius: 12px; */
    padding: .01em 1.5em;
    max-width: 420px;
    margin: .9em auto;
    text-align: left;
    font-size: 1.01em;
    color: #eee;
    backdrop-filter: blur(12px);
}

.email {
    color: #B0FFFF;
    font-weight: bold;
}

.copy-btn {
    background: rgba(176,255,255,0.2);
    color: white;
    border: 1px solid #B0FFFF;
    border-radius: 1px;
    padding: 1px 2px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #B0FFFF;
    color: black;
}

img {
    color-scheme: dark !important;
}

/* Home page scrolling banner */
.home-banner-section {
    width: 100%;
    overflow: hidden;
    background-size: cover;
    padding: 1px 0;
    position: relative;
}

.banner-track {
    display: flex;
    gap: 0px;                  /* Space between squares */
    /* animation: scroll-left 40s linear infinite; */
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.banner-item {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* Keeps aspect ratio, no distortion */
    background-image: url('../media/images/bannerSqBG.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* .banner-track:hover {
    animation-play-state: paused;
} */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0px));  /* NEW: half the total width minus half gap */
    }
}

/* Responsive: smaller on mobile */
@media (max-width: 600px) {
    .banner-item {
        width: 150px;
        height: 150px;
    }
    /* .banner-track {
        gap: 20px;
    }
    .home-banner-section {
        padding: 20px 0;
    } */
}

/* Welcome text box on home page */
.welcome-text-box {
    max-width: 800px;
    margin: 3em auto 2em;
    padding: 1.8em 2em;
    background: rgba(20, 30, 50, 0.45);
    border: 2px solid rgba(176, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(176, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 600px) {
    .welcome-text-box {
        margin: 2em 1em;
        padding: 1.5em;
        font-size: 1.05em;
    }
}

/* News update block - image above text block */
.content-block3 {
    max-width: 700px;
    margin: 1.1em auto;
    text-align: left;                /* centers the image */
    justify-content: left;
}

.content-block3 img {
    width: 90%;
    max-width: 330px;                  /* keeps it at ~600px wide */
    max-height: 150px;
    object-fit: cover;
    border-radius: 1px;
    display: block;
    margin: 0 auto .1em auto;
    justify-content: left;
    border: 2px solid rgba(176,255,255,0.4);
    border-radius: 12px;
}

.content-block3 .text {
    background: rgba(20,30,50,0.25);
    border: 2px solid rgba(176,255,255,0.55);
    border-radius: 12px;
    padding: 1.4em 2.4em;
    box-shadow: 0 0 10px rgba(176,255,255,0.3);
    backdrop-filter: blur(12px);
    color: #eee;
    font-size: 1.01em;
    text-align: left;

    /* ←←← ADD THESE TWO LINES */
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%,      /* start fading immediately on left */
        black 7%,           /* fully opaque starting at 15% from left */
        black 93%,           /* stay opaque until 85% from left */
        transparent 100%);   /* fade out completely on right */
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 7%, 
        black 93%, 
        transparent 100%);
}
.content-block3 .text strong {
    display: block;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 0.8em;
    color: white;
}

@media (max-width: 600px) {
    .content-block3 {
        margin: 2em 1em;
    }
    .content-block3 img {
        /* height: 160px; */
        border-radius: 12px;
    }
    .content-block3 .text {
        padding: 1.2em 1.4em;
    }
}

/* Floating animated stars - confined to header only */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;               /* above logo and nav */
    overflow: hidden;          /* THIS clips stars inside header */
}

.star {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Scroll-triggered directional slide-in */
.animate-on-first-load {
    opacity: 0;
    transform: translateX(-30px);  /* default fallback */
    transition: opacity .8s ease-out, transform .8s ease-out;
}

/* Direction classes */
.animate-on-first-load.from-left { transform: translateX(-40px); }
.animate-on-first-load.from-right { transform: translateX(40px); }
.animate-on-first-load.from-top { transform: translateY(-20px); }
.animate-on-first-load.from-bottom { transform: translateY(25px); }

/* Visible state */
.animate-on-first-load.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) !important;
}

/* Game info section - 3 boxes under banner */
.game-info-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1080px;
    margin: .01em auto;
    padding: .1em;
    gap: 0;
    position: relative;
}

.game-info-box {
    flex: 1;
    padding: 1.1em;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: rgba(30, 30, 50, 0.25); */
    backdrop-filter: blur(8px);
}

.game-info-box.left {
    flex: 1;                          /* takes available space equally */
    text-align: left;
    border-radius: 16px 0 0 16px;
}

.game-info-box.middle {
    color: rgb(200, 255, 255);
    flex: 2;                          /* twice as wide as the others */
    text-align: center;
}

.game-info-box.right {
    flex: 1;                          /* same as left */
    border-radius: 0 16px 16px 0;
    position: relative;
}

.game-info-box p {
    margin: 0.6em 0;
    line-height: .3;
    font-size: 1.05em;
}

.game-info-box strong {
    color: #B0FFFF;
}

/* Glowing cyan vertical separators */
.game-info-section::before,
.game-info-section::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: 3px;
    background: #DDFFFF;
    z-index: 10;
}
.game-info-section::before {
    left: 25%;
}
.game-info-section::after {
    left: 75%;
}

/* Press kit - full image clickable with centered "Press Kit" text overlay */
.presskit-container {
    position: relative;
    margin: 0 auto;
    display: inline-block; /* Keeps it centered nicely */
}

.presskit-full-link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border-radius: 12px;
}

.presskit-img {
    width: 60%;
    max-width: 300px;
    border-radius: 12px;
    transition: all 0.4s ease;
    display: block;
    margin: 0 auto;
}

/* "Press Kit" text overlay - centered on the image */
.presskit-overlay-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #B0FFFF;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(176, 255, 255, 0.8);
    pointer-events: none; /* Allows clicks to pass through to the link */
    opacity: 0.9;
    white-space: nowrap;
}

/* Hover effect: brighten image + stronger glow */
.presskit-full-link:hover .presskit-img {
    filter: brightness(1.3) saturate(1.5);
    transform: scale(1.05);
}

/* Optional: make text pulse/glow more on hover */
.presskit-full-link:hover .presskit-overlay-text {
    text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(176, 255, 255, 1);
    opacity: 1;
}

/* Mobile: stack boxes vertically */
@media (max-width: 768px) {
    .game-info-section {
        flex-direction: column;
    }
    .game-info-box {
        border-radius: 16px !important;
        margin-bottom: 1em;
    }
    .game-info-section::before,
    .game-info-section::after {
        display: none;
    }
}

/* Knight Rider KITT-style scanner using gradient.webp - back and forth sweep */
.kitt-separator-container {
    max-width: 1200px;
    margin: 1em auto 1em;
    padding: 0 1em;
}

.kitt-separator {
    position: relative;
    height: 3px;
    background: rgba(176, 255, 255, 0.2);  /* Faint base line */
    border-radius: 5px;
    overflow: hidden;
}

.kitt-scanner-image {
    position: absolute;
    top: 0;
    left: -100%;                           /* Start off-screen left */
    width: 100%;                           /* 3x container: black + gradient + black */
    height: 100%;
    background-image: url('/static/media/images/gradient.webp');
    background-size: 100%;          /* Your gradient takes middle 1/3, black on sides */
    background-repeat: repeat-x;           /* Repeats the pattern seamlessly */
    background-position: 0 center;
    animation: kitt-scan-back-forth 5s linear infinite;
    color-scheme: dark !important;
    /* color: cyan !important; */
    filter: drop-shadow(0 0 20px white) 
            drop-shadow(0 0 40px #B0FFFF) 
            drop-shadow(0 0 60px white);
}

@keyframes kitt-scan-back-forth {
    0%   { left: -80%; }                  /* Off left - black */
    50%  { left: 80%; }                   /* Off right - black */
    100% { left: -80%; }                  /* Back to start */
}

/* Hover glow pulse for main content boxes */
.hover-glow {
    transition: filter 0.6s ease, transform 0.3s ease;
}

.hover-glow:hover {
    filter: brightness(1.3) saturate(1.3);
    /* transform: scale(1.02); */
    z-index: 10;
}

/* Side neon background images - perfectly timed with KITT scanner */
body {
    position: relative;
}

/* Base styles */
body::before,
body::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(176, 255, 255, 0.7));
    animation: side-pulse 5s linear infinite;
}

/* Fixed distance from edges */
body::before {
    left: 80px;
}

body::after {
    right: 80px;
}

/* Side neon backgrounds - ONLY on desktop/tablet (≥769px wide) */
@media (min-width: 769px) {
    /* Home */
    body.home::before       { background-image: url('../media/images/sideBG1.webp'); background-position: center 420px; }
    body.home::after        { background-image: url('../media/images/sideBG2.webp'); background-position: center 420px; }

    /* Games */
    body.games::before      { background-image: url('../media/images/sideBG3.webp'); background-position: center 450px; }
    body.games::after       { background-image: url('../media/images/sideBG4.webp'); background-position: center 450px; }

    /* Contact */
    body.contact::before    { background-image: url('../media/images/sideBG5.webp'); background-position: center 300px; }
    body.contact::after     { background-image: url('../media/images/sideBG6.webp'); background-position: center 300px; }

    /* Press */
    body.press::before      { background-image: url('../media/images/sideBG7.webp'); background-position: center 220px; }
    body.press::after       { background-image: url('../media/images/sideBG8.webp'); background-position: center 220px; }

    /* Services */
    body.services::before   { background-image: url('../media/images/sideBG9.webp'); background-position: center 220px; }
    body.services::after    { background-image: url('../media/images/sideBG10.webp'); background-position: center 220px; }

    /* Partners */
    body.partners::before   { background-image: url('../media/images/sideBG11.webp'); background-position: center 220px; }
    body.partners::after    { background-image: url('../media/images/sideBG12.webp'); background-position: center 220px; }

    /* Alerts */
    body.alerts::before     { background-image: url('../media/images/sideBG13.webp'); background-position: center 220px; }
    body.alerts::after      { background-image: url('../media/images/sideBG14.webp'); background-position: center 220px; }

    /* Careers */
    body.careers::before    { background-image: url('../media/images/sideBG15.webp'); background-position: center 220px; }
    body.careers::after     { background-image: url('../media/images/sideBG16.webp'); background-position: center 220px; }

    /* Privacy */
    body.privacy::before    { background-image: url('../media/images/sideBG17.webp'); background-position: center 420px; }
    body.privacy::after     { background-image: url('../media/images/sideBG18.webp'); background-position: center 420px; }
}

/* LEFT side: brightest when scanner is fully left (0% and 100%) */
body::before {
    animation-timing-function: ease-in-out;
    animation-name: side-pulse-left;
}

@keyframes side-pulse-left {
    0%   { opacity: var(--side-alpha-high, 0.95); }
    25%  { opacity: var(--side-alpha-low, 0.15); }
    75%  { opacity: var(--side-alpha-low, 0.15); }
    100% { opacity: var(--side-alpha-high, 0.95); }
}

/* RIGHT side: brightest when scanner is fully right (50%) */
body::after {
    animation-timing-function: ease-in-out;
    animation-name: side-pulse-right;
}

@keyframes side-pulse-right {
    0%   { opacity: var(--side-alpha-low, 0.35); }
    25%  { opacity: var(--side-alpha-low, 0.35); }
    50%  { opacity: var(--side-alpha-high, 0.95); }
    75%  { opacity: var(--side-alpha-low, 0.35); }
    100% { opacity: var(--side-alpha-low, 0.35); }
}

/* Control values */
:root {
    --side-alpha-high: 0.45;
    --side-alpha-low:  0.15;
}

/* Hide on small screens */
@media (max-width: 1200px) {
    body::before,
    body::after {
        display: none;
    }
}

.services-banner {
    background: linear-gradient(to right,
        transparent 0%,
        rgba(20, 30, 30, 0.8) 50%, /* solid grey in center */
        transparent 100%
    );
    background-color: transparent;   /* fallback if gradient not supported */
    color: #AAFFFF;
    text-align: center;
    padding: .02em 0;                /* ← ADJUST THIS to change banner height (e.g., 0.8em for shorter, 2em for taller) */
    box-sizing: border-box;
    text-shadow: 0 0 10px rgba(176, 255, 255, 0.5);
    font-size: .8em;                /* ← ADJUST THIS to change "Services" text size (e.g., 2.2em smaller, 3.5em larger) */
    /* margin-bottom: 0.5em; */
    margin: 0 auto 0.1em auto;
    width: 40%;
}

.content-block4 {
    max-width: 650px;
    margin: 1em auto;
    text-align: left;
}
.content-block4 .text {
    background: rgba(20,30,50,0.45);
    border: 2px solid rgba(176,255,255,0.55);
    border-radius: 12px;
    padding: .1em 3em .1em 3em;
    box-shadow: 0 0 10px rgba(176,255,255,0.3);
    backdrop-filter: blur(12px);
    color: #eee;
    font-size: 1.01em;
    text-align: left;
}
.content-block4 .text strong {
    display: block;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 0.4em;
    color: white;
    text-shadow: 0 0 12px rgba(176, 255, 255, 0.6);
}
.content-block4 .text {
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 12%, 
        black 88%, 
        transparent 100%
    );
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 12%, 
        black 88%, 
        transparent 100%
    );
}

@media (max-width: 600px) {
    .services-banner {
        font-size: .8em;
        padding: .5em 0;
    }
}

.press-intro {
    margin-bottom: 1.2em;
    text-align: center;
    font-size: 1.1em;
    color: #CCFFFF !important; 
}

.press-kit-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: .2em auto;
    padding: .2em;
    background: rgba(20,30,50,0.45);
    border-radius: 2px;
    border: 2px solid rgba(176,255,255,0.55);
    box-shadow: 0 0 10px rgba(176,255,255,0.3);
    backdrop-filter: blur(12px);
    color: #aee;
}

.press-kit-section {
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 12%, 
        black 88%, 
        transparent 100%
    );
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 12%, 
        black 88%, 
        transparent 100%
    );
}

/* Left: Image */
.press-left {
    flex: 1;
    text-align: center;
}

.press-image {
    width: 100%;
    max-width: 50px;
    border-radius: 5px;
}

/* Middle: Description - left justified, bigger text */
.press-middle {
    flex: 2;
    text-align: left;
    font-size: 1.0em;       /* bigger than normal text */
    font-weight: bold;
    color: #eee;
    line-height: 1.5;
}

/* Right: Link */
.press-right {
    flex: 1;
    text-align: rightcenter;
}

.press-link {
    display: inline-block;
    color: #B0FFFF;
    font-size: 1.0em;
    font-weight: bold;
    text-decoration: none;
    padding: 0.4em .6em;
    border: 2px solid #B0FFFF;
    border-radius: 8px;
    background: rgba(176,255,255,0.1);
    transition: all 0.3s ease;
}


.press-link:hover {
    background: #B0FFFF;
    color: black;
    box-shadow: 0 0 10px rgba(176,255,255,0.8);
}

/* @media (max-width: 768px) {
    .press-kit-section {
        flex-direction: column;
        text-align: center;
        padding: .3em;
        gap: 10px;
    }
    
    .press-middle {
        text-align: center;
        font-size: 1.25em;
    }
    
    .press-right {
        text-align: center;
    }
} */

/* Mobile fixes */
@media (max-width: 768px) {
  nav .nav-links {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 0 12px;
    width: 100%;
    box-sizing: border-box;
  }

  nav a {
    font-size: 0.96em !important;       /* readable but fits */
    padding: 8px 6px !important;
    line-height: 1.1;                   /* consistent vertical alignment */
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Fix any vertical offset (sometimes caused by different padding/font) */
  nav a {
    position: relative;
    top: 0 !important;
  }
}

@media (max-width: 600px) {
  .social-icons {
    gap: 15px;
    flex-wrap: wrap;
  }
  .social-icon {
    width: 25px;
  }
  footer img[alt="Lost Games Logo"] {
    width: 35px;
    margin: -3px 8px;
  }
  .code-block {
    font-size: 0.9em;
  }
  .screenshot-grid {
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
  }
  .screenshot {
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, .3);
  }
  .platform-images {
    gap: 10px;
    flex-wrap: wrap;
  }
  .platform-icon {
    height: 30px !important;
    margin: 0 10px;
  }
  .guide-item {
    gap: 0.5em;
    padding: 0.5em;
  }
  .guide-img {
    width: 60px;
  }
  .guide-text p {
    font-size: 0.85em;
    overflow-wrap: break-word;
  }
  .content-block {
    padding: 1em;
    margin: 1em auto;
  }
  input, textarea {
    padding: 0.8em;
    font-size: 1em;
  }
}

/* .press-kit-section {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.5em auto;
  max-width: 600px;
  padding: 0.5em;
  background: rgba(20,30,50,0.45);
  border-radius: 12px;
}
.press-left img {
  width: 50px;
  height: auto;
  border-radius: 8px;
}
.press-middle {
  flex: 1;
  color: #eee;
  font-size: 1em;
}
.press-right a {
  color: #B0FFFF;
  text-decoration: none;
  font-weight: bold;
} */
/* @media (max-width: 600px) {
  .press-kit-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    padding: 0.1em;
    margin: 0.1em auto;
  }
  .press-left img {
    width: 50px;
  }
  .press-middle {
    font-size: 0.9em;
  }
} */

/* Content block4 same as 3
.content-block4 {
  max-width: 700px;
  margin: 0.5em auto;
  text-align: left;
}
.content-block4 .text {
  background: rgba(20,30,50,0.25);
  border: 2px solid rgba(176,255,255,0.55);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(176,255,255,0.3);
  backdrop-filter: blur(12px);
  color: #eee;
  font-size: 1.01em;
  text-align: left;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
@media (max-width: 600px) {
  .content-block4 .text {
    padding: 1em 1.4em;
  }
} */

.bottom-link {
    color: #88CCCC;
    text-decoration: none;
    /* margin: 0 18px; */
    font-weight: normal;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.bottom-link:hover {
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(176, 255, 255, 0.8);
}

.bottom-link.active {
    color: white !important;
    font-weight: bold;               /* optional: make it stand out more */
    text-shadow: 0 0 10px rgba(176, 255, 255, 0.5);
}

/* Fix desktop wrapping + mobile 3-per-row, without touching colors */

.bottom-nav-links {
  display: flex;
  flex-wrap: nowrap;                 /* desktop: no wrap → 6 in one row */
  justify-content: center;
  gap: 2.8em;                        /* controls spacing between links on desktop */
  margin: 1.5em auto 1em;
  padding: 0 2em;
  max-width: none;                   /* remove any width limit */
}

@media (max-width: 768px) {
  .bottom-nav-links {
    flex-wrap: wrap;                 /* mobile: allow wrap */
    gap: 1.4em 1.8em;                /* tighter for phone */
    justify-content: space-evenly;
    margin-bottom: 80px;
  }

  .bottom-link {
    flex: 0 0 30%;                   /* exactly 3 per row */
    min-width: 110px;
    max-width: 180px;
    text-align: center;
  }
}

/* ───────────────────────────────────────────────────────────────
   FIX GUIDE TEXT OVERLAY ON GAME PAGE - MOBILE ONLY
─────────────────────────────────────────────────────────────── */
/* ───────────────────────────────────────────────────────────────
   FIX GUIDE OVERLAP ON MOBILE - balanced spacing
─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Kill the negative margin completely */
  #game-content {
    margin-top: 0 !important;
    padding-top: 1.5em !important;
  }

  /* Add moderate breathing room AFTER the info box only */
  .game-info-section {
    margin-bottom: 1.8em !important;   /* ← reduced from 2.5em/3em */
    padding-bottom: 0.5em;
  }

  /* Guide items: small positive top margin + no huge bottom gap */
  .guide-item {
    margin-top: 0.4em !important;      /* ← much smaller push-down */
    margin-bottom: 0.4em !important;   /* ← reduced vertical spacing between guides */
    padding: 0.9em 0.8em;
  }

  /* First guide gets a little extra space from the box above */
  .guide-item:first-child {
    margin-top: .8em !important;
  }

  /* Keep text readable and contained */
  .guide-text p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.93em;
    overflow-wrap: break-word;
  }

  /* Description box breathing room */
  .game-info-box.middle {
    padding: 1.1em 1em !important;
    min-height: 120px;
  }
}

/* Clean multi-line description styling */
.game-description {
  margin: 0.8em 0;
  line-height: 1.45;
  font-size: 1.05em;
  color: #eee;
  text-align: center;  /* or left if you prefer */
}

.game-description p {
  margin: 0.4em 0;     /* small vertical spacing between lines */
  padding: 0;
}

/* Force proper word wrapping for description text on all devices */
.game-info-box.middle {
  overflow-wrap: break-word;      /* Preferred modern way to wrap long words */
  word-wrap: break-word;          /* Legacy fallback */
  hyphens: auto;                  /* Optional: better hyphenation on long words */
  white-space: normal !important; /* Override any nowrap inheritance */
}

/* Make sure paragraphs inside respect wrapping */
.game-info-box.middle p {
  margin: 0.1em 0;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
  hyphens: auto;
}




/* Beehiiv embed - responsive scaling, no chopping, perfect centering */
.beehiv-iframe-wrapper {
  max-width: 500px;
  margin: 0 auto !important;  /* centers on desktop */
  overflow: hidden;
  position: relative;
  background: transparent;  /* safety */
}

.beehiv-embed {
  width: 100% !important;
  /* height: 100% !important; */
  border: none !important;
  background: transparent !important;
  display: block !important;
  margin: 0 auto !important;  /* no right shunt */
}

/* ────────────────────────────────────────────────
   KITT scanner glow trigger for center elements
──────────────────────────────────────────────── */

/* ────────────────────────────────────────────────
   Simple scanner-sync glow for center banners & logo
   (brightness + saturation only, no shadow/scale)
──────────────────────────────────────────────── */

header .banner img,
.game-banner img {
    transition: filter 1.2s ease-in-out;
    filter: brightness(1.0) saturate(1.0);
}

/* Glow state: brighter + more vivid when scanner in middle */
header .banner img.glow-active,
.game-banner img.glow-active {
    filter: brightness(1.45) saturate(1.35);
}

/* Very subtle idle breathing so it's not dead flat */
header .banner img,
.game-banner img {
    animation: idle-breath 2.5s ease-in-out infinite;
}

@keyframes idle-breath {
    0%, 100% { filter: brightness(.95) saturate(1); }
    50%      { filter: brightness(1.4) saturate(1.25); }
}