﻿@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&family=Unbounded:wght@500;700&display=swap");

:root {
  --ah-bg-0: #020611;
  --ah-bg-1: #061024;
  --ah-bg-2: #0b1f3f;
  --ah-panel: rgba(8, 20, 39, 0.86);
  --ah-panel-strong: #081a32;
  --ah-border: rgba(120, 162, 230, 0.24);
  --ah-text: #eff6ff;
  --ah-muted: #9bb2d3;
  --ah-primary: #4ea3ff;
  --ah-primary-2: #8a79ff;
  --ah-danger: #ff6f8f;
}

* {
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: #061225;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4e93ff 0%, #7a7fff 100%);
  border: 2px solid #061225;
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #68abff 0%, #8e90ff 100%);
}

html,
body {
  min-height: 100%;
  margin: 0;
  scrollbar-color: #5a8fff #061225;
  scrollbar-width: thin;
}

body.ah-body {
  position: relative;
  color: var(--ah-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #020204 0%, #050508 100%);
  padding-top: 88px;
}

body.ah-login-page {
  overflow: hidden;
  background: #030b17;
  padding-top: 0;
}

body.ah-login-page .ah-header {
  display: none !important;
}

body.ah-login-page,
body.ah-login-page .ah-login-shell,
body.ah-login-page .ah-login-split {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
}

body.ah-login-page .ah-bg-layer {
  display: none;
}

.ah-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  background: linear-gradient(180deg, rgba(2, 2, 4, 0) 0%, rgba(2, 2, 4, 0.2) 100%);
}

.ah-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding-top: 0;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.66);
}

body.ah-landing-mode .ah-header {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

body.ah-landing-mode .ah-bg-layer {
  display: none;
}

.ah-navbar {
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 10, 0.88);
  box-shadow: none;
}

body.ah-landing-mode .ah-navbar {
  min-height: 70px;
  margin: 10px auto 0;
  width: min(1460px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(9, 9, 12, 0.92);
  box-shadow: none;
}

body.ah-landing-mode .ah-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

body.ah-landing-mode .ah-brand img {
  width: 34px;
  height: 34px;
  filter: none;
}

body.ah-landing-mode .ah-landing-links {
  gap: 0;
}

body.ah-landing-mode .ah-landing-link {
  height: 44px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(20, 20, 24, 0.9);
  font-weight: 700;
}

body.ah-landing-mode .ah-landing-link:hover,
body.ah-landing-mode .ah-landing-link:focus {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

body.ah-landing-mode .ah-landing-link-main {
  border-color: rgba(255, 255, 255, 0.9);
  color: #07090f;
  background: #ffffff;
}

body.ah-landing-mode .ah-landing-link-main:hover,
body.ah-landing-mode .ah-landing-link-main:focus {
  color: #07090f;
  background: #f1f1f1;
}

body.ah-landing-mode .ah-btn-primary {
  color: #07090f;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
  box-shadow: none;
}

.ah-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3f8ff;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.ah-brand:hover,
.ah-brand:focus {
  color: #ffffff;
  text-decoration: none;
}

.ah-brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 16px rgba(88, 149, 255, 0.24));
}

.ah-brand-landing {
  font-weight: 800;
}

.ah-landing-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ah-landing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(142, 177, 233, 0.35);
  border-radius: 14px;
  color: #f3f8ff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(10, 21, 40, 0.92) 0%, rgba(6, 14, 30, 0.95) 100%);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ah-landing-link:hover,
.ah-landing-link:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(98, 156, 247, 0.82);
  box-shadow: 0 0 0 1px rgba(87, 142, 240, 0.35), 0 12px 24px rgba(5, 19, 42, 0.4);
}

