/* 首页专用样式 */

body.site-home {
  background: linear-gradient(165deg, #eef4ff 0%, #f8fafc 42%, #fff5f0 100%);
}

body.site-home .main-p {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

body.site-home .h2-title {
  display: none;
}

.site-hero {
  position: relative;
  padding: 28px 20px 22px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #7c3aed 100%);
}

.site-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.site-hero__theme {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 13px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-hero__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-hero__title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.site-hero__crumb {
  margin: 0 0 10px;
  font-size: 15px;
  opacity: 0.95;
}

.site-hero__url {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.site-hero__url strong {
  font-weight: 700;
  color: #fde68a;
}

.draw-panel {
  margin: 0;
  padding: 16px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.draw-panel .txt-header {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  font-size: 15px;
}

.draw-panel #qishu {
  color: #1d4ed8;
  font-size: 17px;
}

.draw-panel #times b {
  color: #dc2626;
  font-size: 18px;
}

body.site-home .kj-item {
  margin: 12px 0;
  padding: 8px 0;
}

body.site-home .types-box--single {
  margin-top: 12px;
}

body.site-home .types-box--single #nav-lottery-wrap {
  display: none;
}

body.site-home #nav-lottery-wrap {
  padding: 0 10px;
  box-sizing: border-box;
}

body.site-home #nav-lottery {
  display: flex;
  flex: 1 1 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

body.site-home .nav-section--lottery #nav-lottery .nav-item,
body.site-home .nav-section--brand .nav-item,
body.site-home .nav-section--play .nav-item {
  width: 100%;
  max-width: none;
}

body.site-home .copyright {
  padding: 16px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
  background: #f8fafc;
}

body.site-home.dark {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
}

body.site-home.dark .main-p {
  background: #1e293b;
}

body.site-home.dark .draw-panel {
  background: #0f172a;
  border-color: #334155;
}

body.site-home.dark .draw-panel .txt-header {
  background: #1e293b;
  color: #e2e8f0;
}

@media screen and (max-width: 720px) {
  .site-hero__title {
    font-size: 26px;
  }
  .site-hero {
    padding: 24px 16px 18px;
  }
}
