/* huntergame.net hub */
.hg-hero {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 10px;
  padding: 28px 22px 24px;
  border: 1px solid var(--hg-line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(184, 255, 60, 0.08), rgba(16, 24, 39, 0.35));
  text-align: center;
}
.hg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 77, 141, 0.14);
  color: #ffd1e2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hg-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  line-height: 1.12;
}
.hg-hero h1 em {
  font-style: normal;
  color: var(--hg-accent);
}
.hg-hero p.lead {
  margin: 0 auto 18px;
  max-width: 640px;
  color: var(--hg-muted);
  font-size: 1.02rem;
}
.hg-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hg-search {
  width: min(520px, 100%);
  margin: 16px auto 0;
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--hg-line);
  background: rgba(7, 11, 18, 0.72);
  color: var(--hg-ink);
  font-size: 1rem;
}
.hg-trust {
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hg-trust div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(16, 24, 39, 0.55);
  border: 1px solid var(--hg-line);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}
@media (max-width: 720px) {
  .hg-trust { grid-template-columns: 1fr; }
}

.hg-section {
  width: min(1120px, calc(100% - 28px));
  margin: 8px auto 28px;
}
.hg-section h2 {
  margin: 18px 0 12px;
  font-size: 1.25rem;
}
.hg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1020px) { .hg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .hg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hg-grid { grid-template-columns: 1fr; } }

.hg-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(16, 24, 39, 0.82);
  border: 1px solid var(--hg-line);
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(184, 255, 60, 0.12);
}
.hg-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  background: #0b1220;
}
.hg-card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hg-chip {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(62, 232, 255, 0.14);
  color: #baf7ff;
}
.hg-card h3 { margin: 0; font-size: 1rem; line-height: 1.25; }
.hg-card p { margin: 0; color: var(--hg-muted); font-size: 0.82rem; flex: 1; }
.hg-card .hg-btn { width: 100%; margin-top: 4px; }

.hg-guides {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 8, 14, 0.72);
}
.hg-guides.is-open { display: flex; }
.hg-guides-dialog {
  width: min(520px, 100%);
  background: #101827;
  border: 1px solid var(--hg-line);
  border-radius: 22px;
  padding: 22px 18px 18px;
  position: relative;
}
.hg-guides-dialog h2 { margin: 0 20px 8px 0; }
.hg-guides-step { color: var(--hg-muted); font-size: 0.92rem; line-height: 1.5; }
.hg-guides-step ol { margin: 8px 0 0; padding-left: 18px; color: var(--hg-ink); font-weight: 700; }
.hg-guides-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  max-height: 240px;
  overflow: auto;
}
.hg-guides-picks a {
  display: block;
  padding: 10px;
  border-radius: 12px;
  background: rgba(7, 11, 18, 0.8);
  border: 1px solid var(--hg-line);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.hg-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .hg-articles { grid-template-columns: 1fr; } }
.hg-article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(16, 24, 39, 0.7);
  border: 1px solid var(--hg-line);
  text-decoration: none;
}
.hg-article img { width: 120px; height: 88px; object-fit: cover; border-radius: 12px; }
.hg-article h3 { margin: 0 0 6px; font-size: 0.98rem; }
.hg-article p { margin: 0; color: var(--hg-muted); font-size: 0.82rem; }

.hg-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 760px) { .hg-quotes { grid-template-columns: 1fr; } }
.hg-quote {
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 24, 39, 0.6);
  border: 1px solid var(--hg-line);
}
.hg-quote strong { display: block; margin-bottom: 6px; color: var(--hg-accent); }
.hg-quote p { margin: 0; color: var(--hg-muted); font-size: 0.88rem; }

/* Language gate */
.hg-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hg-gate-card {
  width: min(440px, 100%);
  padding: 28px 22px;
  border-radius: 28px;
  border: 1px solid var(--hg-line);
  background: rgba(16, 24, 39, 0.88);
  text-align: center;
  box-shadow: var(--hg-shadow);
}
.hg-gate-langs {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.hg-lang-btn {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--hg-line);
  background: rgba(7, 11, 18, 0.8);
  color: var(--hg-ink);
  font-weight: 800;
  cursor: pointer;
}
.hg-lang-btn.is-on {
  border-color: var(--hg-accent);
  box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.2);
  background: linear-gradient(90deg, rgba(184, 255, 60, 0.18), rgba(62, 232, 255, 0.12));
}
.hg-terms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 14px;
  color: var(--hg-muted);
  font-size: 0.9rem;
}
.hg-terms-row button {
  background: none;
  border: 0;
  color: var(--hg-accent-2);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 800;
}