.ah-landing-link-main {
  border-color: rgba(110, 162, 246, 0.76);
  background: linear-gradient(130deg, #3e90f2 0%, #3678df 58%, #6e6ef6 100%);
}

.ah-toggler {
  border-color: var(--ah-border);
  background: rgba(12, 28, 50, 0.76);
}

.ah-toggler .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.offcanvas.ah-drawer {
  background: linear-gradient(180deg, #071428 0%, #061224 100%);
  border-right: 1px solid rgba(116, 157, 224, 0.25);
}

.ah-drawer-link {
  justify-content: flex-start;
  gap: 8px;
  color: #dcecff;
  border: 1px solid rgba(110, 155, 228, 0.24);
  border-radius: 12px;
  background: rgba(11, 26, 46, 0.78);
}

.ah-drawer-link.active,
.ah-drawer-link:hover {
  color: #fff;
  border-color: rgba(105, 160, 255, 0.76);
  background: rgba(35, 75, 135, 0.7);
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.ah-btn-primary,
.am-hero-btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(130deg, #469fff 0%, #5c86ff 60%, #7f74ff 100%);
  box-shadow: 0 12px 28px rgba(78, 144, 255, 0.32);
}

.ah-btn-primary:hover,
.am-hero-btn-primary:hover,
.ah-btn-primary:focus,
.am-hero-btn-primary:focus {
  color: #fff;
  box-shadow: 0 16px 30px rgba(78, 144, 255, 0.44);
}

.ah-btn-secondary,
.am-hero-btn-secondary {
  border: 1px solid rgba(140, 175, 230, 0.34);
  color: #e2efff;
  background: rgba(9, 20, 38, 0.9);
  box-shadow: inset 0 1px 0 rgba(167, 194, 242, 0.12);
}

.ah-btn-secondary:hover,
.am-hero-btn-secondary:hover,
.ah-btn-secondary:focus,
.am-hero-btn-secondary:focus {
  color: #fff;
  border-color: rgba(105, 160, 255, 0.74);
  box-shadow: 0 10px 22px rgba(5, 20, 42, 0.4);
}

.ah-page {
  width: min(1680px, calc(100% - 42px));
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 32px;
}

.ah-panel {
  border: 1px solid rgba(131, 168, 230, 0.24) !important;
  background: linear-gradient(180deg, rgba(8, 21, 42, 0.86) 0%, rgba(5, 15, 31, 0.94) 100%) !important;
  box-shadow: 0 24px 56px rgba(0, 8, 18, 0.4);
}

.am-page {
  width: min(1520px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.am-intro {
  margin-top: 6px;
  margin-bottom: 8px;
  text-align: center;
  padding: clamp(18px, 2.2vw, 28px) clamp(14px, 2vw, 24px);
}

.am-intro h1 {
  margin: 0;
  font-family: "Unbounded", "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.am-intro p {
  margin: 14px auto 0;
  max-width: 70ch;
  color: #a9c0e1;
  font-size: clamp(0.98rem, 1.4vw, 1.14rem);
  line-height: 1.55;
}

.am-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(121, 166, 238, 0.26);
  border-radius: 36px;
  background:
    radial-gradient(1100px 560px at 50% 18%, rgba(108, 146, 255, 0.25) 0%, rgba(108, 146, 255, 0) 70%),
    radial-gradient(980px 620px at 84% 0%, rgba(57, 168, 255, 0.16) 0%, rgba(57, 168, 255, 0) 72%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.99) 0%, rgba(3, 9, 19, 0.99) 56%, rgba(2, 8, 17, 0.99) 100%);
  box-shadow: 0 42px 78px rgba(0, 7, 19, 0.58);
  padding: clamp(22px, 2.8vw, 34px) clamp(10px, 1.8vw, 18px) 0;
  max-width: 1508px;
  margin: 0 auto;
}

.am-hero-glow {
  position: absolute;
  inset: auto -16% 8% -16%;
  height: 48%;
  background: radial-gradient(52% 86% at 50% 50%, rgba(97, 130, 255, 0.45) 0%, rgba(97, 130, 255, 0) 78%);
  pointer-events: none;
  z-index: 1;
}

.am-hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 6px;
}

.am-hero-content::after {
  content: "";
  position: absolute;
  width: clamp(380px, 64vw, 920px);
  height: clamp(100px, 16vw, 220px);
  top: clamp(70px, 9.2vw, 130px);
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background:
    radial-gradient(68% 82% at 50% 52%, rgba(2, 8, 16, 0.86) 0%, rgba(2, 8, 16, 0.45) 60%, rgba(2, 8, 16, 0) 100%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.am-hero-title {
  margin: 0;
  max-width: 13.8ch;
  font-family: "Unbounded", "Sora", "Manrope", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 4.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: clamp(12px, 1.4vw, 20px) clamp(16px, 2.2vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(124, 164, 232, 0.28);
  background:
    linear-gradient(180deg, rgba(6, 18, 35, 0.78) 0%, rgba(4, 12, 24, 0.7) 100%);
  box-shadow: 0 16px 32px rgba(2, 9, 20, 0.34);
  backdrop-filter: blur(6px);
}

.am-hero-title span {
  color: #78aeff;
}

.am-hero-shot {
  position: relative;
  z-index: 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: clamp(10px, 1.8vw, 20px);
  padding: 0 0 0;
}

.am-hero-shot::after {
  content: "";
  position: absolute;
  inset: 22% 0 0;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0) 0%, rgba(3, 9, 18, 0.97) 90%);
  pointer-events: none;
}

.am-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1496px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(8px) scale(1.01);
  filter: saturate(1.08) contrast(1.02);
}

.am-section {
  margin-top: clamp(30px, 4vw, 56px);
}

.am-heading {
  margin: 0 0 20px;
  text-align: center;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  letter-spacing: -0.02em;
}

.am-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.am-feature-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(121, 158, 219, 0.26);
  border-radius: 18px;
  background: transparent !important;
  padding: 20px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.42s ease, opacity 0.42s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.am-features.is-visible .am-feature-card {
  opacity: 1;
  transform: translateY(0);
}

.am-feature-card:hover {
  border-color: rgba(80, 148, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(66, 139, 255, 0.26), 0 16px 32px rgba(1, 14, 32, 0.46);
  background: transparent !important;
}

.am-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f9eff;
  font-size: 1.5rem;
  line-height: 1;
}

.am-content h3 {
  margin: 0 0 7px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.22rem;
}

.am-content p {
  margin: 0;
  color: #a8bedf;
  font-size: 1rem;
  line-height: 1.42;
}

.am-mobile-section {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(105, 152, 228, 0.22);
  border-radius: 28px;
  background: transparent !important;
  box-shadow: 0 24px 46px rgba(0, 8, 18, 0.34);
}

.am-server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.am-server-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  border: 1px solid rgba(110, 154, 224, 0.24);
  border-radius: 16px;
  background: transparent !important;
  box-shadow: inset 0 1px 0 rgba(146, 181, 238, 0.08);
  padding: 14px 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.am-server-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 157, 255, 0.76);
  box-shadow: 0 12px 24px rgba(2, 16, 36, 0.34), inset 0 1px 0 rgba(146, 181, 238, 0.14);
}

