/* General styles to reset margin/padding */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  height: 100%;
  background-color: #f5f5f5;
}

/* Container to hold both sections */
.container {
  display: grid;
  grid-template-columns: clamp(180px, 15vw, 240px) 1fr;
  gap: 5px;
  padding: 5px;
  min-height: 100vh;
  height: 100%;
  box-sizing: border-box;
}

:root {
  /* ==== Light Theme Colors ==== */
  --color-bg-main: #ffffff;
  /* main page background */
  --color-bg-sidebar: #eaeaea;
  /* sidebar background (your pick) */
  --color-border: #d0d0d0;
  /* divider between sidebar and main */
  --color-text: #111111;
  /* primary text */
  --color-text-muted: #555555;
  /* secondary text (headers, notes) */
  --color-hover: rgba(0, 0, 0, 0.06);
  /* hover highlight */
  --color-accent: #2ea043;
  /* optional accent (green, matches NFL-ish theme) */
}

.left-section {
  background-color: var(--color-bg-sidebar);
  color: var(--color-text);
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  position: relative;
}

.nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto
}

.nav-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin: 12px 4px 6px;
  color: var(--color-text-muted);
  text-align: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  display: block;
  padding: 3px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.75rem;
  transition: background 0.2s ease;
}

/* Hover / focus states */
.nav-list li a:hover,
.nav-list li a:focus {
  background: var(--color-hover);
  outline: none;
}

.nav-list li a.active {
  border-left: 4px solid var(--color-accent);
  background: rgba(46, 160, 67, 0.08);
}

/* ===== Spacing between nav groups ===== */
.nav-group+.nav-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.flyout-heading {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #666;
  /* muted gray */
  margin: 8px 0 4px;
  /* spacing above and below */
  cursor: default;
  /* show it's not clickable */
  pointer-events: none;
  /* prevents accidental clicking/hover */
}



/* The list item containing the flyout */
.has-flyout {
  position: relative;
}

/* The flyout panel that appears to the right of the sidebar */
.flyout {
  position: absolute;
  top: 0;
  left: 100%;
  /* sit immediately to the right of sidebar */
  margin-left: 10px;
  /* gap between sidebar and panel */
  width: 300px;
  max-height: 70vh;
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  padding: 10px;
  overflow: auto;
  display: none;
  z-index: 1000;
}

/* Show on hover OR keyboard focus */
.has-flyout:hover .flyout,
.has-flyout:focus-within .flyout {
  display: block;
}


/* Flyout list styling */
.flyout-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.flyout-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.flyout-list a:hover,
.flyout-list a:focus {
  background: #f3f4f6;
  outline: none;
}

/* Optional: reduce motion users */
@media (prefers-reduced-motion: reduce) {
  .flyout {
    transition: none;
  }
}

/* ===== Optional: scrollbar styling (Chrome/Edge/WebKit) ===== */
.left-section nav::-webkit-scrollbar {
  width: 6px;
}

.left-section nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.left-section nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.right-section {
  background: #121212;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}

.page-title h1 {
  margin: 0;
  font-size: 22px;
}

.page-title p {
  margin: 4px 0 0;
  color: #666;
}


.hofcontainer {
  margin: 0 auto;
  width: 100%;
  padding: 0px 0 0px;
}

.hof-hero {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hof-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(700px 280px at 20% 0%, rgba(215, 183, 106, 0.18), transparent 60%),
    radial-gradient(600px 260px at 90% 30%, rgba(125, 211, 252, 0.12), transparent 60%);
  pointer-events: none;
  border-radius: 18px;
}

.hof-hero-inner {
  position: relative;
  padding: 22px 22px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.hof-title-wrap {
  min-width: 260px;
}

.hof-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 8px;
}

.hof-kicker .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--gold));
  box-shadow: 0 0 0 3px rgba(215, 183, 106, 0.16);
}

.hof-title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant: small-caps;
}

.hof-tagline {
  margin: 10px 0 0;
  color: #fff;
  max-width: 58ch;
  font-size: small;
}

.hof-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stat-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(78, 63, 63, 0.25);
  border-radius: 999px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.stat-pill .label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #fff;
}

.stat-pill .value {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.filters {
  margin-top: 0px;
  border-top: 0px solid var(--border);
  padding: 14px 22px 18px;
  position: relative;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
  gap: 10px;
  align-items: end;
}

@media (max-width: 860px) {
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.field input,
.field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: rgba(126, 122, 122, 0.28);
  padding: 11px 12px;
  border-radius: 12px;
  outline:#2ea043;
  color: rgba(255, 255, 255, 0.88);
}

.field input::placeholder {
  color: rgba(255, 252, 252, 0.45);
}

.btn {
  border: 1px solid rgba(215, 183, 106, 0.35);
  background: linear-gradient(135deg, rgba(215, 183, 106, 0.22), rgba(215, 183, 106, 0.08));
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  background-color: goldenrod;
}

.btn.secondary {
  border-color: rgba(90, 88, 88, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: black;
  text-decoration: none;
  color: #dbd7d7;
  transition: background 0.2s ease, filter 0.2s ease;
}

.btn.secondary:hover {
  background: rgba(91, 52, 52, 0.12);

  filter: none;
}

.btn .filter-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .filter-actions {
    justify-content: flex-start;
  }
}


.content {
  margin-top: 0px;
}

.empty {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 10px 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.class {
  margin: 10px 0 0;
  overflow: hidden;
}

.class-header {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(253, 187, 4, 0.498), rgba(254, 253, 253, 0.455));
  border-radius: 999px;

}

.class-header h2 {
  margin: 0 auto;
  letter-spacing: 0.02em;
  display: flex;
  text-align: center;
  font-size: 16px;
  gap: 10px;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}


.plaque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

@media (max-width: 980px) {
  .plaque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .plaque-grid {
    grid-template-columns: 1fr;
  }
}


.plaque {
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border: 1px solid #d4af37;  
  padding: 10px 5px 10px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}



.player-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #d4af37;
  margin: 0 auto 0px;
 
  /* Gives it that historical look */
  object-fit: cover;
}

.player-name {
  font-size: 1.5rem;
  font-weight: bold;
  color:  #d4af37;
  margin: 10px 0 5px;
}

.stats-summary {

  margin: 3px 0;
  border-top: 1px solid #444;
  padding-top: 15px;
}
.stat-box {
  gap: 4px;
}

.stat-box .val {
  font-size: 14px;
  font-weight: bold;
  color:#fff;
}



.accolades {
  margin-top: 5px;
  font-style: italic;
  font-size: 0.85rem;
  color: #ccc;
}


.card-footer {
  width: 100%;
  padding: 5px 0px 2px;
  display: flex;
  justify-content: flex-end;
}


.link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: rgba(125, 211, 252, 0.08);
  padding: 5px 5px;
  border-radius: 999px;
  white-space: nowrap;
}

.link:hover {
  filter: brightness(1.08);
  background-color: goldenrod;
}

/* Footer note */
.footnote {
  margin-top: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #fff;
  font-size: 13px;
}

.footnote strong {
  color: goldenrod
}