:root {
  --bg-color: #1a0f0d;
  --bg-lighter: #261511;
  --caramel: #d4a373;
  --caramel-hover: #e0b686;
  --frost-pink: #f4a261;
  --cream: #fefae0;
  --text-muted: #b5a8a5;
  --border-color: #3a241e;
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-color);
  color: var(--cream);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--cream); }
h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--caramel); }
h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
section { padding: 4rem 5%; scroll-margin-top: 80px; }
.container { max-width: 1400px; margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--caramel); color: var(--bg-color);
  padding: 0.8rem 1.5rem; border-radius: 4px; font-weight: bold;
  transition: background-color 0.3s;
  border: none; cursor: pointer; font-size: 1rem;
}
.btn:hover { background-color: var(--caramel-hover); }
.btn-outline {
  background-color: transparent; color: var(--caramel); border: 1px solid var(--caramel);
}
.btn-outline:hover { background-color: rgba(212, 163, 115, 0.1); }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background-color: rgba(26, 15, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-group { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; color: var(--cream); }
.logo-group img { height: 32px; width: auto; border-radius: 4px; }
nav.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: block; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }
.mobile-drawer {
  position: fixed; top: 60px; left: 0; width: 100%; height: calc(100vh - 60px);
  background-color: var(--bg-color); z-index: 99;
  padding: 2rem; display: none; flex-direction: column; gap: 1rem;
  overflow-y: auto; border-top: 1px solid var(--border-color);
}
.mobile-drawer.active { display: flex; }
.mobile-drawer a { font-size: 1.2rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }

