/* ==========================================================================
   AURELIA COSMETICS — VIP 会员页专属视觉（vip.html）
   --------------------------------------------------------------------------
   设计语言：与全站一致的奶油底 + 香槟金 + 玫瑰金点缀；大衬线标题、金色微光、
   卡片动效、滚动显现、数字滚动、跑马灯、套餐选中态 —— 有档次但不换色系。
   全部为纯 CSS / 极简 JS，无外部依赖；文字对比度遵循 WCAG AA。
   ========================================================================== */

/* ---------- VIP 专属令牌（跟随全站浅色主题） ---------- */
.vip-wrap {
  --vp-ink:   #FAF6F1;   /* = --cream   主底 */
  --vp-ink-2: #F3ECE3;   /* = --cream-deep 次底 */
  --vp-card:  #FFFFFF;   /* 卡片底 */
  --vp-gold:  #C8A15A;   /* 装饰金 */
  --vp-gold-t: #A8802F;  /* 文字金（奶油底 4.9:1，达 AA） */
  --vp-rose:  #C08A97;
  --vp-head:  #221D1B;   /* 标题色 = --ink */
  --vp-text:  #4C443F;   /* 正文色 = --ink-soft */
  --vp-muted: #6B605A;   /* 弱化文字 */
  position: relative;
  overflow: clip;
}

