/* Home — FACEIT-style match focus */
.page-home-match .hm-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: end;
  min-height: min(72vh, 640px);
  padding-top: 48px;
  padding-bottom: 40px;
}
@media (max-width: 960px) {
  .page-home-match .hm-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.hm-hero-copy h1 {
  margin: 8px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.05;
}
.hm-hero-copy .lede {
  max-width: 46ch;
  color: #c4c4c8;
}
.hm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hm-queue-card {
  border: 1px solid rgba(232,163,60,.4);
  border-radius: 10px;
  background: rgba(14, 14, 18, 0.88);
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.hm-queue-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.hm-queue-head strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: .95rem;
  color: #d1d5db;
}
.hm-step-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232,163,60,.15);
  border: 1px solid rgba(232,163,60,.45);
  color: #e8a33c;
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
  font-weight: 700;
}
.hm-queue-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
}
.hm-queue-note {
  margin: 10px 0 0;
  font-size: .82rem;
}

.hm-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .hm-game-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
.hm-game-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0c10;
  text-decoration: none;
  color: #f3f3f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hm-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.hm-game-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}
.hm-game-card:hover .hm-game-cover {
  transform: scale(1.06);
}
.hm-game-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.05) 0%, rgba(8, 8, 12, 0.15) 42%, rgba(8, 8, 12, 0.88) 100%),
    linear-gradient(135deg, var(--hm-tint-a, rgba(232, 163, 60, 0.28)), transparent 55%),
    linear-gradient(0deg, var(--hm-tint-b, rgba(232, 163, 60, 0.22)), transparent 48%);
  mix-blend-mode: normal;
}
.hm-game-card[data-game="wardogs"] {
  --hm-tint-a: rgba(232, 163, 60, 0.38);
  --hm-tint-b: rgba(180, 90, 20, 0.35);
  --hm-accent: #e8a33c;
  --hm-accent-soft: rgba(232, 163, 60, 0.18);
  --hm-accent-border: rgba(232, 163, 60, 0.45);
}
.hm-game-card[data-game="squad"] {
  --hm-tint-a: rgba(70, 130, 180, 0.42);
  --hm-tint-b: rgba(212, 175, 55, 0.28);
  --hm-accent: #d4af37;
  --hm-accent-soft: rgba(212, 175, 55, 0.16);
  --hm-accent-border: rgba(212, 175, 55, 0.45);
}
.hm-game-card[data-game="hellletloose"] {
  --hm-tint-a: rgba(120, 70, 30, 0.4);
  --hm-tint-b: rgba(200, 80, 20, 0.32);
  --hm-accent: #e07a3a;
  --hm-accent-soft: rgba(224, 122, 58, 0.16);
  --hm-accent-border: rgba(224, 122, 58, 0.45);
}
.hm-game-card[data-game="wardogs"]:hover {
  border-color: rgba(232, 163, 60, 0.65);
}
.hm-game-card[data-game="squad"]:hover {
  border-color: rgba(212, 175, 55, 0.65);
}
.hm-game-card[data-game="hellletloose"]:hover {
  border-color: rgba(224, 122, 58, 0.7);
}
.hm-game-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
}
.hm-game-body strong {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}
.hm-game-body p {
  margin: 0;
  color: rgba(243, 243, 245, 0.88);
  font-size: 0.9rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.hm-game-format {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--hm-accent-soft);
  color: var(--hm-accent);
  border: 1px solid var(--hm-accent-border);
  backdrop-filter: blur(4px);
}

/* legacy faction / old icon card bits */
.hm-faction-grid,
.hm-game-card-top { display: none !important; }

.hm-public-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  background: #121218;
}
.hm-public-card h2 {
  margin: 4px 0 6px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.page-home-match .clan-cta-section { padding-top: 8px; }

.hm-match-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 36px !important;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(232, 163, 60, 0.35);
}
.page-home-match .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
