:root {
  --bg-cream: #fff8f6;
  --primary-red: #ff3b42;
  --accent-green: #3fa62e;
  --bg-pink: #ffe8e0;
  --panel-white: #ffffff;
  --panel-soft: #fff4ef;
  --text-main: #2a1214;
  --text-sub: #8a6b6b;
  --text-light: #b39a9a;
  --line-color: rgba(255,59,66,.22);
  --mono: 'Courier New', Courier, monospace;
  --sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-cream); color: var(--text-main); font-family: var(--sans); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: contain; background-color: var(--bg-pink); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
.site-header { background: rgba(255,248,246,0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line-color); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; }
.logo-area img { height: 32px; width: auto; border-radius: 4px; background: transparent; }
.logo-area span { color: var(--primary-red); }
.nav-links { display: none; gap: 24px; font-size: 15px; color: var(--text-sub); }
.nav-links a:hover { color: var(--primary-red); }
.btn-download { background: var(--primary-red); color: #fff; padding: 8px 18px; border-radius: var(--radius); font-size: 14px; font-weight: bold; transition: transform .2s; }
.btn-download:hover { transform: scale(1.05); }

/* Section Common */
section { padding: 60px 0; }
.sec-title { font-size: 28px; margin-bottom: 12px; text-align: center; }
.sec-desc { font-size: 16px; color: var(--text-sub); text-align: center; margin-bottom: 40px; }

/* Hero Section */
.hero { padding: 40px 0; display: flex; flex-direction: column; gap: 40px; }
.hero-text { text-align: center; }
.badge-lab { display: inline-flex; align-items: center; gap: 8px; background: var(--panel-soft); border: 1px solid var(--line-color); padding: 6px 14px; border-radius: 20px; font-family: var(--mono); font-size: 13px; color: var(--primary-red); margin-bottom: 20px; }
.badge-lab::before { content: ''; width: 8px; height: 8px; background: var(--primary-red); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.hero h1 { font-size: 36px; line-height: 1.3; margin-bottom: 16px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.tag { font-family: var(--mono); font-size: 13px; background: var(--bg-pink); color: var(--primary-red); padding: 4px 10px; border-radius: 4px; }
.hero-lab { background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 12px; padding: 20px; box-shadow: 0 10px 30px rgba(255,59,66,0.05); position: relative; overflow: hidden; }
.hero-lab::before { content: ''; position: absolute; top: -50px; left: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255,59,66,0.15), transparent 70%); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.compare-card { border: 1px solid var(--line-color); border-radius: 8px; overflow: hidden; background: var(--panel-soft); }
.compare-card img { width: 100%; aspect-ratio: 2/3; }
.compare-label { text-align: center; font-size: 13px; padding: 6px; background: var(--panel-white); border-top: 1px solid var(--line-color); font-family: var(--mono); }
.progress-area { margin-top: 20px; font-family: var(--mono); font-size: 13px; }
.progress-text { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--text-sub); }
.progress-bar { width: 100%; height: 8px; background: var(--bg-pink); border-radius: 4px; overflow: hidden; }
.progress-inner { height: 100%; background: linear-gradient(90deg, var(--primary-red), var(--accent-green)); width: 25%; transition: width 0.3s ease; }

/* Genres */
.genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.genre-card { background: var(--panel-white); border: 1px solid var(--line-color); padding: 12px; border-radius: 8px; display: flex; gap: 12px; align-items: center; }
.genre-card img { width: 60px; height: 80px; border-radius: 4px; object-fit: contain; background: var(--bg-pink); }
.genre-info h3 { font-size: 16px; margin-bottom: 4px; }
.genre-info span { font-family: var(--mono); font-size: 12px; color: var(--primary-red); }

/* How To */
.step-grid { display: flex; flex-direction: column; gap: 20px; }
.step-card { background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.step-card img { width: 100%; height: 200px; object-fit: contain; background: var(--bg-pink); }
.step-content { padding: 20px; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--accent-green); font-weight: bold; margin-bottom: 8px; }
.step-content h3 { font-size: 18px; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--text-sub); }

/* Ranking */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-row { display: flex; align-items: center; background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 8px; padding: 12px; gap: 16px; }
.rank-no { font-family: var(--mono); font-size: 20px; font-weight: bold; color: var(--text-light); width: 30px; text-align: center; }
.rank-row:nth-child(1) .rank-no { color: var(--primary-red); }
.rank-row:nth-child(2) .rank-no { color: #ff8a00; }
.rank-row:nth-child(3) .rank-no { color: #ffb800; }
.rank-row img { width: 48px; height: 64px; border-radius: 4px; object-fit: contain; background: var(--bg-pink); }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 15px; margin-bottom: 4px; }
.heat-bar { height: 6px; background: var(--bg-pink); border-radius: 3px; overflow: hidden; width: 100%; max-width: 200px; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--accent-green), var(--primary-red)); border-radius: 3px; }

