.hero {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  min-height: 620px;
  height: calc(100svh - var(--header-height) - 28px);
  max-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__media {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.035);
  animation: hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__shade { position: absolute; inset: 0; background: rgba(4, 6, 7, .66); }
.hero__shade::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); clip-path: polygon(0 0, 47% 0, 35% 100%, 0 100%); }
.interface-lines { position: absolute; inset: 0; pointer-events: none; opacity: .72; }
.interface-lines i { position: absolute; display: block; background: var(--red); animation: line-pulse 4s ease-in-out infinite; }
.interface-lines i:nth-child(1) { top: 18%; left: 3%; width: 18%; height: 1px; }
.interface-lines i:nth-child(2) { top: 18%; left: 3%; width: 1px; height: 18%; animation-delay: .8s; }
.interface-lines i:nth-child(3) { right: 4%; bottom: 23%; width: 14%; height: 1px; animation-delay: 1.4s; }
.interface-lines i:nth-child(4) { right: 4%; bottom: 23%; width: 1px; height: 14%; animation-delay: 2s; }
.hero__content { position: relative; z-index: 2; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 72px 0 142px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-family: var(--font-data); font-size: 12px; font-weight: 700; }
.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 800;
  font-stretch: condensed;
  text-shadow: 0 8px 34px rgba(0,0,0,.72);
}
.hero__content > strong { display: block; margin-top: 14px; font-size: 28px; line-height: 1.15; }
.hero__lead { max-width: 620px; margin: 18px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
.hero__actions { display: flex; gap: 10px; margin-top: 32px; }
.hero__actions .ui-button { min-height: 48px; }
.community-summary {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 28px;
  width: min(640px, calc(100% - 64px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(9,11,12,.9);
  backdrop-filter: blur(10px);
}
.community-summary > div { min-height: 78px; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; border-left: 1px solid var(--line); }
.community-summary > div:first-child { border-left: 0; }
.community-summary span { color: var(--text-muted); font-size: 12px; }
.community-summary strong { margin-top: 4px; font-size: 20px; }
.hero__next { position: absolute; z-index: 3; left: 32px; bottom: 34px; display: flex; align-items: center; gap: 10px; color: var(--text-secondary); text-decoration: none; font-size: 13px; }
.hero__next svg { width: 17px; height: 17px; color: var(--red); animation: arrow-bob 1.8s ease-in-out infinite; }

.clans-band, .events-band, .community-band { padding: 80px 48px; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading h2, .community-copy h2 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 800; }
.section-heading > p:last-child, .community-copy > p:last-child { max-width: 620px; margin: 16px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
.section-heading--compact { margin-bottom: 28px; }
.section-heading--compact h2 { font-size: 28px; }
.clan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clan-unit {
  --clan-accent: var(--datamine);
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 150px 1fr 44px;
  align-items: center;
  gap: 28px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--clan-accent);
  background: #0e1112;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.clan-unit::after { content: ""; position: absolute; right: -34px; bottom: -52px; width: 170px; height: 170px; border: 1px solid color-mix(in srgb, var(--clan-accent) 32%, transparent); transform: rotate(35deg); }
.clan-unit:hover { border-color: var(--clan-accent); background: #121617; }
.clan-unit--maindata { --clan-accent: var(--maindata); }
.clan-unit__emblem { width: 140px; height: 140px; display: grid; place-items: center; }
.clan-unit__emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.clan-unit__copy { min-width: 0; }
.clan-unit__copy > span { color: var(--clan-accent); font-family: var(--font-data); font-size: 12px; }
.clan-unit h3 { margin: 10px 0; font-size: 28px; line-height: 1.1; }
.clan-unit p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
.clan-unit dl { display: flex; gap: 28px; margin: 22px 0 0; }
.clan-unit dl div { display: grid; }
.clan-unit dt { color: var(--text-muted); font-size: 12px; }
.clan-unit dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.clan-unit__action { position: relative; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--clan-accent); }
.clan-unit__action:hover { border-color: var(--clan-accent); background: var(--clan-accent); color: #fff; }
.clan-unit__action svg { width: 19px; height: 19px; }

.events-band { border-top: 1px solid var(--line-soft); background: #0c0f10; }
.landing-events { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.landing-event { min-height: 126px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-content: center; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.landing-event > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--event-color, var(--blue)); }
.landing-event svg { width: 18px; height: 18px; }
.landing-event strong { display: block; font-size: 16px; }
.landing-event p { margin: 4px 0 0; color: var(--text-secondary); font-size: 14px; }
.landing-event time { display: block; margin-top: 8px; color: var(--text-muted); font-size: 12px; }
.event-skeleton { min-height: 126px; display: grid; align-content: center; gap: 10px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-skeleton span { width: 74%; height: 14px; }
.event-skeleton span:last-child { width: 52%; height: 12px; }

.community-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; border-top: 1px solid var(--line); background: #0f1213; }
.social-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.social { min-height: 96px; display: grid; grid-template-columns: 44px 1fr 22px; align-items: center; gap: 14px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 180ms ease; }
.social:hover { background: var(--panel-strong); }
.social__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--social-color); color: white; font-family: var(--font-data); font-size: 12px; font-weight: 700; }
.social__icon svg { width: 19px; height: 19px; }
.social > span:nth-child(2) { min-width: 0; }
.social strong, .social small { display: block; }
.social strong { font-size: 16px; }
.social small { margin-top: 2px; color: var(--text-muted); font-size: 12px; }
.social > svg { width: 17px; height: 17px; color: var(--text-muted); }
.social--vk { --social-color: #2787f5; }
.social--tg { --social-color: #229ed9; }
.social--yt { --social-color: #ff0033; }
.social--tt { --social-color: #24292a; }
.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 48px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 12px; }
.site-footer strong, .site-footer a { color: var(--text-secondary); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@keyframes hero-drift { from { scale: 1; } to { scale: 1.025; } }
@keyframes line-pulse { 0%, 100% { opacity: .25; transform: scaleX(.55); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes arrow-bob { 50% { transform: translateY(4px); } }

@media (max-width: 980px) {
  .hero { min-height: 640px; }
  .hero__content { width: calc(100% - 40px); }
  .community-summary { right: 20px; width: calc(100% - 40px); }
  .hero__next { display: none; }
  .clans-band, .events-band, .community-band { padding: 64px 24px; }
  .clan-grid, .community-band { grid-template-columns: 1fr; }
  .community-band { gap: 36px; }
}

@media (max-width: 720px) {
  .hero { min-height: 650px; height: calc(100svh - 84px); }
  .hero__content { padding: 42px 0 205px; }
  .hero h1 { font-size: 48px; }
  .hero__content > strong { font-size: 24px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .ui-button { width: 100%; }
  .community-summary { bottom: 18px; grid-template-columns: 1fr 1fr; }
  .community-summary > div { min-height: 66px; }
  .community-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .community-summary > div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading h2, .community-copy h2 { font-size: 32px; }
  .section-heading--compact h2 { font-size: 24px; }
  .clan-unit { grid-template-columns: 86px 1fr 40px; gap: 16px; min-height: 240px; padding: 20px; }
  .clan-unit__emblem { width: 82px; height: 82px; }
  .clan-unit h3 { font-size: 24px; }
  .clan-unit p { font-size: 14px; }
  .landing-events { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .clans-band, .events-band, .community-band { padding: 52px 16px; }
  .clan-unit { grid-template-columns: 66px 1fr; }
  .clan-unit__emblem { width: 62px; height: 62px; }
  .clan-unit__action { grid-column: 2; justify-self: end; }
  .clan-unit dl { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media { transform: none; }
}
