/* Load display fonts once, via CSS */
@import url("https://fonts.googleapis.com/css2?family=Jersey+20&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jersey+10&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');
    /* ===== UWSP-inspired design tokens ===== */
    :root {
      --uwsp-purple: #512698;
      --uwsp-gold: #FFC82E;
      --ink-900: #0b0b10;
      --ink-700: #1c1c26;
      --ink-400: #8b8ca0;
      --ink-200: #cfd0dc;
      --bg: #0f0f18;
      --card: #131325;
      --radius-xl: 1.25rem;
      --shadow-lg: 0 10px 30px rgba(0,0,0,.35);
      --maxw: 1100px;
      --pad: clamp(16px, 2.4vw, 28px);
      --font-sans:   "Atkinson Hyperlegible Mono", sans-serif;
      --font-display: "Jersey 20", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	  --hof-arcade-font: "Jersey 10", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

.discord-widget {
  width: 100%;
  max-width: 100%;
  display: block;
  border: 0;
  border-radius: 12px; /* optional, matches your card style */
}


    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      font-family: var(--font-display);
	  font-size: 22px;
      color: white;
	  /* === STATIC BACKGROUND IMAGE === */
	  background-image:
		  url("../img/backgrnd1.webp"),
		  radial-gradient(1200px 600px at 70% 20%, rgba(81,38,152,.35), transparent 60%),
		  linear-gradient(180deg, #0b0b14 0%, #0d0d1a 50%, #0a0a12 100%);
	  
	  background-size: cover;
	  background-repeat: no-repeat;
	  background-attachment: fixed; 
	  background-position: center;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

    /* ===== Header ===== */
    header {
      position: sticky; top: 0; z-index: 10;
      backdrop-filter: blur(8px);
      background: linear-gradient(180deg, rgba(15,15,24,.85), rgba(15,15,24,.55));
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .brand { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
    .brand__logo { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--uwsp-purple); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
    .brand__name { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; letter-spacing: .2px; }
    .badge { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; border-radius: 999px; background: var(--uwsp-gold); color: #2a1c00; }

    /* ===== Hero ===== */
    .hero {}
    .hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(18px, 3vw, 36px); }

    .title {
      font-size: clamp(48px, 6.5vw, 72px);
      line-height: 1.05; margin: 0 0 12px;
      font-weight: 800;
      letter-spacing: .2px;
    }
    .title strong { color: var(--uwsp-gold); text-shadow: 0 1px 0 rgba(0,0,0,.4); }
	
	/* ===== Countdown ===== */
	.countdown {
	  margin-top: clamp(20px, 3vw, 28px);
	  display: grid;
	  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* days gets more space */
	  gap: 12px;
	  max-width: 720px;
	}

	.tile {
	  background: linear-gradient(180deg, #14142a, #101022);
	  border: 1px solid rgba(255,255,255,.08);
	  border-radius: 16px;
	  text-align: center;
	  box-shadow: var(--shadow-lg);
	}

	.tile:first-child {
	  grid-column: span 1.3; /* mild increase */
	}
	
	.tile__value {
	  font-variant-numeric: tabular-nums;
	  font-size: clamp(40px, 6vw, 72px); /* <<< big numbers */
	  font-weight: 900;
	  letter-spacing: .5px;
	}

	.tile__label {
	  margin-top: 6px;
	  font-size: 14px;                  /* <<< slightly larger label */
	  text-transform: uppercase;
	  color: var(--ink-200);
	  letter-spacing: 1px;
	}

	main a:not(.btn) {
	  color: var(--uwsp-gold);
	}

	main a:not(.btn):visited {
	  color: var(--uwsp-purple);
	}

    .sub { max-width: 62ch; color: var(--ink-200); font-size: clamp(18px, 1.8vw, 22px); }

    .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
    .btn { cursor: pointer; appearance: none; border: none; border-radius: 999px; padding: 12px 18px; font-weight: 700; letter-spacing: .2px; box-shadow: var(--shadow-lg); }
    .btn--primary { background: var(--uwsp-purple); color: white; }
    .btn--ghost { background: transparent; color: var(--uwsp-gold); box-shadow: inset 0 0 0 2px var(--uwsp-gold); }
    .btn:focus-visible { outline: 3px solid var(--uwsp-gold); outline-offset: 2px; }

    /* ===== Carousel ===== */
    .carousel{position:relative;overflow:hidden;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);background:var(--card);border:1px solid rgba(255,255,255,.06);}
    .carousel-track{display:flex;transition:transform 0.6s ease;}
    .carousel-slide{min-width:100%;position:relative;padding: clamp(10px, 1.8vw, 18px);}
    .carousel-slide img{width:100%;height:auto;display:block;border-radius:calc(var(--radius-xl) - 6px);}
    .carousel-caption{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(0,0,0,.6);padding:10px 16px;font-size:14px;text-align:center;border-radius:10px;}
    .carousel-nav{position:absolute;top:50%;left:0;right:0;display:flex;justify-content:space-between;transform:translateY(-50%);padding:0 6px;}
    .carousel-button{background:rgba(0,0,0,.45);border:none;color:white;font-size:28px;padding:6px 12px;cursor:pointer;border-radius:10px;}
    .carousel-button:hover{background:rgba(0,0,0,.75);}    

    /* ===== Info card ===== */
    .card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-xl); padding: clamp(16px, 2.2vw, 22px); box-shadow: var(--shadow-lg); }
    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 20px); }
    .kicker { color: var(--uwsp-gold); font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; font-size: 24px; }

    .meta { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 10px; margin-top: 10px; }
    .meta > div { padding: 12px; border-radius: 12px; background: linear-gradient(180deg, #16162c, #121226); border: 1px solid rgba(255,255,255,.06); }
    .meta h4 { margin: 0 0 6px; font-size: 13px; color: var(--ink-200); }
    .meta p { margin: 0; font-size: 20px; }

    /* ===== Footer ===== */
    footer { margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.06); }
    .foot { padding: 16px 0 26px; color: var(--ink-200); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
    .links { display: flex; gap: 18px; flex-wrap: wrap; }
    .links a { color: var(--ink-200); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.25); }
    .links a:focus-visible, .links a:hover { color: white; border-bottom-color: var(--uwsp-gold); }

    /* Utility: screen-reader only */
    .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

    /* ===== Breakpoints (UWSP standards) ===== */
    @media (max-width: 960px) {
      .hero__inner { grid-template-columns: 1fr; }
    }
    @media (max-width: 767px) {
      .countdown { grid-template-columns: repeat(2, 1fr); }
      .meta { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: 1fr; }
    }
    @media (max-width: 500px) {
      .btn { width: 100%; justify-content: center; }
    }

    /* Respect reduced motion */
    @media (prefers-reduced-motion: no-preference) {
      .tile { transition: transform .25s ease; }
      .tile:hover { transform: translateY(-2px); }
    }
	
	/* ===== Accordions ===== */
.accordion {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.accordion-item + .accordion-item {
  border-top: 1px solid rgba(255,255,255,.12);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 0;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--uwsp-gold);
  outline-offset: 3px;
}

.accordion-icon {
  margin-left: 8px;
  font-size: 14px;
  transform: translateY(1px);
  transition: transform 0.15s ease;
}

/* Header links are always gold */
header a,
header a:visited,
header a:hover,
header a:focus-visible {
  color: var(--uwsp-gold) !important;
}

/* Inline code styling */
code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 4px;
  border-radius: 4px;
  font-family: "Fira Code", Consolas, "Courier New", monospace;
  color: #8D6BD1; /* lighter UWSP purple */
}

/* Rotate icon when open */
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 0 12px;
  color: var(--ink-200);
}

