/* theme-vars.css: the color variables and the five theme blocks ONLY,
   for pages that have their own layout styles and do not load
   styles.css (login.html, verify.html). An exact copy of the top of
   css/styles.css: when a theme color changes there, change it here too.
   theme.js sets <html data-theme="..."> to pick the block. */
:root {
    --black: #050706;
    --black-2: #020302;
    --panel: #0b0e0c;
    --panel-2: #101410;
    --gold: #d6ad45;
    --gold-light: #f0d078;
    --green: #19b85a;
    --green-light: #42dc7b;
    --text: #f5f2e9;
    --muted: #9c9d96;
    --line: rgba(var(--gold-rgb),.25);
    --white-line: rgba(255,255,255,.08);

    /* RGB triplets, kept in sync by hand whenever the hex values above
       change. Every rgba(214,173,69,X) / rgba(25,184,90,X) literal that
       used to be scattered through this file has been mechanically
       rewritten to rgba(var(--gold-rgb),X) etc., and every hardcoded
       near-black card-background literal (rgba(16,20,16,X) etc.) has
       been rewritten to rgba(var(--panel-2-rgb),X) etc. — so overriding
       these five triplets (see the theme blocks just below) re-themes
       every card/panel background on the page as well as the borders/
       glows, not just the handful of properties that already used
       var(--gold)/var(--panel) directly. Matches the same setup in the
       dashboard (dashboard-index.html) — same variable names, same
       approach, so a user's theme choice looks identical on both pages. */
    --gold-rgb: 214, 173, 69;
    --green-rgb: 25, 184, 90;
    --panel-rgb: 11, 14, 12;
    --panel-2-rgb: 16, 20, 16;
    --black-2-rgb: 2, 3, 2;
}


/* =========================================================
   COLOR THEMES — picked from the footer's theme picker.
   Set by theme.js, which puts data-theme on <html> (and saves the
   choice to localStorage + the account, same as the dashboard).

   Comes after :root on purpose: [data-theme="x"] and :root are the
   same selector specificity (0-1-0), so whichever is declared later
   in the stylesheet wins — that's what lets these actually override
   the :root defaults instead of losing to them.

   Only --red stays constant across every theme (this file doesn't
   define one, so nothing to do here) — --green DOES change per theme
   below, on purpose, unlike on the dashboard's more restrained
   approach: without a frozen "always green" reference point governing
   trading decisions on this marketing page, letting the secondary
   accent shift too makes each theme feel like an actual different
   look rather than "same page, one different button color."
========================================================= */

/* GOLD — the original palette, spelled out explicitly so "gold" is a
   real selectable option, not just "no theme". */
[data-theme="gold"] {
    --black: #050706;
    --black-2: #020302;
    --panel: #0b0e0c;
    --panel-2: #101410;
    --gold: #d6ad45;
    --gold-light: #f0d078;
    --green: #19b85a;
    --green-light: #42dc7b;
    --text: #f5f2e9;
    --muted: #9c9d96;
    --gold-rgb: 214, 173, 69;
    --green-rgb: 25, 184, 90;
    --panel-rgb: 11, 14, 12;
    --panel-2-rgb: 16, 20, 16;
    --black-2-rgb: 2, 3, 2;
}

/* BLUE — cobalt + teal, with visibly blue-tinted panels (not just
   "black with a blue button") so the theme reads as a real change. */
[data-theme="blue"] {
    --black: #050b16;
    --black-2: #03060e;
    --panel: #0d1f38;
    --panel-2: #14304f;
    --gold: #3b8eff;
    --gold-light: #7fb4ff;
    --green: #00c9a7;
    --green-light: #5eeed1;
    --text: #eef4ff;
    --muted: #8695ad;
    --gold-rgb: 59, 142, 255;
    --green-rgb: 0, 201, 167;
    --panel-rgb: 13, 31, 56;
    --panel-2-rgb: 20, 48, 79;
    --black-2-rgb: 3, 6, 14;
}

/* DRACULA — the well-known editor palette (background #282a36,
   foreground #f8f8f2, purple #bd93f9, green #50fa7b) — noticeably
   lighter panels than the other themes, same as the real thing. */
[data-theme="dracula"] {
    --black: #191a21;
    --black-2: #12131a;
    --panel: #282a36;
    --panel-2: #21222c;
    --gold: #bd93f9;
    --gold-light: #d6b3ff;
    --green: #50fa7b;
    --green-light: #8affac;
    --text: #f8f8f2;
    --muted: #6272a4;
    --gold-rgb: 189, 147, 249;
    --green-rgb: 80, 250, 123;
    --panel-rgb: 40, 42, 54;
    --panel-2-rgb: 33, 34, 44;
    --black-2-rgb: 18, 19, 26;
}

/* 757 MFD — Boeing's real six-color EICAS/EFIS convention: red =
   warnings, amber = cautions, green = normal operating parameters,
   white = titles/static text/scale markings, magenta = flight
   director commands & selected targets, cyan = background
   labels/reference lines. This design only has two swappable accent
   slots (--gold and --green) plus a frozen --red, so four of the six
   map cleanly onto what's already here: magenta → --gold (the
   flight-director color drives buttons/borders/branding, same role
   gold plays in every other theme), green → --green (unchanged —
   EICAS green, already correct), white → --text, cyan → --muted
   (used all over this site for labels/subtext, so a real bright cyan
   there does a lot of work toward looking authentic). Amber doesn't
   have a home in the current two-slot system — it would need its own
   dedicated variable to show up as its own color rather than reusing
   gold or red; ask if you want that added for full six-color
   fidelity. Panels are genuinely near-black, like a real CRT, not
   tinted any particular hue. */
[data-theme="mfd757"] {
    --black: #000000;
    --black-2: #000000;
    --panel: #030608;
    --panel-2: #060c10;
    --gold: #ff00e5;
    --gold-light: #ff66ee;
    --green: #00ff66;
    --green-light: #66ffaa;
    --text: #f2f2f2;
    --muted: #3ad9f5;
    --gold-rgb: 255, 0, 229;
    --green-rgb: 0, 255, 102;
    --panel-rgb: 3, 6, 8;
    --panel-2-rgb: 6, 12, 16;
    --black-2-rgb: 0, 0, 0;
}

/* NEON — synthwave cyan/lime on visibly purple-black panels. (Cyan
   here, not magenta, so it doesn't end up too close to 757 MFD's
   now-magenta primary accent above.) */
[data-theme="neon"] {
    --black: #0a0416;
    --black-2: #060310;
    --panel: #1c0a30;
    --panel-2: #280f44;
    --gold: #00e5ff;
    --gold-light: #7bf3ff;
    --green: #39ff14;
    --green-light: #8bff6b;
    --text: #f0eaff;
    --muted: #8a7aa8;
    --gold-rgb: 0, 229, 255;
    --green-rgb: 57, 255, 20;
    --panel-rgb: 28, 10, 48;
    --panel-2-rgb: 40, 15, 68;
    --black-2-rgb: 6, 3, 16;
}
