/* 全局样式 暗金轻奢版 */
* {margin: 0; padding: 0; box-sizing: border-box;}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
    background: linear-gradient(120deg, #1a1510, #2b241a, #3a2f1f, #2b241a, #1a1510);
    background-size: 400% 400%;
    animation: bgGradient 20s ease infinite;
    padding: 25px 15px;
    padding-bottom: 100px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: #f0e6d2;
}

/* 动态背景动画 */
@keyframes bgGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 星星背景 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.star {
    position: absolute;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.container {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 必看 暗金样式 */
.intro-box p:first-child {
    font-size: 26px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 18px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}
.intro-box p {
    font-size: 16px;
    color: #e0d5bc;
    line-height: 1.8;
    margin-bottom: 12px;
}
.intro-box p:last-child {
    margin-bottom: 0;
}
.intro-box p.highlight {
    color: #ffc107;
    font-weight: 500;
}
.intro-box p.important {
    font-size: 17px;
    font-weight: 600;
    color: #ffd700;
    background: rgba(40, 33, 22, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(255,215,0,0.2);
    backdrop-filter: blur(10px);
}

/* 玻璃按钮容器 */
.btn-container {
    width: 100%;
    gap: 15px;
    display: flex;
    flex-direction: column;
}

/* 玻璃态按钮 - 暗金 */
.custom-btn {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.3);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(255,215,0,0.1);
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255,215,0,0.2);
}
.custom-btn:active {
    transform: translateY(2px);
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255,215,0,0.5);
}

.version-intro-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.3);
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(255,193,7,0.1);
    transition: all 0.3s ease;
}
.version-intro-btn:active {
    transform: translateY(2px);
    background: rgba(255, 193, 7, 0.25);
}

.empty-tip {
    text-align: center;
    color: #b8a98f;
    font-size: 16px;
    padding: 30px 0;
    background: rgba(30,25,18,0.6);
    border-radius: 12px;
    border: 1px solid rgba(255,215,0,0.1);
    backdrop-filter: blur(10px);
}

/* 玻璃卡片 */
.feature-intro {
    background: rgba(35, 28, 18, 0.7);
    border-radius: 16px;
    padding: 20px 18px;
    margin-top: 20px;
    border: 1px solid rgba(255,215,0,0.15);
    backdrop-filter: blur(15px);
    scroll-margin-top: 20px;
}
.feature-intro h3 {
    font-size: 18px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
}
.feature-intro ul {
    list-style: none;
    padding: 0 10px;
}
.feature-intro li {
    font-size: 15px;
    color: #e0d5bc;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.feature-intro li:before {
    content: "✓";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 底部玻璃按钮栏 */
.footer-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 15px 15px;
    background: rgba(25,20,12,0.85);
    border-top: 1px solid rgba(255,215,0,0.15);
    backdrop-filter: blur(20px);
    z-index: 99;
    max-width: 450px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.footer-buttons::-webkit-scrollbar { display: none; }
.footer-btn {
    flex: 1;
    min-width: 120px;
    white-space: nowrap;
    padding: 0 15px;
    height: 48px;
    line-height: 48px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 15px rgba(255,215,0,0.08);
    transition: all 0.3s ease;
}
.footer-btn:active {
    transform: translateY(2px);
    background: rgba(255,215,0,0.22);
}

/* 弹窗 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    backdrop-filter: blur(8px);
}
.modal-content {
    background-color: rgba(30,24,16,0.95);
    border-radius: 16px;
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid rgba(255,215,0,0.2);
    padding-top: 10px;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.close-btn:active {
    background: rgba(255,215,0,0.3);
}
.modal-img {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    margin-top: 10px;
}
.modal-video {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 16px 16px 0 0;
    margin-top: 10px;
}
.video-title {
    padding: 12px;
    text-align: center;
    font-size: 16px;
    color: #ffd700;
    background: rgba(40,33,22,0.8);
}

/* 提示框 */
.tip-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(30,24,16,0.9);
    color: #ffd700;
    padding: 16px 22px;
    border-radius: 10px;
    font-size: 16px;
    z-index: 1001;
    display: none;
    border: 1px solid rgba(255,215,0,0.2);
    backdrop-filter: blur(8px);
}

/* 强制阅读弹窗 */
.force-read-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
}
.force-read-content {
    background-color: rgba(35,28,18,0.98);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.25);
}
.force-read-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255,215,0,0.2);
}
.force-read-text {
    font-size: 16px;
    color: #e0d5bc;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}
.countdown-text {
    font-size: 18px;
    color: #ffc107;
    font-weight: 600;
}

/* 玻璃简介框 */
.intro-box {
    background: rgba(35, 28, 18, 0.7);
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,215,0,0.15);
    text-align: center;
    backdrop-filter: blur(15px);
}
/* 侧边栏 */
.sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 10px;
    border-radius: 10px 0 0 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-item {
    color: #ffd700;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    color: #fff;
    transform: translateX(-5px);
}

/* 下滑小火箭 */
.scroll-to-bottom {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.scroll-to-bottom:hover {
    background-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
}

.scroll-to-bottom::before {
    content: '';
    width: 24px;
    height: 24px;
    border-right: 6px solid #000;
    border-bottom: 6px solid #000;
    transform: rotate(45deg);
}

/* 动画 */
@keyframes rocketBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.scroll-to-bottom.animate {
    animation: rocketBounce 1.2s infinite ease-in-out;
}
/* 右侧悬浮售后按钮 */
#floatServiceBtn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #a82a4f;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 14px 6px;
  border-radius: 10px 0 0 10px;
  font-size: 14px;
  z-index: 9998;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 售后弹窗样式（和你底部风格统一） */
#serviceModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999999 !important;
}
#serviceModal.show {
  display: block !important;
}

/* 弹窗内容居中 */
.serviceCard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  max-width: 360px;
  background: #2c2426; /* 复古暗底 → 不惨白了 */
  border: 3px solid #d4af37;
  border-radius: 20px;
  padding: 30px 20px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.serviceTitle {
  font-size: 22px;
  color: #f6d7e3;
  font-weight: bold;
  margin-bottom: 25px;
}

.serviceItem {
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: #3d2f33; /* 条目柔和深色 */
  border: 1px solid #b89299;
  border-radius: 12px;
  margin-bottom: 15px;
  text-align: left;
  padding: 0 15px;
  box-sizing: border-box;
}
.serviceItem img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 12px;
}
.serviceText {
  font-size: 16px;
  color: #f6d7e3; /* 文字柔和浅色 */
  vertical-align: middle;
}

/* 关闭按钮 */
.serviceClose {
  padding: 10px 28px;
  background: #a82a4f;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
}
/* 联系方式标签样式 */
.tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.tag-recommend {
  background: #e63946;
  color: #fff;
}
.tag-normal {
  background: #666;
  color: #fff;
}