/* ============================================
   博彩导航 - 航海星图主题全局样式
   CSS前缀: bcdh-
   干扰前缀: nav-
   ============================================ */

/* === 干扰码隐藏 === */
.nav-jammer-block {
  display: none;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  top: -9999px;
  left: -9999px;
}

/* === CSS变量 === */
:root {
  --bcdh-primary: #0B1426;
  --bcdh-secondary: #4FC3F7;
  --bcdh-accent: #FFC107;
  --bcdh-text: #B0BEC5;
  --bcdh-link: #4FC3F7;
  --bcdh-card-bg: rgba(11, 20, 38, 0.85);
  --bcdh-card-border: rgba(79, 195, 247, 0.15);
  --bcdh-glow: rgba(79, 195, 247, 0.3);
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  background-color: var(--bcdh-primary);
  color: var(--bcdh-text);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--bcdh-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--bcdh-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  color: #ECEFF1;
  line-height: 1.4;
}

/* === 容器 === */
.bcdh-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .bcdh-container { padding: 0 40px; }
}

@media (min-width: 1024px) {
  .bcdh-container { padding: 0 60px; }
}

/* === 导航栏 === */
.bcdh-main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 20, 38, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 195, 247, 0.1);
  transition: background 0.4s ease;
}

.bcdh-main-header.bcdh-scrolled {
  background: rgba(11, 20, 38, 0.98);
}

.bcdh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.bcdh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ECEFF1;
  text-decoration: none;
}

.bcdh-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcdh-logo-icon svg {
  width: 36px;
  height: 36px;
}

.bcdh-nav-links {
  display: none;
  list-style: none;
  gap: 0;
}

@media (min-width: 1024px) {
  .bcdh-nav-links {
    display: flex;
    gap: 8px;
  }
}

.bcdh-nav-links li a {
  position: relative;
  display: block;
  padding: 8px 14px;
  color: var(--bcdh-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.bcdh-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bcdh-secondary);
  transition: width 0.3s ease, left 0.3s ease;
}

.bcdh-nav-links li a:hover {
  color: var(--bcdh-accent);
}

.bcdh-nav-links li a:hover::after {
  width: 80%;
  left: 10%;
}

.bcdh-nav-links li a.bcdh-active {
  color: var(--bcdh-accent);
}

.bcdh-nav-links li a.bcdh-active::after {
  width: 80%;
  left: 10%;
  background: var(--bcdh-accent);
}

/* 汉堡菜单 */
.bcdh-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

@media (min-width: 1024px) {
  .bcdh-hamburger { display: none; }
}

.bcdh-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bcdh-text);
  transition: all 0.3s ease;
}

.bcdh-hamburger.bcdh-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.bcdh-hamburger.bcdh-open span:nth-child(2) {
  opacity: 0;
}

.bcdh-hamburger.bcdh-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.bcdh-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(11, 20, 38, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
  border-left: 1px solid rgba(79, 195, 247, 0.15);
}

.bcdh-mobile-menu.bcdh-open {
  right: 0;
}

.bcdh-mobile-menu ul {
  list-style: none;
}

.bcdh-mobile-menu ul li {
  border-bottom: 1px solid rgba(79, 195, 247, 0.08);
}

.bcdh-mobile-menu ul li a {
  display: block;
  padding: 15px 0;
  color: var(--bcdh-text);
  font-size: 1.05rem;
  transition: color 0.3s, padding-left 0.3s;
}

.bcdh-mobile-menu ul li a:hover,
.bcdh-mobile-menu ul li a.bcdh-active {
  color: var(--bcdh-accent);
  padding-left: 10px;
}

.bcdh-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--bcdh-text);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.bcdh-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.bcdh-overlay.bcdh-open {
  opacity: 1;
  pointer-events: auto;
}

/* === 星际启航 Hero === */
.bcdh-stellar-start {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  overflow: hidden;
}

.bcdh-stellar-start::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,20,38,0.3) 0%, rgba(11,20,38,0.85) 70%);
}

