/* OP25 Shared Base Styles - 29 JAN 2026 */
/* CSS Variables, Reset, Fonts, and Core Styles */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Background colors */
    --bg-deep: #0d0d1a;
    --bg-primary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1c2a4a;

    /* Accent colors */
    --accent-red: #ff3b3b;
    --accent-orange: #ff6b35;
    --accent-yellow: #ffc234;
    --accent-blue: #66aaff;
    --accent-green: #4ade80;

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #8892a8;
    --text-muted: #5a6378;

    /* Borders */
    --border-subtle: rgba(255,255,255,0.06);
    --border-hover: rgba(255,107,53,0.3);

    /* Values display color - user configurable */
    --values: #ffc234;

    /* Control button radius */
    --border-radius: 6px;
}

/* ========================================
   CSS RESET
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* ========================================
   BASE STYLES
   ======================================== */
html {
    font-size: 16px;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Anybody', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-orange);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

/* ========================================
   RESPONSIVE HELPERS
   ======================================== */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
}
