:root {
  font-family: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #4a1d00;
  background-color: #fff6ed;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, #fffdf7 0%, #ffe6c9 45%, #ffd295 100%);
  color: inherit;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 179, 71, 0.5), transparent 45%),
    radial-gradient(circle at 65% 80%, rgba(255, 141, 114, 0.35), transparent 45%);
  filter: blur(80px);
  z-index: -1;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px clamp(18px, 7vw, 64px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page__eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(234, 88, 12, 0.75);
}

h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 36px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a14400;
}

.page__tagline {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(191, 90, 8, 0.9);
}

.content {
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
}

.card-shell {
  position: relative;
  padding: 40px 24px;
}

.card-shell__glow {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 214, 153, 0.7));
  box-shadow: 0 45px 80px rgba(221, 107, 32, 0.35);
  filter: blur(6px);
}

.card-shell__body {
  position: relative;
  border-radius: 28px;
  background: #fff9f4;
  border: 1px solid rgba(255, 181, 108, 0.6);
  padding: 32px 28px;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.profile-avatar {
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffe2c6, #fff);
  box-shadow: inset 0 0 0 1px rgba(255, 143, 90, 0.25);
}

.profile-avatar img {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  object-fit: cover;
  background: #fff;
}

.profile-headline {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-self: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #c2410c;
  background: rgba(253, 186, 116, 0.25);
}

.profile-headline h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #9a3412;
}

.profile-headline p {
  margin: 0;
  font-size: 15px;
  color: rgba(120, 53, 15, 0.8);
}

.divider {
  width: 100%;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4), transparent);
}

.profile-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(251, 146, 60, 0.4);
  padding-bottom: 18px;
  color: #92400e;
}

.profile-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-details span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249, 115, 22, 0.85);
}

.profile-details strong,
.profile-details a {
  font-size: 18px;
}

.profile-details small {
  font-size: 12px;
  color: rgba(120, 53, 15, 0.7);
}

.detail-action {
  color: #db620f;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.detail-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fb923c 0%, #f97316 70%);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.6);
}

.detail-action:hover,
.detail-action:focus-visible {
  transform: translateX(2px);
  opacity: 0.8;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(234, 88, 12, 0.95);
  color: #fff7ed;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 700px) {
  .card-shell__body {
    padding: 40px 48px;
  }
}

/* 底部导航栏 - iOS 26 液态玻璃效果 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08),
              0 -1px 0 rgba(255, 255, 255, 0.6) inset,
              0 1px 0 rgba(255, 255, 255, 0.3) inset;
  z-index: 1000;
  border-radius: 24px 24px 0 0;
}

/* 液态玻璃背景渐变层 */
.bottom-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(74, 29, 0, 0.6);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 16px;
  min-width: 60px;
  z-index: 1;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.nav-item:active::before {
  opacity: 1;
}

.nav-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-label {
  font-size: 11px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

/* 激活状态 */
.nav-item.active {
  color: #db620f;
  transform: translateY(-2px);
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(219, 98, 15, 0.3));
}

.nav-item.active .nav-label {
  font-weight: 600;
  color: #db620f;
}

/* 激活状态的背景高光 */
.nav-item.active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 181, 108, 0.2) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.6;
  z-index: -2;
  box-shadow: 0 4px 12px rgba(219, 98, 15, 0.15);
}

/* 悬停效果 */
@media (hover: hover) {
  .nav-item:hover:not(.active) {
    color: rgba(74, 29, 0, 0.8);
    transform: translateY(-1px);
  }

  .nav-item:hover:not(.active) .nav-icon {
    transform: scale(1.05);
  }
}

/* 为页面内容添加底部内边距，避免被导航栏遮挡 */
.page {
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

