/* ── Champion Hub Page ───────────────────────────────────────────────────── */

/* ── Hero extended (ratings + no section label) ─────────────────────────── */
.chp-hero .champ-hero__content {
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
}

.chp-hero .champ-hero__icon {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  margin-top: 4px;
}

.champ-hero__class-txt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}

/* ── Compact ratings inside hero ─────────────────────────────────────────── */
.chp-ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin-top: 14px;
  max-width: 320px;
}

.chp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chp-rating-label {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
  width: 64px;
  flex-shrink: 0;
}

.chp-rating-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
}

.chp-rating-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #42b7ff, #a78bfa);
}

/* ── Main hub wrapper ────────────────────────────────────────────────────── */
.chp-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── Bio placeholder ─────────────────────────────────────────────────────── */
.chp-bio {
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 24px 28px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.chp-bio__text {
  font-size: .9rem;
  color: var(--text-base);
  line-height: 1.65;
}

.chp-bio--placeholder .chp-bio__text {
  color: var(--text-muted);
  font-style: italic;
}

/* ── Section shared ──────────────────────────────────────────────────────── */
.chp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.chp-section-head h2 {
  font-family: "Orbitron", "Barlow", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: .04em;
  margin: 0;
}

.chp-see-all {
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}

.chp-see-all:hover { opacity: .75; }

/* ── Counter preview grid ────────────────────────────────────────────────── */
.chp-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.chp-counter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.chp-counter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66,183,255,.3);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.chp-counter-cat {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.chp-cat--hard        { background: rgba(239,68,68,.15);   color: #ef4444;  border: 1px solid rgba(239,68,68,.3); }
.chp-cat--unfavorable { background: rgba(251,146,60,.12);  color: #fb923c;  border: 1px solid rgba(251,146,60,.25); }
.chp-cat--skill       { background: rgba(66,183,255,.1);   color: #42b7ff;  border: 1px solid rgba(66,183,255,.25); }
.chp-cat--favorable   { background: rgba(52,211,153,.1);   color: #34d399;  border: 1px solid rgba(52,211,153,.25); }

.chp-counter-card img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.1);
}

.chp-counter-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
}

/* ── Synergy preview grid ────────────────────────────────────────────────── */
.chp-synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.chp-synergy-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}

.chp-synergy-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52,211,153,.3);
}

.chp-synergy-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.1);
}

.chp-synergy-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.chp-syn-tier {
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #34d399;
}

.chp-syn-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-strong);
}

.chp-syn-note {
  font-size: .74rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tips preview ────────────────────────────────────────────────────────── */
.chp-tips-list {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chp-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 10px;
  font-size: .86rem;
  color: var(--text-base);
  line-height: 1.55;
}

.chp-tips-list li::before {
  content: "›";
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── Builds WIP ──────────────────────────────────────────────────────────── */
.chp-wip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 20px;
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 14px;
  text-align: center;
}

.chp-wip__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.chp-wip p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

.chp-wip strong {
  color: var(--text-base);
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ── Game plan teaser ────────────────────────────────────────────────────── */
.chp-gameplan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
}

.chp-gp-card {
  padding: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}

.chp-gp-label {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.chp-gp-text {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .chp-counter-grid { grid-template-columns: repeat(2, 1fr); }
  .chp-synergy-grid { grid-template-columns: 1fr 1fr; }
  .chp-gameplan     { grid-template-columns: 1fr; }
  .chp-ratings      { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 480px) {
  .chp-counter-grid { grid-template-columns: repeat(2, 1fr); }
  .chp-synergy-grid { grid-template-columns: 1fr; }
  .chp-main         { padding: 0 1rem 3rem; gap: 36px; }
}
