:root {
  --bg: #FDFBF7;
  --blue: #2B6CB0;
  --light-blue: #EBF8FF;
  --pink: #FBB6CE;
  --white: #FFFFFF;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --border: #E8E3DA;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(43, 108, 176, 0.05);
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-title: 'Kaiti SC', 'STKaiti', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(#e5ded4 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--blue); transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--font-title);
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
  text-align: center;
  font-weight: bold;
}
.section-desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 15px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 36px; width: auto; border-radius: 50%; }
.logo-text { font-family: var(--font-title); font-size: 22px; font-weight: bold; color: var(--blue); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--blue); font-size: 15px; padding: 6px 10px; border-radius: 8px; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--light-blue); transition: width 0.3s;
}
.nav-links a:hover { background: #F7F9FC; }
.nav-links a:hover::after { width: 80%; }

/* Hero */
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; max-width: 540px; position: relative; z-index: 2; }
.hero-tag { display: inline-block; background: var(--light-blue); color: var(--blue); padding: 6px 16px; border-radius: 20px; font-size: 14px; margin-bottom: 20px; font-weight: bold; }
.hero-title { font-family: var(--font-title); font-size: 42px; color: var(--blue); line-height: 1.3; margin-bottom: 20px; font-weight: bold; }
.hero-subtitle { font-size: 16px; color: var(--text-light); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 30px; font-size: 16px; font-weight: bold; text-align: center; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2); }
.btn-primary:hover { background: #1F4F85; }
.btn-secondary { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--light-blue); }
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.hero-visual img { max-width: 400px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Calendar & Achievements */
.calendar-section { padding: 60px 0; }
.cal-layout { display: flex; gap: 30px; flex-wrap: wrap; }
.cal-left { flex: 2; min-width: 300px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; }
.cal-day { padding: 10px 5px; border-radius: 12px; background: var(--bg); font-size: 13px; color: var(--text-light); }
.cal-day.today { background: var(--blue); color: var(--white); }
.cal-day .day-title { font-weight: bold; margin-bottom: 5px; display: block; }
.cal-right { flex: 1; min-width: 280px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.achieve-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.badge { background: var(--light-blue); color: var(--blue); padding: 6px 12px; border-radius: 20px; font-size: 13px; }
.progress-wrap { margin-bottom: 20px; }
.progress-bar { background: #F0F0F0; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 8px; }
.progress-inner { background: var(--pink); height: 100%; width: 80%; border-radius: 5px; }
.checkin-tip { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* Gallery Grid */
.gallery-section { padding: 60px 0; background: #FCFAF5; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; position: relative; }
.card:hover { transform: translateY(-5px); }
.card-img-wrap { width: 100%; height: 200px; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; top: 12px; left: 12px; background: rgba(43, 108, 176, 0.8); color: #fff; padding: 4px 10px; border-radius: 12px; font-size: 12px; backdrop-filter: blur(4px); }
.card-info { padding: 16px; }
.card-title { font-size: 16px; font-weight: bold; color: var(--text); margin-bottom: 8px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-light); }
.card-score { color: var(--pink); font-weight: bold; font-size: 15px; }

/* Image Text Block */
.img-text-block { padding: 60px 0; }
.img-text-inner { display: flex; gap: 40px; align-items: center; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); flex-wrap: wrap; }
.img-text-img { flex: 1; min-width: 300px; }
.img-text-img img { border-radius: 12px; object-fit: cover; width: 100%; max-height: 400px; }
.img-text-content { flex: 1; min-width: 300px; }
.img-text-content h3 { color: var(--blue); font-size: 22px; margin-bottom: 16px; font-family: var(--font-title); }
.img-text-content p { color: var(--text-light); font-size: 15px; line-height: 1.8; }

/* Blind Box */
.blindbox-section { padding: 60px 0; }
.blindbox-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.flip-card { width: 200px; height: 280px; perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.flip-front { background: var(--light-blue); display: flex; align-items: center; justify-content: center; font-size: 50px; color: var(--blue); }
.flip-back { background: var(--white); transform: rotateY(180deg); }
.flip-back img { width: 100%; height: 100%; object-fit: cover; }

/* Community Bubbles */
.community-section { padding: 60px 0; background: #FCFAF5; }
.bubbles-wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.bubble { background: var(--white); padding: 16px 24px; border-radius: 20px; box-shadow: var(--shadow); font-size: 15px; color: var(--text); position: relative; transition: transform 0.3s; cursor: default; max-width: 350px; }
.bubble:hover { transform: scale(1.05); }
.bubble::before { content: ''; position: absolute; bottom: -10px; left: 20px; border-width: 10px 10px 0; border-style: solid; border-color: var(--white) transparent transparent transparent; }
.bubble-like { display: none; margin-top: 8px; font-size: 12px; color: var(--pink); }
.bubble:hover .bubble-like { display: block; }

/* Timeline */
.timeline-section { padding: 60px 0; }
.timeline-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.timeline-col { background: var(--white); border-radius: 12px; padding: 15px; box-shadow: var(--shadow); font-size: 13px; }
.timeline-col.today { background: var(--light-blue); border: 2px solid var(--blue); }
.timeline-head { font-weight: bold; text-align: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); color: var(--blue); }
.timeline-item { margin-bottom: 8px; color: var(--text-light); display: flex; justify-content: space-between; align-items: center; }
.timeline-item .plus { color: var(--blue); cursor: pointer; font-weight: bold; padding: 0 4px; }

/* Live & Rank */
.live-rank-section { padding: 60px 0; }
.live-rank-layout { display: flex; gap: 30px; flex-wrap: wrap; }
.live-box, .rank-box { flex: 1; min-width: 300px; background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.live-list { list-style: none; }
.live-list li { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bg); font-size: 14px; }
.live-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 12px; flex-shrink: 0; }
.rank-list { list-style: none; }
.rank-list li { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--bg); }
.rank-medal { font-size: 20px; margin-right: 12px; color: var(--pink); }
.rank-title { font-size: 15px; font-weight: bold; }
.rank-score { color: var(--pink); font-weight: bold; }

/* FAQ & Download */
.faq-download-section { padding: 60px 0; background: #FCFAF5; }
.faq-download-layout { display: flex; gap: 30px; flex-wrap: wrap; }
.download-box { flex: 1; min-width: 300px; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.download-box h2 { font-family: var(--font-title); color: var(--blue); font-size: 24px; margin-bottom: 16px; }
.download-box p { color: var(--text-light); margin-bottom: 20px; font-size: 15px; }
.download-btns { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.download-btns .btn { flex: 1; }
.version-info { font-size: 13px; color: var(--text-light); }
.faq-box { flex: 1; min-width: 300px; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-box details { margin-bottom: 12px; border-bottom: 1px solid var(--bg); padding-bottom: 12px; }
.faq-box summary { font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); font-size: 15px; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: '+'; color: var(--blue); font-size: 20px; font-weight: normal; }
.faq-box details[open] summary::after { content: '-'; }
.faq-box details p { margin-top: 12px; color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* Floating Button */
.float-btn {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(43, 108, 176, 0.3);
  animation: breathe 2.5s infinite ease-in-out;
  text-decoration: none;
}
.float-btn::after { content: '↓'; color: var(--blue); font-size: 28px; font-weight: bold; line-height: 1; }
.float-btn:hover { animation: none; background: var(--light-blue); }
@keyframes breathe {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(43, 108, 176, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(43, 108, 176, 0.5); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(43, 108, 176, 0.2); }
}

/* Footer */
.site-footer { background: var(--bg); padding: 40px 20px 20px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--text-light); }
.footer-links { margin: 15px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-links a { color: var(--text-light); }
.footer-links a:hover { color: var(--blue); }
.footer-about { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
.footer-about summary { font-size: 13px; color: var(--text-light); cursor: pointer; list-style: none; display: inline-block; outline: none; }
.footer-about summary::-webkit-details-marker { display: none; }
.footer-about .about-content { font-size: 12px; color: #999; margin-top: 10px; line-height: 1.8; }
.footer-about .about-content a { font-size: 12px; color: #999; margin: 0 5px; }
.footer-about .about-content a:hover { color: var(--blue); }
.copyright { margin-top: 20px; font-size: 12px; color: #999; line-height: 2; }
.copyright a { color: #999; }
.copyright a:hover { color: var(--blue); }
.time-update { font-size: 12px; color: #bbb; margin-top: 5px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero-inner { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 280px; }
  .hero-title { font-size: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-week { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 24px; }
  .blindbox-grid { flex-direction: column; align-items: center; }
  .img-text-inner { flex-direction: column; }
  .faq-download-layout { flex-direction: column; }
  .float-btn { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .float-btn::after { font-size: 22px; }
  .timeline-item { flex-wrap: wrap; gap: 4px; }
}