/* Library */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.filter-btn { background: var(--panel-white); border: 1px solid var(--line-color); padding: 6px 16px; border-radius: 20px; font-size: 14px; cursor: pointer; color: var(--text-sub); }
.filter-btn.active { background: var(--primary-red); color: #fff; border-color: var(--primary-red); }
.library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lib-card { background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 8px; overflow: hidden; position: relative; }
.lib-card img { width: 100%; aspect-ratio: 2/3; object-fit: contain; background: var(--bg-pink); }
.sc-badge { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,0.9); color: var(--primary-red); font-family: var(--mono); font-size: 12px; padding: 2px 6px; border-radius: 4px; font-weight: bold; }
.lib-title { padding: 10px; font-size: 14px; font-weight: bold; text-align: center; }

/* Wishlist */
.wishlist-grid { display: flex; flex-direction: column; gap: 16px; }
.wish-card { background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 8px; padding: 16px; display: flex; align-items: center; gap: 16px; }
.wish-card img { width: 60px; height: 80px; border-radius: 4px; object-fit: contain; background: var(--bg-pink); }
.wish-info { flex: 1; }
.wish-info h3 { font-size: 16px; margin-bottom: 8px; }
.wish-progress { margin-bottom: 8px; }
.wish-progress span { font-family: var(--mono); font-size: 12px; color: var(--text-sub); display: block; margin-bottom: 4px; }
.wish-bar { height: 6px; background: var(--bg-pink); border-radius: 3px; overflow: hidden; width: 100%; }
.wish-fill { height: 100%; background: var(--primary-red); width: 50%; }
.btn-wish { background: var(--bg-pink); color: var(--primary-red); border: none; padding: 8px 16px; border-radius: var(--radius); font-size: 14px; cursor: pointer; font-weight: bold; }
.btn-wish.active { background: var(--primary-red); color: #fff; }

/* Vertical Experience */
.phone-wall { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.phone-wall::-webkit-scrollbar { display: none; }
.phone-frame { flex: 0 0 auto; width: 200px; scroll-snap-align: center; background: var(--panel-white); padding: 8px; border-radius: 16px; border: 1px solid var(--line-color); }
.phone-frame img { border-radius: 10px; object-fit: contain; background: var(--bg-pink); width: 100%; aspect-ratio: 9/16; }

/* Reviews */
.rating-header { text-align: center; margin-bottom: 24px; }
.rating-score { font-family: var(--mono); font-size: 48px; font-weight: bold; color: var(--primary-red); }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card { background: var(--panel-white); border: 1px solid var(--line-color); border-radius: 8px; padding: 16px; }
.review-user { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: var(--text-sub); }
.review-text { font-size: 14px; color: var(--text-main); line-height: 1.5; }
.likes { font-family: var(--mono); font-size: 12px; color: var(--primary-red); }

/* CTA */
.cta-section { padding: 40px 0; text-align: center; }
.cta-box { background: var(--panel-white); border-top: 4px solid var(--primary-red); border-bottom: 4px solid var(--accent-green); border-radius: 12px; padding: 40px 20px; box-shadow: 0 10px 30px rgba(255,59,66,0.08); }
.cta-box h2 { font-size: 28px; margin-bottom: 12px; }
.cta-box p { font-size: 16px; color: var(--text-sub); margin-bottom: 24px; }
.btn-large { display: inline-block; background: var(--primary-red); color: #fff; padding: 14px 40px; border-radius: 30px; font-size: 18px; font-weight: bold; }

/* Footer */
.site-footer { background: var(--panel-soft); border-top: 1px solid var(--line-color); padding: 30px 0; font-size: 13px; color: var(--text-light); text-align: center; }
.footer-links { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-links a { color: var(--text-sub); }
.about-details { display: block; margin-top: 16px; }
.about-details summary { cursor: pointer; color: var(--text-sub); display: inline-block; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero { flex-direction: row; align-items: center; text-align: left; }
  .hero-text { flex: 1; text-align: left; }
  .hero-tags { justify-content: flex-start; }
  .hero-lab { flex: 1; }
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { flex-direction: row; }
  .step-card { flex: 1; }
  .library-grid { grid-template-columns: repeat(4, 1fr); }
  .wishlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .genre-grid { grid-template-columns: repeat(6, 1fr); }
  .library-grid { grid-template-columns: repeat(6, 1fr); }
  .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .phone-wall { justify-content: center; }
}