/* components.css -- Buttons, try-lines, counters, form-dots, pull-quotes, scoreboard, breadcrumbs, drop-cap */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: var(--s-12) var(--s-24);
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-text);
  border: 1.5px solid var(--c-accent);
}

.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: var(--c-text);
}

.btn--secondary {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}

.btn--secondary:hover {
  background: var(--c-accent);
  color: var(--c-text);
}

.btn--tertiary {
  background: var(--c-accent-sec);
  color: var(--c-bg);
  border: 1.5px solid var(--c-accent-sec);
}

.btn--tertiary:hover {
  background: var(--c-accent-sec-text);
  border-color: var(--c-accent-sec-text);
}

.btn-group {
  display: flex;
  gap: var(--s-16);
  flex-wrap: wrap;
}

/* ── Try-line Divider ── */
.try-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: var(--s-16) 0;
}

.try-line::before,
.try-line::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-border);
}

.try-line__ball {
  width: 10px;
  height: 7px;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
}

/* ── Stat Counters ── */
.counter {
  text-align: center;
}

.counter__number {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.counter__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  margin-top: var(--s-8);
}

.counter__desc {
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  margin-top: var(--s-4);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Form Dots (W/L) ── */
.form-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.form-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.form-dot--w {
  background: var(--c-win);
}

.form-dot--l {
  background: var(--c-loss);
}

/* ── Pull Quote ── */
.pull-quote {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--c-text);
  border-left: 3px solid var(--c-accent);
  padding-left: var(--s-24);
  max-width: 640px;
  margin: var(--s-32) 0;
}

/* ── Scoreboard Card ── */
.scoreboard {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-24);
}

.scoreboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-16);
}

.scoreboard__team {
  text-align: center;
  flex: 1;
}

.scoreboard__team-name {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
}

.scoreboard__vs {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  padding: 0 var(--s-12);
}

.scoreboard__score {
  display: flex;
  justify-content: center;
  gap: var(--s-16);
  margin-bottom: var(--s-16);
}

.scoreboard__score-num {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}

.scoreboard__score-sep {
  font-size: 2rem;
  color: var(--c-text-dim);
}

.scoreboard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}

.scoreboard__stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-border);
}

.scoreboard__stat-label {
  color: var(--c-text-dim);
}

.scoreboard__stat-val {
  color: var(--c-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Breadcrumbs ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  margin-bottom: var(--s-24);
}

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

.breadcrumb a:hover {
  color: var(--c-accent);
}

.breadcrumb__sep {
  color: var(--c-border);
}

/* ── Testimonial ── */
.testimonial {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-24);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--f-heading);
  font-size: 3rem;
  color: var(--c-accent);
  position: absolute;
  top: var(--s-12);
  left: var(--s-16);
  line-height: 1;
}

.testimonial__text {
  font-size: 0.9375rem;
  color: var(--c-text-dim);
  font-style: italic;
  padding-top: var(--s-24);
  line-height: 1.7;
}

.testimonial__author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-top: var(--s-12);
}

/* ── Match Card ── */
.match-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-24);
}

.match-card__teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-12);
}

.match-card__team {
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}

.match-card__score {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

.match-card__meta {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  margin-bottom: var(--s-8);
}

.match-card__note {
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  font-style: italic;
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-12);
  margin-top: var(--s-12);
}

/* ── Stat Card ── */
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-24);
  text-align: center;
}

.stat-card__value {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  margin-top: var(--s-4);
}

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-16);
}

.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Team Card (bio) ── */
.team-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-24);
}

.team-card__name {
  font-family: var(--f-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--s-4);
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--s-12);
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}
