:root {
  --theme-name: "dark";
  --color-primary: #f87000;
  --color-primary-strong: #e04800;
  --color-bg: #0f1014;
  --color-surface: #1a1d24;
  --color-surface-2: #222733;
  --color-text: #f8f8f8;
  --color-text-muted: #bfc5d2;
  --color-border: #303746;
  --color-accent-blue: #002860;
  --color-accent-green: #68b830;
  --color-danger: #ff5b5b;
  --color-warning: #ffc24d;
  --shadow-soft: 0 14px 28px rgba(0, 0, 0, 0.28);
  --shadow-heavy: 0 20px 44px rgba(0, 0, 0, 0.42);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.3rem;
  --radius-pill: 999px;
  --space-2xs: 0.3rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.75rem;
  --font-display: "Bebas Neue", "Anton", "Impact", "Arial Black", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --transition-fast: 160ms ease;
  --transition-mid: 260ms ease;
  --max-app-width: 1220px;
  --bg-glow-primary: rgba(248, 112, 0, 0.3);
  --bg-glow-secondary: rgba(0, 40, 96, 0.4);
  --bg-grad-start: #0a0b0f;
  --bg-grad-mid: #0f1014;
  --bg-grad-end: #12151d;
  --topbar-bg: rgba(12, 14, 19, 0.84);
  --topbar-border: rgba(255, 255, 255, 0.05);
  --hero-overlay: rgba(21, 24, 32, 0.88);
  --hero-border: rgba(255, 255, 255, 0.09);
  --hero-glow: rgba(248, 112, 0, 0.45);
  --bottom-nav-bg: rgba(19, 23, 30, 0.95);
  --bottom-nav-border: rgba(255, 255, 255, 0.09);
}

:root[data-theme="light"] {
  --theme-name: "light";
  --color-bg: #f3f5f9;
  --color-surface: #ffffff;
  --color-surface-2: #f4f7fc;
  --color-text: #111827;
  --color-text-muted: #5b6473;
  --color-border: #d0d6e1;
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.12);
  --shadow-heavy: 0 16px 36px rgba(15, 23, 42, 0.16);
  --bg-glow-primary: rgba(248, 112, 0, 0.18);
  --bg-glow-secondary: rgba(0, 40, 96, 0.12);
  --bg-grad-start: #f7f8fb;
  --bg-grad-mid: #f9fafc;
  --bg-grad-end: #eef2f8;
  --topbar-bg: rgba(247, 249, 253, 0.9);
  --topbar-border: rgba(17, 24, 39, 0.12);
  --hero-overlay: rgba(255, 255, 255, 0.94);
  --hero-border: rgba(17, 24, 39, 0.12);
  --hero-glow: rgba(248, 112, 0, 0.26);
  --bottom-nav-bg: rgba(250, 251, 255, 0.95);
  --bottom-nav-border: rgba(17, 24, 39, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(
      1100px 500px at 15% -20%,
      var(--bg-glow-primary),
      transparent 55%
    ),
    radial-gradient(
      1200px 560px at 90% -30%,
      var(--bg-glow-secondary),
      transparent 58%
    ),
    linear-gradient(
      180deg,
      var(--bg-grad-start) 0%,
      var(--bg-grad-mid) 45%,
      var(--bg-grad-end) 100%
    );
  line-height: 1.45;
  transition: background var(--transition-mid), color var(--transition-fast);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
