﻿/* Import the pixel font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* --- STICKY FOOTER & BODY --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Press Start 2P', cursive;
    color: #FFF;
    background-color: #222;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-attachment: fixed;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.hidden {
    display: none !important;
}


/* --- SIMPLE NAV BAR --- */
.static-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
    border-bottom: 4px double #FFF;
    position: relative;
    flex-shrink: 0; /* Prevents nav from shrinking */
}

    .static-nav h1 {
        text-shadow: 4px 4px #000;
        letter-spacing: 2px;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

/* --- BUTTONS --- */
.nav-button {
    font-family: 'Press Start 2P', cursive;
    background-color: #555;
    color: #FFF !important;
    border-style: outset;
    border-width: 4px;
    border-color: #888 #333 #333 #888;
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-block;
    z-index: 10; /* Keeps it above centered H1 */
}

    .nav-button:active {
        border-style: inset;
        border-color: #333 #888 #888 #333;
    }

/* --- MAIN CONTENT BOX --- */
.content-container {
    max-width: 900px; /* Was 800px */
    margin: 20px auto;
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.75);
    border: 4px double #FFF;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    box-sizing: border-box;
}

    .content-container h2 {
        color: #ffd700; /* Gold */
        text-shadow: 3px 3px #000;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
        border-bottom: 1px solid #888;
        padding-bottom: 5px;
    }

    .content-container h3 {
        color: #87CEFA; /* Light Blue */
        text-shadow: 2px 2px #000;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .content-container p {
        margin-bottom: 1.5em;
    }

    .content-container a {
        color: #87CEFA; /* Light Blue */
        text-decoration: underline;
    }

        .content-container a:hover {
            color: #FFF;
        }

    .content-container ul {
        margin-bottom: 1.5em;
        padding-left: 40px;
        list-style-type: '▸ ';
    }

    .content-container li {
        margin-bottom: 10px;
    }

    .content-container .post-meta {
        font-size: 11px;
        color: #AAA;
        margin-top: -10px;
        margin-bottom: 20px;
    }


/* --- SITE FOOTER --- */
.site-footer {
    width: 100%;
    padding: 5px 15px;
    margin-top: auto; /* THIS IS THE STICKY FOOTER MAGIC */
    background-color: rgba(0, 0, 0, 0.25);
    color: #888;
    font-size: 8px;
    text-shadow: 1px 1px #000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
    flex-shrink: 0; /* Prevents footer from shrinking */
}

    .site-footer a {
        color: #BBB;
        text-decoration: underline;
    }

        .site-footer a:hover {
            color: #ffd700;
        }

    .site-footer span {
        white-space: nowrap;
    }

/* --- MOBILE STYLES --- */
/* --- @media (max-width: 600px) block removed --- */

/* ====================================================================
--- === NEW STYLES COPIED FROM STYLE.CSS === ---
====================================================================
*/

/* --- STYLES FOR NOTICE POPUP --- */
#notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500; /* Higher than other popups */
}

#notice-menu {
    background-color: #444;
    padding: 30px;
    border: 4px double #FFF;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

    #notice-menu h3 {
        text-shadow: 3px 3px #000;
        margin-top: 0;
    }

    #notice-menu p {
        font-size: 14px;
        line-height: 1.6;
        margin: 15px 0 20px 0;
    }


/* --- ACHIEVEMENT TOAST STYLES --- */
#achievement-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #333;
    border: 4px double #ffd700; /* Gold border */
    padding: 15px;
    z-index: 5000; /* Highest priority */
    text-align: left;
    opacity: 0;
    transform: translateX(calc(100% + 20px)); /* Fly in from right */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    pointer-events: none;
}

    #achievement-toast.is-visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    #achievement-toast h3 {
        margin: 0 0 10px 0;
        font-size: 14px;
        color: #ffd700; /* Gold */
        text-shadow: 2px 2px #000;
    }

    #achievement-toast p {
        font-size: 12px;
        margin: 0;
        line-height: 1.4;
    }

#achievement-toast-desc {
    font-size: 11px;
    color: #AAA; /* Greyer text */
    margin: 5px 0 0 0;
    line-height: 1.4;
}

#achievement-toast-claim-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #777;
}

/* Re-use the existing claim button style for the toast */
#achievement-toast-claim-btn {
    font-family: 'Press Start 2P', cursive;
    background-color: #008000; /* Green */
    color: #FFF;
    border-style: outset;
    border-width: 4px;
    border-color: #00CC00 #004D00 #004D00 #00CC00;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    width: 100%;
}

    #achievement-toast-claim-btn:active {
        border-style: inset;
        border-color: #004D00 #00CC00 #00CC00 #004D00;
    }

    #achievement-toast-claim-btn img {
        width: 12px;
        height: 12px;
        vertical-align: middle;
        margin-left: 5px;
        margin-bottom: 2px;
    }

/* --- SET COMPLETE TOAST STYLES --- */
#set-complete-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #333;
    border: 4px double #1E90FF; /* Blue border */
    padding: 15px;
    z-index: 4900; /* Just below achievement toast */
    text-align: left;
    opacity: 0;
    transform: translateX(calc(100% + 20px));
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    pointer-events: none;
}

    #set-complete-toast.is-visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    #set-complete-toast h3 {
        margin: 0 0 5px 0;
        font-size: 14px;
        color: #87CEFA; /* Light Blue */
        text-shadow: 2px 2px #000;
    }

    #set-complete-toast p {
        font-size: 12px;
        margin: 0;
        line-height: 1.4;
        color: #FFF; /* White text */
    }

/* --- Hidden Achievement Toast Theme --- */
#achievement-toast.is-hidden {
    border-color: #00A3FF; /* Blue border */
}

    #achievement-toast.is-hidden h3 {
        color: #87CEFA; /* Light blue title */
    }

/* --- COOKIE BANNER (from style.css) --- */
/* --- COOKIE BANNER (from style.css) --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 20px; /* Moved up from bottom */
    left: 20px; /* Moved in from left */
    width: auto; /* Changed from 100% */
    max-width: 450px; /* Added max width */
    background-color: rgba(0, 0, 0, 0.9);
    border: 4px double #FFF; /* Changed from border-top */
    border-radius: 5px; /* Added for corner style */
    padding: 20px;
    z-index: 3000; /* Highest z-index */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align to the left */
    box-sizing: border-box; /* Include padding in width */
}

    #cookie-consent-banner p {
        font-size: 12px;
        line-height: 1.5;
        margin: 0;
        margin-bottom: 15px; /* Changed from margin-right */
    }

    /* --- ADD THIS NEW RULE --- */
    #cookie-consent-banner #cookie-consent-accept-btn {
        align-self: center; /* Centers the button in the flex column */
    }
/* --- END NEW RULE --- */


    #cookie-consent-banner a {
        color: #3399FF;
        text-decoration: underline;
    }

/* --- NEW: Text highlight for blog --- */
.text-highlight {
    color: #ffd700; /* Gold */
    font-weight: normal; /* Ensures text is not bold */
}