:root {
  --bg-color: #f4fbf7;
  --text-main: #1a2b22;
  --text-muted: #5c7166;
  --brand-green: #34c759;
  --brand-green-hover: #2fb350;
  --brand-green-dark: #0d4a24;
  --dark-bg: #121e17;
  --dark-card: #1c2e24;
  --fruit-peach: #ff9a8b;
  --fruit-citrus: #ffb347;
  --fruit-currant: #6b4c9a;
  --fruit-blueberry: #4a90e2;
  --font-title: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-title);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Typography */
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { font-size: 1.125rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-green);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0 2rem;
  height: 56px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 16px rgba(52, 199, 89, 0.2);
}
.btn:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(52, 199, 89, 0.3);
}
.btn-sm {
  height: 44px;
  padding: 0 1.5rem;
  font-size: 1rem;
}
.btn-outline {
  background-color: transparent;
  color: var(--brand-green);
  border: 2px solid var(--brand-green);
  box-shadow: none;
}
.btn-outline:hover {
  background-color: rgba(52, 199, 89, 0.1);
  box-shadow: none;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(244, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 43, 34, 0.1);
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
}
.logo-wrap img { height: 36px; }
nav {
  display: none;
  flex: 1;
  margin: 0 2rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  display: inline-block;
  margin-right: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
nav a:hover, nav a.active { color: var(--text-main); }
nav a.active::after {
  content: "今日";
  position: absolute;
  top: -10px;
  right: -15px;
  font-size: 0.65rem;
  background-color: var(--brand-green);
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: normal;
}
.header-actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* Global Progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--brand-green);
  width: 0%;
  z-index: 101;
  transition: width 0.1s;
}

/* Sections */
section { padding: 6rem 5%; }
.section-header { margin-bottom: 3rem; max-width: 800px; }

