/* =========================
   Florida State Esports
   styles.css (FULL FILE)
   ========================= */

/* Title font (Edo) - assumes you have: /fonts/edo.ttf
   If yours is .otf, change the src line to: url("fonts/edo.otf") format("opentype")
*/
@font-face {
  font-family: "Edo";
  src: url("fonts/edo.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  /* FSU palette */
  --garnet: #782f40;
  --gold: #ceb888;

  /* Base UI */
  --bg: #0f0f12;
  --text: #f4f4f6;

  /* Cards/borders */
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);

  /* Header glass */
  --header-bg: rgba(12, 12, 16, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  background: var(--bg);     /* IMPORTANT: keeps the background */
  color: var(--text);
  min-height: 100vh;
}

/* Jersey-style textured background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      1400px 1100px at 18% 12%,
      rgba(120, 47, 64, 0.42) 0%,
      rgba(120, 47, 64, 0.30) 28%,
      rgba(120, 47, 64, 0.14) 50%,
      rgba(120, 47, 64, 0.04) 64%,
      transparent 76%
    ),
    radial-gradient(
      1200px 980px at 82% 22%,
      rgba(206, 184, 136, 0.24) 0%,
      rgba(206, 184, 136, 0.18) 24%,
      rgba(206, 184, 136, 0.09) 46%,
      rgba(206, 184, 136, 0.03) 60%,
      transparent 74%
    ),
    radial-gradient(
      1500px 1200px at 62% 84%,
      rgba(120, 47, 64, 0.36) 0%,
      rgba(120, 47, 64, 0.26) 30%,
      rgba(120, 47, 64, 0.12) 52%,
      rgba(120, 47, 64, 0.04) 66%,
      transparent 80%
    ),
    linear-gradient(120deg, rgba(206, 184, 136, 0.18) 0 2px, transparent 2px 14px),
    linear-gradient(200deg, rgba(206, 184, 136, 0.09) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #0c0c10, #15151b);

  background-blend-mode: screen, screen, screen, soft-light, soft-light, normal;

  filter: saturate(1.05) contrast(1.05);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* ===== HEADER / NAV ===== */

.site-header {
  border-bottom: 4px solid var(--gold);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-title {
  margin: 0;
  font-family: "Edo", "Oswald", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 0.4px;
}

.site-subtitle {
  margin: 4px 0 0;
  opacity: 0.9;
  font-weight: 300;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  transition: 0.15s ease;
}

.nav a.active {
  background: rgba(206, 184, 136, 0.18);
  border-color: rgba(206, 184, 136, 0.45);
  color: var(--text);
}


.nav a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
}

/* ===== GENERAL SECTION CARDS (applies to your other pages too) ===== */

.who-hero-img {
  width: 100%;
  height: 320px;          /* fixed height so it can’t take over the page */
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.who-hero {
  margin-bottom: 18px;    /* ensures you immediately see the next content */
}


h2 {
  margin: 0 0 10px;
  font-family: "Edo", "Oswald", Arial, sans-serif;
  letter-spacing: 0.5px;
}

/* ===== ACCOMPLISHMENTS ===== */
.accomplishments {
  margin-top: 22px;
}

.section-head {
  margin-bottom: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 12px 0 10px;
}

.timeline-line {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(206, 184, 136, 0.08),
    rgba(206, 184, 136, 0.65),
    rgba(206, 184, 136, 0.08)
  );
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  column-gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item + .timeline-item {
  margin-top: -30px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(206, 184, 136, 0.18);
  margin-top: 6px;
  justify-self: center;
}

.accomplishment-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.accomplishment-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.accomplishment-date {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(206, 184, 136, 0.18);
  border: 1px solid rgba(206, 184, 136, 0.4);
}

.accomplishment-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.6px;
}

.accomplishment-text {
  margin: 0 0 10px;
  font-weight: 300;
  opacity: 0.95;
}

.accomplishment-label {
  margin: 0 0 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--gold);
}

.accomplishment-roster {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-weight: 300;
}

.accomplishment-roster li {
  display: inline-flex;
  align-items: center;
}

.accomplishment-roster li + li::before {
  content: "•";
  color: var(--gold);
  margin-right: 8px;
}

.accomplishment-feature {
  display: grid;
  gap: 12px;
}

.accomplishment-media img {
  width: 100%;
  height: clamp(220px, 36vw, 320px);
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}

.smash-media img {
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}

@media (min-width: 900px) {
  .timeline-line {
    left: 50%;
  }

  .timeline-item {
    grid-template-columns: 1fr 42px 1fr;
  }

  .timeline-dot {
    grid-column: 2;
  }

  .timeline-item:nth-of-type(odd) .accomplishment-card {
    grid-column: 1;
    justify-self: end;
  }

  .timeline-item:nth-of-type(even) .accomplishment-card {
    grid-column: 3;
    justify-self: start;
  }

}

/* =========================
   WHO WE ARE (HOME)
   ========================= */