.accordion-panel p {
  margin: 0 0 8px;
}

/* ===== Global favicon ===== */
@media all {
  :root {
    --favicon-path: url("../img/favicon.ico");
  }

  /* Standard browsers */
  link[rel="icon"] {
    content: var(--favicon-path);
  }
}

/* Safari pinned-tab fallback (optional) */
@supports (-webkit-mask-image: var(--favicon-path)) {
  link[rel="mask-icon"] {
    content: var(--favicon-path);
  }
}

/* --- Hall of Fame: Layout & Background --- */

.hof-section {
  padding: 4rem 1rem;
  background: var(--card);
  color: #fdfdfd;
}

.hof-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Titles */

.hof-title {
  margin: 0 0 0.25rem;
  font-size: 4.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffc82e;
  text-shadow: 0 0 8px rgba(255, 200, 46, 0.8);
}

.hof-subtitle {
  margin: 0 0 2rem;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #e0d7ff;
  opacity: 0.8;
}

/* Year Tabs */

.hof-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hof-tab {
  border: 1px solid #ffc82e;
  background: rgba(5, 0, 15, 0.95);
  color: #ffc82e;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.05s ease;
}

.hof-tab:hover {
  background: #ffc82e;
  color: #1f0938;
  box-shadow: 0 0 8px rgba(255, 200, 46, 0.75);
}

.hof-tab.is-active {
  background: #512698;
  color: #ffc82e;
  box-shadow: 0 0 12px rgba(81, 38, 152, 0.9);
  transform: translateY(-1px);
}

