/* =============================================
   彩種分組頁面樣式
   風格與 bump-calculator.css 一致（深色主題）
   ============================================= */

/* ---- Hero 區塊 ---- */
.group-hero {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.5) 0%, #0f172a 50%, rgba(6, 182, 212, 0.15) 100%);
  padding: 1.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.group-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.group-hero .ai-breadcrumb {
  margin-bottom: 1rem;
}
.group-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.group-hero .breadcrumb .breadcrumb-item {
  font-size: 0.8rem;
}
.group-hero .breadcrumb .breadcrumb-item a {
  color: #94a3b8;
  text-decoration: none;
}
.group-hero .breadcrumb .breadcrumb-item a:hover {
  color: #22d3ee;
}
.group-hero .breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.4);
}
.group-hero .breadcrumb .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.25);
}
.group-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.group-hero__text h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.group-hero__text h1 i {
  margin-right: 0.5rem;
  color: #22d3ee;
}
.group-hero__desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
}
.group-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  min-width: 80px;
}
.group-hero__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22d3ee;
  font-family: 'Orbitron', monospace;
  line-height: 1;
}
.group-hero__stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* ---- Group Tabs 分組切換 ---- */
.group-tabs {
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.group-tabs__wrap {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}
.group-tabs__wrap::-webkit-scrollbar {
  height: 4px;
}
.group-tabs__wrap::-webkit-scrollbar-track {
  background: transparent;
}
.group-tabs__wrap::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 2px;
}
.group-tabs__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.group-tabs__item:hover {
  color: #e2e8f0;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  text-decoration: none;
}
.group-tabs__item--active {
  color: #fff;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}
.group-tabs__item--active:hover {
  color: #fff;
}
.group-tabs__item i {
  font-size: 0.78rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .group-hero {
    padding: 1rem 0 1.5rem;
  }
  .group-hero__text h1 {
    font-size: 1.3rem;
  }
  .group-hero__desc {
    font-size: 0.82rem;
  }
  .group-hero__stat {
    padding: 0.5rem 1rem;
    min-width: 60px;
  }
  .group-hero__stat-num {
    font-size: 1.2rem;
  }
  .group-tabs__item {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }
}
