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

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #fff5f8;
  color: #3d2b33;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* 大幅动漫背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/Snap16677.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.09;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,245,248,0.82) 0%, rgba(255,240,246,0.9) 100%);
  z-index: -1;
  pointer-events: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ffd6e4;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #e63e7b;
  flex-shrink: 0;
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: #ffd6e4;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  color: #c22a63;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 14px;
}

.nav-links a {
  color: #6b4a56;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover {
  color: #e63e7b;
  border-color: #e63e7b;
}

.nav-links.collapsed { display: none; }

/* 首屏 */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 18px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-text h1 {
  font-size: 34px;
  line-height: 1.35;
  color: #c22a63;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-text .lead {
  font-size: 15.5px;
  color: #5d4550;
  margin-bottom: 12px;
}

.hero-text .lead strong { color: #e63e7b; }

.download-btn {
  display: inline-block;
  margin-top: 22px;
  background: #ffd23f;
  color: #6b3a00;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 34px;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(255, 190, 40, 0.42);
  transition: transform .18s, box-shadow .18s;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 190, 40, 0.55);
}

.update-time {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: #a08690;
}

/* 轮播 */
.hero-carousel {
  position: relative;
  background: #fff;
  border: 3px solid #ffd6e4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(230, 62, 123, 0.16);
}

.carousel-track {
  display: flex;
  transition: transform .5s ease;
}

.carousel-track .slide {
  min-width: 100%;
  position: relative;
}

.carousel-track img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active { background: #e63e7b; }

/* 滚动横幅 */
.ticker {
  background: linear-gradient(90deg, #ffd6e4, #ffe9f1);
  border-top: 1px solid #ffc4da;
  border-bottom: 1px solid #ffc4da;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.ticker-track {
  display: inline-block;
  animation: scrollLeft 26s linear infinite;
  font-size: 14px;
  color: #a83a63;
  font-weight: 600;
}

.ticker-track span { margin: 0 30px; }

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 区块通用 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 18px;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 25px;
  color: #c22a63;
  letter-spacing: 1px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: #ffd23f;
  border-radius: 3px;
  margin: 10px auto 0;
}

.section-head p {
  font-size: 14px;
  color: #8a6d78;
  margin-top: 10px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(230, 62, 123, 0.1);
  border: 1px solid #ffe1ec;
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(230, 62, 123, 0.2);
}

.thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s;
}

.card:hover .thumb img { transform: scale(1.05); }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.card-body { padding: 10px 11px 13px; }

.card-body .title {
  font-size: 14px;
  font-weight: 700;
  color: #b3305f;
  margin-bottom: 5px;
}

.card-body .desc {
  font-size: 12.5px;
  color: #7d5f6a;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a86a80;
  margin-top: 7px;
}

.meta-row .badge {
  background: #ffe9f1;
  color: #d43a75;
  border-radius: 6px;
  padding: 1px 7px;
}

/* 私藏区 */
.private-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.private-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ffe1ec;
  box-shadow: 0 6px 16px rgba(230, 62, 123, 0.08);
}

.private-item .thumb img { height: 210px; }

.private-item .caption {
  padding: 10px;
  font-size: 12.5px;
  color: #7d5f6a;
  line-height: 1.55;
}

/* 历史 */
.history-box {
  background: #fff;
  border: 1px solid #ffe1ec;
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 8px 22px rgba(230, 62, 123, 0.09);
  font-size: 15px;
  color: #57414b;
}

.history-box h3 {
  font-size: 18px;
  color: #c22a63;
  margin-bottom: 12px;
}

.history-box p { margin-bottom: 12px; }

/* 常见问题 */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid #ffe1ec;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #a82c5e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.faq-q::after {
  content: "+";
  font-size: 20px;
  color: #e63e7b;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  padding: 0 18px 15px;
  font-size: 14px;
  color: #6d5560;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* 评论 */
.comment-wrap { max-width: 860px; margin: 0 auto; }

.comment-form textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid #ffc4da;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #3d2b33;
  resize: vertical;
  outline: none;
}

.comment-form textarea:focus { border-color: #e63e7b; }

.comment-form .form-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.submit-btn {
  background: #e63e7b;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.comment-list { margin-top: 22px; }

.comment-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #ffe1ec;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.comment-item .avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-item .c-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #b3305f;
}

.comment-item .c-text {
  font-size: 14px;
  color: #6d5560;
  margin-top: 3px;
}

/* 页脚 */
.site-footer {
  background: #fff0f5;
  border-top: 1px solid #ffd6e4;
  padding: 28px 18px 34px;
  text-align: center;
  font-size: 12.5px;
  color: #a08690;
  line-height: 1.9;
}

.site-footer a { color: #a08690; }
.site-footer a:hover { color: #e63e7b; }

/* 弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(60, 25, 40, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-mask.show { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(150, 30, 80, 0.3);
}

.modal-box p {
  font-size: 15px;
  color: #573b47;
  margin-bottom: 18px;
}

.modal-box .modal-btn {
  display: inline-block;
  background: #ffd23f;
  color: #6b3a00;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 30px;
  font-size: 15px;
}

/* 桃花 */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.petal {
  position: absolute;
  top: -30px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #ffc0d6, #ff8ab5);
  border-radius: 80% 0 80% 0;
  opacity: 0.75;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-30px) rotate(0deg); }
  100% { transform: translateY(105vh) rotate(360deg); }
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-text h1 { font-size: 28px; }
  .carousel-track img { height: 350px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .private-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; width: 100%; }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-top: 26px; }
  .hero-text { order: 1; }
  .hero-carousel { order: 2; }
  .hero-text h1 { font-size: 24px; }
  .carousel-track img { height: 300px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .private-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .thumb img { height: 190px; }
  .private-item .thumb img { height: 180px; }
  .section { padding: 34px 14px; }
  .section-head h2 { font-size: 21px; }
  .history-box { padding: 22px 18px; }
}