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

html, body, #app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.page {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* ---- 顶部 Header ---- */
.top-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  height: 64px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.header-icon-btn img {
  width: 27.8px;
  height: auto;
}

/* ---- 轮播（占满 header 和 CTA 之间） ---- */
.fullscreen-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- 底部 CTA ---- */
.cta-section {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px 24px;
}

.cta-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 44px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e51845, #ff6b9d);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(229,24,69,0.5);
}

/* ---- 动画 ---- */
@keyframes colorFlash {
  0%   { color: #ff4444; }
  16%  { color: #ff9900; }
  33%  { color: #ffee00; }
  50%  { color: #44ff44; }
  66%  { color: #44ccff; }
  83%  { color: #cc44ff; }
  100% { color: #ff4444; }
}

.flash-text {
  animation: colorFlash 1.2s linear infinite;
  font-weight: 700;
}

@keyframes borderFlash {
  0%   { border-color: #ff4444; color: #ff4444; }
  16%  { border-color: #ff9900; color: #ff9900; }
  33%  { border-color: #ffee00; color: #ffee00; }
  50%  { border-color: #44ff44; color: #44ff44; }
  66%  { border-color: #44ccff; color: #44ccff; }
  83%  { border-color: #cc44ff; color: #cc44ff; }
  100% { border-color: #ff4444; color: #ff4444; }
}

.header-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.75;
  color: #fff;
  /* animation: colorFlash 1.2s linear infinite; */
}
