:root {
  --bg: #061744;
  --bg-deep: #020b22;
  --panel: rgba(8, 24, 71, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(167, 197, 255, 0.18);
  --text: #f8fbff;
  --muted: #b5cafb;
  --accent: #ffffff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #1247ad 0%, #092868 28%, var(--bg) 55%, var(--bg-deep) 100%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px 18px;
}

.page-shell::before {
  content: "";
  position: absolute;
  width: 56vw;
  height: 56vw;
  max-width: 760px;
  max-height: 760px;
  top: -18%;
  right: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.35;
  pointer-events: none;
}

.backdrop {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite;
}

.backdrop-one {
  width: 380px;
  height: 380px;
  top: 6%;
  left: -120px;
  background: rgba(105, 169, 255, 0.2);
}

.backdrop-two {
  width: 500px;
  height: 500px;
  right: -120px;
  bottom: -50px;
  background: rgba(255, 255, 255, 0.14);
  animation-delay: -4s;
}

.hub-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(320deg, rgba(88, 140, 255, 0.16), transparent 42%);
  pointer-events: none;
}

.links-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.group-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.group-head {
  margin-bottom: 18px;
}

.group-eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.group-head h2 {
  margin: 0;
  font-family: Arial, "Arial Black", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.group-links {
  display: grid;
  gap: 16px;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 4px 6px 8px;
}

.hero-badge {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-lockup {
  display: contents;
}

.logo-frame {
  width: 154px;
  height: 154px;
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 28px rgba(0, 7, 30, 0.24);
}

.logo-mark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.brand-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Arial, "Arial Black", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.06em;
}

h1 span {
  display: block;
}

.hero-text {
  grid-column: 2;
  max-width: 34ch;
  margin: 6px 0 0;
  font-size: 1.04rem;
  line-height: 1.65;
  color: #deebff;
}

.channel-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 20px 54px 20px 22px;
  color: var(--text);
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    var(--panel-soft);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.channel-link::after {
  content: "->";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.22s ease, color 0.22s ease;
}

.channel-link:hover,
.channel-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 30px rgba(0, 10, 35, 0.24);
}

.channel-link:hover::after,
.channel-link:focus-visible::after {
  transform: translate(4px, -50%);
  color: var(--accent);
}

.channel-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.channel-icon-image {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.channel-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.channel-name {
  font-family: Arial, "Arial Black", sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.channel-text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.4;
}

.channel-site .channel-icon {
  color: #d7e7ff;
}

.channel-vk .channel-icon {
  color: #8cc4ff;
}

.channel-telegram .channel-icon {
  color: #91d7ff;
}

.channel-max .channel-icon {
  background: rgba(255, 255, 255, 0.08);
}

.channel-tiktok .channel-icon {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(16px, -20px, 0) scale(1.06);
  }
}

@media (max-width: 920px) {
  .hub-card {
    padding: 24px;
    gap: 24px;
  }

  .links-section {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-text {
    grid-column: auto;
    max-width: 42ch;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }

  .hub-card {
    padding: 18px;
    border-radius: 24px;
  }

  .group-card {
    padding: 18px;
    border-radius: 22px;
  }

  .group-head h2 {
    font-size: 1.6rem;
  }

  .logo-frame {
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .logo-mark {
    border-radius: 22px;
  }

  .hero-badge {
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .channel-link {
    min-height: 88px;
    gap: 14px;
    padding: 18px 48px 18px 18px;
  }

  .channel-icon {
    width: 52px;
    height: 52px;
  }

  .channel-icon svg {
    width: 25px;
    height: 25px;
  }

  .channel-icon-image {
    width: 28px;
    height: 28px;
  }

  .channel-name {
    font-size: 1.1rem;
  }

  .channel-text {
    font-size: 0.88rem;
  }
}