.bcdh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.bcdh-hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ECEFF1, var(--bcdh-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .bcdh-hero-content h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .bcdh-hero-content h1 { font-size: 3.5rem; }
}

.bcdh-hero-content p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: var(--bcdh-text);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.bcdh-search-box {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(11, 20, 38, 0.7);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.bcdh-search-box:focus-within {
  border-color: var(--bcdh-accent);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.15);
}

.bcdh-search-box input {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  color: #ECEFF1;
  font-size: 1rem;
  outline: none;
}

.bcdh-search-box input::placeholder {
  color: rgba(176, 190, 197, 0.5);
}

.bcdh-search-box button {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--bcdh-secondary), #039BE5);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.bcdh-search-box button:hover {
  background: linear-gradient(135deg, var(--bcdh-accent), #FFB300);
}

/* === 通用Section样式 === */
.bcdh-section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .bcdh-section { padding: 80px 0; }
}

@media (min-width: 1024px) {
  .bcdh-section { padding: 100px 0; }
}

.bcdh-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.bcdh-section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .bcdh-section-header h2 { font-size: 2.2rem; }
}

.bcdh-section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bcdh-secondary), var(--bcdh-accent));
  margin: 12px auto 0;
  border-radius: 2px;
}

.bcdh-section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--bcdh-text);
}

/* === 星图罗盘 === */
.bcdh-compass-matrix {
  background: linear-gradient(180deg, var(--bcdh-primary) 0%, rgba(11,20,38,0.95) 100%);
}

.bcdh-compass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .bcdh-compass-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
  .bcdh-compass-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.bcdh-compass-card {
  position: relative;
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.bcdh-compass-card:hover {
  transform: translateY(-6px);
  border-color: var(--bcdh-secondary);
  box-shadow: 0 8px 30px var(--bcdh-glow);
}

.bcdh-compass-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.1);
  color: var(--bcdh-secondary);
  font-size: 1.5rem;
}

.bcdh-compass-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.bcdh-compass-card p {
  font-size: 0.88rem;
  color: rgba(176, 190, 197, 0.7);
}

/* === 热门航线 === */
.bcdh-popular-routes {
  background: url('../images/compass-bg.webp') center/cover no-repeat fixed;
  position: relative;
}

.bcdh-popular-routes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 38, 0.88);
}

.bcdh-popular-routes > * {
  position: relative;
  z-index: 2;
}

.bcdh-routes-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.bcdh-routes-scroll::-webkit-scrollbar {
  height: 6px;
}

.bcdh-routes-scroll::-webkit-scrollbar-track {
  background: rgba(79, 195, 247, 0.05);
  border-radius: 3px;
}

.bcdh-routes-scroll::-webkit-scrollbar-thumb {
  background: rgba(79, 195, 247, 0.3);
  border-radius: 3px;
}

.bcdh-route-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bcdh-route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--bcdh-glow);
}

.bcdh-route-card-img {
  height: 160px;
  overflow: hidden;
}

.bcdh-route-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcdh-route-card-body {
  padding: 20px;
}

.bcdh-route-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.bcdh-route-card-body p {
  font-size: 0.88rem;
  color: rgba(176, 190, 197, 0.7);
  margin-bottom: 12px;
}

.bcdh-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bcdh-stars {
  color: var(--bcdh-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.bcdh-rating-num {
  font-size: 0.85rem;
  color: var(--bcdh-accent);
  font-weight: 600;
}

/* === 最新情报 === */
.bcdh-latest-intel {
  background: var(--bcdh-primary);
}

.bcdh-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.bcdh-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--bcdh-secondary), transparent);
}

@media (min-width: 768px) {
  .bcdh-timeline::before { left: 50%; transform: translateX(-50%); }
}

.bcdh-timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .bcdh-timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
  }
  .bcdh-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
    padding-right: 0;
  }
}

.bcdh-timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bcdh-secondary);
  box-shadow: 0 0 12px var(--bcdh-glow);
}

