:root {
  --aurora-surface: rgba(15, 23, 42, 0.72);
  --aurora-surface-strong: rgba(15, 23, 42, 0.92);
  --aurora-border: rgba(255, 255, 255, 0.08);
  --aurora-border-strong: rgba(255, 255, 255, 0.15);
  --aurora-text: #e2f4f3;
  --aurora-text-muted: rgba(226, 244, 243, 0.7);
  --aurora-card-shadow: 0 25px 60px rgba(6, 11, 25, 0.55);
  --aurora-card-radius: 22px;
  /* glow 颜色 RGB 分量，用于 rgba() 组合 */
  --aurora-glow-rgb: 124, 255, 203;
  --aurora-shadow-rgb: 5, 10, 20;
}

/* 无障碍辅助：视觉隐藏但屏幕阅读器可读 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--aurora-gradient, radial-gradient(circle at top, #152238, #0b1220 55%, #05070d));
  color: var(--aurora-text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: 
    radial-gradient(circle at 20% -10%, rgba(124, 255, 203, 0.45), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(23, 162, 184, 0.45), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(91, 92, 255, 0.25), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: backgroundPulse 15s ease-in-out infinite;
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23ffffff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='160' height='160'/%3E%3C/svg%3E");
  opacity: var(--aurora-noise-opacity, 0.35);
  mix-blend-mode: soft-light;
}

.legacy-hidden {
  display: none;
}

#legacy-stack {
  position: relative;
  margin: 32px auto;
  max-width: 1080px;
  z-index: 1;
}

#legacy-stack .legacy-fallback-tip {
  display: none;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border-left: 4px solid var(--aurora-glow, #7cffcb);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: var(--aurora-card-shadow);
  font-weight: 500;
  color: var(--aurora-text);
  gap: 10px;
  align-items: center;
}

#legacy-stack:not(.legacy-hidden) .legacy-fallback-tip {
  display: inline-flex;
}

#legacy-stack .legacy-fallback-tip i {
  color: var(--aurora-glow, #7cffcb);
}

.layui-container {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  max-width: 1080px;
  margin: 40px auto 28px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(8, 15, 27, 0.85));
  border: 1px solid var(--aurora-border);
  box-shadow: var(--aurora-card-shadow);
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  inset: -40% -30% auto;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(124, 255, 203, 0.7), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(14, 200, 235, 0.6), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(91, 92, 255, 0.35), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(255, 107, 237, 0.25), transparent 50%);
  filter: blur(70px);
  animation: auroraWave 20s ease-in-out infinite, auroraRotate 30s linear infinite;
  opacity: 0.95;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__logo {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(5, 10, 20, 0.65), 
    0 0 0 1px var(--aurora-border-strong),
    0 0 40px rgba(124, 255, 203, 0.3),
    inset 0 0 20px rgba(124, 255, 203, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero__logo:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 
    0 30px 70px rgba(5, 10, 20, 0.8), 
    0 0 0 1px var(--aurora-glow),
    0 0 60px rgba(124, 255, 203, 0.5),
    inset 0 0 30px rgba(124, 255, 203, 0.2);
}

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

.hero__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--aurora-text);
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.hero__tagline {
  margin-top: 10px;
  font-size: 15px;
  color: var(--aurora-text-muted);
}

.glow-divider {
  width: 160px;
  height: 3px;
  margin: 12px auto 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--aurora-glow, #7cffcb), transparent);
  opacity: 0.9;
  box-shadow: 
    0 0 20px rgba(124, 255, 203, 0.5),
    0 0 40px rgba(124, 255, 203, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

.card-grid,
.manage-grid {
  max-width: 1080px;
  margin: 24px auto;
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.manage-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  position: relative;
  border-radius: var(--aurora-card-radius);
  background: var(--aurora-card-bg, rgba(15, 23, 42, 0.78));
  backdrop-filter: blur(26px) saturate(150%);
  opacity: var(--aurora-glass-opacity, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease;
  box-shadow: 
    0 18px 35px rgba(5, 10, 20, 0.6),
    0 0 0 1px rgba(124, 255, 203, 0.05);
  isolation: isolate;
  cursor: pointer;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(124, 255, 203, 0.15), 
    transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 255, 203, 0.5);
  box-shadow:
    0 30px 65px rgba(8, 18, 32, 0.85),
    0 0 40px rgba(124, 255, 203, 0.25),
    0 0 0 1px rgba(124, 255, 203, 0.3);
  outline: none;
}

.card:focus-visible {
  outline: 2px solid rgba(124, 255, 203, 0.8);
  outline-offset: 2px;
}

.card:hover::after {
  opacity: 1;
}

.card:hover::before {
  left: 100%;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--aurora-text);
}

.card__title i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(124, 255, 203, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aurora-glow, #7cffcb);
  box-shadow: 
    inset 0 0 0 1px rgba(124, 255, 203, 0.4),
    0 0 15px rgba(124, 255, 203, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s ease;
}

.card:hover .card__title i {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 
    inset 0 0 0 1px rgba(124, 255, 203, 0.6),
    0 0 25px rgba(124, 255, 203, 0.4);
}

.card__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--aurora-text-muted);
}

.card__action {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}

.card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid rgba(124, 255, 203, 0.4);
  color: var(--aurora-glow, #7cffcb);
  background: rgba(124, 255, 203, 0.05);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 rgba(124, 255, 203, 0);
}

.card__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(124, 255, 203, 0.3), transparent 70%);
  transition: opacity 0.3s ease;
}

.card__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 255, 203, 0.5), transparent);
  transition: left 0.45s ease;
}

.card__btn:hover {
  color: #08101d;
  background: var(--aurora-glow, #7cffcb);
  border-color: var(--aurora-glow, #7cffcb);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(124, 255, 203, 0.4),
    0 0 30px rgba(124, 255, 203, 0.3);
}

.card__btn:hover::after {
  opacity: 1;
}

.card__btn:hover::before {
  left: 100%;
}

.card__btn i {
  transition: transform 0.3s ease;
}

.card__btn:hover i {
  transform: translateX(3px);
}

.showcase {
  position: relative;
  max-width: 980px;
  margin: 0 auto 32px;
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.3), rgba(5, 9, 18, 0.9));
  border: 1px solid rgba(124, 255, 203, 0.3);
  box-shadow: 
    0 25px 60px rgba(5, 10, 20, 0.65),
    0 0 50px rgba(124, 255, 203, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--aurora-text);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 30px 70px rgba(5, 10, 20, 0.75),
    0 0 60px rgba(124, 255, 203, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.showcase__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(124, 255, 203, 0.45), transparent 45%);
  filter: blur(40px);
  opacity: 0.6;
}

.showcase__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.showcase__fallback {
  display: none;
}

.custom-banner-area,
.custom-notice-area,
.custom-intro-area {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--aurora-text);
}

.dock {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.dock__btn {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(124, 255, 203, 0.4);
  background: linear-gradient(160deg, rgba(8, 17, 28, 0.95), rgba(15, 23, 42, 0.92));
  color: var(--aurora-glow, #7cffcb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 
    0 15px 35px rgba(5, 10, 18, 0.7),
    0 0 0 1px rgba(124, 255, 203, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease, 
              border-color 0.3s ease;
  backdrop-filter: blur(22px) saturate(180%);
  position: relative;
}

.dock__btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, 
    rgba(124, 255, 203, 0.6), 
    rgba(14, 200, 235, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dock__btn span {
  font-size: 11px;
  color: var(--aurora-text-muted);
}

.dock__btn:hover {
  transform: translateY(-6px) scale(1.1);
  border-color: var(--aurora-glow, #7cffcb);
  box-shadow: 
    0 25px 50px rgba(7, 14, 22, 0.9), 
    0 0 40px rgba(124, 255, 203, 0.4),
    0 0 0 1px rgba(124, 255, 203, 0.5);
}

.dock__btn:hover::before {
  opacity: 1;
}

.dock__btn i {
  font-size: 18px;
}


#aurora-modal-root {
  position: relative;
  z-index: 1000;
}

.aurora-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  pointer-events: none;
  opacity: 0;
}

.aurora-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 4, 10, 0.85));
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.aurora-modal__panel {
  position: relative;
  width: min(780px, 92vw);
  max-height: calc(100vh - 120px);
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(6, 12, 24, 0.98), rgba(10, 18, 36, 0.92));
  border: 1px solid rgba(124, 255, 203, 0.25);
  box-shadow: 0 45px 120px rgba(2, 4, 10, 0.8), 0 0 60px rgba(124, 255, 203, 0.2);
  padding: 0;
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.aurora-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  color: var(--aurora-text);
}

.aurora-modal__title {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.aurora-modal__subtitle {
  font-size: 14px;
  color: var(--aurora-text-muted);
  margin-top: 6px;
}

.aurora-modal__close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  color: var(--aurora-text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.aurora-modal__close:hover {
  border-color: var(--aurora-glow, #7cffcb);
  color: var(--aurora-glow, #7cffcb);
}

.aurora-modal__body {
  padding: 20px 28px 28px;
  overflow-y: auto;
  max-height: calc(100vh - 210px);
  color: var(--aurora-text);
}

.aurora-modal__body .layui-input,
.aurora-modal__body .layui-textarea,
.aurora-modal__body .layui-form-select .layui-input {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--aurora-text);
  box-shadow: inset 0 1px 2px rgba(5, 9, 18, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aurora-modal__body .layui-input:focus,
.aurora-modal__body .layui-textarea:focus,
.aurora-modal__body .layui-form-select .layui-input:focus {
  border-color: rgba(124, 255, 203, 0.7);
  box-shadow: 0 0 0 2px rgba(124, 255, 203, 0.25), inset 0 1px 2px rgba(5, 9, 18, 0.4);
}

.aurora-modal__body .layui-input::placeholder,
.aurora-modal__body .layui-textarea::placeholder {
  color: rgba(226, 244, 243, 0.55);
}

.aurora-modal__body .layui-form-label {
  color: var(--aurora-text-muted);
}

.aurora-modal__body .layui-input-block {
  margin-bottom: 18px;
}

/* LayUI下拉框箭头样式 */
.aurora-modal__body .layui-form-select .layui-edge {
  border-top-color: var(--aurora-text) !important;
}

