:root {
  --bg: #000;
  --bg-elevated: #121212;
  --bg-card: #1a1a1a;
  --gold: #c9a24d;
  --gold-light: #e0c07a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --border: rgba(201, 162, 77, 0.35);
  --container: 1200px;
  --header-h: 92px;
  --transition: 0.25s ease;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 16px;
}

.nav a {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  padding: 8px 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-light);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn,
.menu-toggle,
.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1b1b1b;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 40px;
  padding: 0;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform var(--transition), opacity var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-gold {
  background: linear-gradient(180deg, #e2c176, #b8923a);
  color: #111;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(226, 193, 118, 0.55);
}

.btn-img {
  padding: 0;
  background: transparent;
  border: none;
  line-height: 0;
}

.btn-img img {
  height: 52px;
  width: auto;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero — 背景图已含标题/卖点/选手，仅叠加下载按钮 */
.hero {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 650;
  background: #050505;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-banner--mobile {
  display: none;
}

.hero-actions--pc {
  position: absolute;
  left: 11%;
  bottom: 14%;
  z-index: 2;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.hero-actions--pc .btn-img img {
  width: 11.5vw;
  height: auto;
  display: block;
}

.hero-actions--pc .btn-img:first-child {
  margin-right: 10px;
}

.hero-actions--mobile {
  display: none;
  position: absolute;
  left: 12vw;
  top: 44vw;
  z-index: 2;
  flex-direction: column;
  cursor: pointer;
}

.hero-actions--mobile .btn-img img {
  width: 30vw;
  height: auto;
  display: block;
}

.hero-actions--mobile .btn-img:last-child {
  margin-top: 5px;
}

/* Marquee */
.marquee {
  background: #151515;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
  color: var(--gold-light);
  font-size: 14px;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.section-head .more {
  color: var(--gold-light);
  font-size: 14px;
}

.section-sub {
  color: var(--text-muted);
  letter-spacing: 2px;
  font-size: 13px;
  margin-top: 8px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), border-color var(--transition);
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}

.activity-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.activity-card .body {
  padding: 16px 18px 20px;
}

.activity-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.activity-card p {
  color: var(--text-muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.activity-card .meta {
  margin-top: 12px;
  color: var(--gold);
  font-size: 13px;
}

/* Ambassadors */
.ambassadors {
  background: linear-gradient(180deg, #000, #0d0d0d);
}

.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.ambassador-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  min-height: 360px;
}

.ambassador-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
}

.ambassador-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.ambassador-card .flag {
  width: 28px;
  height: auto;
  margin-bottom: 8px;
  position: relative;
}

.ambassador-card .region {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}

.ambassador-card .name {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-light);
  font-size: 20px;
}

/* Calendar */
.calendar-wrap {
  position: relative;
}

.calendar-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 16px;
}

.calendar-track::-webkit-scrollbar {
  display: none;
}

.calendar-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.calendar-card .mainimg {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.calendar-card .calendar-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 36px;
  width: auto;
}

.calendar-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  font-size: 14px;
  font-weight: 700;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold);
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: -8px;
}

.carousel-btn.next {
  right: -8px;
}

/* Elite pass */
.elite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: radial-gradient(circle at right, rgba(201, 162, 77, 0.12), transparent 55%);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.elite .eyebrow {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 10px;
}

.elite h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}

.elite p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 460px;
}

.elite-card img {
  width: min(100%, 420px);
  margin-left: auto;
}

.btn-view {
  display: inline-block;
  width: 195px;
  height: 44px;
  padding: 0;
  border: 0;
  background: url("../assets/images/original/viewBtn-CceiqWfy.png") center / 100% 100% no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}

.activity-grid--scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.activity-grid--scroll .activity-card {
  scroll-snap-align: start;
  min-width: 280px;
}

.footer-download {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.footer-download .btn-img img {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  color: var(--gold-light);
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-grid a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: #fff;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}

.partners img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.disclaimer {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.7;
}

.copy {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.cs-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 120;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cs-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content pages */
.page-hero {
  padding: calc(var(--header-h) + 40px) 0 36px;
  background: linear-gradient(180deg, #14100a, #000);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 10px 0;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 680px;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gold-light);
}

.content-wrap {
  padding: 40px 0 72px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
}

.card-list {
  display: grid;
  gap: 16px;
}

.article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.article-card:hover {
  border-color: var(--border);
}

.article-card__cover {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.article-card__meta {
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.article-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.sidebar-block {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.sidebar-block h3 {
  margin-bottom: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--text-muted);
}

.hot-list a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.hot-list span {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #222;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.article-detail {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px;
}

.article-detail__cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.article-detail__meta {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.article-detail h1 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.article-detail .lead {
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.article-body h2 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.article-body p,
.article-body li {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.article-body ul {
  margin-left: 18px;
  margin-bottom: 14px;
}

.search-box-large {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  max-width: 720px;
}

.search-box-large input {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #151515;
  color: #fff;
  padding: 0 16px;
  font: inherit;
}

.search-result-count {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .elite,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid:not(.activity-grid--scroll),
  .ambassador-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-grid--scroll {
    grid-auto-columns: minmax(240px, 70%);
  }

  .calendar-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .logo img {
    height: 42px;
  }

  .hero-stage {
    aspect-ratio: 750 / 518;
  }

  .hero-banner--desktop {
    display: none;
  }

  .hero-banner--mobile {
    display: block;
  }

  .hero-actions--pc {
    display: none;
  }

  .hero-actions--mobile {
    display: flex;
  }

  .activity-grid:not(.activity-grid--scroll),
  .ambassador-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .calendar-track {
    grid-auto-columns: 85%;
  }

  .elite {
    padding: 24px;
  }
}
