/* ==========================================================================
   Fate Hub · Dark Neumorphic Home Styles
   首页拟态视觉系统 · 2026 全面重构版
   ========================================================================== */

.neu-home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Hero 拟态旗舰看板
   -------------------------------------------------------------------------- */
.home-hero {
  padding: 44px 48px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(22, 28, 40, 0.95), rgba(16, 21, 31, 0.98));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 51, 68, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: #ff6b7a;
  margin-bottom: 20px;
}
.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gta-primary);
  box-shadow: 0 0 8px var(--gta-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-pure);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #ff4d5e, #ff8a50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero 右侧拟态仪表盘 */
.hero-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 320px;
}

.stat-item {
  padding: 14px 16px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}
.stat-value {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-pure);
}
.stat-value.red {
  color: var(--gta-primary);
  text-shadow: 0 0 12px var(--gta-glow);
}
.stat-value.gold {
  color: var(--rdr-primary);
  text-shadow: 0 0 12px var(--rdr-glow);
}
.stat-value.cyan {
  color: #00e5ff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}
.stat-value.green {
  color: #10b981;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}


/* --------------------------------------------------------------------------
   本期旗舰标杆科技推荐 (Featured Tech Grid)
   -------------------------------------------------------------------------- */
.featured-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
@media (max-width: 1024px) {
  .featured-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .featured-tech-grid {
    grid-template-columns: 1fr;
  }
}

.feat-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  border-radius: 18px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
  background: var(--bg-surface);
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--neu-shadow-raised-lg);
}
.feat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.feat-logo-pod {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.feat-logo-pod img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.feat-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.feat-card.gta .feat-tag { color: var(--gta-primary); }
.feat-card.rdr .feat-tag { color: var(--rdr-primary); }
.feat-card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 4px;
}
.feat-card-type {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.feat-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.feat-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.feat-spec-item i {
  color: #10bf85;
  font-size: 13px;
}
.feat-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.feat-price {
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-pure);
}
.feat-action-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  transition: all 0.2s ease;
}
.feat-card:hover .feat-action-btn {
  color: var(--text-pure);
  background: var(--bg-surface-elevated);
  box-shadow: var(--neu-shadow-button);
}

/* --------------------------------------------------------------------------
   专区双翼卡片 (GTA5 & RDR2)
   -------------------------------------------------------------------------- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.section-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-pure);
}

.game-zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.game-zone-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.game-zone-card.gta {
  border-left: 3px solid var(--gta-primary);
}
.game-zone-card.gta:hover {
  border-color: rgba(255, 51, 68, 0.4);
  box-shadow: var(--neu-shadow-raised-lg), 0 0 30px var(--gta-glow-soft);
}

.game-zone-card.rdr {
  border-left: 3px solid var(--rdr-primary);
}
.game-zone-card.rdr:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--neu-shadow-raised-lg), 0 0 30px var(--rdr-glow-soft);
}

.zone-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.zone-badge-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zone-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.zone-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-pure);
}

.zone-icon-box {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.zone-icon-box i {
  font-size: 24px;
}
.game-zone-card.gta .zone-icon-box i {
  color: var(--gta-primary);
}
.game-zone-card.rdr .zone-icon-box i {
  color: var(--rdr-primary);
}
.zone-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.game-zone-card:hover .zone-icon-box {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}
.game-zone-card.gta:hover .zone-icon-box {
  box-shadow: var(--neu-shadow-sunken), 0 0 20px rgba(255, 43, 91, 0.25);
  border-color: rgba(255, 43, 91, 0.4);
}
.game-zone-card.rdr:hover .zone-icon-box {
  box-shadow: var(--neu-shadow-sunken), 0 0 20px rgba(217, 119, 6, 0.25);
  border-color: rgba(217, 119, 6, 0.4);
}
.game-zone-card:hover .zone-avatar-img {
  transform: scale(1.08);
}

.zone-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.zone-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken-sm);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.zone-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.zone-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.zone-count b {
  font-size: 26px;
  font-family: var(--font-mono);
  color: var(--text-pure);
}
.zone-count span {
  font-size: 12px;
  color: var(--text-dim);
}
.zone-link {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--trans-fast);
}
.game-zone-card.gta .zone-link {
  color: var(--gta-primary);
}
.game-zone-card.rdr .zone-link {
  color: var(--rdr-primary);
}
.game-zone-card:hover .zone-link {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   选型指南与避坑卡片
   -------------------------------------------------------------------------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.guide-card {
  padding: 26px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guide-num {
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gta-primary);
  margin-bottom: 12px;
}
.guide-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   常见问题手风琴
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 36px 40px;
  border-radius: 20px;
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.faq-item {
  border-radius: 12px;
  background: var(--bg-inset);
  box-shadow: var(--neu-shadow-sunken-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--text-dim);
  transition: transform var(--trans-fast);
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--gta-primary);
}
.faq-content {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* --------------------------------------------------------------------------
   页脚 Footer
   -------------------------------------------------------------------------- */