/* LayUI下拉框选项列表容器 */
.aurora-modal__body .layui-form-select dl {
  background: rgba(6, 12, 24, 0.98) !important;
  border: 1px solid rgba(124, 255, 203, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(2, 4, 10, 0.6) !important;
  margin-top: 5px !important;
}

/* LayUI下拉框选项样式 */
.aurora-modal__body .layui-form-select dl dd {
  color: var(--aurora-text) !important;
  transition: all 0.2s ease !important;
  padding: 10px 16px !important;
}

/* 选项悬停效果 */
.aurora-modal__body .layui-form-select dl dd:hover {
  background: rgba(124, 255, 203, 0.15) !important;
  color: #ffffff !important;
}

/* 选项选中状态 */
.aurora-modal__body .layui-form-select dl dd.layui-this {
  background: rgba(124, 255, 203, 0.35) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 选项禁用状态 */
.aurora-modal__body .layui-form-select dl dd.layui-disabled {
  color: rgba(226, 244, 243, 0.4) !important;
  background: rgba(15, 23, 42, 0.3) !important;
  cursor: not-allowed !important;
}

.aurora-modal__body .layui-btn {
  background: linear-gradient(135deg, #16c9a1, #0d9488);
  border: 1px solid rgba(22, 201, 161, 0.55);
  color: #f4fffd;
  box-shadow: 0 12px 28px rgba(6, 16, 24, 0.65);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.aurora-modal__body .layui-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.aurora-modal__body .payment-selector-container,
.aurora-modal__body .payment-platform-selector,
.aurora-modal__body .online-payment-options {
  background: linear-gradient(165deg, rgba(15, 28, 45, 0.85), rgba(8, 18, 32, 0.75));
  border: 1px solid rgba(124, 255, 203, 0.25);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(124, 255, 203, 0.12),
    0 12px 30px rgba(5, 8, 15, 0.55),
    0 0 40px rgba(124, 255, 203, 0.08);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.aurora-modal__body .payment-selector-container::before,
.aurora-modal__body .payment-platform-selector::before,
.aurora-modal__body .online-payment-options::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 255, 203, 0.6), transparent);
  border-radius: 18px 18px 0 0;
}

.aurora-modal__body .payment-option,
.aurora-modal__body .sub-payment-option,
.aurora-modal__body .platform-option {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--aurora-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.aurora-modal__body .payment-option.active,
.aurora-modal__body .sub-payment-option.active,
.aurora-modal__body .platform-option.active {
  background: linear-gradient(135deg, rgba(124, 255, 203, 0.35), rgba(14, 200, 235, 0.28));
  border-color: rgba(124, 255, 203, 0.8);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(124, 255, 203, 0.35),
    0 0 30px rgba(124, 255, 203, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.aurora-modal__body .payment-option:hover,
.aurora-modal__body .sub-payment-option:hover,
.aurora-modal__body .platform-option:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(124, 255, 203, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(5, 10, 18, 0.4), 0 0 20px rgba(124, 255, 203, 0.15);
}

.aurora-modal__body .platform-selector-title,
.aurora-modal__body .payment-selector-title,
.aurora-modal__body .sub-payment-title {
  color: var(--aurora-text);
}

.aurora-modal__body .payment-option i,
.aurora-modal__body .sub-payment-option i,
.aurora-modal__body .platform-option i {
  color: inherit;
}

/* ========================================
 * 支付方式选择器样式 (Aurora主题)
 * ======================================== */

/* 支付方式选择器标题 */
.aurora-modal__body .platform-selector-title,
.aurora-modal__body .payment-selector-title,
.aurora-modal__body .sub-payment-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--aurora-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.aurora-modal__body .platform-selector-title i,
.aurora-modal__body .payment-selector-title i,
.aurora-modal__body .sub-payment-title i {
  color: var(--aurora-glow, #7cffcb);
  font-size: 16px;
  filter: drop-shadow(0 0 8px rgba(124, 255, 203, 0.4));
}

/* 支付选项组布局 */
.aurora-modal__body .platform-selector-group,
.aurora-modal__body .payment-toggle-group,
.aurora-modal__body .sub-payment-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

/* 支付选项按钮基础样式 */
.aurora-modal__body .payment-option,
.aurora-modal__body .sub-payment-option,
.aurora-modal__body .platform-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--aurora-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

/* 悬停光晕效果 */
.aurora-modal__body .payment-option::before,
.aurora-modal__body .sub-payment-option::before,
.aurora-modal__body .platform-option::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(124, 255, 203, 0.2), transparent 70%);
  transition: opacity 0.3s ease;
}

/* 悬停状态 */
.aurora-modal__body .payment-option:hover,
.aurora-modal__body .sub-payment-option:hover,
.aurora-modal__body .platform-option:hover {
  border-color: rgba(124, 255, 203, 0.4);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 20px rgba(5, 10, 18, 0.4),
    0 0 20px rgba(124, 255, 203, 0.15);
}

.aurora-modal__body .payment-option:hover::before,
.aurora-modal__body .sub-payment-option:hover::before,
.aurora-modal__body .platform-option:hover::before {
  opacity: 1;
}

/* 激活状态 */
.aurora-modal__body .payment-option.active,
.aurora-modal__body .sub-payment-option.active,
.aurora-modal__body .platform-option.active {
  background: linear-gradient(135deg, 
    rgba(124, 255, 203, 0.3), 
    rgba(14, 200, 235, 0.25));
  border-color: rgba(124, 255, 203, 0.7);
  color: #ffffff;
  box-shadow: 
    0 12px 30px rgba(124, 255, 203, 0.3),
    0 0 40px rgba(124, 255, 203, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  transform: translateY(-3px) scale(1.05);
}

/* 激活状态光晕 */
.aurora-modal__body .payment-option.active::before,
.aurora-modal__body .sub-payment-option.active::before,
.aurora-modal__body .platform-option.active::before {
  opacity: 1;
  background: radial-gradient(circle at center, rgba(124, 255, 203, 0.3), transparent 60%);
  animation: paymentGlow 2s ease-in-out infinite;
}

/* 支付选项图标样式 */
.aurora-modal__body .payment-option i,
.aurora-modal__body .sub-payment-option i,
.aurora-modal__body .platform-option i {
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 激活状态图标动画 */
.aurora-modal__body .payment-option.active i,
.aurora-modal__body .sub-payment-option.active i,
.aurora-modal__body .platform-option.active i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* 支付平台图标颜色（未激活状态） */
.aurora-modal__body .sub-payment-option[data-platform="alipay"]:not(.active) i,
.aurora-modal__body .platform-option[data-platform="alipay"]:not(.active) i {
  color: #1677ff;
  filter: drop-shadow(0 0 6px rgba(22, 119, 255, 0.4));
}

.aurora-modal__body .sub-payment-option[data-platform="wxpay"]:not(.active) i,
.aurora-modal__body .platform-option[data-platform="wxpay"]:not(.active) i {
  color: #07c160;
  filter: drop-shadow(0 0 6px rgba(7, 193, 96, 0.4));
}

.aurora-modal__body .sub-payment-option[data-platform="qq"]:not(.active) i,
.aurora-modal__body .platform-option[data-platform="qq"]:not(.active) i {
  color: #12b7f5;
  filter: drop-shadow(0 0 6px rgba(18, 183, 245, 0.4));
}

/* 卡密/在线支付图标颜色 */
.aurora-modal__body .payment-option[data-payment="card"]:not(.active) i {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.aurora-modal__body .payment-option[data-payment="online"]:not(.active) i {
  color: #3b82f6;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

/* 激活状态图标为白色发光 */
.aurora-modal__body .payment-option.active i,
.aurora-modal__body .sub-payment-option.active i,
.aurora-modal__body .platform-option.active i {
  color: #ffffff !important;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) !important;
}

/* 支付平台选择器容器 */
.aurora-modal__body .payment-platform-selector {
  width: 90%;
  margin: 18px auto;
}

/* 在线支付子选项容器 */
.aurora-modal__body .online-payment-options {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(124, 255, 203, 0.15);
  display: none;
}

.aurora-modal__body .online-payment-options.show {
  display: block;
  animation: fadeSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 支付选项动画 */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paymentGlow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* 响应式布局 */
@media (max-width: 600px) {
  .aurora-modal__body .platform-selector-group,
  .aurora-modal__body .payment-toggle-group,
  .aurora-modal__body .sub-payment-group {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
  }

  .aurora-modal__body .payment-option,
  .aurora-modal__body .sub-payment-option,
  .aurora-modal__body .platform-option {
    padding: 12px 16px;
    font-size: 13px;
  }

  .aurora-modal__body .payment-option i,
  .aurora-modal__body .sub-payment-option i,
  .aurora-modal__body .platform-option i {
    font-size: 16px;
  }
}

.aurora-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 28px 28px;
}

.aurora-modal--drawer {
  justify-content: flex-end;
}

.aurora-modal--drawer .aurora-modal__panel {
  width: min(480px, 92vw);
  border-radius: 24px 0 0 24px;
  max-height: 100vh;
  transform: translateX(40px);
}

.aurora-modal.is-active {
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.aurora-modal.is-enter .aurora-modal__backdrop {
  opacity: 1;
}

.aurora-modal.is-enter .aurora-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.aurora-modal--drawer.is-enter .aurora-modal__panel {
  transform: translateX(0);
}

.aurora-modal.is-exit .aurora-modal__panel {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.aurora-modal--drawer.is-exit .aurora-modal__panel {
  transform: translateX(40px);
}

@media (max-width: 720px) {
  .aurora-modal__panel {
    width: 92vw;
    border-radius: 24px;
  }

  .aurora-modal__body {
    max-height: calc(100vh - 180px);
  }

  .aurora-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {

  .aurora-modal__backdrop,
  .aurora-modal__panel {
    transition: none;
  }

  /* 停止所有无限循环动画 */
  body::before,
  .hero__aurora,
  .glow-divider,
  .aurora-modal__body .payment-option.active::before,
  .aurora-modal__body .sub-payment-option.active::before,
  .aurora-modal__body .platform-option.active::before {
    animation: none;
  }

  /* 简化卡片和交互元素的过渡 */
  .card,
  .card__btn,
  .dock__btn,
  .platform-option,
  .payment-option,
  .sub-payment-option {
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  /* 禁止卡片 hover 位移 */
  .card:hover,
  .dock__btn:hover,
  .card__btn:hover {
    transform: none;
  }
}

body.modal-open {
  overflow: hidden;
}

@keyframes auroraWave {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-10%, -5%, 0) rotate(8deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes auroraRotate {
  0% {
    opacity: 0.85;
  }

  50% {
    opacity: 0.95;
  }

  100% {
    opacity: 0.85;
  }
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.9;
    box-shadow: 
      0 0 20px rgba(124, 255, 203, 0.5),
      0 0 40px rgba(124, 255, 203, 0.3);
  }

  50% {
    opacity: 1;
    box-shadow: 
      0 0 30px rgba(124, 255, 203, 0.7),
      0 0 60px rgba(124, 255, 203, 0.5);
  }
}

@media (max-width: 1024px) {
  .hero {
    margin: 28px 16px;
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .card-grid,
  .manage-grid,
  .showcase {
    margin: 16px;
  }

  /* 移动端 Dock 横向排列，避免遮挡内容 */
  .dock {
    right: auto;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    background: rgba(8, 15, 28, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 8px 12px;
    border: 1px solid rgba(var(--aurora-glow-rgb, 124, 255, 203), 0.2);
    box-shadow: 0 8px 30px rgba(2, 4, 10, 0.6);
  }

  .dock__btn {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: none;
    box-shadow: none;
  }

  .dock__btn:hover {
    transform: translateY(-3px) scale(1.05);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 22px;
  }

  .card {
    padding: 18px;
  }

  .dock__btn {
    width: 52px;
    height: 52px;
  }
}