* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-1: #0c111d;
  --bg-2: #0b1020;
  --bg-3: #0a0f1a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.58);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-md: 18px;
  --tiffany: #0abab5;
  --module-gap: 10px;
  --compact-card-height: 100px;
  --qr-stage-height: 208px;
  --qr-card-min-height: 352px;
  --qr-image-max: 192px;
  --glass-fill: rgba(20, 28, 48, 0.26);
  --glass-edge: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.14);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.08), transparent 24%),
    radial-gradient(circle at 85% 8%, rgba(255,255,255,0.05), transparent 18%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 52%, var(--bg-3) 100%);
  overflow-x: hidden;
}

.mobile-page {
  position: relative;
  min-height: 100svh;
  padding:
    max(16px, env(safe-area-inset-top))
    12px
    max(18px, env(safe-area-inset-bottom))
    12px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  isolation: isolate;
}

.ambient-light {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  pointer-events: none;
  z-index: -3;
  opacity: 0.75;
}

.ambient-light.one {
  width: 160px;
  height: 160px;
  left: -28px;
  top: 40px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 68%);
}

.ambient-light.two {
  width: 210px;
  height: 210px;
  right: -60px;
  bottom: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 72%);
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: calc(100svh - 34px);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.15), transparent 32%),
    linear-gradient(315deg, rgba(255,255,255,0.06), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 24, 0.08) 0%, rgba(8, 12, 24, 0.02) 40%, rgba(8, 12, 24, 0.1) 100%);
  pointer-events: none;
  z-index: 0;
}

.bottom-image {
  position: absolute;
  inset: 0;
  background: url("IMG_2119.PNG") center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.02);
}

.bottom-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 10, 20, 0.72) 0%, rgba(8, 12, 24, 0.44) 22%, rgba(8, 12, 24, 0.16) 55%, rgba(8, 12, 24, 0.32) 100%);
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08)),
    linear-gradient(180deg, var(--glass-fill), rgba(10, 16, 30, 0.18));
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background:
    linear-gradient(180deg, var(--glass-highlight), rgba(255,255,255,0.02) 42%, rgba(255,255,255,0.01) 100%);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.2), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(255,255,255,0.08), transparent 28%);
  pointer-events: none;
  opacity: 0.9;
}

.card-inner {
  position: relative;
  z-index: 1;
}

.hero-glass-panel {
  position: relative;
  margin-bottom: 18px;
  padding: 14px 14px 12px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)),
    linear-gradient(180deg, rgba(12, 18, 32, 0.34), rgba(12, 18, 32, 0.2));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 12px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}

.hero-glass-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 38%, rgba(255,255,255,0.01) 100%);
  pointer-events: none;
}

.hero-glass-panel > * {
  position: relative;
  z-index: 1;
}

.top-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: none;
  overflow: visible;
}

.avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.title {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.desc {
  margin-bottom: 18px;
  color: rgba(255,255,255,0.84);
}

.hero-glass-panel h1,
.hero-glass-panel .title,
.hero-glass-panel .desc p,
.hero-glass-panel .contact-prefix,
.hero-glass-panel .contact-handle,
.hero-glass-panel .promo-note {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.hero-glass-panel .desc {
  margin-bottom: 0;
}

.desc p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.desc p:last-child {
  margin-bottom: 0;
}

.desc-intro {
  font-size: 17px !important;
  line-height: 1.9 !important;
  font-weight: 600;
  color: #ffd3b0;
  letter-spacing: 0.1px;
  margin-bottom: 12px !important;
}

.contact-line {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 12px !important;
}

.contact-prefix {
  color: rgba(255,255,255,0.96);
  font-weight: 700;
}

.contact-handle {
  color: #ffd84d;
  font-weight: 700;
}

.promo-note {
  display: block;
  width: 100%;
  background: transparent;
  color: #ffd1ad;
  padding: 0;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: 0.1px;
  box-shadow: none;
  margin-bottom: 12px !important;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--module-gap);
  align-items: start;
}

.info-grid > * {
  min-width: 0;
}

.info-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--module-gap);
  align-content: start;
}

.info-item {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  height: auto;
}

.jump-card {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.jump-card:hover,
.jump-card:active {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.js-link-card {
  cursor: pointer;
}

.js-link-card:focus-visible {
  outline: 2px solid rgba(255,255,255,0.65);
  outline-offset: 3px;
}

.split-card,
.extra-contact-card {
  min-height: var(--compact-card-height);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
}

.download-qr-card,
.android-card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  min-height: var(--qr-card-min-height);
  height: auto;
}

.download-qr-card {
  padding: 14px 16px;
}

.android-card .label {
  margin-bottom: 4px;
}

.android-card .value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 12px;
}

.android-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 14px;
}

.android-card .safew-qr-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--qr-stage-height);
}

.android-card .safew-qr-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

.android-card .safew-qr-image {
  display: block;
  width: 100%;
  max-width: var(--qr-image-max);
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.label {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 7px;
  letter-spacing: 0.4px;
}

.value {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
  word-break: break-word;
}

.split-card .value,
.extra-contact-card .value {
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
}

.download-qr-card .label {
  margin-bottom: 4px;
}

.download-qr-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 12px;
}

.download-qr-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 14px;
}

.qr-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--qr-stage-height);
}

.qr-image-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

.qr-image {
  display: block;
  width: 100%;
  max-width: var(--qr-image-max);
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--module-gap);
  margin-top: var(--module-gap);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.1);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  font-size: 14px;
  text-align: center;
  height: 100%;
}

.btn:hover,
.btn:active {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
}

.footer-space {
  height: 110px;
  flex-shrink: 0;
}

@media (max-width: 389px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  .content {
    padding: 18px;
  }

  .footer-space {
    height: 130px;
  }
}