.am-server-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.22rem;
  color: #8abfff;
  background: transparent !important;
}

.am-server-meta h4 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.34rem;
  letter-spacing: -0.01em;
}

.am-server-meta p {
  margin: 6px 0 0;
  color: #b8cbe8;
  font-size: 0.98rem;
}

.am-system-offline {
  color: #d5e6ff;
  opacity: 0.85;
}

.am-dot {
  color: #5ea1ff;
  margin: 0 6px;
}

.am-total-stats {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(109, 154, 225, 0.24);
  border-radius: 18px;
  background: transparent !important;
  box-shadow: inset 0 1px 0 rgba(150, 184, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.am-total-item {
  min-width: 220px;
  text-align: center;
}

.am-total-value {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.1vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.am-total-value-accent {
  color: #66a8ff;
}

.am-total-label {
  margin-top: 7px;
  color: #9fb6d8;
  font-size: 1rem;
}

.am-total-separator {
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, rgba(139, 174, 229, 0.04) 0%, rgba(139, 174, 229, 0.56) 45%, rgba(139, 174, 229, 0.04) 100%);
}

.am-footer {
  margin-top: 26px;
  padding: 18px 4px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(119, 161, 230, 0.2);
}

.am-footer-left p {
  margin: 0;
  color: #b1c6e5;
  line-height: 1.48;
}

.am-footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.am-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.am-footer-social img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.am-footer-social:hover,
.am-footer-social:focus {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.14);
}

.ah-login-shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 540px at 50% -10%, rgba(82, 122, 221, 0.22) 0%, rgba(82, 122, 221, 0) 72%),
    linear-gradient(180deg, #030a15 0%, #050f1f 100%);
}