/* Hero */
.hero {
  position: relative;
  padding-top: 4rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.hero-text h1 span { color: var(--brand-green); }
.hero-text p { margin: 1.5rem 0 2.5rem; font-size: 1.25rem; max-width: 90%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.trust-info {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Cup Cards */
.cup-card {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.cup-card:hover { transform: translateY(-10px) rotate(2deg); }
.cup-lid {
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px 10px 0 0;
  position: relative;
  z-index: 2;
}
.cup-straw {
  position: absolute;
  top: -30px;
  right: 30px;
  width: 8px;
  height: 50px;
  background-color: var(--fruit-peach);
  border-radius: 4px;
  transform: rotate(15deg);
  z-index: 1;
}
.cup-body {
  aspect-ratio: 3/4;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.cup-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cup-sticker {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-mono);
}
.cup-sticker .title { font-weight: bold; font-size: 0.9rem; margin-bottom: 4px; color: #000; }
.cup-sticker .meta { font-size: 0.7rem; color: #555; }
.cup-hook {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Hero specific layout */
.hero-main-cups {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.hero-main-cups::-webkit-scrollbar { display: none; }
.hero-rank {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.hero-rank h3 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.rank-list li img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.rank-list li .num { font-family: var(--font-mono); font-weight: bold; color: var(--brand-green); width: 15px; }
.rank-list li .info { flex: 1; }
.rank-list li .info div:first-child { font-weight: bold; color: var(--text-main); }
.rank-list li .info div:last-child { font-size: 0.75rem; color: var(--text-muted); }
.rank-list li .heat { font-size: 0.75rem; color: #ff5e5e; font-family: var(--font-mono); }

/* Dark Section */
.dark-section {
  background-color: var(--dark-bg);
  color: #fff;
}
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: #a0b0a5; }
.dark-section .btn { background-color: var(--brand-green); color: #fff; }

/* AI vs Comic */
.split-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.compare-side { text-align: center; }
.compare-side h3 { color: var(--text-main); margin-top: 1rem; }
.compare-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--brand-green);
}

/* Magic Section */
.magic-timeline {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.date-card {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}
.date-tag {
  display: inline-block;
  background: var(--brand-green);
  color: var(--dark-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: bold;
  margin-bottom: 1rem;
}
.magic-desc {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #fff !important;
}

/* Genres */
.genre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.genre-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.genre-card:hover { transform: translateY(-5px); }
.genre-card.peach { border-top: 8px solid var(--fruit-peach); }
.genre-card.citrus { border-top: 8px solid var(--fruit-citrus); }
.genre-card.currant { border-top: 8px solid var(--fruit-currant); }
.genre-card.blueberry { border-top: 8px solid var(--fruit-blueberry); }
.genre-card h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.genre-cups {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
}
.genre-cups img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }

/* Rhythm */
.rhythm-wave {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin: 2rem 0;
  overflow-x: auto;
}
.wave-bar {
  width: 20px;
  background-color: var(--brand-green);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.wave-bar:nth-child(even) { height: 60%; opacity: 0.7; }
.wave-bar:nth-child(odd) { height: 100%; }
.wave-bar:hover::after {
  content: attr(data-label);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
}
.big-data { display: flex; gap: 3rem; margin-top: 2rem; }
.data-item .num { font-size: 3rem; font-weight: 800; font-family: var(--font-mono); color: var(--text-main); line-height: 1; }
.data-item .label { font-size: 0.9rem; color: var(--text-muted); }

/* Theater */
.theater-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.calendar-sheet {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-left: 8px solid var(--fruit-peach);
}
.calendar-sheet h3 { font-family: var(--font-mono); font-size: 3rem; margin-bottom: 1rem; }
.schedule-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed #eee;
}
.schedule-list img { width: 50px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.schedule-list .info { flex: 1; }
.schedule-list .btn-sm { height: 32px; font-size: 0.875rem; padding: 0 1rem; }

/* Rankings */
.rank-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.rank-col h3 { margin-bottom: 1.5rem; border-bottom: 2px solid var(--brand-green); display: inline-block; padding-bottom: 0.5rem; }
.rank-col li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.rank-col li img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }

/* Receipts */
.receipts-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.receipt {
  background: #fff;
  padding: 1.5rem;
  width: 260px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.05);
  border-radius: 4px;
  position: relative;
  transform: rotate(-2deg);
}
.receipt:nth-child(even) { transform: rotate(2deg); }
.receipt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-image: radial-gradient(circle, transparent 50%, #fff 50%);
  background-size: 10px 10px;
  background-position: bottom;
  background-repeat: repeat-x;
}
.receipt-header { border-bottom: 1px dashed #ccc; padding-bottom: 0.5rem; margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.receipt-line { margin-bottom: 0.5rem; }
.receipt-line span { float: right; }
.receipt-footer { text-align: center; margin-top: 1rem; font-size: 0.75rem; color: #888; }

/* Interactive */
.shaker-box {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.shaker-results { display: flex; gap: 1rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.faq-title-v { font-size: 3rem; font-weight: 800; writing-mode: vertical-rl; letter-spacing: 0.2em; color: var(--brand-green); }
.faq-list details {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  cursor: pointer;
}
.faq-list summary { font-weight: 700; font-size: 1.125rem; outline: none; }
.faq-list p { margin-top: 1rem; font-size: 1rem; }

/* Final CTA */
.final-cta {
  background-color: var(--brand-green);
  text-align: center;
  color: #fff;
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { font-size: 3rem; margin-bottom: 2rem; }
.final-cup {
  width: 280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.final-cup .cup-body { border-radius: 20px; border: 4px solid #fff; }
.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  margin: 1rem auto 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  font-weight: bold;
  font-size: 0.8rem;
}

/* Footer */
footer {
  background: #f4fbf7;
  padding: 4rem 5% 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid #e0e0e0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

/* Mobile Bottom Bar */
.mobile-download-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 99;
  display: flex;
  justify-content: center;
}

/* Media Queries */
@media (min-width: 768px) {
  nav { display: flex; }
  .menu-toggle { display: none; }
  .hero-content { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-main-cups { flex-wrap: wrap; overflow: visible; }
  .split-compare { grid-template-columns: 1fr auto 1fr; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .theater-layout { grid-template-columns: 300px 1fr; }
  .rank-tables { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: auto 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-download-bar { display: none; }
  .hero { padding-bottom: 8rem; }
}

@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 4fr 8fr; }
  .genre-grid { grid-template-columns: repeat(4, 1fr); }
  .rank-tables { grid-template-columns: repeat(3, 1fr); }
  .hero { display: flex; flex-direction: row; gap: 4rem; }
  .hero-text { flex: 1; }
  .hero-visual { flex: 2; display: grid; grid-template-columns: 3fr 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}