/* 西奥多直播 · 全站头尾 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=ZCOOL+XiaoWei&display=swap');

:root {
  --xr-ink: #12131a;
  --xr-ink-2: #1c1e2a;
  --xr-mist: #f4f5f8;
  --xr-line: rgba(255, 255, 255, 0.08);
  --xr-brand: #7a67ee;
  --xr-brand-soft: #a99af5;
  --xr-text: #e8e9ef;
  --xr-muted: #9aa0b4;
  --xr-paper: #ffffff;
  --xr-header-h: 120px;
  --xr-font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --xr-display: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--xr-font);
  color: #1f2430;
  background: var(--xr-mist);
}

.wrapper.bg-dark-white {
  background: var(--xr-mist) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== Header ========== */
.xr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(1200px 180px at 12% -40%, rgba(122, 103, 238, 0.28), transparent 60%),
    radial-gradient(900px 160px at 88% 0%, rgba(169, 154, 245, 0.16), transparent 55%),
    linear-gradient(180deg, #161821 0%, var(--xr-ink) 100%);
  border-bottom: 1px solid var(--xr-line);
  box-shadow: 0 8px 28px rgba(10, 12, 24, 0.28);
  animation: xr-header-in 0.55s ease both;
}

@keyframes xr-header-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.xr-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--xr-header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.xr-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--xr-text);
}

.xr-brand__logo {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(122, 103, 238, 0.35));
  transition: transform 0.25s ease;
}

.xr-brand:hover .xr-brand__logo {
  transform: translateY(-1px) scale(1.02);
}

.xr-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.xr-brand__sub {
  font-size: 2rem;
  color: #d0d4e4;
  letter-spacing: 0.02em;
}

.xr-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.xr-nav a {
  position: relative;
  padding: 12px 16px;
  color: var(--xr-muted);
  text-decoration: none;
  font-size: 2.1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.xr-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--xr-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.xr-nav a:hover,
.xr-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.xr-nav a:hover::after,
.xr-nav a.is-active::after {
  transform: scaleX(1);
}

.xr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.xr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  color: var(--xr-text);
}

.xr-btn:hover {
  transform: translateY(-1px);
}

.xr-btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--xr-text);
}

.xr-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.xr-btn--solid {
  background: linear-gradient(135deg, var(--xr-brand) 0%, #6350d8 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(122, 103, 238, 0.35);
}

.xr-btn--solid:hover {
  background: linear-gradient(135deg, #8b7af2 0%, var(--xr-brand) 100%);
  color: #fff;
}

.xr-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.xr-menu-toggle span,
.xr-menu-toggle span::before,
.xr-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.xr-menu-toggle span::before,
.xr-menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.xr-menu-toggle span::before { top: -6px; }
.xr-menu-toggle span::after { top: 6px; }

.xr-header.is-open .xr-menu-toggle span {
  background: transparent;
}
.xr-header.is-open .xr-menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.xr-header.is-open .xr-menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========== Footer ========== */
.xr-footer {
  margin-top: auto;
  background:
    radial-gradient(900px 240px at 80% 100%, rgba(122, 103, 238, 0.18), transparent 60%),
    linear-gradient(180deg, var(--xr-ink-2) 0%, var(--xr-ink) 100%);
  color: var(--xr-text);
  border-top: 1px solid var(--xr-line);
  animation: xr-footer-in 0.6s ease both;
}

@keyframes xr-footer-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.xr-footer__main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1.2fr auto;
  gap: 48px;
  align-items: start;
}

.xr-footer__title {
  font-family: var(--xr-display);
  font-size: 2.7rem;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: 0.04em;
}

.xr-footer__brand-name {
  font-family: var(--xr-display);
  font-size: 3.5rem;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.xr-footer__company {
  margin: 0 0 20px;
  color: #c8cce0;
  font-size: 2.1rem;
}

.xr-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 2.04rem;
  color: #c8cce0;
  line-height: 1.75;
}

.xr-footer__contact li {
  margin-bottom: 14px;
}

.xr-footer__contact span {
  color: var(--xr-brand-soft);
  margin-right: 8px;
  font-weight: 500;
}

.xr-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.xr-footer__links a {
  color: #c8cce0;
  text-decoration: none;
  font-size: 2.04rem;
  transition: color 0.2s ease;
}

.xr-footer__links a:hover {
  color: #fff;
}

.xr-footer__qr {
  text-align: center;
}

.xr-footer__qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.xr-footer__qr-tip {
  margin: 14px 0 0;
  font-size: 1.9rem;
  color: #c8cce0;
}

.xr-footer__bar {
  border-top: 1px solid var(--xr-line);
  padding: 22px 24px;
}

.xr-footer__bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 1.96rem;
  color: #c8cce0;
}

