:root {
  --bg: #0c0c0c;
  --bg-card: #151515;
  --text: #f0f0f0;
  --text-dim: #a0a0a0;
  --accent: #00b35c;
  --accent-hover: #00994e;
  --bone: #f4f2ea;
  --bone-text: #111;
  --line: rgba(255, 255, 255, 0.15);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg); color: var(--text); font-family: var(--font-main); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Global utilities */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-bone { background-color: var(--bone); color: var(--bone-text); }
.bg-green { background-color: var(--accent); color: #fff; }
.bg-green .btn-download { background-color: #fff; color: var(--accent); }
.bg-green .btn-download:hover { background-color: #e0e0e0; }

/* Components */
.btn-download { display: inline-flex; align-items: center; justify-content: center; background-color: var(--accent); color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: bold; font-size: 16px; transition: background-color 0.2s; }
.btn-download:hover { background-color: var(--accent-hover); }
.btn-download svg { width: 20px; height: 20px; margin-right: 8px; fill: currentColor; }

.card-3-4 { position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; background-color: #222; }
.card-3-4 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card-3-4:hover img { transform: scale(1.05); }
.card-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; }
.card-info h4 { font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags { font-size: 10px; color: #ccc; }

.card-index { position: absolute; top: 8px; left: 8px; font-family: var(--font-mono); font-size: 12px; background: rgba(0,0,0,0.6); padding: 2px 6px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.3); }
.card-spade { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; fill: #fff; opacity: 0.8; }

/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(12,12,12,0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; }
.brand img { height: 32px; border-radius: 4px; }
.nav-desktop { display: none; align-items: center; height: 100%; overflow-x: auto; scrollbar-width: none; }
.nav-desktop::-webkit-scrollbar { display: none; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px; height: 100%; border-right: 1px solid var(--line); font-size: 12px; color: var(--text-dim); transition: all 0.2s; min-width: 80px; }
.nav-item .num { font-family: var(--font-mono); font-size: 10px; color: var(--accent); margin-bottom: 2px; }
.nav-item:hover, .nav-item.active { color: var(--text); background-color: rgba(255,255,255,0.05); transform: translateY(-2px); }
.nav-item.active .num { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-download { display: flex; align-items: center; justify-content: center; background-color: var(--accent); color: #fff; height: 44px; padding: 0 20px; border-radius: 4px; font-weight: bold; font-size: 16px; position: relative; }
.header-download svg { width: 18px; height: 18px; margin-right: 6px; fill: currentColor; }
.qr-popup { display: none; position: absolute; top: 50px; right: 0; background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.header-download:hover .qr-popup { display: block; }
.qr-popup img { width: 100px; height: 100px; background: #eee; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; text-align: center; line-height: 100px; }
.mobile-menu-btn { display: block; width: 24px; height: 24px; position: relative; }
.mobile-menu-btn::before, .mobile-menu-btn::after { content: ''; position: absolute; width: 100%; height: 2px; background: #fff; left: 0; transition: 0.3s; }
.mobile-menu-btn::before { top: 6px; }
.mobile-menu-btn::after { bottom: 6px; }

/* Mobile Drawer */
.mobile-drawer { display: none; position: fixed; top: 68px; left: 0; width: 100%; height: calc(100vh - 68px); background: var(--bg); z-index: 99; overflow-y: auto; flex-direction: column; padding: 20px; }
.mobile-drawer.open { display: flex; }
.drawer-item { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: flex; justify-content: space-between; }
.drawer-item .num { font-family: var(--font-mono); color: var(--accent); }

/* Hero Section */
.hero { padding-top: 100px; padding-bottom: 40px; min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: space-between; opacity: 0.1; pointer-events: none; z-index: 0; }
.hero-bg-col { width: 15%; display: flex; flex-direction: column; gap: 10px; animation: scrollUp 20s linear infinite; }
.hero-bg-col:nth-child(even) { animation: scrollDown 20s linear infinite; }
.hero-bg img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(100%); }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
@keyframes scrollDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }

.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; gap: 40px; }
.hero-text { max-width: 500px; }
.hero-h1 { font-size: 36px; line-height: 1.2; margin-bottom: 20px; font-weight: 900; letter-spacing: -1px; }
.hero-sub { font-size: 16px; color: var(--text-dim); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.btn-secondary { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 12px 20px; border-radius: 4px; font-size: 14px; color: var(--text); }
.btn-secondary:hover { background: rgba(255,255,255,0.05); }
.trust-info { font-size: 12px; color: var(--text-dim); }

.hero-visuals { display: flex; flex-direction: column; gap: 20px; }
.hero-fan { display: flex; justify-content: center; align-items: center; height: 300px; position: relative; }
.hero-fan .card-3-4 { position: absolute; width: 140px; transition: all 0.5s; transform-origin: bottom center; cursor: pointer; }
.hero-fan .card-3-4:nth-child(1) { transform: rotate(-20deg) translateX(-60px) translateY(20px); z-index: 1; }
.hero-fan .card-3-4:nth-child(2) { transform: rotate(-10deg) translateX(-30px) translateY(5px); z-index: 2; }
.hero-fan .card-3-4:nth-child(3) { transform: rotate(0deg) translateY(0); z-index: 5; width: 160px; }
.hero-fan .card-3-4:nth-child(4) { transform: rotate(10deg) translateX(30px) translateY(5px); z-index: 2; }
.hero-fan .card-3-4:nth-child(5) { transform: rotate(20deg) translateX(60px) translateY(20px); z-index: 1; }
.hero-fan .card-3-4:hover { z-index: 10; transform: scale(1.05) translateY(-20px) !important; }

.hero-rank { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 20px; }
.hero-rank h3 { font-size: 16px; margin-bottom: 15px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.rank-item:last-child { border: none; }
.rank-num { font-family: var(--font-mono); font-size: 16px; color: var(--accent); width: 20px; }
.rank-thumb { width: 40px; aspect-ratio: 3/4; border-radius: 2px; overflow: hidden; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 14px; margin-bottom: 2px; }
.rank-info span { font-size: 12px; color: var(--text-dim); }
.rank-trend { font-size: 12px; color: #ff4d4f; }

/* Section Common */
.sec-header { margin-bottom: 40px; }
.sec-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.sec-desc { font-size: 14px; color: var(--text-dim); }
.sec-hook { margin-top: 40px; font-size: 14px; color: var(--text-dim); text-align: right; font-style: italic; }

/* Section 3: Brand */
.brand-layout { display: flex; flex-direction: column; gap: 40px; }
.brand-text { max-width: 800px; font-size: 16px; line-height: 1.8; }
.brand-text h3 { font-size: 20px; margin: 20px 0 10px; }
.brand-visuals { display: flex; gap: 20px; justify-content: center; position: relative; height: 300px; }
.brand-visuals .card-3-4 { width: 180px; position: absolute; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.brand-visuals .card-3-4:nth-child(1) { left: 10%; transform: rotate(-10deg); }
.brand-visuals .card-3-4:nth-child(2) { left: 30%; transform: rotate(-5deg); z-index: 2; }
.brand-visuals .card-3-4:nth-child(3) { left: 50%; transform: rotate(0deg); z-index: 3; }
.brand-visuals .card-3-4:nth-child(4) { left: 70%; transform: rotate(5deg); z-index: 2; }

/* Section 6: Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.stat-card { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
.stat-num { font-family: var(--font-mono); font-size: 32px; font-weight: bold; color: var(--accent); margin-bottom: 5px; }
.bg-green .stat-num { color: #fff; }
.stat-label { font-size: 14px; }

/* Section 13: FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 20px 0; font-size: 16px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-a { padding: 0 0 20px; font-size: 14px; color: var(--text-dim); display: none; }
.faq-item.active .faq-a { display: block; }

/* Section 14: Final */
.final-sec { text-align: center; padding: 100px 20px; }
.final-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 40px 20px; max-width: 400px; margin: 0 auto; position: relative; overflow: hidden; }
.final-card .card-index { top: 15px; left: 15px; font-size: 24px; background: transparent; border: none; }
.final-card .card-spade { top: 15px; right: 15px; width: 24px; height: 24px; }
.final-img { width: 100%; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.final-qr { width: 120px; height: 120px; background: #fff; display: flex; justify-content: center; align-items: center; color: #111; font-size: 12px; margin: 0 auto 20px; border-radius: 8px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-dim); text-align: center; }
footer p { margin-bottom: 10px; }
footer a { color: var(--text-dim); text-decoration: underline; }

/* Responsive */
@media (min-width: 768px) {
  .header-inner { height: 80px; }
  .hero-h1 { font-size: 48px; }
  .hero-content { flex-direction: row; align-items: flex-start; }
  .hero-text { flex: 1; padding-top: 20px; }
  .hero-visuals { flex: 1.5; flex-direction: row; }
  .hero-fan { height: 400px; width: 60%; }
  .hero-fan .card-3-4 { width: 180px; }
  .hero-fan .card-3-4:nth-child(3) { width: 220px; }
  .hero-rank { width: 40%; margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-layout { flex-direction: row; }
  .brand-visuals { flex: 1; height: 400px; }
  .sec-title { font-size: 36px; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero-h1 { font-size: 56px; }
  .hero-fan { height: 500px; }
  .hero-fan .card-3-4 { width: 220px; }
  .hero-fan .card-3-4:nth-child(3) { width: 260px; }
  .sec-title { font-size: 42px; }
}