:root {
    --steam-bg: var(--cc-dark-bg);
    --steam-card-bg: var(--cc-dark-surface);
    --steam-text: var(--cc-dark-text);
    --steam-blue: var(--cc-brand);
    --steam-accent: var(--cc-brand-strong);
    --sf-orange: var(--cc-brand);
    --sf-amber: var(--cc-brand-border);
    --game-accent: var(--cc-brand);
    --game-orb-1: var(--cc-brand);
    --game-orb-2: var(--cc-brand-dark);
    --game-particle-bg: rgba(var(--cc-brand-rgb), 0.5);
    --game-particle-shadow: 0 0 4px rgba(var(--cc-brand-rgb), 0.7);
    --game-float-bg: var(--cc-dark-surface);
    --game-float-bg-hover: var(--cc-dark-surface-strong);
    --game-float-border: rgba(var(--cc-brand-rgb), 0.2);
    --game-float-border-hover: rgba(var(--cc-brand-rgb), 0.4);
    --game-float-entry-bg: linear-gradient(135deg, var(--cc-brand-strong), var(--cc-brand));
    --game-float-entry-bg-hover: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-border));
    --game-float-entry-shadow: 0 12px 28px rgba(var(--cc-brand-rgb), 0.35);
  }

  /* 游戏详情页内容 */
  .game-detail {
    padding: 30px 0 60px;
    position: relative;
    z-index: 1;
  }

  /* 顶部横幅 */
  .game-hero {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    padding: 24px;
    background: rgba(var(--cc-dark-bg-rgb), 0.62);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
  }
  .game-cover {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .game-info {
    display: flex;
    flex-direction: column;
  }
  .game-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
  }
  .game-breadcrumb a {
    color: #64748b;
    text-decoration: none;
  }
  .game-breadcrumb a:hover {
    color: var(--sf-orange);
  }
  .game-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .game-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.2), rgba(var(--cc-brand-rgb), 0.1));
    border: 1px solid rgba(var(--cc-brand-rgb), 0.4);
    border-radius: 16px;
    color: var(--sf-orange);
    font-size: 12px;
    font-weight: 600;
  }
  .game-title-badge svg {
    width: 14px;
    height: 14px;
  }
  .game-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 16px;
  }
  .game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .game-tag {
    padding: 6px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    font-size: 13px;
    color: #94a3b8;
  }
  .game-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #b8c0c8;
    margin-bottom: 24px;
    flex: 1;
  }
  .game-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .btn-primary-game {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(90deg, var(--cc-brand-strong) 0%, var(--cc-brand) 100%);
    color: #fff7ed;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-primary-game:hover {
    background: linear-gradient(90deg, var(--cc-brand) 0%, var(--cc-brand-border) 100%);
    color: #fff;
  }

  /* 价格信息 */
  .game-price-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
  }
  .price-label {
    font-size: 14px;
    color: #64748b;
  }
  .price-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
  }
  .price-unit {
    font-size: 14px;
    color: #64748b;
  }

  /* 内容区块 */
  .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-title::before {
    content: "";
    width: 4px;
    height: 22px;
    background: var(--sf-orange);
    border-radius: 2px;
  }

  /* 特色功能 */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
  }
  .feature-card {
    padding: 24px;
    background: rgba(var(--cc-dark-bg-rgb), 0.62);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: all 0.3s;
  }
  .feature-card:hover {
    border-color: rgba(var(--cc-brand-rgb), 0.4);
    transform: translateY(-2px);
  }
  .feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--cc-brand-rgb), 0.15);
    border-radius: 10px;
    margin-bottom: 16px;
    color: var(--sf-orange);
  }
  .feature-icon svg {
    width: 24px;
    height: 24px;
  }
  .feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
  }
  .feature-desc {
    font-size: 14px;
    color: var(--cc-dark-muted);
    margin: 0;
    line-height: 1.6;
  }

  /* 高亮卡片 */
  .feature-card.highlight {
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.15), rgba(var(--cc-brand-rgb), 0.05));
    border-color: rgba(var(--cc-brand-rgb), 0.3);
  }
  .feature-card.highlight:hover {
    border-color: rgba(var(--cc-brand-rgb), 0.5);
  }
  .feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--sf-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
  }
  .feature-highlight-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
  }
  .feature-highlight-desc {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
  }

  /* 性能大卡片 */
  .perf-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }
  .perf-content {
    display: flex;
    flex-direction: column;
  }
  .perf-stats {
    display: flex;
    gap: 32px;
  }
  .perf-stat {
    text-align: center;
  }
  .perf-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--sf-orange);
    line-height: 1;
  }
  .perf-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
  }

  /* 返回按钮 */
  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 20px;
  }
  .back-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }
  .back-btn svg {
    width: 16px;
    height: 16px;
  }

  /* 选择套餐模块 */
  .products-section {
    margin-bottom: 48px;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .product-card {
    padding: 24px;
    background: rgba(var(--cc-dark-bg-rgb), 0.62);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .product-card:hover {
    border-color: rgba(var(--cc-brand-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .product-card.recommend {
    border-color: rgba(var(--cc-brand-rgb), 0.45);
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.10), rgba(23, 29, 37, 0.60));
  }
  .product-card.recommend::before {
    content: "推荐";
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--cc-brand-strong), var(--cc-brand));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
  }
  .product-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    padding-right: 60px;
  }
  .product-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    min-height: 20px;
  }
  .product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
  }
  .product-price .currency {
    font-size: 16px;
    color: #fff;
  }
  .cc-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
  }
  .product-price .period {
    font-size: 14px;
    color: #64748b;
  }
  .product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
  }
  .product-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 14px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .product-specs li:last-child {
    border-bottom: none;
  }
  .product-specs li svg {
    width: 16px;
    height: 16px;
    color: var(--sf-orange);
    flex-shrink: 0;
  }
  .product-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(var(--cc-brand-rgb), 0.12);
    border: 1px solid rgba(var(--cc-brand-rgb), 0.28);
    border-radius: 8px;
    color: #fff7ed;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
  }
  .product-btn:hover {
    background: var(--sf-orange);
    border-color: transparent;
    color: #fff;
  }
  .products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
  }
  .products-loading svg {
    stroke: var(--sf-orange);
  }
  .products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    background: rgba(var(--cc-dark-bg-rgb), 0.44);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* 游戏特色 */
  .game-features {
    margin-bottom: 48px;
  }
  .game-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .game-feature-card {
    padding: 20px;
    background: rgba(var(--cc-dark-bg-rgb), 0.62);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
  }
  .game-feature-card:hover {
    border-color: rgba(var(--cc-brand-rgb), 0.4);
    transform: translateY(-2px);
  }
  .game-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--cc-brand-rgb), 0.15);
    border-radius: 12px;
    color: var(--sf-orange);
  }
  .game-feature-icon svg {
    width: 28px;
    height: 28px;
  }
  .game-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
  }
  .game-feature-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
  }

  /* 教程文档模块 */
  .help-section {
    margin-bottom: 48px;
  }
  .modpacks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .modpacks-header .section-title {
    margin-bottom: 0;
  }
  .help-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  .help-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--cc-dark-muted);
    line-height: 1.4;
  }
  .modpacks-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.2), rgba(var(--cc-brand-rgb), 0.1));
    border: 1px solid rgba(var(--cc-brand-rgb), 0.4);
    border-radius: 8px;
    color: var(--sf-orange);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
  }
  .modpacks-more:hover {
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.3), rgba(var(--cc-brand-rgb), 0.2));
    border-color: var(--sf-orange);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(var(--cc-brand-rgb), 0.25);
  }
  .modpacks-more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
  }
  .modpacks-more:hover svg {
    transform: translateX(4px);
  }
  .help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .help-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(var(--cc-brand-rgb), 0.10), rgba(23, 29, 37, 0.60));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    overflow: hidden;
  }
  .help-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(var(--cc-brand-rgb), 1), rgba(251, 146, 60, 0.85));
    opacity: 0.95;
  }
  .help-card:hover {
    border-color: rgba(var(--cc-brand-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
    background: rgba(var(--cc-dark-bg-rgb), 0.82);
  }
  .help-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--cc-brand-rgb), 0.15);
    border-radius: 10px;
    color: var(--sf-orange);
    flex-shrink: 0;
  }
  .help-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--sf-orange);
  }
  .help-content {
    flex: 1;
    min-width: 0;
  }
  .help-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .help-desc {
    font-size: 12px;
    color: var(--cc-dark-muted);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .help-arrow {
    width: 24px;
    height: 24px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
  }
  .help-arrow svg {
    width: 100%;
    height: 100%;
  }
  .help-card:hover .help-arrow {
    color: var(--sf-amber);
    transform: translateX(2px);
  }
  .help-card:hover .help-arrow svg {
    stroke: var(--sf-amber);
  }
  .help-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #64748b;
  }

  /* 响应式 */
  @media (max-width: 992px) {
    .game-hero {
      grid-template-columns: 200px 1fr;
      gap: 24px;
    }
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .perf-card {
      grid-column: span 2;
    }
    .game-features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 768px) {
    .game-hero {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .game-cover {
      max-width: 240px;
      margin: 0 auto;
    }
    .game-tags, .game-actions {
      justify-content: center;
    }
    .game-title {
      justify-content: center;
      flex-wrap: wrap;
      font-size: 28px;
    }
    .features-grid {
      grid-template-columns: 1fr;
    }
    .perf-card {
      grid-column: span 1;
      grid-template-columns: 1fr;
      text-align: center;
    }
    .perf-stats {
      justify-content: center;
    }
    .game-features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
      grid-template-columns: 1fr;
    }
    .help-grid {
      grid-template-columns: 1fr;
    }
    /* 移动端避免横向溢出 */
    .help-section {
      overflow-x: hidden;
    }
    .help-card {
      max-width: 100%;
    }
  }
  @media (max-width: 640px) {
    .game-detail {
      padding: 20px 0 40px;
    }
    .game-hero {
      padding: 16px;
    }
    .game-title {
      font-size: 24px;
    }
    .game-actions {
      flex-direction: column;
    }
    .game-actions .btn-primary-game {
      width: 100%;
    }
    .game-features-grid {
      grid-template-columns: 1fr;
    }
    .modpacks-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }
