/* JEVNET identity: compact artwork beside the existing arena entry. */
.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 126, 194, .14));
}

.footer-brand-logo {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  margin-right: 9px;
  vertical-align: middle;
  object-fit: contain;
}

.arena-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 600px);
  grid-template-areas: "copy banner" "actions banner";
  align-items: center;
  gap: 22px 46px;
  margin-bottom: 30px;
}

.arena-heading__copy {
  grid-area: copy;
  min-width: 0;
}

.arena-heading__actions {
  grid-area: actions;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.arena-brand-banner {
  grid-area: banner;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 151, 207, .24);
  border-radius: 14px;
  background: #1c0a1d;
  box-shadow: 0 12px 38px rgba(10, 0, 15, .2), 0 0 28px rgba(240, 92, 162, .035);
}

.arena-brand-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .arena-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 28px;
  }

  .arena-heading__actions { gap: 13px 18px; }
}

@media (max-width: 800px) {
  .arena-heading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "actions" "banner";
    gap: 22px;
    margin-bottom: 25px;
  }

  .arena-heading__actions { justify-content: flex-start; }
  .arena-brand-banner { justify-self: start; }
}

@media (max-width: 700px) {
  .brand-logo { width: 32px; height: 32px; flex-basis: 32px; }
  .arena-brand-banner { border-radius: 10px; }
}

/* ---------- X / social ---------- */

/* 导航里的 X 图标：和语言切换同等视觉重量，不跟主导航抢注意力 */
.nav-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line2, rgba(139, 130, 255, .26));
  border-radius: 999px;
  color: var(--muted, #A2A8D8);
  text-decoration: none;
  transition: color .16s, border-color .16s, background .16s, transform .16s;
}

.nav-x:hover {
  color: var(--yes, #35F0FF);
  border-color: var(--line3, rgba(53, 240, 255, .34));
  background: rgba(53, 240, 255, .08);
  transform: translateY(-1px);
}

/* 导航靠右成组：X 图标贴着语言切换 */
.nav .nav-links { margin-right: auto; }
.nav .nav-x { margin-left: 0; }
.nav .lang { margin-left: 10px; }

/* 页脚的文字版链接 */
.foot-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted, #A2A8D8);
  text-decoration: none;
  transition: color .16s;
}

.foot-x:hover { color: var(--yes, #35F0FF); }

@media (max-width: 940px) {
  /* 主导航在窄屏隐藏，X 图标保留 */
  .nav .nav-x { margin-left: auto; }
}