/* Arcade / monospace font for scoreboard areas */
.hof-tabs,
.hof-screen,
.hof-screen-header,
.hof-table,
.hof-footer-text {
  font-family: var(--hof-arcade-font, "Courier New", "Lucida Console", monospace);
}

/* Meta strip with winner cards */

.hof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto 1.25rem;
  max-width: 960px;
  padding: 0.75rem 0.25rem;
}

.hof-meta-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(5, 0, 15, 0.85);
  border: 1px solid rgba(255, 200, 46, 0.4);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  min-width: 260px;
  flex: 1 1 280px;
}

.hof-meta-card-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hof-meta-card-logo img {
  max-height: 56px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

.hof-meta-card-body {
  flex: 1 1 auto;
  text-align: left;
  font-size: 0.8rem;
  color: #f7f0ff;
  line-height: 1.4;
}

.hof-meta-card-heading {
  font-weight: 700;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.00rem;
  color: #ffc82e;
}

.hof-meta-card-team {
  font-weight: 600;
  margin-bottom: 0.1rem;
  font-size: 1.50rem;
}

.hof-meta-card-quote {
  font-style: italic;
  opacity: 0.9;
  font-size: 1.00rem;
}

/* Arcade screen frame */

.hof-screen {
  position: relative;
  margin: 0 auto;
  max-width: 960px;
  border-radius: 18px;
  padding: 1.5rem 1rem 1rem;
  background-image: circle-gradient(circle at top, #2d134e 0, #070212 60%, #000000 100%);
  background-size: 100% 420px;
  background-repeat: repeat-y;
  background-position: top center;
  border: 2px solid #512698;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(81, 38, 152, 0.7);
  overflow: hidden;
  overflow-x: auto;
}

/* scanlines */
.hof-screen::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.35) 1px,
    transparent 1px
  );
  background-size: 100% 2px;
  mix-blend-mode: soft-light;
  opacity: 0.45;
}

/* Screen header */

.hof-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.75rem 0.75rem;
  border-bottom: 1px solid rgba(255, 200, 46, 0.35);
  position: relative;
  z-index: 1;
}

.hof-led-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16c60c;
  box-shadow:
    0 0 6px rgba(22, 198, 12, 0.8),
    0 0 10px rgba(22, 198, 12, 0.7);
  animation: hof-led-pulse 1.6s infinite ease-in-out;
}

@keyframes hof-led-pulse {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.35; }
}

.hof-screen-title {
  flex: 1;
  text-align: center;
  font-size: 2.05rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffc82e;
}

.hof-year-label {
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e0d7ff;
  opacity: 0.9;
}

/* Table */

.hof-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
  font-size: 0.95rem; /* or whatever larger value you want */
  text-align: left;
  table-layout: fixed; /* important */
}


.hof-table thead {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.75rem;
  color: #ffd972;
}

.hof-table th,
.hof-table td {
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
}

.hof-table th.col-rank,
.hof-table td.col-rank {
  width: 4.2rem;
}

.hof-table th.col-name,
.hof-table td.col-name {
  width: 50%;
}

.hof-table th.col-bracket,
.hof-table td.col-bracket {
  width: 25%;
}

.hof-table th.col-score,
.hof-table td.col-score {
  text-align: right;
}.hof-table th,
.hof-table td {
  padding: 0.4rem 0.75rem;
  /* remove this if present: white-space: nowrap; */
}

/* Let names wrap instead of stretching the whole table */
.hof-table th.col-name,
.hof-table td.col-name {
  width: 55%;
  white-space: normal;
  word-break: break-word;
}

/* Tight widths for rank / bracket / score */
.hof-table th.col-rank,
.hof-table td.col-rank {
  width: 4.2rem;
}

.hof-table th.col-bracket,
.hof-table td.col-bracket {
  width: 20%;
}

.hof-table th.col-score,
.hof-table td.col-score {
  width: 15%;
  text-align: right;
}


.hof-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.hof-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.15);
}

.hof-table tbody tr:hover {
  background: rgba(255, 200, 46, 0.1);
}

/* === Scoreboard Rank Colors === */

/* 1st place: Gold */
.hof-table tbody tr.hof-rank-1 td {
  color: #ffc82e;
  text-shadow:
    0 0 4px rgba(255, 200, 46, 0.45),
    0 0 4px rgba(255, 200, 46, 0.35);
  font-weight: 500;
}

/* 2nd place: Silver */
.hof-table tbody tr.hof-rank-2 td {
  color: #d5d7f7;
  text-shadow:
    0 0 3px rgba(200, 205, 255, 0.35),
    0 0 4px rgba(200, 205, 255, 0.25);
  font-weight: 400;
}