@media (min-width: 768px) {
  .bcdh-timeline-dot {
    left: auto;
    right: -7px;
  }
  .bcdh-timeline-item:nth-child(even) .bcdh-timeline-dot {
    left: -7px;
    right: auto;
  }
}

.bcdh-timeline-content {
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 12px;
  padding: 20px;
}

.bcdh-timeline-date {
  font-size: 0.82rem;
  color: var(--bcdh-secondary);
  margin-bottom: 6px;
}

.bcdh-timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.bcdh-timeline-content p {
  font-size: 0.9rem;
}

/* === 领航员推荐 === */
.bcdh-navigator-pick {
  background: linear-gradient(180deg, rgba(11,20,38,0.95), var(--bcdh-primary));
}

.bcdh-pick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bcdh-pick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bcdh-pick-grid { grid-template-columns: repeat(3, 1fr); }
}

.bcdh-pick-card {
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bcdh-pick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--bcdh-glow);
}

.bcdh-pick-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--bcdh-accent);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.bcdh-pick-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.bcdh-pick-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.bcdh-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--bcdh-secondary), #039BE5);
  color: #fff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.bcdh-btn:hover {
  background: linear-gradient(135deg, var(--bcdh-accent), #FFB300);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.bcdh-btn-outline {
  background: transparent;
  border: 1px solid var(--bcdh-secondary);
  color: var(--bcdh-secondary);
}

.bcdh-btn-outline:hover {
  background: var(--bcdh-secondary);
  color: var(--bcdh-primary);
}

/* === 社区灯塔 === */
.bcdh-community-beacon {
  background: var(--bcdh-primary);
}

.bcdh-forum-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.bcdh-forum-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.3s;
}

.bcdh-forum-item:hover {
  border-color: var(--bcdh-secondary);
}

.bcdh-forum-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bcdh-secondary), var(--bcdh-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bcdh-primary);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.bcdh-forum-body h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.bcdh-forum-body p {
  font-size: 0.85rem;
  color: rgba(176, 190, 197, 0.7);
}

.bcdh-forum-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(176, 190, 197, 0.5);
}

/* === 星图指南导览 === */
.bcdh-starguide-preview {
  background: url('../images/star-guide-bg.webp') center/cover no-repeat;
  position: relative;
}

.bcdh-starguide-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 38, 0.85);
}

.bcdh-starguide-preview > * {
  position: relative;
  z-index: 2;
}

.bcdh-starguide-demo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.bcdh-star-node {
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s;
}

.bcdh-star-node:hover {
  transform: scale(1.1);
}

.bcdh-star-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: radial-gradient(circle, var(--bcdh-accent) 0%, var(--bcdh-secondary) 60%, transparent 100%);
  box-shadow: 0 0 20px var(--bcdh-glow);
  animation: bcdh-pulse 2s infinite;
}

.bcdh-star-dot.bcdh-large {
  width: 56px;
  height: 56px;
}

.bcdh-star-dot.bcdh-medium {
  width: 44px;
  height: 44px;
}

@keyframes bcdh-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--bcdh-glow); }
  50% { box-shadow: 0 0 35px rgba(79, 195, 247, 0.5); }
}

.bcdh-star-node span {
  font-size: 0.82rem;
  color: var(--bcdh-text);
}

/* === 菠菜百科 === */
.bcdh-gaming-encyclopedia {
  background: var(--bcdh-primary);
}

.bcdh-wiki-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .bcdh-wiki-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bcdh-wiki-grid { grid-template-columns: repeat(4, 1fr); }
}

.bcdh-wiki-card {
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bcdh-wiki-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--bcdh-glow);
}

.bcdh-wiki-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.bcdh-wiki-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.bcdh-wiki-card p {
  font-size: 0.85rem;
  color: rgba(176, 190, 197, 0.7);
}

/* === 安全港湾 === */
.bcdh-safe-harbor {
  background: url('../images/safe-harbor.webp') center/cover no-repeat;
  position: relative;
}

.bcdh-safe-harbor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 38, 0.88);
}

.bcdh-safe-harbor > * {
  position: relative;
  z-index: 2;
}

