.container-app {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container-app {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

html,
body {
  overflow-x: clip;
}

.page-main {
  min-height: 60vh;
}

.site-logo-img {
  display: block;
  max-height: 2.25rem;
  width: auto;
  max-width: min(12rem, 42vw);
  object-fit: contain;
}

.site-header--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.site-header--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.site-header--bg > .container-app {
  position: relative;
  z-index: 1;
}

.site-body--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.mobile-menu-btn__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(233, 213, 255, 0.95);
  border-radius: 2px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: rgba(8, 6, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay[hidden] {
  display: none !important;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 2rem;
}

.mobile-menu-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
}

.mobile-menu-link {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link.is-active {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(124, 58, 237, 0.15);
}

.mobile-menu-link.is-active--magenta {
  border-color: rgba(217, 70, 239, 0.55);
  background: rgba(217, 70, 239, 0.12);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mobile-menu-btn-ghost,
.mobile-menu-btn-primary {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.mobile-menu-btn-ghost {
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #fff;
}

.mobile-menu-btn-primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(217, 70, 239, 0.95));
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}

.site-header .mobile-menu-btn-ghost,
.site-header .mobile-menu-btn-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.site-header .mobile-menu-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
  .mobile-menu-overlay,
  .mobile-menu-btn {
    display: none !important;
  }
}

.toast-root {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.footer-cta-telegram {
  background: linear-gradient(to right, rgba(6, 182, 212, 0.85), rgba(37, 99, 235, 0.92));
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.35);
  transition: opacity 0.15s ease;
}

.footer-cta-telegram:hover {
  opacity: 0.95;
}
