:root {
  --bg: #090b10;
  --bg-elevated: #10131b;
  --bg-card: #171b24;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #a3adc2;
  --text-soft: #7c879d;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --danger: #ff445f;
  --success: #00d68f;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.28s ease;
  --container: 1700px;
  color-scheme: dark;
}

/*RESET*/

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at top, #1a2335 0%, transparent 45%),
    radial-gradient(circle at right, #112448 0%, transparent 35%),
    linear-gradient(180deg, #090b10, #0d1017 40%, #090b10);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #090b10;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #244cff, #3b82f6);

  border-radius: 100px;

  border: 3px solid #090b10;
}

body::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #090b10;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

p {
  color: var(--text-muted);
}

small {
  color: var(--text-soft);
}

strong {
  color: #fff;
}

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

  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  display: block;

  max-width: 100%;

  height: auto;
}

svg {
  display: block;
}

video {
  display: block;

  max-width: 100%;
}

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

button {
  border: none;

  background: none;

  color: inherit;

  cursor: pointer;
}

input,
textarea,
select {
  outline: none;
}

ul,
ol {
  list-style: none;
}

.main-wrapper {
  position: relative;
  width: min(100%, var(--container));
  min-height: 100vh;
  margin-inline: auto;
  padding-bottom: 28px;
}

::selection {
  background: #3b82f6;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .main-wrapper {
    padding-inline: 22px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .main-wrapper {
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding-inline: 12px;
  }
}
