@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-ExtraLight.woff2") format("woff2");
}

/* Light (Тонкий) - 300 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-Light.woff2") format("woff2");
}

/* Regular (Нормальный) - 400 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-Regular.woff2") format("woff2");
}

/* Medium (Средний) - 500 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-Medium.woff2") format("woff2");
}

/* SemiBold (Полужирный) - 600 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-SemiBold.woff2") format("woff2");
}

/* Bold (Жирный) - 700 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-Bold.woff2") format("woff2");
}

/* ExtraBold (Сверхжирный) - 800 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/roboto/Roboto-ExtraBold.woff2") format("woff2");
}

/* ExtraLight (Сверхтонкий) - 200 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-ExtraLight.woff2") format("woff2");
}

/* Light (Тонкий) - 300 */
/* (Если хотите использовать файл oswald-v49-latin-300.woff2, 
   просто замените путь ниже на url('../fonts/oswald/Oswald-v49-latin-300.woff2')) */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-Light.woff2") format("woff2");
}

/* Regular (Нормальный) - 400 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-Regular.woff2") format("woff2");
}

/* Medium (Средний) - 500 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-Medium.woff2") format("woff2");
}

/* SemiBold (Полужирный) - 600 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-SemiBold.woff2") format("woff2");
}

/* Bold (Жирный) - 700 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald/Oswald-Bold.woff2") format("woff2");
}
.tooltip-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--bg3);
  border-radius: 50%;
  font-size: 12px;
  cursor: help;
  margin-left: 5px;
}
.tooltip-icon:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--gold);
  color: var(--txt);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
}
.cr-notif,
.cr-notif-stack {
  position: fixed;
  z-index: 1000;
}
#preloader-wr,
.section-header {
  text-align: center;
}
#preloader-wr p,
.section-label {
  color: var(--gold);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #0a0e17;
  --bg2: #111927;
  --bg3: #1a2332;
  --bg4: #1f2b3d;
  --gold: #c9a84c;
  --gold-l: #e0c068;
  --gold-d: #a08030;
  --gold-g: rgba(201, 168, 76, 0.4);
  --grn: #2d6a4f;
  --grn-l: #40916c;
  --txt: #e8e8e8;
  --txt2: #a0a8b4;
  --txt3: #6b7280;
  --brd: #2a3444;
  --red: #ef4444;
  --r: 12px;
  --t: 0.3s ease;
  --color-primary: #1a2e1a;
  --color-secondary: #c9a962;
  --color-accent: #c45c26;
  --color-bg: #f5f3ef;
  --color-dark: #1c1c1c;
  --color-text: #1a1a1a;
  --color-text-light: #6b6b6b;
  --color-success: #10b981;
}
body {
  font-family: Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
}
.cr-notif,
h1,
h2,
h3,
h4 {
  font-family: Oswald, sans-serif;
  font-weight: 600;
}
h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--txt);
  margin-bottom: 16px;
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--txt2);
}
.cr-notif {
  top: 30px;
  right: 0;
  height: fit-content;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cr-notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cr-notif.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.cr-notif.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.cr-notif.warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.cr-notif.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.cr-notif::before {
  font-size: 1.2rem;
  line-height: 1;
}
.cr-notif.success::before {
  content: "✅";
}
.cr-notif.error::before {
  content: "❌";
}
.cr-notif.warning::before {
  content: "⚠️";
}
.cr-notif.info::before {
  content: "ℹ️";
}
.cr-notif.pulse {
  animation: 0.5s 2 notifPulse;
}
@keyframes notifPulse {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(0) scale(1.05);
  }
}
.cr-notif-stack {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.cr-notif-stack .cr-notif {
  position: relative;
  bottom: auto;
  left: auto;
  transform: translateX(-50%) translateY(0);
  margin-bottom: 0;
  pointer-events: auto;
}
.cr-notif.with-progress {
  padding-bottom: 20px;
}
.cr-notif-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 0 50px 50px;
  animation: 2s linear forwards progress;
}
@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
}
#spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: 1s linear infinite spin;
  margin: 0 auto 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.update-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2d5a2a;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  animation: 0.3s slideIn;
}
.update-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}
.update-content button {
  background: #fff;
  color: #2d5a2a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
