:root {
    /* Color Palette */
    --color-bg-primary: #000000;
    --color-bg-secondary: #0A1628;
    /* Start of header/footer gradient */
    --color-bg-content: #FAF9F6;
    /* Off-white */
    --color-text-on-dark: #FFFFFF;
    --color-text-on-light: #333333;
    --color-accent-primary: #1E3A8A;
    /* CTA Primary */
    --color-accent-hover: #3B82F6;
    --color-nav-default: #D1D5DB;
    --color-nav-hover: #FFFFFF;
    --color-nav-active: #FDB813;
    /* Gold */

    /* Typography */
    --font-family-header: 'Bruno Ace', sans-serif;
    /* Fallback to sans-serif if not loaded */
    --font-family-body: 'Open Sans', 'Lato', sans-serif;
    --font-family-mono: monospace;

    /* Spacing */
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-body);
    background-color: var(--color-bg-content);
    color: var(--color-text-on-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-header);
    margin-top: 0;
    margin-bottom: var(--spacing-unit);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container,
.header-container,
.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent-primary);
    color: var(--color-text-on-dark);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
}

/* Helper Classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

.site-footer {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    color: var(--color-text-on-dark);
}

.footer-title {
    color: var(--color-text-on-dark);
    font-size: 1.25rem;
    border-bottom: 2px solid var(--color-accent-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #9CA3AF;
}

.learning-tag {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}