.home-footer {
  text-align: center;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links a:hover {
  color: var(--text-pure);
}

/* 响应式调整 */
@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px;
  }
  .hero-stats-panel {
    width: 100%;
    min-width: 0;
  }
  .hero-title {
    font-size: 28px;
  }
  .game-zones-grid {
    grid-template-columns: 1fr;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .faq-section {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .hero-eyebrow {
    font-size: 11.5px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .neu-btn {
    width: 100%;
    justify-content: center;
    height: 44px;
    font-size: 13.5px;
  }
  .hero-stats-panel {
    min-width: 0 !important;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .stat-item {
    padding: 12px 10px;
    border-radius: 12px;
  }
  .stat-value {
    font-size: 20px;
  }
  .stat-label {
    font-size: 11px;
  }
  .game-zone-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .zone-title {
    font-size: 20px;
  }
  .zone-footer .zone-link {
    min-height: 42px;
    justify-content: center;
  }
  .feat-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .feat-card-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .feat-card-bottom .feat-action-btn {
    width: 100%;
    justify-content: center;
  }
  .guide-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .faq-section {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .faq-item summary {
    font-size: 14px;
    padding: 14px 12px;
  }
  .home-footer {
    padding: 24px 14px 10px;
  }
  .footer-links {
    gap: 12px 16px;
    font-size: 12px;
  }
}

/* ==========================================================================
   浅色拟态首页视觉细化
   ========================================================================== */
html[data-theme="light"] .home-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 250, 0.95));
  border-color: rgba(255, 255, 255, 0.95);
}
html[data-theme="light"] .home-hero::before {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
}
html[data-theme="light"] .hero-title em {
  background: linear-gradient(135deg, var(--gta-primary), var(--rdr-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .hero-eyebrow {
  color: var(--gta-primary);
  background: #f1f5f9;
  border-color: rgba(203, 213, 225, 0.7);
}
html[data-theme="light"] .hero-desc {
  color: var(--text-muted);
}
html[data-theme="light"] .stat-label {
  color: var(--text-dim);
}
html[data-theme="light"] .stat-value.cyan {
  color: #0284c7;
  text-shadow: none;
}
html[data-theme="light"] .stat-value.green {
  color: #059669;
  text-shadow: none;
}
html[data-theme="light"] .stat-value.red {
  color: var(--gta-primary);
  text-shadow: none;
}
html[data-theme="light"] .stat-value.gold {
  color: var(--rdr-primary);
  text-shadow: none;
}
html[data-theme="light"] .feat-card-type {
  color: var(--text-dim);
}
html[data-theme="light"] .feat-spec-item {
  color: var(--text-muted);
}
html[data-theme="light"] .feat-spec-item i {
  color: #059669;
}
html[data-theme="light"] .feat-card-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.5);
}
html[data-theme="light"] .feat-action-btn {
  border-color: rgba(203, 213, 225, 0.7);
}
html[data-theme="light"] .section-eyebrow {
  color: var(--text-dim);
}
html[data-theme="light"] .zone-code {
  color: var(--text-dim);
}
html[data-theme="light"] .zone-icon-box {
  border-color: rgba(203, 213, 225, 0.6);
}
html[data-theme="light"] .zone-avatar-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}
html[data-theme="light"] .zone-intro {
  color: var(--text-muted);
}
html[data-theme="light"] .zone-tag {
  border-color: rgba(203, 213, 225, 0.6);
  color: var(--text-main);
}
html[data-theme="light"] .zone-count span {
  color: var(--text-dim);
}
html[data-theme="light"] .guide-card p {
  color: var(--text-muted);
}
html[data-theme="light"] .faq-item {
  border-color: rgba(203, 213, 225, 0.6);
}
html[data-theme="light"] .faq-content {
  color: var(--text-muted);
  border-top: 1px solid rgba(203, 213, 225, 0.5);
}
html[data-theme="light"] .home-footer {
  border-top: 1px solid rgba(203, 213, 225, 0.6);
  color: var(--text-dim);
}

/* Hero polish: clearer hierarchy, quieter surfaces, tighter first viewport. */
.home-hero {
  padding: 40px 44px;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), var(--neu-shadow-raised);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero-title {
  max-width: 680px;
  font-size: clamp(32px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-title em {
  display: block;
  margin-top: 4px;
  background: linear-gradient(110deg, #ff5261 0%, #ff8d55 78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.75;
}
.hero-actions {
  gap: 10px;
}
.hero-actions .neu-btn {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.hero-stats-panel {
  position: relative;
  z-index: 1;
  gap: 12px;
  min-width: 290px;
}
.stat-item {
  min-height: 104px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 26, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.12);
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.02em;
}
.stat-value {
  font-size: 23px;
  line-height: 1.1;
}

html[data-theme="light"] .home-hero {
  border-color: rgba(203, 213, 225, 0.78);
  box-shadow: 0 16px 34px rgba(72, 91, 119, 0.12), var(--neu-shadow-raised);
}
html[data-theme="light"] .stat-item {
  border-color: rgba(203, 213, 225, 0.78);
  background: rgba(234, 239, 247, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 8px 18px rgba(72, 91, 119, 0.08);
}

@media (max-width: 960px) {
  .home-hero {
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 24px 18px;
    gap: 24px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-actions .neu-btn {
    white-space: normal;
  }
  .stat-item {
    min-height: 96px;
    padding: 12px;
  }
}

.hero-guide-link {
  color: var(--text-muted);
  background: transparent;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}
.hero-guide-link:hover {
  color: var(--text-pure);
  background: var(--bg-surface-elevated);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: none;
}
