/* FONT & Y2K COLOR VARIABLES */
:root {
    --font-pixel: 'Press Start 2P', cursive;
    --color-bg: #f4f4f7; /* Light grey background */
    --color-dark-muted: #8c89ab; /* Dark, desaturated lilac for header/footer */
    --color-lilac: #b2a8d6;
    --color-mint: #c8e6c9;
    --color-mint-dark: #9de99f;
    --color-text: #333;
    --color-light: #ffffff;
}

/* GENERAL RESETS & PIXEL FONT AS DEFAULT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-pixel);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 12px;
    
    /* --- NEW: STICKY FOOTER STYLES --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Make body at least the full height of the viewport */
}

/* BRUTALIST HEADER & FOOTER FRAME */
header, footer {
    background-color: var(--color-dark-muted);
    color: var(--color-light);
    padding: 20px 5%;
}

header {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
    padding-bottom: 40px; 
}

footer {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    padding-top: 40px;
}

.header-content, .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo, nav a, .cta-button, .footer-content {
    font-size: 12px;
}

.site-logo {
    text-decoration: none;
    color: var(--color-light);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #d9d4e8;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--color-light);
}

.cta-button {
    border: 2px solid var(--color-mint-dark);
    padding: 8px 16px;
    text-decoration: none;
    color: var(--color-mint-dark);
    transition: all 0.2s ease;
    background-color: transparent;
}

.cta-button:hover {
    background-color: var(--color-mint-dark);
    color: var(--color-dark-muted);
}

/* MAIN AREA - A simple container for the window */
main {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* --- NEW: STICKY FOOTER STYLE --- */
    flex: 1; /* This makes the main content area grow to fill available space */
}


/* --- Y2K WINDOW STYLES (BACK BY POPULAR DEMAND!) --- */
.window {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border: 2px solid #a9a9a9;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
}

.title-bar {
    background: var(--color-lilac); /* Lilac title bar */
    color: var(--color-light);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-shadow: 1px 1px 1px #5d5480;
}

.buttons {
    display: flex;
    gap: 5px;
}

.btn {
    width: 18px;
    height: 18px;
    background: #e0e0e0;
    border: 1px solid;
    border-top-color: #f0f0f0;
    border-left-color: #f0f0f0;
    border-right-color: #888;
    border-bottom-color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #333;
    cursor: pointer;
}
.btn:active {
    border-style: inset;
}

.window-content {
    padding: 25px;
    line-height: 1.8;
}

.window-content h1 {
    font-size: 20px;
    color: var(--color-lilac);
    margin-bottom: 20px;
}

.window-content .ok-status {
    color: var(--color-mint-dark);
    font-weight: bold;
}