/* ==========================================================================
   daidaidawang.com — styles.css
   深色主题（紫金配色）· 英文为主、中文补充 · 首屏极简
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #0d0918;
  --bg-2: #110c20;
  --card: #171027;
  --card-hi: #1e1536;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f0fa;
  --muted: #a79dc4;
  --muted-2: #857a9f;

  --gold: #f2c14e;
  --gold-deep: #d99a2b;
  --purple: #8f6bff;
  --purple-deep: #5f3df0;
  --live: #35e6a5;
  --offline: #9a92b5;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.65);
  --max: 1080px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(143, 107, 255, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 中文补充文字：小一号、弱化颜色 */
.zh {
  display: block;
  color: var(--muted-2);
  font-size: 0.92em;
}

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 24px);
}

.container--narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--gold);
  color: #241a05;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* 滚动渐显 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 网格卡片渐显错峰 */
.card-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #241a05;
  box-shadow: 0 10px 26px -10px rgba(242, 193, 78, 0.55);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px -10px rgba(242, 193, 78, 0.7);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 9, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--gold);
}

.brand__icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.brand__name {
  font-size: 1.02rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.site-nav__cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #241a05 !important;
  box-shadow: 0 8px 20px -10px rgba(242, 193, 78, 0.6);
}

.site-nav__cta:hover {
  color: #241a05 !important;
  filter: brightness(1.06);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

/* ---------- 首屏（极简） ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(780px, calc(100svh - 64px));
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(38% 48% at 50% 8%, rgba(143, 107, 255, 0.28), transparent 70%),
    radial-gradient(30% 40% at 78% 30%, rgba(242, 193, 78, 0.1), transparent 70%),
    radial-gradient(34% 44% at 22% 34%, rgba(95, 61, 240, 0.16), transparent 70%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__avatar-wrap {
  position: relative;
  margin-bottom: 28px;
}

.hero__avatar {
  width: clamp(140px, 24vw, 176px);
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(242, 193, 78, 0.55);
  box-shadow:
    0 0 0 10px rgba(143, 107, 255, 0.12),
    0 24px 60px -22px rgba(95, 61, 240, 0.65);
}

.hero__status-dot {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--offline);
  border: 4px solid var(--bg);
}

.hero__status-dot.is-live {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(53, 230, 165, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.hero__zh {
  display: block;
  margin-top: 6px;
  font-size: 0.52em;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.hero__tagline {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero__tagline-zh {
  max-width: 560px;
  margin-top: 6px;
  font-size: 0.92rem;
}

/* 直播状态胶囊 */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.live-pill__dot,
.live-panel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--offline);
  flex: none;
}

.live-pill.is-live,
.live-panel__state.is-live {
  color: var(--live);
}

.live-pill.is-live {
  border-color: rgba(53, 230, 165, 0.4);
  background: rgba(53, 230, 165, 0.08);
}

.live-pill.is-live .live-pill__dot,
.live-panel__state.is-live .live-panel__dot {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(53, 230, 165, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 230, 165, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(53, 230, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 230, 165, 0); }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- 通用区块 ---------- */
.section {
  padding-block: clamp(60px, 9vw, 100px);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section__eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section__head h2 .zh {
  margin-top: 6px;
  font-size: 0.62em;
  font-weight: 700;
  color: var(--muted);
}

.section__lead {
  margin-top: 14px;
  color: var(--muted);
}

.section__note {
  margin-top: 30px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(242, 193, 78, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- 卡片网格（入口 / 内容） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.link-card,
.content-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-hi), var(--card) 65%);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover,
.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 107, 255, 0.45);
}

.link-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(143, 107, 255, 0.14);
  border: 1px solid rgba(143, 107, 255, 0.3);
  color: var(--gold);
}

.link-card__icon svg {
  width: 23px;
  height: 23px;
}

.chip {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.link-card h3,
.content-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
}

.link-card .zh,
.content-card .zh {
  margin-top: 2px;
  font-size: 0.85rem;
}

.link-card__desc,
.content-card__desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.link-card__cta,
.content-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--gold);
  font-size: 0.93rem;
  font-weight: 700;
}

.link-card__cta svg {
  width: 15px;
  height: 15px;
}

.content-card__cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.content-card__cta {
  color: var(--muted);
}

.content-card__cta:hover {
  color: var(--gold);
}

.content-card__cta:hover svg {
  transform: translateX(3px);
}

/* ---------- 直播状态面板 ---------- */
.live-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-hi), var(--card) 70%);
  box-shadow: var(--shadow);
}

.live-panel__state {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 800;
}

.live-panel__dot {
  width: 13px;
  height: 13px;
}

.live-panel__meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.93rem;
}

.live-panel__meta time {
  color: var(--text);
  font-weight: 600;
}

.live-panel__hint {
  margin-top: 8px;
  font-size: 0.85rem;
}

.live-panel__schedule h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  gap: 10px;
}

.schedule-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.schedule-list svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--gold);
  flex: none;
}

/* ---------- 简介与资料 ---------- */
.about > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about > p + p {
  margin-top: 12px;
}

.about > .zh {
  font-size: 0.95rem;
}

.facts {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.facts__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 15px 22px;
}

.facts__row + .facts__row {
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}

.facts dd {
  color: var(--text);
  font-size: 0.97rem;
}

/* ---------- 时间线（最新动态） ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.6), rgba(143, 107, 255, 0.35));
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.22);
}

.timeline__date {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline__item h3 {
  margin-top: 6px;
  font-size: 1.08rem;
  font-weight: 700;
}

.timeline__item > p:not(.timeline__date, .zh) {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.96rem;
}

.timeline__item .zh {
  margin-top: 4px;
  font-size: 0.87rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(242, 193, 78, 0.4);
}

.faq__item summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item summary:hover {
  color: var(--gold);
}

.faq__item p {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq__item p.zh {
  padding-top: 0;
  font-size: 0.88rem;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(40px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(40px, 6vw, 60px) 30px;
}

.site-footer__brand .brand {
  margin-bottom: 12px;
}

.site-footer__brand > p {
  color: var(--muted-2);
  font-size: 0.9rem;
  max-width: 320px;
}

.site-footer__brand .zh {
  margin-top: 4px;
  font-size: 0.85rem;
}

.site-footer__nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

.site-footer__h {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-all;
}

.site-footer__mail svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

.site-footer__mail:hover {
  color: var(--gold);
  text-decoration: none;
}

.site-footer__legal {
  display: grid;
  gap: 6px;
  padding-block: 22px 34px;
  border-top: 1px solid var(--line);
}

.site-footer__legal p {
  color: var(--muted-2);
  font-size: 0.8rem;
  max-width: 720px;
}

.site-footer__legal .zh {
  font-size: 0.78rem;
}

.site-footer__copy {
  margin-top: 8px;
  color: var(--muted) !important;
  font-weight: 600;
}

/* ---------- 返回顶部 / 轻提示 ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #241a05;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--card-hi);
  border: 1px solid rgba(242, 193, 78, 0.5);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .live-panel {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 20px;
    background: rgba(13, 9, 24, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 6px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav__cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }
}

@media (max-width: 560px) {
  .facts__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
