:root {
  --bg: #050506;
  --bg-2: #0b0b0f;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --text: #f7f7f8;
  --muted: #a8a8b3;
  --line: rgba(255, 255, 255, 0.12);
  --red: #d20b22;
  --red-2: #ff1734;
  --red-dark: #71000e;
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-red: 0 0 60px rgba(210, 11, 34, 0.35);
  --shadow-card: 0 28px 90px rgba(0, 0, 0, 0.45);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 5%, rgba(210, 11, 34, 0.16), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #09090d 0%, #050506 50%, #09090d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.28;
}

.page-glow--one {
  top: -120px;
  left: -140px;
  background: var(--red);
}

.page-glow--two {
  right: -130px;
  top: 320px;
  background: #ffffff;
  opacity: 0.08;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.74);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(210, 11, 34, 0.5));
}

.brand__text {
  font-size: 15px;
}

.brand__text b {
  color: var(--red-2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav a:hover {
  color: var(--white);
  background: var(--card);
}

.header-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 38px rgba(210, 11, 34, 0.24);
}

.btn:hover,
.header-btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  box-shadow: 0 18px 46px rgba(210, 11, 34, 0.32);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.btn--full {
  width: 100%;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
}

.section {
  position: relative;
  padding: 100px 0;
}

.section-dark {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 50%, rgba(210, 11, 34, 0.14), transparent 31%),
    rgba(255, 255, 255, 0.02);
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-2);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

h1 span,
h2 span {
  color: var(--red-2);
  text-shadow: 0 0 38px rgba(210, 11, 34, 0.36);
}

.hero-content > p {
  max-width: 680px;
  color: #d5d5dc;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 16px;
}

.hero-note {
  color: var(--muted) !important;
  font-size: 14px !important;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 650px;
}

.stat-card,
.role-card,
.path-panel,
.server-card,
.guide-card,
.news-card,
.faq-list details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-strong), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.stat-card {
  min-height: 112px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.stat-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(92%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle, rgba(210, 11, 34, 0.22), transparent 64%);
  box-shadow: var(--shadow-red), inset 0 0 70px rgba(255, 255, 255, 0.04);
}

.logo-orbit {
  position: absolute;
  width: min(100%, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(210, 11, 34, 0.32);
  animation: rotate 34s linear infinite;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(82%, 500px);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 44px rgba(210, 11, 34, 0.45));
  animation: float 5.5s ease-in-out infinite;
}

.server-chip {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
}

.server-chip--top {
  top: 100px;
  right: 46px;
}

.server-chip--bottom {
  bottom: 100px;
  left: 44px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-head p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

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

.role-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.role-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -70px auto;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(210, 11, 34, 0.14);
  filter: blur(6px);
}

.role-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(210, 11, 34, 0.26), rgba(255, 255, 255, 0.07));
  border: 1px solid var(--line);
  font-size: 25px;
}

.role-card h3,
.guide-card h3,
.news-card h3,
.server-card h3,
.tab-content h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.role-card p,
.guide-card li,
.news-card p,
.faq-list p,
.tab-content p,
.tab-content li {
  color: var(--muted);
  line-height: 1.65;
}

.path-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
}

.path-panel {
  padding: 16px;
  border-radius: var(--radius-xl);
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.tab-content {
  display: none;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.tab-content.is-active {
  display: grid;
}

.tab-content ul,
.guide-card ul,
.guide-card ol {
  margin: 0;
  padding-left: 20px;
}

.server-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 44px;
  align-items: center;
}

.server-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.server-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfffe7;
  font-size: 13px;
  font-weight: 800;
}

.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34e36d;
  box-shadow: 0 0 18px #34e36d;
}

.status-dot--loading {
  color: #fff0c2;
}

.status-dot--loading::before {
  background: #ffcf4a;
  box-shadow: 0 0 18px #ffcf4a;
}

.status-dot--offline {
  color: #ffd4d8;
}

.status-dot--offline::before {
  background: var(--red-2);
  box-shadow: 0 0 18px var(--red-2);
}

.server-ip {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
}

.server-ip b {
  color: var(--white);
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.progress-row b {
  color: var(--white);
}

.progress {
  height: 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-2), #fff);
  box-shadow: 0 0 18px rgba(210, 11, 34, 0.7);
}

.server-updated {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.guide-grid .section-head {
  grid-column: 1 / -1;
}

.guide-card {
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

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

.news-card {
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.news-card time {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red-2);
  font-weight: 1000;
}

.news-card a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--white);
  font-weight: 1000;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 1000;
  font-size: 18px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 14px 0 0;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: #050506;
}

.footer-inner {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 1100px) {
  .role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .path-grid,
  .server-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 500px;
    order: -1;
  }

  .server-card {
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 82px 14px auto 14px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5, 5, 6, 0.96);
    box-shadow: var(--shadow-card);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .hero-content > p {
    font-size: 16px;
  }

  .stats,
  .role-grid,
  .guide-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 74px;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .brand__text {
    font-size: 13px;
  }

  .nav {
    inset-top: 74px;
  }

  .hero-art {
    min-height: 370px;
  }

  .server-chip {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-card {
    min-height: 96px;
  }

  .role-card,
  .guide-card,
  .news-card,
  .server-card {
    padding: 22px;
  }
}

.bonus-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.bonus-cards,
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bonus-card,
.contact-card {
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-strong), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.bonus-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.bonus-card span,
.contact-card span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-card b {
  margin-top: 24px;
  color: var(--white);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.contact-card--download {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(210, 11, 34, 0.28), rgba(255, 255, 255, 0.05));
}

.server-ip--hidden {
  display: grid;
  gap: 6px;
}

.server-ip--hidden span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .bonus-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .bonus-cards,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-card--download {
    grid-column: auto;
  }
}
