.hof-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hof-hero-card {
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.7), rgba(20, 10, 10, 0.85)),
    url(images/hall-of-fame-1.webp) center/cover no-repeat;
}

.hof-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hof-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hof-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
  justify-content: center;
}

.hof-search {
  appearance: none;
  border: 3px solid rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.55);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  min-width: 210px;
  font-size: 0.9rem;
  box-shadow: 0 0 0 2px rgba(255, 80, 73, 0.35);
}

.hof-search::placeholder {
  color: var(--ink-soft);
}

.hof-tab {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hof-tab.active {
  background: linear-gradient(130deg, #ffb84d, #ff7a59);
  color: #1b0f00;
  border-color: transparent;
}

.hof-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.95rem;
}

.hof-table th,
.hof-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.hof-table th {
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hof-share {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hof-share:hover {
  background: rgba(255, 255, 255, 0.15);
}

.share-popup-content img {
  width: 100%;
  border-radius: 14px;
  margin: 14px 0;
  display: none;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.share-buttons a {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.hof-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.name-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.member-badge {
  color: #ffd54a;
  text-shadow: 0 0 8px rgba(255, 213, 74, 0.45);
  font-size: 0.95em;
  line-height: 1;
}

.hof-table-wrap {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 10px 12px;
  max-height: 420px;
  overflow-y: auto;
}

.hof-table-wrap.hidden {
  display: none;
}

.hof-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hof-status {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 760px) {
  .hof-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hof-search {
    min-width: 0;
    width: min(100%, 360px);
    align-self: center;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup.show {
  display: flex;
}

.popup-content {
  background: rgba(10, 10, 10, 0.9);
  color: var(--ink);
  padding: 24px;
  border-radius: 18px;
  width: min(520px, 92vw);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.popup-content h2,
.popup-content h3 {
  margin-top: 0;
}

.popup-content .close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}
