/* ===== 联系我们页面 ===== */
.page-contact {
  --contact-sticky-top: 92px;
  --contact-hair: 1px solid rgba(16, 16, 24, .16);
  background: var(--ink-blue);
}

/* —— 首屏 —— */
.page-contact .contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 52px) 0 clamp(28px, 5vw, 60px);
  background:
    radial-gradient(900px 420px at 88% -30%, rgba(61, 123, 255, .26), transparent 68%),
    radial-gradient(600px 340px at 8% 110%, rgba(110, 27, 56, .3), transparent 70%),
    var(--ink-blue);
}

.page-contact .contact-hero__cut {
  position: absolute;
  top: 0;
  left: 0;
  width: min(78%, 620px);
  height: 100%;
  background: linear-gradient(135deg, rgba(36, 26, 84, .96), rgba(36, 26, 84, .05) 82%);
  clip-path: polygon(0 0, 100% 0, 56% 100%, 0 100%);
  pointer-events: none;
}

.page-contact .contact-hero__pulse {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--electric), rgba(198, 255, 61, .8) 34%, rgba(8, 10, 24, 0) 88%);
  pointer-events: none;
}

.page-contact .contact-hero__inner {
  position: relative;
  z-index: 1;
}

.page-contact .contact-hero .breadcrumb,
.page-contact .contact-hero .breadcrumb__item {
  color: var(--grey-violet);
  font-size: 12px;
  letter-spacing: .16em;
}

.page-contact .contact-hero .breadcrumb a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, .55);
}

.page-contact .contact-hero .breadcrumb a:hover,
.page-contact .contact-hero .breadcrumb a:focus-visible {
  border-bottom-color: var(--lime);
}

.page-contact .contact-hero h1 {
  margin: 18px 0 0;
  max-width: 17em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-contact .contact-hero__lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.85;
  color: rgba(245, 243, 236, .76);
}

/* —— 主体两栏 —— */
.page-contact .contact-body {
  padding: clamp(26px, 4.6vw, 56px) 0 clamp(36px, 6vw, 84px);
}

.page-contact .contact-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

/* —— 左侧粘性联系卡 —— */
.page-contact .contact-sticky {
  min-width: 0;
}

.page-contact .contact-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--tag-gold);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(8, 10, 24, .4), 0 16px 34px rgba(8, 10, 24, .55);
  overflow: hidden;
}

.page-contact .contact-card__media {
  position: relative;
  aspect-ratio: 14 / 9;
  background: var(--plum);
  overflow: hidden;
}

.page-contact .contact-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 10, 24, .05) 30%, rgba(8, 10, 24, .72));
  pointer-events: none;
}

.page-contact .contact-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-contact .contact-card__body {
  padding: clamp(18px, 3vw, 28px);
}

.page-contact .contact-card__title {
  margin: 12px 0 0;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.page-contact .contact-card__note {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(16, 16, 24, .74);
}

.page-contact .contact-list {
  margin: 6px 0 0;
  padding: 0;
}

.page-contact .contact-list__row {
  display: block;
  padding: 14px 0;
  border-top: var(--contact-hair);
}

.page-contact .contact-list__key {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(16, 16, 24, .55);
}

.page-contact .contact-list__val {
  margin: 0;
}

.page-contact .mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: .02em;
  word-break: break-all;
  color: var(--ink);
}

.page-contact .contact-copy {
  display: inline;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(61, 123, 255, .55);
}

/* —— 地址展开 —— */
.page-contact .visit {
  margin-top: 6px;
  border-top: var(--contact-hair);
  padding-top: 14px;
}

.page-contact .visit__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.page-contact .visit__summary::-webkit-details-marker {
  display: none;
}

.page-contact .visit__summary::after {
  content: "＋";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--electric);
}

.page-contact .visit[open] .visit__summary::after {
  content: "－";
}

.page-contact .visit__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(16, 16, 24, .55);
}

.page-contact .visit__short {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.page-contact .visit__body {
  padding: 12px 0 0;
}

.page-contact .visit__addr {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-contact .visit__tip {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(16, 16, 24, .58);
}

/* —— 右侧事务条 —— */
.page-contact .contact-topics {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  min-width: 0;
}

.page-contact .topic {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(36, 26, 84, .34), rgba(8, 10, 24, .28));
  border: 1px solid rgba(245, 243, 236, .14);
  border-left: 3px solid var(--plum);
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.page-contact .topic--electric {
  border-left-color: var(--electric);
}

.page-contact .topic--teal {
  border-left-color: var(--teal);
}

.page-contact .topic--wine {
  border-left-color: var(--wine);
}

.page-contact .topic--plum {
  border-left-color: var(--plum);
}

.page-contact .topic:hover,
.page-contact .topic:focus-within {
  transform: translateY(-4px);
  border-color: rgba(198, 255, 61, .5);
  border-left-color: var(--lime);
  box-shadow: 0 14px 30px rgba(8, 10, 24, .6);
}

.page-contact .topic__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.page-contact .topic__no {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-contact .topic__title {
  margin: 0;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 27px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--paper);
}

.page-contact .topic__body {
  margin: 12px 0 0;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.8;
  color: rgba(245, 243, 236, .74);
}

.page-contact .topic__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-contact .topic__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(245, 243, 236, .66);
}

.page-contact .topic__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 1px;
  background: var(--lime);
}

.page-contact .topic__key {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--lime);
}

.page-contact .topic__media {
  margin: 18px 0 0;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(245, 243, 236, .14);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal);
}

.page-contact .topic__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— 底部备案带 —— */
.page-contact .contact-footnote {
  border-top: 1px solid rgba(245, 243, 236, .12);
  padding: clamp(20px, 3.2vw, 32px) 0;
  background:
    linear-gradient(90deg, rgba(13, 58, 63, .9), rgba(13, 58, 63, .18) 52%, rgba(8, 10, 24, 0)),
    var(--ink-blue);
}

.page-contact .contact-footnote__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.page-contact .icp-mark {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(245, 243, 236, .82);
  cursor: help;
}

.page-contact .icp-mark::after {
  content: "幻影体育简体中文官网";
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  white-space: nowrap;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--tag-gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .04em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}

.page-contact .icp-mark:hover::after,
.page-contact .icp-mark:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-contact .contact-footnote__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey-violet);
}

/* —— 键盘焦点 —— */
.page-contact a:focus-visible,
.page-contact summary:focus-visible,
.page-contact .topic:focus-within {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
}

/* —— 平板及以上 —— */
@media (min-width: 760px) {
  .page-contact .topic__list li {
    padding-left: 18px;
  }
}

/* —— 桌面：左卡固定、右栏流动 —— */
@media (min-width: 960px) {
  .page-contact .contact-body__grid {
    grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
    gap: clamp(30px, 4vw, 60px);
  }

  .page-contact .contact-sticky {
    position: sticky;
    top: var(--contact-sticky-top);
  }
}

/* —— 动效降级 —— */
@media (prefers-reduced-motion: reduce) {
  .page-contact .topic,
  .page-contact .icp-mark::after {
    transition: none;
  }

  .page-contact .topic:hover,
  .page-contact .topic:focus-within {
    transform: none;
  }
}
