@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root,
html[data-theme='light'] {
  --bg: #f8f9fd;
  --bg-alt: rgba(255, 255, 255, 0.8);
  --text: #0c1224;
  --text-muted: #5a627a;
  --card: #ffffff;
  --border: rgba(12, 18, 36, 0.08);
  --surface: var(--surface-1);
  --muted: var(--text-muted);
  --shadow: var(--shadow-soft);
  --accent: var(--color-accent);
  --color-bg: var(--bg);
  --color-bg-alt: var(--bg-alt);
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-card: var(--card);
  --color-border: var(--border);
  --color-primary: #ffd23f;
  --color-accent: #ff8c42;
  --color-primary-soft: rgba(255, 210, 63, 0.15);
  --radius: 1rem;
  --radius-lg: calc(var(--radius) * 1.6);
  --radius-md: var(--radius);
  --shadow-soft: 0 18px 35px rgba(10, 16, 30, 0.15);
  --shadow-small: 0 10px 30px rgba(10, 16, 30, 0.1);
  --transition: 0.24s ease;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --surface-1: #ffffff;
  --surface-2: rgba(12, 18, 36, 0.05);
  --surface-border: rgba(12, 18, 36, 0.12);
  --tab-bg: rgba(12, 18, 36, 0.03);
  --tab-bg-hover: rgba(12, 18, 36, 0.07);
  --tab-bg-active: rgba(12, 18, 36, 0.12);
  --tab-fg: #0c1224;
  --tab-fg-muted: rgba(12, 18, 36, 0.7);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-border: rgba(12, 18, 36, 0.08);
  --header-link: #0c1224;
  --header-link-muted: #2f3851;
  --progress-bg: transparent;
  --progress-fill: linear-gradient(90deg, #ff9b4a, #ffd23f);
  --backtotop-bg: rgba(255, 255, 255, 0.92);
  --backtotop-fg: #0c1224;
  --backtotop-border: rgba(12, 18, 36, 0.12);
}

html[data-theme='dark'] {
  --bg: #0b0d12;
  --bg-alt: rgba(15, 26, 51, 0.55);
  --text: #eaeaf0;
  --text-muted: #c3c7da;
  --card: #121623;
  --border: rgba(255, 255, 255, 0.1);
  --surface-1: #0d1427;
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.12);
  --tab-bg: rgba(255, 255, 255, 0.04);
  --tab-bg-hover: rgba(255, 255, 255, 0.08);
  --tab-bg-active: rgba(255, 255, 255, 0.14);
  --tab-fg: #e7f2ff;
  --tab-fg-muted: rgba(231, 242, 255, 0.75);
  --header-bg: rgba(5, 11, 24, 0.9);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-link: #f3f5ff;
  --header-link-muted: rgba(231, 236, 255, 0.75);
  --progress-bg: transparent;
  --progress-fill: linear-gradient(90deg, #ffd23f, #ff9b4a);
  --backtotop-bg: rgba(9, 14, 30, 0.9);
  --backtotop-fg: #f7f7fb;
  --backtotop-border: rgba(255, 255, 255, 0.15);
}
