/* ===================== 首页 365在线官网登录入口(CHINA) 专属样式 ===================== */
.page-home {
  --home-gold: #E9C46A;
  --home-gold-bright: #FFD700;
  --home-green-deep: #0A3D2E;
  --home-green-secondary: #1A6B4F;
  --home-green-night: #06291D;
  --home-green-soft: #E9F0EC;
  --home-cream: #F7F3E9;
  --home-ink: #1A1A1A;
  --home-soft: #6B7A72;
}

/* ---------- 首屏 Hero ---------- */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(26, 107, 79, 0.5) 0%, transparent 55%),
    linear-gradient(125deg, var(--home-green-deep) 0%, var(--home-green-night) 65%, var(--home-green-deep) 100%);
  color: var(--home-cream);
  padding: calc(var(--header-h) + var(--header-offset) + 32px) 0 56px;
  overflow: hidden;
  border-bottom: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 0 0 28px 28px;
}

.page-home .home-hero-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(14rem, 32vw, 30rem);
  font-weight: 800;
  color: rgba(233, 196, 106, 0.05);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-home .home-hero-arc {
  position: absolute;
  right: -6%;
  bottom: 6%;
  width: min(360px, 60vw);
  height: auto;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .home-hero-copy {
  max-width: 680px;
}

.page-home .home-hero-copy .kicker {
  color: var(--home-gold);
}

.page-home .home-hero-copy h1 {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 14px 0 22px;
}

.page-home .home-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(247, 243, 233, 0.85);
  max-width: 58ch;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-home .home-hero-ghost {
  background: rgba(233, 196, 106, 0.08);
  border: 1px solid rgba(233, 196, 106, 0.5);
  color: var(--home-gold);
}

.page-home .home-hero-ghost:hover {
  background: rgba(233, 196, 106, 0.18);
  border-color: var(--home-gold-bright);
  color: var(--home-gold-bright);
}

.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.8125rem;
  color: rgba(247, 243, 233, 0.65);
}

.page-home .home-hero-visual {
  position: relative;
}

.page-home .home-hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(233, 196, 106, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 61, 46, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.page-home .home-live-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(6, 41, 29, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 196, 106, 0.35);
  color: var(--home-cream);
  max-width: 260px;
}

.page-home .home-live-line {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

.page-home .home-live-sub {
  font-size: 0.75rem;
  color: rgba(247, 243, 233, 0.7);
  margin: 2px 0 0;
}

/* ---------- Bento 核心栏目 ---------- */
.page-home .home-bento {
  background: linear-gradient(180deg, var(--home-green-deep) 0%, var(--home-green-night) 100%);
  color: var(--home-cream);
  padding: 88px 0 32px;
}

.page-home .home-bento-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}

.page-home .home-bento-head .index-num {
  color: var(--home-gold);
}

.page-home .home-bento-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  margin: 8px 0 0;
}

.page-home .home-bento-head p {
  color: rgba(247, 243, 233, 0.7);
  font-weight: 300;
}

.page-home .bento-grid {
  gap: 28px;
  margin-top: 48px;
}

.page-home .bento-item {
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-home .bento-item:hover {
  transform: translateY(-4px);
}

/* 场馆控球率数据365官大卡片 */
.page-home .home-data-card {
  background: linear-gradient(150deg, rgba(26, 107, 79, 0.9) 0%, rgba(6, 41, 29, 0.92) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-data-card:hover {
  border-color: rgba(233, 196, 106, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.page-home .home-data-card .tag {
  border-color: rgba(233, 196, 106, 0.5);
  color: var(--home-gold);
}

.page-home .home-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.page-home .glass-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.page-home .home-card-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(247, 243, 233, 0.78);
  font-weight: 300;
  max-width: 48ch;
}

.page-home .home-data-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-home .home-data-panels .stat-panel {
  background: rgba(6, 41, 29, 0.5);
  border: 1px solid rgba(233, 196, 106, 0.15);
  border-radius: 16px;
  padding: 14px 12px;
}

.page-home .home-data-panels .stat-label {
  color: rgba(247, 243, 233, 0.65);
  font-size: 0.75rem;
  display: block;
  margin-bottom: 6px;
}

.page-home .home-data-panels .stat-value {
  color: var(--home-cream);
  font-size: 1.125rem;
  font-weight: 400;
}

.page-home .stat-value strong {
  color: var(--home-gold);
  font-weight: 600;
}

.page-home .home-data-chart {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(233, 196, 106, 0.18);
}

.page-home .home-data-more {
  background: rgba(6, 41, 29, 0.35);
  border: 1px solid rgba(233, 196, 106, 0.15);
  border-radius: 16px;
}

.page-home .home-data-more summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 500;
  color: var(--home-gold);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.page-home .home-data-more summary::-webkit-details-marker {
  display: none;
}

.page-home .home-data-more summary::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--home-gold);
}

.page-home .home-data-more[open] summary::after {
  content: "−";
}

.page-home .home-data-more .home-more-content {
  padding: 0 16px 16px;
  color: rgba(247, 243, 233, 0.78);
  font-size: 0.875rem;
  line-height: 1.8;
}

.page-home .home-data-more .home-more-content ul {
  margin: 0;
  padding-left: 18px;
}

.page-home .home-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-home .home-card-bottom p {
  font-size: 0.8125rem;
  color: rgba(247, 243, 233, 0.65);
  margin: 0;
  max-width: 34ch;
}

.page-home .home-card-link {
  color: var(--home-gold-bright);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-card-link:hover {
  color: var(--home-gold);
  text-decoration: underline;
}

/* 赛事日历 iOS 版 / 登记入口 浅色实卡 */
.page-home .home-calendar-card,
.page-home .home-register-card {
  background: var(--home-cream);
  color: var(--home-ink);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--home-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.page-home .home-calendar-card .glass-card-title,
.page-home .home-register-card .glass-card-title {
  color: var(--home-green-deep);
}

.page-home .home-calendar-card .tag,
.page-home .home-register-card .tag {
  border-color: rgba(26, 107, 79, 0.4);
  color: var(--home-green-secondary);
  white-space: nowrap;
}

.page-home .home-calendar-card .home-card-desc,
.page-home .home-register-card .home-card-desc {
  color: var(--home-soft);
}

.page-home .home-calendar-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26, 107, 79, 0.12);
}

.page-home .home-check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.page-home .home-check-list li {
  padding-left: 24px;
  position: relative;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--home-ink);
}

.page-home .home-check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-gold);
  border: 2px solid var(--home-green-deep);
}