.who-page {
  margin-top: 22px;
}

/* Centered top photo card (Option A: wide landscape, centered) */
.who-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);

  /* THIS makes it “centered card” instead of full-width */
  max-width: 960px;
  margin: 0 auto;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.who-hero-img {
  width: 100%;
  height: clamp(240px, 34vw, 380px); /* tuned for A */
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.who-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.74),
    rgba(0, 0, 0, 0.16) 60%,
    rgba(0, 0, 0, 0)
  );
}

.who-hero-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.9rem;
  opacity: 0.95;
}

.who-hero-title {
  margin: 0;
  font-family: "Edo", "Oswald", Arial, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 0.95;
}

/* Cards under the image */
.who-section {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
}

.section-title {
  margin: 0 0 10px;
  font-family: "Edo", "Oswald", Arial, sans-serif;
  letter-spacing: 0.5px;
}

.section-text {
  margin: 0;
  font-weight: 300;
  font-size: 1.1rem;
  opacity: 0.95;
}

.contact-section p {
  font-size: 1.65rem;
  line-height: 1.6;
  margin: 0 0 14px;
  text-align: center;
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 14px;
  font-size: 2.2rem;
}

.contact-section a {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.contact-section a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.mission-list,
.facility-list {
  margin: 12px 0 0;
  padding-left: 18px;
  font-weight: 300;
  opacity: 0.95;
}

.hours-table-wrap {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  margin-left: -18px;
}

.hours-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  column-gap: 24px;
  row-gap: 8px;
  font-weight: 300;
  padding: 10px 12px;
}

.hours-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.hours-day {
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.4px;
  min-width: 48px;
}

.mission-paragraph {
  margin-top: 12px;
}

/* ===== MEET THE TEAM ===== */
.officers-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.officer-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.officer-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(206, 184, 136, 0.45);
  background: rgba(0, 0, 0, 0.3);
}

.officer-photo-kailee {
  object-position: 56% 10%;
}

.officer-photo-lyn {
  object-position: center 18%;
  transform: scale(1.22);
  transform-origin: 50% 30%;
  margin-bottom: 14px;
}

.officer-name {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.officer-role {
  margin: 4px 0 0;
  font-weight: 300;
  opacity: 0.9;
}

.officers-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-weight: 300;
}

.officers-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.officer-title {
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.4px;
}

.officer-person {
  opacity: 0.95;
}

.managers-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: center;
}

.managers-list {
  margin: 0;
  padding-left: 18px;
  font-weight: 300;
  display: grid;
  gap: 8px;
}

.managers-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.manager-name {
  font-weight: 600;
}

.manager-game {
  opacity: 0.9;
}

.managers-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.managers-photo {
  display: flex;
  justify-content: center;
}

/* ===== ACTIVE GAMES ===== */
.games-section .section-text {
  margin-bottom: 16px;
}

.games-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(120deg, rgba(206, 184, 136, 0.12) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(200deg, rgba(120, 47, 64, 0.2) 0 1px, transparent 1px 18px),
    linear-gradient(160deg, #0b0b0f, #141018 60%, #0a0a0d);
  background-size: 140% 140%;
}

.game-row {
  position: relative;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  background: rgba(8, 8, 12, 0.35);
  backdrop-filter: blur(6px);
}

.game-logo,
.game-badge {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  object-fit: contain;
  filter: none;
}

.game-logo-zoom {
  transform: scale(3.4);
  transform-origin: center;
}

.game-badge {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.game-title {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.facility-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}


.mission-list li,
.facility-list li {
  margin: 6px 0;
}

.facility-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.facility-list a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* Facility layout */
.facility {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.facility-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.facility-placeholder {
  height: 230px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  opacity: 0.88;
}

/* Socials: Discord biggest, centered */
.social-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
}

.social-btn {
  display: grid;
  place-items: center;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: 0.15s ease;
  padding: 14px 12px;
  font-weight: 600;
}

.social-stack {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.social-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Responsive: stack the 3 socials on small screens */
@media (max-width: 820px) {
  .social-row-3 {
    grid-template-columns: 1fr;
  }
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

/* Discord = most important */
.social-discord {
  background: linear-gradient(
    135deg,
    rgba(206, 184, 136, 0.24),
    rgba(120, 47, 64, 0.55)
  );
  border-color: rgba(206, 184, 136, 0.45);
  font-size: 1.12rem;
}

.social-sm {
  font-size: 1rem;
}

.social-note {
  margin: 10px 0 0;
  font-weight: 300;
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .facility {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: 1fr;
  }

  .social-discord {
    font-size: 1.06rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .managers-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hours-grid {
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .hours-row {
    min-width: 0;
  }

  .who-section {
    padding: 14px;
  }

  .games-list {
    padding: 14px;
  }

  .game-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px 16px;
  }

  .game-title {
    font-size: 1.35rem;
  }

  .hours-table-wrap {
    padding: 8px 10px;
  }

  .contact-section p {
    font-size: 1.3rem;
  }
}
