/*
  ============================================================================
  THEME — the ONLY file you need to edit to change the look of the site.
  ============================================================================
  Every color, font, size, spacing and corner radius used by the site comes from
  the variables below. site.css and the components only use these variables
  (and map Bootstrap's own variables to them), so changing a value here changes it
  everywhere.

  Tip: keep text colors light enough on the dark backgrounds. Aim for a contrast
  ratio of at least 4.5:1 (check with https://webaim.org/resources/contrastchecker/).
*/

:root {
    /* ---- Backgrounds ---- */
    --color-bg: #0e1217;              /* page background */
    --color-surface: #161c24;         /* cards, header, panels */
    --color-surface-raised: #1e2631;  /* inputs, hovered cards, dropdowns */
    --color-border: #2c3644;          /* borders and dividers */

    /* ---- Text ---- */
    --color-text: #e8edf2;            /* normal text (contrast ~15:1 on --color-bg) */
    --color-text-muted: #a3afbd;      /* secondary text, hints (contrast ~8:1) */
    --color-heading: #ffffff;         /* headings */

    /* ---- Brand / accent (buttons, links, highlights) ---- */
    --color-accent: #2fc6b8;          /* main accent: a "tek" teal */
    --color-accent-hover: #4fded1;
    --color-accent-text: #04201d;     /* text ON accent-colored buttons */
    --color-link: #5fd4ff;
    --color-link-rgb: 95, 212, 255;   /* same color as --color-link, as "r, g, b" (Bootstrap needs this) */
    --color-link-hover: #9be4ff;

    /* ---- Logo (header icon). wwwroot/favicon.svg has the same colors written in: change both. ---- */
    --color-logo-frame: var(--color-accent);     /* the hexagon */
    --color-logo-arrow-1: var(--color-accent);   /* top arrow */
    --color-logo-arrow-2: var(--color-warning);  /* bottom arrow (amber) */

    /* ---- Status colors ---- */
    --color-success: #3ccf7a;
    --color-warning: #ffb547;         /* e.g. countdown under 15 minutes */
    --color-danger: #ff6b6b;
    --color-info: #5fa8ff;
    --color-star: #ffc940;            /* rating stars */

    /* ---- User icons without a picture: the first letter on one of these colors ---- */
    --color-avatar-1: #7c5cd6;
    --color-avatar-2: #2f8fd6;
    --color-avatar-3: #c0567a;
    --color-avatar-4: #d68a2f;
    --color-avatar-5: #3f9e5a;
    --color-avatar-6: #8a6a4f;
    --color-avatar-text: #ffffff;

    /* ---- Tags (platform / game mode / map on auction cards) ---- */
    --color-tag-bg: #243041;
    --color-tag-text: #cfd8e3;

    /* ---- Fonts ---- */
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: var(--font-body);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --font-size-base: 1rem;           /* 16px */
    --font-size-small: 0.875rem;
    --font-size-tiny: 0.75rem;
    --font-size-large: 1.5rem;        /* e.g. the bid amount on auction cards */
    --font-weight-bold: 650;

    /* ---- Spacing scale (padding / margins / gaps) ---- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 3rem;

    /* ---- Corner radius ---- */
    --radius-sm: 4px;                 /* tags, small buttons */
    --radius-md: 8px;                 /* inputs, buttons */
    --radius-lg: 12px;                /* cards, panels */

    /* ---- Effects ---- */
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.5);
    --transition-fast: 150ms ease;

    /* ---- Layout ---- */
    --header-height: 60px;            /* top row of the header (logo + account) */
    --header-row2-height: 52px;       /* second row of the header (Open auctions, Buy now, ...) */
    --card-image-height: 180px;       /* height of the picture on auction cards */
    --content-max-width: 1320px;
}
