/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080808;
  --bg-2:      #0e0e0e;
  --bg-3:      #141414;
  --bg-card:   #111111;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --text:      #e8e8e8;
  --text-muted:#888;
  --accent:    #ffffff;
  --accent-dim:rgba(255,255,255,0.12);
  --red:       #e05050;
  --green:     #50e090;
  --gold:      #d4a840;
  --font-zh:   'Noto Sans SC', sans-serif;
  --font-en:   'Inter', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --transition:0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-zh);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 220px;
  height: 56px;
  background: white;
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid white;
}
.btn-primary:hover { background: transparent; color: white; }
.btn-primary.large { height: 60px; padding: 0 36px; font-size: 16px; border-radius: 10px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(88,101,242,0.15);
  color: #8b9df7;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(88,101,242,0.3);
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(88,101,242,0.25); border-color: rgba(88,101,242,0.6); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: white;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid var(--border-2);
  transition: var(--transition);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-nav {
  padding: 9px 22px;
  background: white;
  color: #000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-nav:hover { background: #e0e0e0; }
.btn-nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #5865F2;
  color: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-nav-discord:hover { background: #4752c4; }
.btn-nav-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-nav-yt:hover { background: rgba(255,0,0,0.15); border-color: rgba(255,0,0,0.4); color: #ff4444; }
.btn-nav-xhs { background: #FF2442 !important; border-color: #FF2442 !important; color: white !important; }
.btn-nav-xhs:hover { background: #e01a35 !important; border-color: #e01a35 !important; }
.xhs-search-label { font-size: 12px; color: white; white-space: nowrap; font-family: 'Inter', sans-serif; background: #FF2442; padding: 5px 10px; border-radius: 6px; font-weight: 600; }
.xhs-icon {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  color: white;
  letter-spacing: -0.5px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-icon.small { width: 28px; height: 28px; }
.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: white; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   SECTION LABELS & HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
#chartCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 20px;
  white-space: nowrap;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-discord-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 220px;
  height: 56px;
  background: #5865F2;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #5865F2;
  transition: var(--transition);
}
.btn-discord-hero:hover { background: #4752c4; border-color: #4752c4; }
.btn-discord-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.btn-discord-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.btn-discord-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

.btn-xhs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 220px;
  height: 56px;
  background: #FF2442;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #FF2442;
  transition: var(--transition);
}
.btn-xhs:hover { background: #e01a35; border-color: #e01a35; }
.btn-xhs-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.btn-xhs-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.btn-xhs-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: fadeInUp 1s 1s both;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDown 1.5s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.profile-logo {
  width: 120px;
  height: 120px;
}
.profile-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-info p {
  color: var(--text-muted);
  font-size: 14px;
  font-family: var(--font-en);
}
.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.profile-tags span {
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
}
.about-text h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.about-text > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.75;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.feature-item p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================================
   VIDEOS
   ============================================================ */
.videos {
  padding: 100px 0;
  background: var(--bg);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card.featured {
  grid-column: span 2;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  overflow: hidden;
}
.thumb-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
  overflow: hidden;
}
.thumb-inner.red   { background: linear-gradient(135deg, #2e1a1a 0%, #1a0d0d 100%); }
.thumb-inner.green { background: linear-gradient(135deg, #1a2e1e 0%, #0d1a10 100%); }
.thumb-inner.gold  { background: linear-gradient(135deg, #2e2a1a 0%, #1a160d 100%); }

.thumb-chart {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  opacity: 0.6;
}
.thumb-chart svg { width: 100%; height: 100%; }

.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}
.video-card.featured .play-btn { width: 64px; height: 64px; }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .play-btn { background: rgba(255,255,255,0.25); transform: translate(-50%, -50%) scale(1.1); }

.video-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
}
.video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 11px;
  font-family: var(--font-en);
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}
.video-info {
  padding: 16px;
}
.video-info h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card.featured .video-info h3 { font-size: 16px; }
.video-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-en);
}
.videos-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   PLAYLISTS
   ============================================================ */
.playlists {
  padding: 80px 0;
  background: var(--bg-2);
}
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.playlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.playlist-card:hover { border-color: var(--border-2); }
.playlist-num {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.playlist-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.playlist-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.playlist-body a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: var(--font-en);
}
.playlist-body a:hover { color: white; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  padding: 120px 0;
  background: var(--bg);
}
.community-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.community-inner h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.community-inner > p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.community-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.cf-icon { font-size: 18px; }
.discord-channels {
  width: 100%;
  max-width: 680px;
  margin: 40px auto 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}
.discord-category-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.coming-soon-tag {
  font-size: 10px;
  font-weight: 600;
  background: rgba(88,101,242,0.3);
  color: #8b97f8;
  border: 1px solid rgba(88,101,242,0.4);
  border-radius: 4px;
  padding: 2px 7px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.discord-channel-list { display: flex; flex-direction: column; gap: 8px; }
.discord-channel {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 18px;
  transition: background 0.2s;
}
.discord-channel:hover { background: rgba(255,255,255,0.07); }
.discord-channel.highlight {
  border-color: rgba(88,101,242,0.4);
  background: rgba(88,101,242,0.08);
}
.discord-channel.highlight:hover { background: rgba(88,101,242,0.14); }
.discord-channel.dimmed { opacity: 0.45; }
.channel-hash { color: rgba(255,255,255,0.25); font-size: 16px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.discord-channel.highlight .channel-hash { color: #8b97f8; }
.channel-body { display: flex; flex-direction: column; gap: 3px; }
.channel-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.channel-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }
.discord-coming-soon {
  text-align: center;
  padding: 20px;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.discord-coming-soon strong { color: rgba(255,255,255,0.6); display: block; margin-bottom: 4px; font-size: 14px; }

.community-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.community-cta .btn-discord-hero,
.community-cta .btn-outline {
  width: 220px;
  height: 56px;
  justify-content: center;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--bg-2);
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.disclaimer p {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-en);
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  line-height: 1.4;
}
.footer-links a:hover { color: white; }
.footer-bottom p {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-en);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { max-width: 360px; margin: 0 auto; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card.featured { grid-column: span 2; }
  .playlist-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 52px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.featured { grid-column: span 1; }
  .hero-cta { flex-direction: column; }
  .community-cta { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .community-features { flex-direction: column; align-items: center; gap: 16px; }
}