.xr-footer__bar a {
  color: var(--xr-brand-soft);
  text-decoration: none;
}

.xr-footer__bar a:hover {
  color: #fff;
}

.xr-footer__bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
}

.xr-footer__bar-sep {
  margin: 0 10px;
  color: rgba(200, 204, 224, 0.45);
  user-select: none;
}

/* Mobile drawer */
@media (max-width: 960px) {
  .xr-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .xr-nav,
  .xr-actions {
    display: none;
  }

  .xr-header.is-open .xr-nav,
  .xr-header.is-open .xr-actions {
    display: flex;
  }

  .xr-header.is-open .xr-header__inner {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  .xr-header.is-open .xr-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--xr-line);
  }

  .xr-header.is-open .xr-nav a {
    padding: 12px 14px;
  }

  .xr-header.is-open .xr-nav a::after {
    display: none;
  }

  .xr-header.is-open .xr-actions {
    order: 4;
    width: 100%;
    padding-top: 8px;
  }

  .xr-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .xr-footer__qr {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .xr-brand__sub {
    display: none;
  }

  .xr-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 16px 24px;
  }

  .xr-footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .xr-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Soften legacy skin clashes inside content */
.heading-banner-area {
  display: none !important;
}

/* 条款 / 协议 / 关于我们等内容页 */
.about-us-area {
  font-size: 22px !important;
  line-height: 1.8 !important;
}

.about-us-area .container {
  max-width: 1100px;
}

.about-us-area .about-brief,
.about-us-area #maximg {
  font-size: 22px !important;
  line-height: 1.85 !important;
  color: #1f2430 !important;
  padding: 36px 40px !important;
}

.about-us-area .about-brief p,
.about-us-area #maximg p,
.about-us-area .about-brief div,
.about-us-area #maximg div,
.about-us-area .about-brief span,
.about-us-area #maximg span,
.about-us-area .about-brief li,
.about-us-area #maximg li,
.about-us-area .about-brief td,
.about-us-area #maximg td {
  font-size: 22px !important;
  line-height: 1.85 !important;
}

.about-us-area .about-brief h1,
.about-us-area #maximg h1 {
  font-size: 32px !important;
  line-height: 1.4 !important;
  margin: 0.6em 0 0.4em !important;
}

.about-us-area .about-brief h2,
.about-us-area #maximg h2 {
  font-size: 28px !important;
  line-height: 1.4 !important;
  margin: 0.6em 0 0.4em !important;
}

.about-us-area .about-brief h3,
.about-us-area #maximg h3,
.about-us-area .about-brief h4,
.about-us-area #maximg h4 {
  font-size: 26px !important;
  line-height: 1.45 !important;
  margin: 0.55em 0 0.35em !important;
}

.about-us-area .about-brief img,
.about-us-area #maximg img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-us-area,
  .about-us-area .about-brief,
  .about-us-area #maximg,
  .about-us-area .about-brief p,
  .about-us-area #maximg p,
  .about-us-area .about-brief div,
  .about-us-area #maximg div,
  .about-us-area .about-brief span,
  .about-us-area #maximg span,
  .about-us-area .about-brief li,
  .about-us-area #maximg li,
  .about-us-area .about-brief td,
  .about-us-area #maximg td {
    font-size: 18px !important;
  }

  .about-us-area .about-brief {
    padding: 24px 16px !important;
  }

  .about-us-area .about-brief h1,
  .about-us-area #maximg h1 {
    font-size: 26px !important;
  }

  .about-us-area .about-brief h2,
  .about-us-area #maximg h2 {
    font-size: 24px !important;
  }

  .about-us-area .about-brief h3,
  .about-us-area #maximg h3,
  .about-us-area .about-brief h4,
  .about-us-area #maximg h4 {
    font-size: 22px !important;
  }
}