/* 01 Hero */
.hero {
  position: relative; min-height: calc(100vh - 60px); display: flex; align-items: center; padding: 2rem 5%; overflow: hidden;
}
.hero-bg-wall {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
  display: flex; gap: 10px; opacity: 0.3;
}
.hero-col { display: flex; flex-direction: column; gap: 10px; width: 50%; }
.hero-col img { border-radius: 6px; object-fit: cover; aspect-ratio: 3/4; }
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
  background: linear-gradient(to right, var(--bg-color) 40%, transparent 100%), linear-gradient(to top, var(--bg-color) 0%, transparent 30%);
}
.hero-content {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2rem; width: 100%;
}
.hero-left { flex: 1; }
.hero-left p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat-item { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.stat-item strong { display: block; font-size: 1.5rem; color: var(--caramel); }
.stat-item span { font-size: 0.8rem; color: var(--text-muted); }
.hero-right { display: flex; gap: 10px; justify-content: center; margin-top: 2rem; }
.hero-cover-group { display: flex; gap: 10px; align-items: flex-end; }
.hero-cover-group img { border-radius: 8px; object-fit: cover; aspect-ratio: 3/4; width: 100px; border: 2px solid var(--border-color); }
.hero-cover-group img.main { width: 140px; border-color: var(--caramel); }
.genre-tags { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; margin-top: 2rem; scrollbar-width: none; }
.genre-tags::-webkit-scrollbar { display: none; }
.genre-tags a { background: rgba(212, 163, 115, 0.1); color: var(--caramel); padding: 0.4rem 1rem; border-radius: 20px; white-space: nowrap; font-size: 0.9rem; }

/* 02 Ranking */
.ranking-layout { display: flex; flex-direction: column; gap: 2rem; }
.ranking-top-1 { flex: 1; }
.ranking-top-1 img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; width: 100%; max-width: 300px; margin-bottom: 1rem; }
.ranking-list-wrap { flex: 2; }
.ranking-tabs { display: flex; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.ranking-tabs span { cursor: pointer; color: var(--text-muted); font-size: 1.1rem; }
.ranking-tabs span.active { color: var(--caramel); font-weight: bold; border-bottom: 2px solid var(--caramel); }
.ranking-list { display: flex; flex-direction: column; gap: 1rem; }
.rank-item { display: flex; align-items: center; gap: 1rem; background: var(--bg-lighter); padding: 0.8rem; border-radius: 8px; }
.rank-num { font-weight: bold; font-size: 1.2rem; color: var(--text-muted); width: 20px; }
.rank-item img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.rank-info p { font-size: 0.8rem; color: var(--text-muted); }
.rank-heat-bar { height: 4px; background: var(--border-color); border-radius: 2px; margin-top: 0.5rem; width: 100%; overflow: hidden; }
.rank-heat-inner { height: 100%; background: var(--caramel); }

/* 03 Genres */
.genre-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.genre-pills button { background: transparent; border: 1px solid var(--border-color); color: var(--cream); padding: 0.5rem 1.2rem; border-radius: 20px; cursor: pointer; }
.genre-pills button:hover, .genre-pills button.active { background: var(--caramel); color: var(--bg-color); border-color: var(--caramel); }
.grid-3, .grid-4, .grid-5 {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.cover-card { position: relative; border-radius: 8px; overflow: hidden; background: var(--bg-lighter); transition: transform 0.3s; }
.cover-card:hover { transform: translateY(-5px); }
.cover-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.cover-card-info { padding: 0.8rem; }
.cover-card-info h3 { font-size: 0.95rem; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-card-info p { font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; }

/* 04 New */
.new-group { margin-bottom: 2.5rem; }
.new-group h3 { margin-bottom: 1rem; font-size: 1.2rem; color: var(--cream); border-left: 3px solid var(--caramel); padding-left: 10px; }
.scroll-track { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-track .cover-card { width: 140px; flex-shrink: 0; }
.scroll-track .cover-card .hook { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 05 Lists */
.list-magazine { display: flex; gap: 2rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.list-magazine::-webkit-scrollbar { display: none; }
.list-card { width: 280px; flex-shrink: 0; background: var(--bg-lighter); border-radius: 12px; padding: 1.5rem; }
.list-card h3 { font-size: 1.2rem; color: var(--caramel); margin-bottom: 0.5rem; }
.list-card p.editor { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; height: 3.6em; overflow: hidden; }
.list-covers { display: flex; gap: 10px; margin-bottom: 1rem; }
.list-covers img { width: 60px; border-radius: 4px; aspect-ratio: 3/4; object-fit: cover; }
.list-covers img:nth-child(even) { margin-top: 15px; }

/* 06 Calendar */
.calendar-days { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.calendar-days::-webkit-scrollbar { display: none; }
.calendar-days span { padding: 0.5rem 1rem; border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; white-space: nowrap; }
.calendar-days span.active { background: var(--caramel); color: var(--bg-color); border-color: var(--caramel); font-weight: bold; }
.calendar-list { display: flex; flex-direction: column; gap: 1rem; }
.calendar-item { display: flex; align-items: center; gap: 1rem; background: var(--bg-lighter); padding: 1rem; border-radius: 8px; border-left: 3px solid transparent; }
.calendar-item.today { border-left-color: var(--caramel); }
.calendar-time { font-size: 0.9rem; color: var(--caramel); width: 50px; font-weight: bold; }
.calendar-item img { width: 50px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.calendar-info h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.calendar-info p { font-size: 0.8rem; color: var(--text-muted); }

/* 07 Data & Trust */
.trust-section { background: linear-gradient(rgba(26,15,13,0.9), rgba(26,15,13,0.9)), url('images/20a85ecb-d16a-4c93-ae78-6c5cdac9.webp') center/cover; text-align: center; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
.trust-item h3 { font-size: 2.5rem; color: var(--caramel); margin-bottom: 0.5rem; }
.trust-item p { color: var(--text-muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.feature-box { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.feature-box h4 { color: var(--cream); margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-box p { font-size: 0.85rem; color: var(--text-muted); }

/* 08 Reviews */
.review-track { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-card { width: 280px; flex-shrink: 0; background: var(--bg-lighter); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.review-header img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.review-user strong { display: block; font-size: 0.95rem; }
.review-user span { font-size: 0.8rem; color: var(--text-muted); }
.review-text { font-size: 0.95rem; color: var(--cream); margin-bottom: 1rem; }
.review-score { color: var(--caramel); font-size: 0.9rem; font-weight: bold; }

/* 09 Download */
.download-section { background: var(--bg-lighter); }
.download-layout { display: flex; flex-direction: column; gap: 3rem; }
.download-text h2 { margin-bottom: 1rem; }
.download-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.download-btns { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.download-info { font-size: 0.8rem; color: var(--text-muted); }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.qr-placeholder { width: 150px; height: 150px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #000; font-size: 0.8rem; text-align: center; padding: 1rem; }
.phone-mockup { border: 8px solid #333; border-radius: 20px; width: 160px; overflow: hidden; aspect-ratio: 9/19; position: relative; background: #000; }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.step { display: flex; gap: 1rem; }
.step-num { width: 24px; height: 24px; background: var(--caramel); color: var(--bg-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.step p { font-size: 0.95rem; color: var(--text-muted); }

/* 10 FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
details { background: var(--bg-lighter); border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; }
summary { padding: 1rem; cursor: pointer; font-weight: bold; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--caramel); font-size: 1.2rem; }
details[open] summary::after { content: '-'; }
.faq-content { padding: 0 1rem 1rem; font-size: 0.95rem; color: var(--text-muted); }

/* 11 Story */
.story-section { display: flex; flex-direction: column; gap: 2rem; }
.story-text { flex: 1; }
.story-text h2 { margin-bottom: 1rem; }
.story-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }
.story-cover { flex: 1; display: flex; justify-content: center; }
.story-cover img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; max-width: 300px; width: 100%; }

/* Footer */
footer { padding: 2rem 5%; border-top: 1px solid var(--border-color); text-align: center; font-size: 0.8rem; color: var(--text-muted); }
footer a { color: var(--text-muted); text-decoration: underline; margin: 0 5px; }
footer p { margin-bottom: 0.5rem; }

/* Mobile bottom bar */
.mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-color); padding: 0.8rem 1rem; border-top: 1px solid var(--border-color); z-index: 100; justify-content: center; }
.mobile-bar .btn { width: 100%; }
body { padding-bottom: 60px; }

/* Media Queries */
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .ranking-layout { flex-direction: row; }
  .rank-item { padding: 1rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .download-layout { flex-direction: row; align-items: center; }
  .download-text { flex: 1; }
  .download-btns { flex-direction: row; }
  .qr-box { flex: 1; flex-direction: row; justify-content: center; gap: 2rem; }
  .story-section { flex-direction: row; align-items: center; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .mobile-drawer { top: 70px; height: calc(100vh - 70px); }
}
@media (min-width: 1024px) {
  .mobile-drawer { display: none !important; }
  .menu-toggle { display: none; }
  nav.desktop-nav { display: flex; gap: 1.5rem; align-items: center; font-size: 0.95rem; }
  nav.desktop-nav a { color: var(--text-muted); transition: color 0.3s; }
  nav.desktop-nav a:hover, nav.desktop-nav a.active { color: var(--caramel); }
  .hero-content { flex-direction: row; }
  .hero-right { margin-top: 0; align-items: center; justify-content: flex-end; flex: 1; }
  .hero-cover-group img { width: 140px; }
  .hero-cover-group img.main { width: 200px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(5, 1fr); }
  .grid-5 { grid-template-columns: repeat(6, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .scroll-track .cover-card { width: 180px; }
}