.ah-login-split {
  position: relative;
  overflow: visible;
  min-height: 0;
  height: auto;
  width: min(560px, 100%);
  display: block;
  isolation: isolate;
  background: none;
}

.ah-login-split::after {
  display: none;
}

.ah-login-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  background: transparent;
}

.ah-login-left::after {
  display: none;
}

.ah-login-form-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  height: auto;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ah-login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 34px;
  padding-left: 0;
  color: #e7f2ff;
  text-decoration: none;
}

.ah-login-mark img {
  width: clamp(118px, 9vw, 156px);
  height: clamp(118px, 9vw, 156px);
  opacity: 1;
  filter: brightness(1.15) saturate(1.18) drop-shadow(0 18px 34px rgba(72, 154, 255, 0.62));
}

.ah-login-mark:hover,
.ah-login-mark:focus {
  color: #ffffff;
  text-decoration: none;
}

.ah-login-form .row.mt-1 {
  margin-top: 0 !important;
}

.ah-login-form {
  width: 100%;
}

.ah-login-form .form-label {
  margin-bottom: 0.42rem;
  color: #d9e8fd;
  font-weight: 700;
  font-size: 0.97rem;
}

.ah-input,
.ah-input.form-control,
.ah-input.form-select,
.choices__inner,
.choices__list--dropdown {
  border-color: rgba(119, 162, 225, 0.32) !important;
  border-radius: 13px;
  color: #ecf5ff !important;
  background: rgba(5, 16, 33, 0.68) !important;
}

.ah-input.form-control,
.ah-input.form-select,
.ah-login-form .choices__inner {
  min-height: 54px;
  padding-top: 0.64rem;
  padding-bottom: 0.64rem;
  font-size: 1rem;
  font-weight: 600;
}

.ah-input::placeholder {
  color: #8ba6ce;
}

.ah-input:focus,
.ah-input.form-control:focus,
.ah-input.form-select:focus {
  border-color: rgba(170, 201, 245, 0.82) !important;
  box-shadow: 0 0 0 3px rgba(90, 142, 223, 0.2) !important;
}

.choices {
  margin-bottom: 0;
  z-index: 60;
}

.choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 7px;
}

.ah-login-form .choices[data-type*="select-one"]::after {
  border-color: #cfe1ff transparent transparent;
}

.choices__list--single {
  color: #edf6ff !important;
}

.ah-login-form .choices__inner,
.ah-login-form .choices__list--dropdown,
.ah-login-form .choices__list[aria-expanded] {
  background: rgba(6, 17, 34, 0.97) !important;
  color: #ecf5ff !important;
}

.choices__list--dropdown {
  border: 1px solid rgba(122, 164, 227, 0.48);
  border-radius: 12px;
  overflow: hidden;
  z-index: 120;
  box-shadow: 0 18px 30px rgba(1, 8, 17, 0.5);
}

.ah-login-form .choices__list .choices__item {
  color: #e6f1ff !important;
  font-weight: 600;
}

.ah-login-form .choices__item.is-selected {
  color: #eff7ff !important;
  background: rgba(70, 118, 196, 0.26);
}

.choices__item--choice {
  color: #dbe9fd;
}

.choices__item--choice.is-highlighted {
  background: rgba(66, 121, 214, 0.34);
  color: #f3f9ff !important;
}

.ah-login-submit,
.ah-login-back-step {
  min-height: 54px;
  padding: 0 22px;
  font-size: 1rem;
  border-radius: 999px;
}

.ah-login-form .ah-login-submit {
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: #040b17;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  font-weight: 800;
}

.ah-login-form .ah-login-submit:hover,
.ah-login-form .ah-login-submit:focus {
  color: #040b17;
  background: #f0f5ff;
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  transform: none;
}

