:root{
  --bg: #f2fbf9;
  --mint: #dff4ef;
  --green: #00a892;
  --green-dark: #007a6b;
  --ink: #16292a;
  --ink-light: #4a6b68;
  --peach: #ff9e8e;
  --citrus: #ffb732;
  --currant: #6b4c7a;
  --blueberry: #4a7ebb;
  --dark-bg: #102220;
  --dark-ink: #d1e8e3;
  --mono: "Courier New", Courier, monospace;
  --radius: 20px;
}
*{ box-sizing: border-box; margin: 0; padding: 0; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4{ font-weight: 900; line-height: 1.2; }
a{ text-decoration: none; color: inherit; }
img{ display: block; max-width: 100%; }
#progress-bar{
  position: fixed; top: 0; left: 0; height: 3px; background: var(--green); width: 0%; z-index: 9999;
  transition: width 0.1s;
}
header{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(242, 251, 249, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--mint);
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-area{ display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; }
.logo-area img{ height: 34px; width: auto; }
.nav-links{ display: none; gap: 12px; font-size: 0.85rem; font-weight: bold; overflow-x: auto; white-space: nowrap; }
.nav-links a{ padding: 4px 8px; border-radius: 8px; transition: background 0.2s; }
.nav-links a:hover{ background: var(--mint); }
.btn-download{
  background: var(--green); color: #fff; padding: 10px 20px; border-radius: 30px;
  font-weight: bold; display: flex; align-items: center; gap: 8px; height: 44px;
  transition: transform 0.2s, background 0.2s;
}
.btn-download:hover{ background: var(--green-dark); transform: translateY(-2px); }
.container{ max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.hero{ display: flex; flex-direction: column; gap: 40px; }
.hero-text{ flex: 1; }
.hero h1{ font-size: 2.4rem; margin-bottom: 16px; color: var(--ink); }
.hero p{ font-size: 1.1rem; color: var(--ink-light); margin-bottom: 24px; }
.hero-btns{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-btns a{ padding: 12px 24px; border-radius: 30px; font-weight: bold; text-align: center; }
.btn-primary{ background: var(--green); color: #fff; }
.btn-secondary{ background: #fff; color: var(--green); border: 2px solid var(--green); }
.trust-info{ font-size: 0.85rem; color: var(--ink-light); display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--mono); }
.hero-visual{ flex: 2; display: flex; flex-direction: column; gap: 24px; }
.cup-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.cup-card{ position: relative; text-align: center; transition: transform 0.3s; }
.cup-card:hover{ transform: translateY(-5px) rotate(1deg); }
.cup-body{ aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.cup-body img{ width: 100%; height: 100%; object-fit: cover; }
.cup-label{ position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.92); padding: 8px; font-size: 0.8rem; font-weight: bold; text-align: left; }
.cup-label .tag{ font-size: 0.7rem; color: var(--ink-light); font-weight: normal; display: block; }
section{ padding: 60px 0; }
section h2{ font-size: 1.9rem; margin-bottom: 32px; text-align: center; }
.section-desc{ text-align: center; color: var(--ink-light); margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; }
.ai-comic-wrap{ display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; }
.ai-comic-card{ flex: 1; max-width: 300px; text-align: center; }
.ai-comic-card .cup-body{ margin-bottom: 16px; }
.ai-comic-card h3{ font-size: 1.2rem; margin-bottom: 8px; }
.ai-comic-card ul{ list-style: none; padding: 0; font-size: 0.9rem; color: var(--ink-light); }
.ai-comic-card li{ margin-bottom: 6px; }
.switch{ width: 50px; height: 28px; background: var(--green); border-radius: 14px; position: relative; cursor: pointer; margin: 0 auto; flex: none; }
.switch::after{ content: ''; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform 0.3s; }
.switch.active::after{ transform: translateX(22px); }
.dark-section{ background: var(--dark-bg); color: var(--dark-ink); }
.dark-section h2,.dark-section h3{ color: #fff; }
.dark-section .section-desc{ color: var(--dark-ink); }
.magic-row{ display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.magic-card{ width: 200px; text-align: center; }
.magic-card .cup-body{ margin-bottom: 12px; }
.magic-date{ font-family: var(--mono); font-size: 0.8rem; background: #fff; color: var(--dark-bg); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.magic-desc{ font-size: 0.85rem; color: var(--dark-ink); margin-top: 8px; }
.btn-outline{ border: 1px solid var(--green); color: var(--green); padding: 10px 24px; border-radius: 30px; background: transparent; display: inline-block; margin-top: 20px; cursor: pointer; font-weight: bold; transition: background 0.2s; }
.btn-outline:hover{ background: var(--green); color: #fff; }
.genres-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.genre-box{ padding: 24px; border-radius: var(--radius); transition: transform 0.3s; }
.genre-box:hover{ transform: scale(1.02); }
.genre-box h3{ font-size: 1.4rem; margin-bottom: 8px; }
.genre-box p{ font-size: 0.9rem; margin-bottom: 16px; }
.genre-cups{ display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.genre-cups .cup-body{ min-width: 100px; }
.genre-cups .cup-body img{ border-radius: 8px; }
.rhythm-wrap{ display: flex; flex-direction: column; gap: 32px; align-items: center; }
.waveform{ display: flex; gap: 4px; align-items: flex-end; height: 100px; width: 100%; max-width: 600px; }
.bar{ flex: 1; background: var(--green); border-radius: 4px 4px 0 0; transition: height 0.3s; }
.bar:nth-child(1){ height: 20%; }
.bar:nth-child(2){ height: 40%; }
.bar:nth-child(3){ height: 60%; }
.bar:nth-child(4){ height: 80%; }
.bar:nth-child(5){ height: 50%; }
.bar:nth-child(6){ height: 100%; }
.bar:nth-child(7){ height: 70%; }
.bar:nth-child(8){ height: 30%; }
.rhythm-stats{ font-size: 1.8rem; font-family: var(--mono); font-weight: bold; color: var(--green-dark); text-align: center; }
.theater-wrap{ display: flex; flex-direction: column; gap: 32px; }
.calendar{ background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); text-align: center; }
.calendar-date{ font-size: 2.6rem; font-family: var(--mono); font-weight: bold; color: var(--green); }
.theater-schedule{ display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.ranking-wrap{ display: flex; gap: 24px; flex-wrap: wrap; }
.ranking-col{ flex: 1; min-width: 280px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.rank-list{ list-style: none; }
.rank-list li{ display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mint); }
.rank-num{ font-family: var(--mono); font-size: 1.2rem; font-weight: bold; color: var(--ink-light); width: 24px; flex: none; }
.rank-list li:nth-child(1) .rank-num{ color: var(--citrus); font-size: 1.5rem; }
.rank-list li:nth-child(2) .rank-num{ color: #c0c0c0; font-size: 1.4rem; }
.rank-list li:nth-child(3) .rank-num{ color: #cd7f32; font-size: 1.3rem; }
.rank-cover{ width: 40px; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; flex: none; }
.rank-cover img{ width: 100%; height: 100%; object-fit: cover; }
.rank-info{ flex: 1; }
.rank-info h4{ font-size: 0.95rem; }
.rank-info p{ font-size: 0.75rem; color: var(--ink-light); }
.receipts{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.receipt{ background: #fff; padding: 20px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: var(--mono); border-bottom: 4px dashed var(--mint); }
.mix-bar{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.flavor-btn{ padding: 10px 20px; border: 2px solid var(--green); border-radius: 20px; background: transparent; cursor: pointer; font-weight: bold; transition: all 0.2s; color: var(--ink); }
.flavor-btn.active{ background: var(--green); color: #fff; }
.faq-wrap{ display: flex; gap: 32px; flex-direction: column; }
.faq-list{ flex: 1; }
.faq-item{ border-bottom: 1px solid var(--mint); padding: 16px 0; }
.faq-q{ font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a{ display: none; margin-top: 10px; color: var(--ink-light); font-size: 0.9rem; }
.faq-item.open .faq-a{ display: block; }
.wall{ display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 28px; }
.wall .cup-body{ aspect-ratio: 3/4; }
footer{ background: #fff; padding: 40px 24px; border-top: 2px solid var(--mint); font-size: 0.8rem; color: var(--ink-light); }
.footer-content{ max-width: 1200px; margin: 0 auto; display: grid; gap: 24px; }
.footer-links{ display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a{ transition: color 0.2s; }
.footer-links a:hover{ color: var(--green); }
.about-us{ font-size: 0.8rem; color: var(--ink-light); }
.about-us summary{ cursor: pointer; display: inline-block; list-style: none; }
.about-us summary::-webkit-details-marker{ display: none; }
.about-us[open] summary{ margin-bottom: 8px; color: var(--ink); }
.about-links{ display: flex; flex-wrap: wrap; gap: 10px 16px; }
.about-links a{ color: var(--ink-light); }
.about-links a:hover{ color: var(--green); }
.update-time{ font-size: 0.75rem; color: var(--ink-light); }
@media (min-width: 768px){
  .hero{ flex-direction: row; }
  .hero h1{ font-size: 2.8rem; }
  .genres-grid{ grid-template-columns: repeat(4, 1fr); }
  .ai-comic-wrap{ flex-direction: row; }
  .theater-wrap{ flex-direction: row; }
  .theater-schedule{ flex: 2; grid-template-columns: repeat(3, 1fr); }
  .calendar{ flex: 1; }
  .faq-wrap{ flex-direction: row; }
  .footer-content{ grid-template-columns: 2fr 1fr; }
}
@media (min-width: 1024px){
  .nav-links{ display: flex; }
  .hero h1{ font-size: 3.2rem; }
  .footer-content{ grid-template-columns: 2fr 2fr 1fr; }
}
@media (prefers-reduced-motion: reduce){
  *,::before,::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}