:root {
  --brand-page-bg: #061a17;
  --brand-surface: #0e2a25;
  --brand-surface-alt: #143932;
  --brand-surface-soft: #1c4a42;
  --brand-text: #ffffff;
  --brand-text-muted: #d6efe7;
  --brand-accent: #19c37d;
  --brand-accent-dark: #0c8f5a;
  --brand-accent-text: #04120c;
  --brand-border: #2bbf8a;
  --brand-shadow: rgba(0, 0, 0, 0.30);
  --brand-gradient: linear-gradient(135deg, #19c37d, #0ea5a6);
  --brand-link: #7cf7c8;
}

body {
  background-color: var(--brand-page-bg) !important;
  color: var(--brand-text) !important;
}

body,
body p,
body li,
body td,
body th,
body label,
body span,
body strong,
body em,
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content strong,
.entry-content em,
.entry-content .elementor-widget-text-editor,
.entry-content .elementor-widget-text-editor p,
.entry-content .elementor-widget-text-editor li,
.entry-content .elementor-widget-text-editor td,
.entry-content .elementor-widget-text-editor th,
.entry-content .elementor-widget-text-editor strong,
.entry-content .elementor-widget-theme-post-content,
.entry-content .elementor-widget-theme-post-content p,
.entry-content .elementor-widget-theme-post-content li,
.entry-content .elementor-widget-theme-post-content td,
.entry-content .elementor-widget-theme-post-content th {
  color: var(--brand-text-muted) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content .elementor-widget-heading .elementor-heading-title,
.entry-content .elementor-widget-text-editor h1,
.entry-content .elementor-widget-text-editor h2,
.entry-content .elementor-widget-text-editor h3,
.entry-content .elementor-widget-text-editor h4,
.entry-content .elementor-widget-text-editor h5,
.entry-content .elementor-widget-text-editor h6 {
  color: var(--brand-text) !important;
}

.entry-content a,
.entry-content .elementor-widget-text-editor a,
.entry-content .elementor-widget-theme-post-content a {
  color: var(--brand-link) !important;
}

.header,
.site-header,
.main-header-bar,
.footer,
.site-footer,
.specialPromo,
.accord__header,
.accord__content,
.contentBlock__item,
.contentBlock__item_large,
.glossary__item,
.hero__content,
.elementor-widget-container {
  background: var(--brand-surface) !important;
  border-color: var(--brand-border) !important;
  box-shadow: 0 16px 32px var(--brand-shadow) !important;
}

.hero,
.header__wrapper,
.footer__container,
.elementor-section {
  background: var(--brand-gradient) !important;
}

.btn,
.btn_special,
.btn_mini,
.elementor-button,
.ast-button,
.ast-custom-button-link {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent-dark) !important;
  color: var(--brand-accent-text) !important;
}

.btn:hover,
.btn_special:hover,
.btn_mini:hover,
.elementor-button:hover,
.ast-button:hover,
.ast-custom-button-link:hover {
  background: var(--brand-accent-dark) !important;
}

.btn_outline {
  background: transparent !important;
  border-color: var(--brand-accent) !important;
  color: var(--brand-accent) !important;
}

.btn_outline:hover {
  background: var(--brand-accent) !important;
  color: var(--brand-accent-text) !important;
}

.menu__link,
.menu-link,
.footer__nav-link,
.footer__social-link,
.hyperLink,
.link {
  color: var(--brand-link) !important;
}

.contentBlock__name,
.glossary__term,
.hero__title,
.title {
  color: var(--brand-text) !important;
}

.contentBlock__descr,
.glossary__definition,
.hero__descr,
.descr,
.footer__copyright {
  color: var(--brand-text-muted) !important;
}

.brand-affiliate-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.brand-affiliate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--brand-accent-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.brand-affiliate-button:hover {
  transform: translateY(-1px);
}

.brand-affiliate-button_primary {
  background: var(--brand-accent) !important;
  color: var(--brand-accent-text) !important;
}

.brand-affiliate-button_primary:hover {
  background: var(--brand-accent-dark) !important;
  color: var(--brand-accent-text) !important;
}

.brand-affiliate-button_secondary {
  background: transparent !important;
  color: var(--brand-link) !important;
  border-color: var(--brand-link) !important;
}

.brand-affiliate-button_secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.mirror-language-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: rgba(12, 15, 18, 0.92);
  box-shadow: 0 12px 28px var(--brand-shadow);
  backdrop-filter: blur(10px);
}

.mirror-language-switcher__link {
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.mirror-language-switcher__link.is-active {
  background: var(--brand-accent);
  border-color: var(--brand-accent-dark);
  color: var(--brand-accent-text) !important;
}

.mirror-language-switcher__link:not(.is-active) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  .mirror-language-switcher {
    right: 12px;
    bottom: 12px;
  }
}