.bcdh-safe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bcdh-safe-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bcdh-safe-grid { grid-template-columns: repeat(4, 1fr); }
}

.bcdh-safe-item {
  text-align: center;
  padding: 24px;
}

.bcdh-safe-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
}

.bcdh-safe-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--bcdh-secondary);
}

.bcdh-safe-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.bcdh-safe-item p {
  font-size: 0.85rem;
}

/* === 合作伙伴星座 === */
.bcdh-partner-constellation {
  background: var(--bcdh-primary);
}

.bcdh-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .bcdh-partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .bcdh-partner-grid { grid-template-columns: repeat(5, 1fr); }
}

.bcdh-partner-item {
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.bcdh-partner-item:hover {
  border-color: var(--bcdh-secondary);
  box-shadow: 0 4px 15px var(--bcdh-glow);
}

.bcdh-partner-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(176, 190, 197, 0.6);
  letter-spacing: 1px;
}

/* === 页脚 === */
.bcdh-main-footer {
  background: rgba(5, 10, 20, 0.95);
  border-top: 1px solid rgba(79, 195, 247, 0.1);
  padding: 60px 0 30px;
}

.bcdh-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .bcdh-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.bcdh-footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #ECEFF1;
  position: relative;
  padding-bottom: 10px;
}

.bcdh-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bcdh-accent);
}

.bcdh-footer-col p {
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.bcdh-footer-col ul {
  list-style: none;
}

.bcdh-footer-col ul li {
  margin-bottom: 10px;
}

.bcdh-footer-col ul li a {
  color: var(--bcdh-text);
  font-size: 0.88rem;
  transition: color 0.3s, padding-left 0.3s;
}

.bcdh-footer-col ul li a:hover {
  color: var(--bcdh-accent);
  padding-left: 6px;
}

.bcdh-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.bcdh-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bcdh-secondary);
  transition: all 0.3s;
}

.bcdh-social-links a:hover {
  background: var(--bcdh-secondary);
  color: var(--bcdh-primary);
}

.bcdh-footer-bottom {
  border-top: 1px solid rgba(79, 195, 247, 0.08);
  padding-top: 24px;
  text-align: center;
}

.bcdh-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(176, 190, 197, 0.5);
  margin-bottom: 8px;
}

.bcdh-footer-bottom a {
  color: rgba(176, 190, 197, 0.5);
  font-size: 0.82rem;
}

.bcdh-footer-bottom a:hover {
  color: var(--bcdh-secondary);
}

.bcdh-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--bcdh-accent);
}

/* === 内页通用 Hero === */
.bcdh-page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  padding-top: 70px;
}

.bcdh-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,20,38,0.5) 0%, rgba(11,20,38,0.9) 70%);
}

.bcdh-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.bcdh-page-hero-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ECEFF1, var(--bcdh-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .bcdh-page-hero-content h1 { font-size: 2.5rem; }
}

.bcdh-page-hero-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* === 内页内容区 === */
.bcdh-content-area {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .bcdh-content-area { padding: 80px 0; }
}

.bcdh-content-area article {
  max-width: 900px;
  margin: 0 auto;
}

.bcdh-content-area article h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.bcdh-content-area article h3 {
  font-size: 1.2rem;
  margin: 30px 0 12px;
}

.bcdh-content-area article p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.bcdh-content-area article img {
  border-radius: 12px;
  margin: 24px 0;
}

/* === 卡片列表页 === */
.bcdh-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bcdh-card-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bcdh-card-list { grid-template-columns: repeat(3, 1fr); }
}

.bcdh-site-card {
  background: var(--bcdh-card-bg);
  border: 1px solid var(--bcdh-card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bcdh-site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--bcdh-glow);
}

.bcdh-site-card-img {
  height: 180px;
  overflow: hidden;
}

.bcdh-site-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcdh-site-card-body {
  padding: 20px;
}

.bcdh-site-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.bcdh-site-card-body p {
  font-size: 0.88rem;
  color: rgba(176, 190, 197, 0.7);
  margin-bottom: 14px;
}