/* 3rd place: Lavender */
.hof-table tbody tr.hof-rank-3 td {
  color: #f0a8ff;
  text-shadow:
    0 0 3px rgba(240, 168, 255, 0.35),
    0 0 4px rgba(240, 168, 255, 0.25);
  font-weight: 400;
}

/* All others: grey with almost no glow */
.hof-table tbody tr.hof-rank-other td {
  color: #8a8a95;
  opacity: 0.85;
  text-shadow:
    0 0 2px rgba(255,255,255,0.12);
}

/* Sortable headers */

.hof-header-row th.hof-sortable {
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-right: 1.5rem;
}

.hof-header-row th.hof-sortable::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border-width: 4px 3px 0 3px;
  border-style: solid;
  border-color: rgba(255, 217, 114, 0.5) transparent transparent transparent;
  opacity: 0.5;
}

.hof-header-row th.hof-sortable.is-sorted-asc::after {
  border-width: 0 3px 4px 3px;
  border-color: transparent transparent #ffc82e transparent;
  opacity: 1;
}

.hof-header-row th.hof-sortable.is-sorted-desc::after {
  border-width: 4px 3px 0 3px;
  border-color: #ffc82e transparent transparent transparent;
  opacity: 1;
}

/* Filters */

.hof-filter-row th {
  padding-top: 0.25rem;
  padding-bottom: 0.45rem;
}

.hof-filter-input,
.hof-filter-select {
  width: 100%;
  font-family: inherit;
  font-size: 1.75rem;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 200, 46, 0.45);
  background: rgba(4, 1, 15, 0.8);
  color: #fefcf7;
  outline: none;
}

.hof-filter-input::placeholder {
  color: rgba(255, 247, 218, 0.45);
}

.hof-filter-input:focus,
.hof-filter-select:focus {
  border-color: #ffc82e;
  box-shadow: 0 0 0 1px rgba(255, 200, 46, 0.55);
}

.hof-filter-input--number {
  text-align: right;
}

/* Footer */

.hof-footer {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 200, 46, 0.2);
  text-align: center;
}

.hof-footer-text {
  font-size: 1.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 217, 114, 0.85);
  display: inline-block;
  animation: hof-footer-blink 2.2s steps(2, end) infinite;
}

@keyframes hof-footer-blink {
  0%, 49%  { opacity: 1; }
  50%,100% { opacity: 0.3; }
}

/* Responsive tweaks */

@media (max-width: 960px) {
  .hof-section {
    padding: 3rem 1rem;
  }

  .hof-title {
    font-size: 6rem;
  }



  .hof-table th,
  .hof-table td {
    padding: 0.35rem 0.5rem;
    font-size: 1.8rem;
  }

  .hof-screen-title {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 767px) {
  .hof-title {
    font-size: 2.6rem;
    letter-spacing: 0.14em;
  }

  .hof-subtitle {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
  }

  .hof-tabs {
    gap: 0.35rem;
  }

  .hof-tab {
    font-size: 1.7rem;
    padding: 0.3rem 0.7rem;
  }

  /* hide bracket column on narrow screens */
  .hof-table th.col-bracket,
  .hof-table td.col-bracket {
    display: none;
  }

  .hof-meta {
    flex-direction: column;
  }
}

/* Arcade / monospace font for scoreboard areas */
.hof-tabs,
.hof-screen,
.hof-screen-header,
.hof-table,

/* === HOF SCOREBOARD FONT FIX === */

/* Base size for the table body */
.hof-table {
  font-size: 1.55rem;              /* bump this up as needed */
  table-layout: fixed;             /* keep from stretching */
}

/* Header row slightly smaller but still readable */
.hof-table thead {
  font-size: 1.0rem;
}

/* Let long names wrap instead of forcing the table wider */
.hof-table th.col-name,
.hof-table td.col-name {
  width: 55%;
  white-space: normal;
  word-break: break-word;
}

/* Consistent narrow columns for rank / bracket / score */
.hof-table th.col-rank,
.hof-table td.col-rank {
  width: 4.2rem;
}

.hof-table th.col-bracket,
.hof-table td.col-bracket {
  width: 20%;
}

.hof-table th.col-score,
.hof-table td.col-score {
  width: 15%;
  text-align: right;
}

/* On smaller screens, don’t shrink the font quite so hard */
@media (max-width: 960px) {
  .hof-table th,
  .hof-table td {
    font-size: 0.95rem;           /* was 0.8rem in your original CSS */
    padding: 0.35rem 0.4rem;
  }
}

/* Use Jersey for placeholder logo text */
.hof-meta-placeholder-logo text {
  font-family: "Jersey 10", "Jersey 20", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
}
