:root {
  --bg-dark: #0a0b0e;
  --bg-card: #15171e;
  --text-main: #f4ede1;
  --text-muted: #9a9c9e;
  --accent-green: #34d399;
  --accent-orange: #ff7a00;
  --border: #2a2d35;
  --transition: 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.brand img { height: 32px; width: auto; }
.nav-links { display: none; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--accent-green); }
.header-right { display: flex; align-items: center; gap: 15px; }
.btn-download {
  background: var(--accent-orange);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-download:hover { background: #e66e00; transform: translateY(-2px); }
.hamburger { display: block; width: 24px; height: 20px; position: relative; background: none; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text-main); position: absolute; transition: var(--transition); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Hero */
.hero {
  position: relative;
  padding: 100px 20px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  opacity: 0.3;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.hero-bg-col { display: flex; flex-direction: column; gap: 10px; }
.hero-bg-col:nth-child(even) { transform: translateY(30px); }
.hero-bg img { width: 100%; aspect-ratio: 3/4; border-radius: 8px; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, var(--bg-dark) 10%, rgba(10,11,14,0.6) 60%, var(--bg-dark) 100%),
              linear-gradient(to top, var(--bg-dark) 0%, transparent 50%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero-text h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero-text h1 span { color: var(--accent-green); }
.hero-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; max-width: 400px; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.btn-primary { background: var(--accent-orange); color: #fff; padding: 14px 32px; border-radius: 30px; font-size: 1.1rem; font-weight: bold; text-align: center; }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--text-main); padding: 14px 32px; border-radius: 30px; font-size: 1.1rem; border: 1px solid var(--border); text-align: center; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-item h4 { font-size: 1.5rem; color: var(--accent-green); }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); }
.hero-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hero-featured .main-card { grid-column: span 2; position: relative; }
.hero-featured .sub-card { position: relative; }
.hero-featured img { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 3/4;}
.badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; backdrop-filter: blur(4px); }
.moods-row { position: relative; z-index: 2; display: flex; gap: 10px; overflow-x: auto; padding: 20px 0; margin-top: 20px; scrollbar-width: none; }
.moods-row::-webkit-scrollbar { display: none; }
.mood-pill { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.mood-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); }

/* Common Section */
section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 24px; background: var(--accent-orange); border-radius: 2px; }

/* Ranking */
.ranking-layout { display: flex; flex-direction: column; gap: 20px; }
.ranking-top { position: relative; border-radius: 12px; overflow: hidden; }
.ranking-top img { width: 100%; aspect-ratio: 3/4; }
.ranking-top-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 20px; }
.ranking-list { display: flex; flex-direction: column; gap: 15px; }
.rank-item { display: flex; align-items: center; gap: 15px; background: var(--bg-card); padding: 10px; border-radius: 8px; }
.rank-num { font-size: 1.2rem; font-weight: bold; color: var(--accent-green); width: 20px; }
.rank-item img { width: 40px; height: 53px; border-radius: 4px; }
.rank-text { flex: 1; }
.rank-text h4 { font-size: 0.95rem; }
.rank-text p { font-size: 0.8rem; color: var(--text-muted); }
.heat-bar { width: 60px; height: 4px; background: var(--border); border-radius: 2px; position: relative; }
.heat-bar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 80%; background: var(--accent-orange); border-radius: 2px; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.card { background: var(--bg-card); border-radius: 10px; overflow: hidden; position: relative; }
.card img { width: 100%; aspect-ratio: 3/4; }
.card-info { padding: 10px; }
.card-info h3 { font-size: 0.95rem; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p { font-size: 0.8rem; color: var(--text-muted); }
.card-tag { position: absolute; top: 8px; right: 8px; background: rgba(255,122,0,0.8); font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; }

/* Scroll Tracks */
.scroll-track { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-track .card { min-width: 140px; flex-shrink: 0; }

/* Calendar */
.calendar-list { display: flex; flex-direction: column; gap: 15px; }
.calendar-item { display: flex; align-items: center; gap: 15px; background: var(--bg-card); padding: 15px; border-radius: 8px; }
.calendar-day { font-size: 1.1rem; font-weight: bold; color: var(--accent-green); width: 50px; text-align: center; }
.calendar-item.active { border: 1px solid var(--accent-orange); }

/* Creator */
.creator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.creator-stats { display: flex; gap: 20px; margin-top: 20px; }
.creator-stats div h4 { color: var(--accent-orange); font-size: 1.2rem; }
.creator-stats div p { font-size: 0.8rem; color: var(--text-muted); }

/* FAQ */
details { background: var(--bg-card); padding: 15px; border-radius: 8px; margin-bottom: 10px; cursor: pointer; }
summary { 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(--accent-green); }
details[open] summary::after { content: '-'; }
details p { margin-top: 10px; color: var(--text-muted); font-size: 0.9rem; }

/* Download Section */
.download-section { background: var(--bg-card); border-radius: 16px; padding: 30px 20px; display: flex; flex-direction: column; gap: 30px; align-items: center; text-align: center; }
.download-info h2 { font-size: 1.6rem; margin-bottom: 15px; }
.download-info p { color: var(--text-muted); margin-bottom: 20px; }
.download-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.btn-dl-main { display: block; background: var(--accent-orange); color: #fff; padding: 15px; border-radius: 8px; font-weight: bold; font-size: 1.1rem; }
.download-qr { width: 120px; height: 120px; background: #fff; display: flex; align-items: center; justify-content: center; border-radius: 8px; margin: 0 auto; color: #000; font-size: 0.8rem;}
.mobile-frame { width: 160px; height: 320px; border: 8px solid #333; border-radius: 20px; overflow: hidden; margin: 0 auto; position: relative; }
.mobile-frame img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; margin-top: 20px; }
.step { display: flex; gap: 10px; font-size: 0.9rem; }
.step span { background: var(--accent-green); color: #000; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }

/* Footer */
footer { padding: 40px 20px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); text-align: center; }
footer a { color: var(--text-muted); }
.footer-links { margin: 15px 0; }
.footer-links details { background: none; padding: 0; margin: 0; display: inline-block; cursor: pointer; }
.footer-links summary { display: inline; cursor: pointer; color: var(--text-muted); }
.footer-links summary::after { display: none; }
.sites-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 15px; }
.sites-list a { color: var(--text-muted); }
.about-toggle { display: block; margin-bottom: 10px; cursor: pointer; }
.about-toggle::after { display: none; } /* Remove plus icon */

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-card); padding: 10px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); z-index: 99;
}
.mobile-bottom-bar .btn-dl-main { padding: 10px 20px; font-size: 1rem; flex: 1; margin-left: 10px; }
.mobile-bottom-bar span { font-size: 0.9rem; }
body { padding-bottom: 60px; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .hero-content { grid-template-columns: 1fr 1fr; }
  .hero-bg { grid-template-columns: repeat(4, 1fr); }
  .hero-bg-col:nth-child(1) { transform: translateY(0); }
  .hero-bg-col:nth-child(2) { transform: translateY(-20px); }
  .hero-bg-col:nth-child(3) { transform: translateY(20px); }
  .hero-bg-col:nth-child(4) { transform: translateY(0); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .ranking-layout { flex-direction: row; }
  .ranking-top { flex: 1; }
  .ranking-list { flex: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .download-section { flex-direction: row; text-align: left; justify-content: space-between; padding: 40px; }
  .download-info { flex: 1; }
  .download-actions { flex-direction: row; width: auto; }
  .download-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .steps { flex-direction: row; }
  .mobile-bottom-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(4, 1fr); }
  .creator-grid { grid-template-columns: repeat(4, 1fr); }
  .scroll-track .card { min-width: 180px; }
  .ranking-list { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 30px; }
  .hero-content { gap: 60px; }
}