:root {
  --bg: #000;
  --fg: #fafafa;
  --fg-muted: #a1a1a1;
  --accent: #facc15;
  --border-subtle: #262626;
}

/* Global box-sizing so padding doesn't cause overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
}

.page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand-text {
  text-decoration: none;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 20, 0.9);
}

/* ----- Desktop nav tabs (gold, rounded) ----- */

.nav-tabs {
  display: flex;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.nav-tabs a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: var(--fg-muted);
  background: rgba(15, 15, 15, 0.95);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition:
    color 0.15s ease-out,
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    transform 0.1s ease-out;
}

.nav-tabs a:hover {
  color: var(--fg);
  border-color: rgba(250, 204, 21, 0.9);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), transparent);
  box-shadow:
    0 0 15px rgba(250, 204, 21, 0.45),
    0 0 35px rgba(250, 204, 21, 0.2);
  transform: translateY(-1px);
}

.nav-tabs a.active {
  color: var(--fg);
  border-color: rgba(250, 204, 21, 0.9);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), transparent);
  box-shadow:
    0 0 18px rgba(250, 204, 21, 0.6),
    0 0 40px rgba(250, 204, 21, 0.25);
}

/* ================= MOBILE NAV & DRAWER ================= */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--fg);
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--fg);
}

.nav-toggle-line::before { top: -6px; }
.nav-toggle-line::after  { top:  6px; }

/* Mobile header layout */
@media (max-width: 720px) {
  .site-header {
    justify-content: center;
    position: relative;
  }

  .brand-text {
    margin: 0 auto;
  }

  .nav-tabs {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
  }
}

/* Side drawer */

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: flex-end;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.nav-drawer-panel {
  width: 260px;
  max-width: 80%;
  background: #050505;
  border-left: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9);
  padding: 1.4rem 1.6rem;
  transform: translateX(100%);
  transition: transform 0.23s ease-out;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-close {
  align-self: flex-end;
  border: none;
  background: transparent;
  color: var(--fg-muted);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.nav-drawer-close:hover {
  color: var(--fg);
}

.nav-drawer-link {
  display: block;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.65rem 0.5rem;
  border-radius: 0.7rem;
}

.nav-drawer-link:hover,
.nav-drawer-link:active {
  background: rgba(250, 204, 21, 0.12);
}

@media (min-width: 721px) {
  .nav-drawer {
    display: none;
  }
}

/* ================= HERO (HOME PAGE) ================= */

.hero {
  text-align: center;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-kicker {
  padding-top: 30px;
  color: var(--fg-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 0.9rem 0 1.4rem;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.hero-title-line {
  display: block;
  color: var(--fg);
}

.hero-title .highlight {
  background: linear-gradient(120deg, #facc15, #fde68a);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 600px;
  margin: 1.2rem auto 2.1rem;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

/* Glowing Contact button */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #fff8b3);
  box-shadow:
    0 0 15px rgba(250, 204, 21, 0.5),
    0 0 40px rgba(250, 204, 21, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 0 20px rgba(250, 204, 21, 0.7),
    0 0 55px rgba(250, 204, 21, 0.35);
}

.btn-primary:active {
  transform: translateY(1px);
}

@media (max-width: 720px) {
  .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ================= CAROUSEL ================= */

.reel {
  margin-top: 2.4rem;
}

.reel-viewport {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.reel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.reel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 1rem;
  overflow: hidden;
  transition: 0.45s;
}

.reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-center {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
  filter: brightness(1);
}

.is-left {
  z-index: 2;
  transform: translate(-125%, -50%) scale(0.9);
  filter: brightness(0.6);
}

.is-right {
  z-index: 2;
  transform: translate(25%, -50%) scale(0.9);
  filter: brightness(0.6);
}

.is-far {
  opacity: 0;
}

@media (max-width: 720px) {
  .reel-viewport {
    height: 220px;
  }

  .reel-item {
    width: 260px;
    height: 170px;
  }
}

/* ================= SHARED PAGE CONTENT ================= */

.main-content {
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.main-content h1 {
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  position: relative;
}

.main-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.main-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg);
}

/* ================= ABOUT PAGE ================= */

.about-hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2.4rem;
}

.about-photo-wrapper {
  flex: 1.1;
}

.about-photo {
  width: 100%;
  border-radius: 1.4rem;
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--fg);
}

@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
  }
}

/* ================= STATS PAGE ================= */

.stats-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gold-card {
  background: linear-gradient(180deg, #151515, #050505);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 1rem;
  min-height: 150px;
  max-height: 150px;
  min-width: 360px;
  padding: 1.3rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.gold-card:hover {
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.2),
    0 22px 55px rgba(0, 0, 0, 0.95);
}

.big-number {
  font-size: 3rem;
  font-weight: 900;
  color: #fef9c3;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.55);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
}

/* Mobile stats: stack + shrink + no cutoff */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .gold-card {
    width: 100%;
    min-width: 0;
    min-height: 115px;
    max-height: none;
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 1.2rem;
  }

  .main-content {
    margin-top: 2rem;
  }

  .gold-card {
    padding: 0.8rem 1rem;
  }

  .big-number {
    font-size: 2.3rem;
  }
}

/* ================= CONTACT PAGE ================= */

.contact-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* ================= CAMPUS STORE & SOCIALS MODALS ================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  opacity: 0;
  pointer-events: none;  /* hidden by default */
  transition: opacity 0.2s ease-out;
}

.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: radial-gradient(circle at top, #1f1f1f, #050505 60%);
  border-radius: 1.25rem;
  border: 1px solid rgba(250, 204, 21, 0.6);
  box-shadow:
    0 0 25px rgba(250, 204, 21, 0.4),
    0 22px 55px rgba(0, 0, 0, 0.9);
  padding: 1.8rem 2.4rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.modal-message {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fef9c3;
  text-shadow: 0 0 18px rgba(250, 204, 21, 0.55);
  margin-bottom: 0.8rem;
}

.modal-subtext {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: var(--fg-muted);
  font-size: 1rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--fg);
}

/* Socials modal buttons */

.social-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.social-link-btn {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background: rgba(15, 15, 15, 0.95);
  color: var(--fg);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition:
    background 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.1s ease-out,
    border-color 0.15s ease-out;
}

.social-link-btn:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), transparent);
  box-shadow:
    0 0 12px rgba(250, 204, 21, 0.45),
    0 0 28px rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.8);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .modal-card {
    max-width: 360px;
    width: 92%;
    padding: 1.4rem 1.6rem;
  }

  .modal-message {
    font-size: 1rem;
  }

  .modal-subtext {
    font-size: 0.85rem;
  }

  .social-link-btn {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }
}

/* ================= FOOTER ================= */

.site-footer {
  margin-top: auto;
  text-align: center;
  opacity: 0.6;
  padding-top: 3rem;
}
