@font-face {
  font-family: "Douyin Sans";
  src: url("../fonts/DouyinSansBold.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #2c2c2c;
  --bg-soft: #3a3a3a;
  --surface: rgba(48, 48, 48, 0.88);
  --ink: #f3f3f3;
  --muted: #b5b5b5;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #eaeaea;
  --brand-deep: #ffffff;
  --accent: #ff6b4a;
  --accent-soft: #ffe8e1;
  --ok: #1f9d6c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font-display: "Douyin Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Douyin Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 12% -8%, #4a4a4a 0%, transparent 58%),
    radial-gradient(ellipse 70% 45% at 92% 5%, #3d3532 0%, transparent 52%),
    linear-gradient(165deg, #3a3a3a 0%, #2a2a2a 42%, #1c1c1c 100%);
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(32, 32, 32, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3a3a3a, #000000);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  top: 7px;
  left: 10px;
  animation: bubble 3.2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #3f3f3f, #111111);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-body);
}

.btn-accent {
  background: linear-gradient(135deg, #ff7a5c, #ef4f2d);
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 79, 45, 0.28);
  font-family: var(--font-body);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--brand-deep);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.player-card {
  background: linear-gradient(160deg, #111111 0%, #1a1a1a 55%, #2a2a2a 100%);
  color: #f5f5f5;
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: floaty 5.5s ease-in-out infinite;
}

.player-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -40px;
  top: -50px;
}

.player-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 70% 70%, #ffb39a, transparent 40%),
    linear-gradient(145deg, #2a2a2a, #0a0a0a);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.track-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.track-artist {
  opacity: 0.75;
  margin-bottom: 1rem;
}

.progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress > span {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #ffb39a);
  animation: progressPulse 2.8s ease-in-out infinite;
}

.time-row,
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-head p,
.muted {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature .tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.song-grid,
.scene-grid,
.news-grid,
.download-grid {
  display: grid;
  gap: 1rem;
}

.song-grid {
  grid-template-columns: repeat(3, 1fr);
}

.song-item,
.scene-card,
.news-card,
.download-card,
.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(8px);
}

.song-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.song-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #4a4a4a, #5a4038);
  flex-shrink: 0;
}

.song-item strong {
  display: block;
}

.song-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.scene-grid {
  grid-template-columns: repeat(4, 1fr);
}

.scene-card h3 {
  margin: 0.55rem 0 0.25rem;
}

.scene-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-date {
  color: var(--brand-deep);
  font-size: 0.85rem;
}

.news-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
}

.news-card p {
  color: var(--muted);
  flex: 1;
}

.news-card .more {
  color: var(--brand-deep);
  font-weight: 600;
}

.cta-band {
  margin: 1rem 0 3rem;
  border-radius: 28px;
  padding: 2.2rem;
  background:
    linear-gradient(120deg, #2f2f2f 0%, #151515 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--brand-deep);
}

.download-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

.download-card h3 {
  margin-bottom: 0.5rem;
}

.download-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0 2rem;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 1.5rem 0 0.7rem;
}

.article-body p {
  margin-bottom: 1rem;
  color: #e6e6e6;
}

.article-body ul {
  margin: 0 0 1rem 1.2rem;
  color: #e6e6e6;
}

.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.side-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.side-card a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}

.side-card a:last-child {
  border-bottom: none;
}

.side-card a:hover {
  color: var(--brand-deep);
}

.sitemap-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 3rem;
}

.sitemap-list li {
  margin: 0.55rem 0;
  color: var(--muted);
}

.sitemap-list a:hover {
  color: var(--brand-deep);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bubble {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(6px) scale(1.08); opacity: 1; }
}

@keyframes progressPulse {
  0%, 100% { width: 34%; }
  50% { width: 42%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

@media (max-width: 960px) {
  .hero,
  .feature-grid,
  .song-grid,
  .scene-grid,
  .news-grid,
  .download-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .song-grid,
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #262626;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .feature-grid,
  .song-grid,
  .scene-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
