/*
Theme Name: Mostly Modular Dark
Template: blocksy
Description: Dark theme for mostlymodular.gg — the game engine site.
Version: 0.1.42-alpha
Author: Faye & Ada
*/

:root {
    --mm-answer: 42;
    --theme-palette-color-1: #7c6af0;
    --theme-palette-color-2: #6c5ce7;
    --theme-palette-color-3: #e0e0e0;
    --theme-palette-color-4: #f5f5f5;
    --theme-palette-color-5: #0d0d0f;
    --theme-palette-color-6: #1a1a2e;
    --theme-palette-color-7: #16213e;
    --theme-palette-color-8: #121212;
}

body {
    background-color: #0d0d0f !important;
    color: #e0e0e0 !important;
}

.site-main, .ct-container, article, .entry-content,
.ct-main-area { color: #e0e0e0; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title,
[class*="wp-block-heading"] {
    color: #f5f5f5 !important;
    font-family: "JetBrains Mono", "Fira Code", monospace;
}

a { color: #7c6af0; }
a:hover { color: #9b8bf5; }

/* Header */
header[data-id="type-1"],
.header-desktop,
[data-row="middle"] {
    background-color: #121212 !important;
    border-bottom: 1px solid rgba(124, 106, 240, 0.15);
}
header a, .site-title, .site-title a, nav a,
[data-id="menu"] a {
    color: #e0e0e0 !important;
}
nav a:hover, [data-id="menu"] a:hover {
    color: #7c6af0 !important;
}
.site-title { font-family: "JetBrains Mono", monospace; font-weight: 700; }

/* Footer */
footer, [data-row="bottom"],
.ct-footer [data-column] {
    background-color: #121212 !important;
    color: #888 !important;
    border-top: 1px solid rgba(124, 106, 240, 0.15);
}
footer a { color: #7c6af0 !important; }

/* Cards / surfaces */
.ct-container > article,
.entry-card {
    background-color: #1a1a2e;
    border: 1px solid rgba(124, 106, 240, 0.1);
    border-radius: 8px;
}

/* Buttons */
.wp-block-button__link, button, input[type="submit"],
.ct-button, [data-button] {
    background-color: #7c6af0 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-family: "JetBrains Mono", monospace;
}
.wp-block-button__link:hover, button:hover {
    background-color: #6c5ce7 !important;
}

/* Code blocks */
pre, code, .wp-block-code {
    background-color: #1a1a2e !important;
    color: #7c6af0 !important;
    border-radius: 6px;
    font-family: "JetBrains Mono", "Fira Code", monospace;
}

/* Sidebar & widgets */
.ct-sidebar, aside {
    background-color: #121212;
    color: #e0e0e0;
}

/* Copyright override */
.ct-footer-copyright, .copyright,
[data-id="copyright"] {
    color: #666 !important;
}


/* Bigger, friendlier body text */
body, .entry-content, .site-main, .ct-container, article {
    font-size: 19px !important;
    line-height: 1.8 !important;
}

.entry-content p, .wp-block-paragraph {
    font-size: 19px !important;
    line-height: 1.8 !important;
    letter-spacing: 0.01em;
}

.entry-content li, .wp-block-list li {
    font-size: 19px !important;
    line-height: 1.8 !important;
}

/* Table text */
.wp-block-table td, .wp-block-table th {
    font-size: 17px !important;
}

/* Keep code blocks slightly smaller */
pre, code, .wp-block-code {
    font-size: 16px !important;
    line-height: 1.6 !important;
}
