:root {
    /* Colors */
    --moola-primary-bg: #e0f2f1;
    /* Light Teal/Aqua */
    --moola-accent: #00e676;
    /* Moola Green - Vibrant */
    --moola-accent-hover: #00c853;
    --moola-text-main: #212121;
    /* Dark Charcoal */
    --moola-text-muted: #757575;
    --moola-card-bg: #ffffff;
    /* Off-white/Pure white */
    --moola-border: #eeeeee;
    --moola-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --mw-container: 1100px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 48px;

    /* Components */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Global Reset & Typography */
body {
    background-color: var(--moola-primary-bg) !important;
    color: var(--moola-text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: var(--sp-md);
    color: var(--moola-text-main);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Theme Overrides - Hiding Default Header/Footer */
/* Adjust these selectors if the theme uses different ones */
.site-header,
#masthead,
.site-footer,
#colophon,
.footer-widgets,
.ast-footer-copyright,
.ast-footer-section {
    display: none !important;
}

/* Layout */
.moola-container {
    max-width: var(--mw-container);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

/* Components: Cards */
.moola-card {
    background: var(--moola-card-bg);
    border-radius: var(--radius-md);
    padding: var(--sp-lg);
    box-shadow: var(--moola-shadow);
    border: 1px solid var(--moola-border);
    transition: transform 0.2s;
}

.moola-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Components: Buttons */
.moola-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.moola-btn-primary {
    background: var(--moola-accent);
    color: #000;
}

.moola-btn-primary:hover {
    background: var(--moola-accent-hover);
    transform: translateY(-2px);
}

.moola-btn-secondary {
    background: transparent;
    border: 2px solid var(--moola-text-main);
    color: var(--moola-text-main);
}

.moola-btn-secondary:hover {
    background: var(--moola-text-main);
    color: #fff;
}

/* Components: Badges */
.moola-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: #f5f5f5;
    color: var(--moola-text-muted);
}

.moola-badge.cat-food {
    background: #ffebee;
    color: #c62828;
}

.moola-badge.cat-housing {
    background: #e3f2fd;
    color: #1565c0;
}

.moola-badge.cat-hustle {
    background: #f3e5f5;
    color: #7b1fa2;
}

.moola-badge.cat-travel {
    background: #e0f7fa;
    color: #006064;
}

.moola-badge.cat-other {
    background: #eeeeee;
    color: #616161;
}

/* Component: Navbar */
.moola-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 var(--sp-md);
}

.moola-navbar-inner {
    width: 100%;
    max-width: var(--mw-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.moola-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--moola-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.moola-logo img {
    height: 40px;
}

.moola-nav-links {
    display: flex;
    gap: var(--sp-lg);
    align-items: center;
}

.moola-nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

.moola-nav-links a:hover {
    color: var(--moola-accent-hover);
}

.moola-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .moola-nav-links {
        display: none;
        /* JS to toggle */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .moola-nav-links.active {
        display: flex;
    }

    .moola-nav-toggle {
        display: block;
    }
}

/* Component: Footer */
.moola-footer {
    background: #ffffff;
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--moola-border);
}

.moola-footer-links {
    margin-bottom: 20px;
}

.moola-footer-links a {
    margin: 0 10px;
    font-weight: 600;
}

.moola-disclaimer {
    color: var(--moola-text-muted);
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
}