.ah-login-form .btn {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ah-login-form .btn:hover,
.ah-login-form .btn:focus {
  transform: none !important;
}

.ah-code-input {
  letter-spacing: 0.2em;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: center;
}

.ah-login-back-link {
  margin-top: 18px;
  color: #98b5dd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ah-login-back-link:hover,
.ah-login-back-link:focus {
  color: #d7e6fb;
  text-decoration: none;
  transform: none;
}

.ah-login-right {
  position: relative;
  overflow: hidden;
  z-index: 2;
  background:
    radial-gradient(84% 80% at 78% 22%, rgba(201, 239, 255, 0.36) 0%, rgba(201, 239, 255, 0) 62%),
    linear-gradient(160deg, #2d99df 0%, #44a4ea 46%, #5eaaf5 100%);
}

.ah-login-right::before {
  content: "";
  position: absolute;
  top: -5%;
  bottom: -5%;
  left: -18%;
  width: 44%;
  border-radius: 0 50% 50% 0 / 0 56% 56% 0;
  background:
    linear-gradient(90deg, rgba(3, 11, 24, 1) 0%, rgba(3, 11, 24, 0.82) 42%, rgba(3, 11, 24, 0) 100%);
  filter: blur(2px);
  z-index: 3;
}

.ah-login-wave {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(65% 55% at 72% 14%, rgba(178, 234, 255, 0.22) 0%, rgba(178, 234, 255, 0) 70%),
    radial-gradient(74% 60% at 78% 84%, rgba(69, 130, 228, 0.26) 0%, rgba(69, 130, 228, 0) 72%);
}

.ah-login-art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, 92%);
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ah-login-art img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.28;
  filter: brightness(1.14) saturate(1.08) drop-shadow(0 20px 40px rgba(56, 132, 229, 0.3));
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ah-dashboard {
  width: min(1800px, calc(100% - 32px));
}

.ah-dashboard-brand {
  display: flex;
  justify-content: center;
  padding: 20px 0 14px;
}

.ah-dashboard-logo {
  width: clamp(104px, 8vw, 154px);
  filter: drop-shadow(0 0 24px rgba(83, 150, 255, 0.45));
}

.ah-dashboard-filters {
  position: relative;
  overflow: visible;
}

.ah-dashboard-filters .form-label {
  color: #eef6ff;
  font-weight: 700;
}

.ah-dashboard-filters .btn {
  min-height: 44px;
  padding: 0 16px;
}

.ah-dashboard-logs {
  border: 1px solid rgba(116, 161, 227, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 19, 37, 0.84) 0%, rgba(5, 13, 24, 0.9) 100%);
  box-shadow: 0 22px 42px rgba(0, 7, 17, 0.36);
}

.ah-dashboard-logs-wrap {
  max-height: calc(100vh - 390px);
  overflow: auto;
}

.ah-table {
  margin: 0;
  color: #dceafd;
  background: transparent;
}

.ah-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #a9c1e2;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  background: rgba(8, 22, 42, 0.98);
  border-bottom: 1px solid rgba(113, 157, 224, 0.3);
}

.ah-table tbody tr {
  border-bottom: 1px solid rgba(99, 140, 204, 0.2);
}

.ah-table tbody tr:hover {
  background: rgba(34, 76, 138, 0.18);
}

.ah-table td {
  color: #e6f1ff;
  border-color: rgba(102, 143, 205, 0.18);
  vertical-align: top;
}

.ah-kpi {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(112, 154, 224, 0.24);
  color: #d5e6ff;
  background: rgba(8, 18, 34, 0.9);
  font-weight: 700;
}

.ah-dashboard-logs-footer {
  border-top: 1px solid rgba(120, 161, 223, 0.22);
  background: rgba(5, 14, 27, 0.9);
}

@media (max-width: 1399px) {
  .am-page,
  .ah-page,
  .ah-dashboard {
    width: calc(100% - 28px);
  }
}

@media (max-width: 1199px) {
  .am-features {
    grid-template-columns: 1fr;
  }

  .am-server-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .am-total-stats {
    gap: 18px;
  }

  .am-total-item {
    min-width: 170px;
  }

  .ah-login-form-wrap {
    width: min(460px, 100%);
  }
}