.bcdh-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(79, 195, 247, 0.1);
  color: var(--bcdh-secondary);
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* === 星图指南页面 === */
.bcdh-starguide-canvas {
  position: relative;
  min-height: 500px;
  background: radial-gradient(ellipse at center, rgba(20, 35, 60, 0.8), var(--bcdh-primary));
  border: 1px solid var(--bcdh-card-border);
  border-radius: 16px;
  overflow: hidden;
  padding: 40px;
}

.bcdh-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.bcdh-filter-btn {
  padding: 8px 18px;
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 20px;
  color: var(--bcdh-text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.bcdh-filter-btn:hover,
.bcdh-filter-btn.bcdh-active {
  background: var(--bcdh-secondary);
  color: var(--bcdh-primary);
  border-color: var(--bcdh-secondary);
}

.bcdh-star-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 30px;
}

.bcdh-star-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.bcdh-star-item:hover {
  transform: scale(1.15);
}

.bcdh-star-orb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: radial-gradient(circle, rgba(255,193,7,0.8) 0%, rgba(79,195,247,0.6) 50%, transparent 100%);
  box-shadow: 0 0 25px rgba(79, 195, 247, 0.4);
  animation: bcdh-pulse 3s infinite;
}

.bcdh-star-orb.bcdh-size-lg { width: 80px; height: 80px; }
.bcdh-star-orb.bcdh-size-sm { width: 44px; height: 44px; }

.bcdh-star-item h4 {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.bcdh-star-item .bcdh-stars {
  font-size: 0.75rem;
}

/* === APP下载页 === */
.bcdh-app-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  overflow: hidden;
}

.bcdh-app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,20,38,0.4) 0%, rgba(11,20,38,0.9) 70%);
}

.bcdh-app-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .bcdh-app-layout { grid-template-columns: 1fr 1fr; }
}

.bcdh-app-text h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ECEFF1, var(--bcdh-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .bcdh-app-text h1 { font-size: 2.8rem; }
}

.bcdh-app-text .bcdh-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.bcdh-download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.bcdh-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
}

.bcdh-dl-btn-ios {
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.bcdh-dl-btn-android {
  background: linear-gradient(135deg, var(--bcdh-secondary), #039BE5);
  color: #fff;
}

.bcdh-dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3);
  color: #fff;
}

.bcdh-app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bcdh-app-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bcdh-app-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 195, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bcdh-secondary);
  font-size: 1.2rem;
}

.bcdh-app-feature h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.bcdh-app-feature p {
  font-size: 0.8rem;
  color: rgba(176, 190, 197, 0.7);
}

.bcdh-app-mockup {
  text-align: center;
}

.bcdh-app-mockup img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(79, 195, 247, 0.15);
}

/* === 面包屑 === */
.bcdh-breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}

.bcdh-breadcrumb a {
  color: var(--bcdh-text);
}

.bcdh-breadcrumb span {
  color: rgba(176, 190, 197, 0.5);
  margin: 0 8px;
}

/* === 动画 === */
@keyframes bcdh-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.bcdh-animate {
  opacity: 0;
  animation: bcdh-fadeInUp 0.6s ease forwards;
}

/* === 星空粒子背景 === */
.bcdh-stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bcdh-star-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(79, 195, 247, 0.6);
  border-radius: 50%;
  animation: bcdh-twinkle 3s infinite;
}

@keyframes bcdh-twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* === APP下载按钮 === */
.bcdh-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.bcdh-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  color: #fff;
}

.bcdh-download-btn.bcdh-ios {
  background: linear-gradient(135deg, #2c2c2e, #3a3a3c);
  border: 1px solid rgba(255,255,255,0.1);
}

.bcdh-download-btn.bcdh-android {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  border: 1px solid rgba(255,255,255,0.1);
}

.bcdh-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
  color: #fff;
}

.bcdh-download-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.bcdh-download-btn strong {
  display: block;
  font-size: 1.1rem;
}

.bcdh-download-btn svg {
  flex-shrink: 0;
}