/* ---------- 通用区块 ---------- */
.vip-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Oswald', 'Noto Sans SC', sans-serif;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--vp-gold-t);
}
.vip-eyebrow::before {
  content: ''; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--vp-gold));
}
.vip-h2 {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-weight: 600; font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.15; color: var(--vp-head); margin: 14px 0 0;
}
.vip-h2 em {
  font-style: italic;
  background: linear-gradient(100deg, #A8802F 0%, #C8A15A 55%, #A85F6C 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vip-lead { color: var(--vp-muted); font-size: 15px; max-width: 640px; line-height: 1.8; }

/* ---------- 出现动画（IntersectionObserver 加 .is-in） ---------- */
.vip-rise { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.vip-rise.is-in { opacity: 1; transform: none; }
.vip-rise[data-delay="1"] { transition-delay: .12s; }
.vip-rise[data-delay="2"] { transition-delay: .24s; }
.vip-rise[data-delay="3"] { transition-delay: .36s; }

/* ==========================================================================
   HERO：奶油底 + 金色光晕 + 玻璃按钮 + 漂浮数据卡
   ========================================================================== */
.vip-hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  isolation: isolate;
}
.vip-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 44% at 78% 22%, rgba(200, 161, 90, .20) 0%, transparent 60%),
    radial-gradient(46% 40% at 10% 84%, rgba(217, 165, 173, .22) 0%, transparent 62%),
    linear-gradient(180deg, #FDFBF7 0%, #FAF6F1 100%);
  /* 底图已按需求移除：原 hero.jpg 淡化层会与渐变/网格叠加出重影 */
}
.vip-hero__grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(168, 128, 47, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(168, 128, 47, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
}
.vip-hero h1 {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-weight: 600; font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1.08; margin: 22px 0 0; max-width: 900px; color: var(--vp-head);
}
.vip-hero h1 .gold {
  display: block;
  background: linear-gradient(98deg, #8C6A26 0%, #C8A15A 40%, #A85F6C 78%, #A8802F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vip-hero .vip-lead { margin-top: 22px; font-size: 16px; color: var(--vp-text); }
.vip-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.vip-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: 'Oswald', 'Noto Sans SC', sans-serif;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.vip-btn--gold {
  color: #FFFDF8;
  background: linear-gradient(100deg, #B98F42 0%, #A8802F 100%);
  box-shadow: 0 12px 30px rgba(168, 128, 47, .28);
}
.vip-btn--gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.vip-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(168, 128, 47, .38); }
.vip-btn--gold:hover::after { transform: translateX(120%); }
.vip-btn--ghost {
  color: var(--vp-head);
  border-color: rgba(168, 128, 47, .5);
  background: rgba(255, 255, 255, .6);
}
.vip-btn--ghost:hover { transform: translateY(-2px); border-color: var(--vp-gold-t); background: #FFF; }
.vip-hero__trust {
  margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap;
  color: var(--vp-muted); font-size: 13px; letter-spacing: .04em;
}
.vip-hero__trust b { color: var(--vp-gold-t); font-weight: 600; }

/* 漂浮数据卡（桌面端） */
.vip-float {
  position: absolute; right: 6%; top: 22%;
  display: grid; gap: 14px; width: 220px;
}
.vip-float__card {
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(168, 128, 47, .3);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(88, 70, 38, .16);
  animation: vipFloat 7s ease-in-out infinite;
}
.vip-float__card:nth-child(2) { animation-delay: -2.4s; }
.vip-float__card:nth-child(3) { animation-delay: -4.8s; }
@keyframes vipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.vip-float__card b {
  display: block; font-family: 'Oswald', sans-serif;
  font-size: 30px; color: var(--vp-gold-t); line-height: 1.1;
}
.vip-float__card span { font-size: 12px; color: var(--vp-muted); letter-spacing: .05em; }

/* 金色跑马灯 */
.vip-ticker {
  position: relative; border-top: 1px solid rgba(168, 128, 47, .3);
  border-bottom: 1px solid rgba(168, 128, 47, .3);
  overflow: hidden; background: #F3ECE3;
}
.vip-ticker__track { display: flex; width: max-content; animation: vipMarquee 26s linear infinite; }
.vip-ticker:hover .vip-ticker__track { animation-play-state: paused; }
.vip-ticker__item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 34px; white-space: nowrap;
  font-family: 'Oswald', 'Noto Sans SC', sans-serif;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--vp-text);
}
.vip-ticker__item::after { content: '✦'; color: var(--vp-gold-t); font-size: 11px; }
@keyframes vipMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   权益：白卡 + 图标 + 悬停金光
   ========================================================================== */
.vip-section { padding: 92px 0; position: relative; background: var(--vp-ink); }
.vip-section--soft { background: #F3ECE3; }
.vip-section--dark { background: #FDFBF7; }

.vip-bene { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.vip-bene__card {
  position: relative; padding: 30px 26px; border-radius: 18px;
  background: var(--vp-card);
  border: 1px solid rgba(168, 128, 47, .22);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(88, 70, 38, .07);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.vip-bene__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vp-gold), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.vip-bene__card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 128, 47, .55);
  box-shadow: 0 22px 48px rgba(88, 70, 38, .14);
}
.vip-bene__card:hover::before { opacity: 1; }
.vip-bene__num {
  position: absolute; right: 18px; top: 10px;
  font-family: 'Cormorant Garamond', serif; font-size: 74px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(168, 128, 47, .28);
}
.vip-bene__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(200, 161, 90, .18), rgba(217, 165, 173, .14));
  border: 1px solid rgba(168, 128, 47, .35);
  color: var(--vp-gold-t);
  transition: transform .35s ease;
}
.vip-bene__card:hover .vip-bene__icon { transform: rotate(-6deg) scale(1.06); }
.vip-bene__icon svg { width: 24px; height: 24px; }
.vip-bene__card h3 {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 22px; font-weight: 600; color: var(--vp-head); margin: 0 0 8px;
}
.vip-bene__card p { color: var(--vp-muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* ==========================================================================
   「一切皆可买」：左侧图文 + 右侧数字滚动
   ========================================================================== */
.vip-buy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.vip-buy__visual {
  position: relative; border-radius: 22px; overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(168, 128, 47, .35);
  box-shadow: 0 22px 50px rgba(88, 70, 38, .16);
}
.vip-buy__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vip-buy__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(253, 251, 247, .1) 0%, rgba(34, 29, 27, .5) 82%);
}
.vip-buy__quote {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1;
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 21px; font-style: italic; color: #FDFBF7; line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.vip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.vip-stat {
  padding: 22px; border-radius: 16px;
  background: var(--vp-card);
  border: 1px solid rgba(168, 128, 47, .25);
  box-shadow: 0 6px 20px rgba(88, 70, 38, .06);
}
.vip-stat b { display: block; font-family: 'Oswald', sans-serif; font-size: 40px; line-height: 1.05; color: var(--vp-gold-t); }
.vip-stat b i { font-style: normal; font-size: 20px; opacity: .75; }
.vip-stat span { color: var(--vp-muted); font-size: 13px; }
.vip-nogo { margin-top: 30px; padding: 20px 22px; border-radius: 14px;
  background: #F5E3E5; border: 1px solid rgba(168, 95, 108, .35); }
.vip-nogo h4 { margin: 0 0 8px; font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 19px; color: #8C4B58; }
.vip-nogo p { margin: 0; color: #6B605A; font-size: 14px; line-height: 1.7; }

/* ==========================================================================
   套餐：可选中卡片 + 吸底结算条
   ========================================================================== */
.vip-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.vip-plan {
  position: relative; cursor: pointer; text-align: left;
  padding: 28px 24px; border-radius: 18px;
  background: var(--vp-card);
  border: 1px solid rgba(168, 128, 47, .28);
  box-shadow: 0 8px 26px rgba(88, 70, 38, .07);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.vip-plan:hover { transform: translateY(-6px); border-color: rgba(168, 128, 47, .6); }
.vip-plan.is-selected {
  border-color: var(--vp-gold-t);
  background: linear-gradient(165deg, #FBF3E2, #FFF);
  box-shadow: 0 18px 44px rgba(88, 70, 38, .16), 0 0 0 2px rgba(168, 128, 47, .35);
}
.vip-plan__flag {
  position: absolute; top: -12px; right: 16px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  color: #FFFDF8; background: linear-gradient(100deg, #B98F42, #A8802F);
  opacity: 0; transform: translateY(6px); transition: .3s ease;
}
.vip-plan.is-selected .vip-plan__flag { opacity: 1; transform: none; }
.vip-plan__name {
  font-family: 'Oswald', 'Noto Sans SC', sans-serif;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--vp-gold-t);
}
.vip-plan__price { font-family: var(--font-price); font-size: 44px; font-weight: 600;
  letter-spacing: .01em; color: var(--vp-head); margin: 12px 0 2px; line-height: 1; }
.vip-plan__price small { font-family: var(--font-price); font-size: 17px; font-weight: 500;
  letter-spacing: .06em; color: var(--vp-muted); vertical-align: 4px; }
.vip-plan__rows { margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--vp-muted); }
.vip-plan__rows li { padding: 5px 0; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed rgba(168, 128, 47, .22); }
.vip-plan__rows li b { color: var(--vp-head); font-weight: 600; }
.vip-plan__rows li:last-child { border-bottom: 0; }
.vip-plan__note { font-size: 12px; color: var(--vp-muted); margin: 12px 0 0; line-height: 1.6; }

/* 吸底结算条 */
.vip-stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  background: rgba(253, 251, 247, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(168, 128, 47, .5);
  box-shadow: 0 -14px 36px rgba(88, 70, 38, .18);
}
.vip-stickybar.is-on { transform: none; }
.vip-stickybar__in {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 0; justify-content: space-between;
}
.vip-stickybar__pick { font-size: 13px; color: var(--vp-muted); }
.vip-stickybar__pick b { display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--vp-head); }
.vip-stickybar__pick b em { font-style: normal; color: var(--vp-gold-t); }
.vip-stickybar__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   注册 / 积分：白卡表单
   ========================================================================== */
.vip-form {
  margin-top: 38px; padding: 30px; border-radius: 20px;
  background: var(--vp-card);
  border: 1px solid rgba(168, 128, 47, .28);
  box-shadow: 0 10px 30px rgba(88, 70, 38, .08);
}
.vip-field { position: relative; }
.vip-field input, .vip-form input[type="email"] {
  width: 100%; box-sizing: border-box;
  padding: 13px 16px; border-radius: 12px;
  background: #FDFBF7;
  border: 1px solid rgba(168, 128, 47, .35);
  color: var(--vp-head); font-size: 14px; font-family: 'Jost', 'Noto Sans SC', sans-serif;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.vip-field input::placeholder { color: rgba(107, 96, 90, .75); }
.vip-field input:focus {
  border-color: var(--vp-gold-t);
  box-shadow: 0 0 0 3px rgba(168, 128, 47, .16), 0 8px 24px rgba(88, 70, 38, .1);
  background: #FFF;
}
.vip-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vip-form .vip-btn { width: 100%; justify-content: center; margin-top: 18px; }

/* 余额卡片 */
.vip-balance {
  margin-top: 26px; padding: 26px 28px; border-radius: 18px;
  background: linear-gradient(150deg, #FBF3E2, #F5E3E5);
  border: 1px solid rgba(168, 128, 47, .45);
  box-shadow: 0 10px 26px rgba(88, 70, 38, .08);
}
.vip-balance b { display: block; font-family: 'Oswald', sans-serif; font-size: 52px; line-height: 1.05; color: var(--vp-gold-t); }
.vip-balance span { color: var(--vp-muted); font-size: 13px; }

/* ==========================================================================
   流程 / FAQ / CTA
   ========================================================================== */
.vip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.vip-step {
  position: relative; padding: 26px 24px 26px 74px; border-radius: 16px;
  background: var(--vp-card); border: 1px solid rgba(168, 128, 47, .25);
  box-shadow: 0 6px 20px rgba(88, 70, 38, .06);
  font-size: 14px; color: var(--vp-muted); line-height: 1.7;
}
.vip-step b {
  position: absolute; left: 20px; top: 18px;
  font-family: 'Cormorant Garamond', serif; font-size: 34px;
  color: transparent; -webkit-text-stroke: 1px var(--vp-gold-t);
}

.vip-faq { max-width: 860px; margin: 40px auto 0; }
.vip-faq details {
  border: 1px solid rgba(168, 128, 47, .28); border-radius: 14px;
  background: var(--vp-card);
  margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(88, 70, 38, .05);
  transition: border-color .3s ease, background .3s ease;
}
.vip-faq details[open] { border-color: rgba(168, 128, 47, .6); }
.vip-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; font-size: 19px; color: var(--vp-head);
}
.vip-faq summary::-webkit-details-marker { display: none; }
.vip-faq summary::after {
  content: '+'; flex: 0 0 auto;
  font-family: 'Jost', sans-serif; font-size: 22px; color: var(--vp-gold-t);
  transition: transform .3s ease;
}
.vip-faq details[open] summary::after { transform: rotate(45deg); }
.vip-faq p { margin: 0; padding: 0 22px 20px; color: var(--vp-muted); font-size: 14px; line-height: 1.8; }

.vip-cta {
  position: relative; text-align: center; padding: 104px 0;
  background:
    radial-gradient(50% 90% at 50% 0%, rgba(200, 161, 90, .18) 0%, transparent 70%),
    linear-gradient(180deg, #FAF6F1, #F3ECE3);
  border-top: 1px solid rgba(168, 128, 47, .3);
}
.vip-cta h2 { font-size: clamp(28px, 4.4vw, 46px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .vip-bene { grid-template-columns: 1fr 1fr; }
  .vip-plans { grid-template-columns: 1fr 1fr; }
  .vip-buy { grid-template-columns: 1fr; gap: 40px; }
  .vip-float { display: none; }
}
@media (max-width: 720px) {
  .vip-hero { min-height: 0; padding: 96px 0 60px; }
  .vip-bene { grid-template-columns: 1fr; }
  .vip-plans { grid-template-columns: 1fr; }
  .vip-steps { grid-template-columns: 1fr; }
  .vip-stats { grid-template-columns: 1fr 1fr; }
  .vip-grid2 { grid-template-columns: 1fr; }
  .vip-stickybar__in { justify-content: center; text-align: center; }
}