@media (max-width: 991px) {
  .ah-header {
    padding-top: 8px;
  }

  .ah-brand {
    font-size: 1.25rem;
  }

  .am-page {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  body.ah-landing-mode .ah-navbar {
    min-height: 64px;
    width: calc(100% - 24px);
    margin-top: 8px;
    border-radius: 14px;
  }

  .am-intro {
    padding: 14px 8px 8px;
  }

  .am-intro p {
    margin-top: 10px;
  }

  .am-hero {
    border-radius: 26px;
    padding: 20px 10px 0;
  }

  .am-hero-title {
    max-width: 15.4ch;
    font-size: clamp(1.85rem, 5.6vw, 3rem);
    border-radius: 18px;
  }

  .am-hero-content::after {
    top: clamp(72px, 12vw, 118px);
    width: clamp(320px, 78vw, 760px);
    height: clamp(88px, 20vw, 180px);
  }

  .am-hero-shot img {
    max-height: none;
  }

  .am-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .am-footer-right {
    gap: 14px;
  }

  .am-footer-social {
    width: 40px;
    height: 40px;
  }

  .am-footer-social img {
    width: 38px;
    height: 38px;
  }

  .am-server-grid {
    grid-template-columns: 1fr;
  }

  .ah-login-left {
    padding: 0;
  }

  .ah-login-form-wrap {
    min-height: auto;
    height: auto;
    max-height: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
  }

  .ah-dashboard {
    width: calc(100% - 20px);
  }

  .ah-dashboard-logs-wrap {
    max-height: calc(100vh - 330px);
  }

  .ah-table thead th,
  .ah-table td {
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .ah-page,
  .ah-dashboard,
  .am-page {
    width: calc(100% - 16px);
  }

  .ah-navbar .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.ah-landing-mode .ah-navbar {
    width: calc(100% - 14px);
    margin-top: 6px;
  }

  .am-intro {
    padding: 12px 4px 6px;
  }

  .am-intro h1 {
    font-size: clamp(1.55rem, 8.8vw, 2.2rem);
  }

  .am-intro p {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .am-hero {
    border-radius: 22px;
    padding: 16px 8px 0;
  }

  .am-hero-title {
    max-width: 11.8ch;
    font-size: clamp(1.55rem, 9.2vw, 2.15rem);
    padding: 10px 12px;
    border-radius: 16px;
  }

  .am-hero-content::after {
    top: clamp(64px, 16vw, 96px);
    width: clamp(260px, 88vw, 560px);
    height: clamp(78px, 24vw, 140px);
  }

  .am-heading {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .am-feature-card {
    grid-template-columns: 24px 1fr;
    padding: 16px;
    gap: 12px;
  }

  .am-content h3 {
    font-size: 1.04rem;
  }

  .am-content p {
    font-size: 0.95rem;
  }

  .am-mobile-section {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .am-server-card {
    min-height: 78px;
    padding: 12px 12px;
  }

  .am-total-stats {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
  }

  .am-total-separator {
    width: 100%;
    height: 1px;
  }

  .am-footer-left p {
    font-size: 0.92rem;
  }

  .am-footer-right {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .am-footer-social {
    width: 36px;
    height: 36px;
  }

  .am-footer-social img {
    width: 34px;
    height: 34px;
  }

  .ah-login-mark {
    margin-bottom: 22px;
    padding-left: 0;
  }

  .ah-login-submit,
  .ah-login-back-step {
    width: 100%;
  }

  .ah-dashboard-filters .btn {
    width: 100%;
  }

  .ah-dashboard-filters .ms-auto {
    margin-left: 0 !important;
  }

  .ah-dashboard-logs-wrap {
    max-height: calc(100vh - 300px);
  }
}

@media (max-width: 480px) {
  .ah-login-shell {
    padding: 12px;
  }

  .am-hero-title {
    max-width: 11.2ch;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .am-hero-shot {
    margin-top: 10px;
    padding: 0;
  }

  .am-hero-shot img {
    transform: translateY(6px) scale(1.03);
  }

  .ah-login-left {
    padding: 0;
  }

  .ah-login-form-wrap {
    min-height: auto;
    height: auto;
    max-height: none;
    width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .ah-login-form .row {
    --bs-gutter-x: 0.6rem;
  }

  .ah-login-mark img {
    width: 104px;
    height: 104px;
  }

  .ah-dashboard-logs-wrap {
    max-height: calc(100vh - 280px);
  }
}

