:root {
  --bg: #090a0b;
  --panel: rgba(20, 22, 24, 0.82);
  --line: rgba(238, 222, 184, 0.18);
  --line-strong: rgba(238, 222, 184, 0.36);
  --text: #f4f1e9;
  --muted: #a9a49a;
  --gold: #d7b56d;
  --gold-soft: #f2daa1;
  --blue: #0d8eff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, #0b0c0e 0%, #17191c 48%, #08090a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, rgba(215, 181, 109, 0.08) 47%, transparent 78%, rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  opacity: 0.48;
}

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

.contact-page {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 86px);
  display: grid;
  place-items: center;
  padding: clamp(26px, 5vw, 58px) 18px;
}

.contact-card {
  width: 100%;
  max-width: 520px;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 14px 34px rgba(13, 142, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.20);
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.qr-stage {
  padding: clamp(22px, 5vw, 34px) 0 20px;
}

.qr-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #f8f8f8, #e9e6df);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.qr-frame::before,
.qr-frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 109, 0.55), transparent);
}

.qr-frame::before {
  top: -9px;
}

.qr-frame::after {
  bottom: -9px;
}

.qr-frame img {
  width: 100%;
  border-radius: 6px;
  background: #fff;
}

.contact-copy {
  text-align: center;
}

.contact-copy h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
}

.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 18px;
  border-top: 1px solid rgba(238, 222, 184, 0.12);
  color: rgba(244, 241, 233, 0.58);
  background: rgba(7, 8, 9, 0.78);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 520px) {
  .contact-page {
    min-height: calc(100svh - 112px);
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contact-card {
    width: 280px;
    max-width: 100%;
    padding: 18px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-panel {
    gap: 12px;
    padding-bottom: 18px;
  }

  .qr-frame {
    width: 230px;
    max-width: 100%;
    padding: 14px;
  }

  .site-footer {
    min-height: 112px;
    flex-direction: column;
    gap: 4px;
  }
}
