@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f6f6f8;
  --bg-elevated: rgba(255, 255, 255, 0.76);
  --surface: #ffffff;
  --surface-muted: #f0f0f2;
  --surface-strong: #eaebee;
  --border: rgba(43, 48, 61, 0.08);
  --text: #19191f;
  --text-soft: #6b6d76;
  --accent: #2b303d;
  --accent-soft: #4a505e;
  --highlight: #f0b74a;
  --danger: #e05555;
  --shadow: 0 24px 64px rgba(26, 26, 31, 0.08);
  --ambient-primary: rgba(43, 48, 61, 0.12);
  --ambient-secondary: rgba(240, 183, 74, 0.2);
  --ambient-soft: rgba(255, 255, 255, 0.58);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-elevated: rgba(24, 24, 28, 0.72);
    --surface: #1c1c1f;
    --surface-muted: #26262b;
    --surface-strong: #2f3035;
    --border: rgba(255, 255, 255, 0.08);
    --text: #ededf0;
    --text-soft: #9b9ba5;
    --accent: #1a1a1a;
    --accent-soft: #2b303d;
    --highlight: #f0b74a;
    --danger: #f06767;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
    --ambient-primary: rgba(255, 255, 255, 0.1);
    --ambient-secondary: rgba(240, 183, 74, 0.16);
    --ambient-soft: rgba(255, 255, 255, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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