:root {
  --bg: #0c0708;
  --bg-2: #14090c;
  --panel: #1a1013;
  --line: rgba(232, 184, 109, 0.22);
  --gold: #e8b86d;
  --gold-2: #f3d39a;
  --red: #e23d4a;
  --text: #f6efe8;
  --muted: #b9a89d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 12px; background: var(--gold); color: #1a1008; padding: 8px 12px; border-radius: 8px; z-index: 50; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
}
.promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 18px;
  background: linear-gradient(90deg, #8b0d18 0%, #d4a017 38%, #ffe27a 50%, #d4a017 62%, #8b0d18 100%);
  background-size: 200% 100%;
  animation: promo-shine 6s linear infinite;
  color: #1a0a0c;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.35);
}
.promo-tag {
  background: #1a0a0c;
  color: #ffe27a;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
}
.promo-text {
  font-size: clamp(14px, 2.2vw, 20px);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.promo-text em {
  font-style: normal;
  color: #7a0410;
  font-size: 1.28em;
  background: #fff4c4;
  padding: 0 6px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(122, 4, 16, 0.15);
}
.promo-cta {
  background: #1a0a0c;
  color: #ffe27a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  white-space: nowrap;
}
@keyframes promo-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(12, 7, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold), var(--red));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #1a1008;
}
.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #1a1008;
}
.btn-ghost {
  border: 1px solid rgba(246, 239, 232, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 8px 16px 8px 12px;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.gp-btn svg { width: 22px; height: 22px; flex: none; }
.gp-btn span { display: flex; flex-direction: column; line-height: 1.05; font-size: 16px; }
.gp-btn small { font-size: 9px; font-weight: 600; letter-spacing: 0.14em; opacity: 0.85; }
.gp-btn:hover { transform: translateY(-1px); background: #111; }
.gp-btn-wide { justify-content: center; width: 100%; }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 72px 24px 48px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 7, 8, 0.92) 12%, rgba(12, 7, 8, 0.55) 48%, rgba(12, 7, 8, 0.2) 100%),
    url("../assets/img/hero.jpg") center/cover no-repeat;
}
.hero-inner {
  position: relative;
  width: min(1120px, 100%);
}
.kicker {
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(48px, 10vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.hero p.lead {
  max-width: 560px;
  color: #e8ddd4;
  font-size: 18px;
  margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}
.stats { display: flex; gap: 36px; }
.stats strong { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.featured {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  max-width: 260px;
}
.featured small { color: var(--gold); letter-spacing: 0.14em; font-weight: 700; }
.featured p { font-size: 20px; font-weight: 700; margin-top: 6px; }

.explore {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.explore b { color: var(--gold); letter-spacing: 0.16em; }
.tags { display: flex; gap: 18px; flex-wrap: wrap; }

.catalog {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 24px;
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.catalog-head h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; max-width: 520px; }
.catalog-head p { max-width: 360px; color: var(--muted); }
.label { color: var(--gold); letter-spacing: 0.16em; font-size: 12px; font-weight: 700; margin-bottom: 10px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
}
.filter.active, .filter:hover {
  background: var(--gold);
  color: #1a1008;
  border-color: var(--gold);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.thumb {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
}
.card-body { padding: 14px 14px 16px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.card-meta em { color: var(--gold); font-style: normal; letter-spacing: 0.08em; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 13px; }

.download-band {
  width: min(1120px, calc(100% - 48px));
  margin: 40px auto 72px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(90deg, rgba(12,7,8,0.92), rgba(12,7,8,0.45)),
    url("../assets/img/cta.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
}
.download-band h2 { font-size: clamp(28px, 4vw, 44px); max-width: 560px; margin: 10px 0 12px; }
.download-band p { color: #e8ddd4; max-width: 480px; margin-bottom: 20px; }

footer {
  border-top: 1px solid var(--line);
  padding: 22px 28px 32px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 5, 0.72);
  display: none;
  place-items: center;
  z-index: 40;
  padding: 20px;
}
.overlay.show { display: grid; }
.modal {
  width: min(520px, 100%);
  background: #161012;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal h1 { font-size: 32px; margin-bottom: 10px; }
.modal p { color: var(--muted); margin-bottom: 22px; }
.status { color: var(--gold); font-size: 14px; margin-bottom: 18px; }
.play-modal { background: #202124; border-color: rgba(255,255,255,0.08); }
.play-kicker { color: #fff; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.play-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
}
.play-mark svg { width: 32px; height: 32px; }
.play-bar {
  height: 4px;
  border-radius: 999px;
  background: #3c4043;
  overflow: hidden;
  margin: 0 0 16px;
}
.play-bar i {
  display: block;
  height: 100%;
  width: 35%;
  background: #01875f;
  animation: playload 1.2s ease-in-out infinite;
}
@keyframes playload {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-top: 48px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .download-band { padding: 28px 20px; }
  .stats { gap: 18px; }
  .promo { padding: 10px 12px; gap: 8px; }
  .promo-cta { width: 100%; }
}