.page-home .home-calendar-card .home-card-link,
.page-home .home-register-card .home-card-link {
  color: var(--home-green-deep);
}

.page-home .home-calendar-card .home-card-link:hover,
.page-home .home-register-card .home-card-link:hover {
  color: var(--home-green-secondary);
}

.page-home .home-steps {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.page-home .home-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--home-green-soft);
  border-radius: 12px;
  padding: 10px 14px;
}

.page-home .home-step-num {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--home-green-deep);
  color: var(--home-gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-step p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-ink);
}

/* 升级版内容栏目导航站 */
.page-home .home-nav-card {
  background: rgba(247, 243, 233, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 196, 106, 0.28);
  border-radius: 28px;
  padding: 30px 24px;
}

.page-home .home-nav-card .glass-card-title {
  color: var(--home-cream);
}

.page-home .home-nav-card .home-card-desc {
  color: rgba(247, 243, 233, 0.75);
}

.page-home .home-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.page-home .home-stages {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-stage {
  flex: 1 1 140px;
  background: rgba(6, 41, 29, 0.55);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: 16px;
  padding: 18px 12px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.page-home .home-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.15);
}

.page-home .home-stage-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-cream);
}

.page-home .home-stage-tag {
  font-size: 0.75rem;
  color: rgba(233, 196, 106, 0.85);
  background: rgba(233, 196, 106, 0.1);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- 实时数据总览 ---------- */
.page-home .home-stats {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(178, 58, 58, 0.12) 0%, transparent 60%),
    var(--home-green-night);
  color: var(--home-cream);
  padding: 64px 0;
}

.page-home .home-stats-head {
  text-align: center;
}

.page-home .home-stats-head .kicker {
  color: var(--home-gold);
  justify-content: center;
}

.page-home .home-stats-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  margin: 10px 0 0;
}

.page-home .home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.page-home .home-stat {
  text-align: center;
  padding: 30px 14px;
  background: rgba(10, 61, 46, 0.55);
  border: 1px solid rgba(233, 196, 106, 0.22);
  border-radius: 20px;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.page-home .home-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 196, 106, 0.5);
}

.page-home .home-stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--home-gold);
  line-height: 1.1;
}

.page-home .home-stat-num sup {
  font-size: 0.5em;
  color: var(--home-gold-bright);
  font-weight: 700;
  margin-left: 2px;
}

.page-home .home-stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: rgba(247, 243, 233, 0.72);
}

.page-home .home-stats-note {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(247, 243, 233, 0.65);
}

/* ---------- 跨平台适配区 ---------- */
.page-home .home-adapt {
  background: var(--home-cream);
  padding: 72px 0;
}

.page-home .home-adapt-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-adapt-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 41, 29, 0.16);
  border: 1px solid rgba(26, 107, 79, 0.1);
}

.page-home .home-adapt-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--home-green-deep);
  margin: 12px 0 16px;
}

.page-home .home-adapt-copy p {
  color: var(--home-ink);
  font-weight: 300;
  line-height: 1.8;
  max-width: 56ch;
}

.page-home .home-adapt-copy .home-check-list {
  margin-top: 20px;
}

.page-home .home-adapt-copy .home-check-list li {
  color: var(--home-ink);
}

.page-home .home-adapt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* 首页图片统一处理 */
.page-home .home-hero-media img,
.page-home .home-data-chart img,
.page-home .home-calendar-img img,
.page-home .home-adapt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 桌面增强 ---------- */
@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: calc(var(--header-h) + var(--header-offset) + 48px);
    padding-bottom: 88px;
    border-radius: 0 0 32px 32px;
  }

  .page-home .home-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }

  .page-home .home-bento {
    padding: 104px 0 48px;
  }

  .page-home .home-bento-head {
    flex-direction: row;
    align-items: flex-end;
    gap: 20px;
    max-width: none;
  }

  .page-home .home-bento-head p {
    max-width: 440px;
    margin-left: auto;
    text-align: right;
  }

  .page-home .home-card-desc {
    max-width: 42ch;
  }

  .page-home .home-data-card {
    padding: 32px 30px;
  }

  .page-home .home-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-home .home-adapt-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
