/* ============================================================
   WAUG 2026 - Global Stylesheet
   ============================================================ */

:root {
  /* OAU official colours: Midnight Blue + Academic Gold */
  /* Source: Wikipedia – Obafemi Awolowo University infobox */
  --green:       #1C3A72;   /* OAU midnight blue (primary) */
  --green-dark:  #0D1940;   /* deep midnight – navbars, hero, footer */
  --green-light: #2B50A0;   /* mid-midnight blue – hover / lighter accent */
  --gold:        #C4941A;   /* OAU academic gold */
  --gold-dark:   #9E760F;   /* pressed / hover gold */
  --gold-light:  #E8B84B;   /* highlight gold */
  --ivory:       #faf8f2;   /* warm parchment body bg */
  --paper:       #fffef9;   /* card surfaces */
  --maroon:      #7a1f2b;   /* error / warning accent */
  --red:         #CE1126;   /* alert / badge */
  --black:       #111111;
  --dark:        #070E22;   /* near-black midnight for deep sections */
  --gray-900:    #1f2937;
  --gray-700:    #374151;
  --gray-400:    #9ca3af;
  --gray-100:    #f0eeea;   /* warm tinted light bg */
  --white:       #ffffff;
  --radius:      8px;
  --radius-sm:   6px;
  --shadow:      0 8px 22px rgba(28,58,114,.10);
  --shadow-lg:   0 16px 42px rgba(28,58,114,.16);
  --transition:  .3s ease;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ------------------------------------------- */
h1,h2,h3,h4,h5 { font-family: Georgia, "Times New Roman", serif; line-height: 1.16; font-weight: 700; }
h1 { font-size: clamp(2.4rem,5vw,4.7rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }
p  { color: var(--gray-700); }

/* ---- Utility --------------------------------------------- */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
.section-pad { padding-block: 5rem; }
.section-pad-sm { padding-block: 3rem; }
.text-center { text-align: center; }
.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;
}
.badge {
  display: inline-flex; align-items: center; gap:.4rem;
  background: var(--gold); color: var(--black);
  font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:.3rem .8rem; border-radius:999px;
}
.badge.red { background: var(--red); color: var(--white); }
.badge.green { background: var(--green); color: var(--white); }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: var(--black); border: 1px solid rgba(0,0,0,.1); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }

/* ---- Section label --------------------------------------- */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--green); font-weight:800; font-size:.78rem;
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:.75rem;
}
.section-label::before {
  content:''; width:28px; height:3px; background: var(--gold); border-radius:2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7,14,34,.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--gold);
  transition: background var(--transition);
}
.navbar.scrolled { background: var(--dark); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.nav-logo-img {
  height: 48px; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
  flex-shrink: 0;
}
.site-logo-img {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.nav-logo span { color: var(--white); font-weight: 700; font-size: 1.05rem; min-width: 0; }
.nav-logo span em { color: var(--gold); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-cta { margin-left: .75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; }

/* ============================================================
   HERO - INDEX
   ============================================================ */
.hero {
  min-height: 96vh;
  background:
    linear-gradient(rgba(7,14,34,.92), rgba(7,14,34,.90)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 112px),
    linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 62%, #040a1c 100%);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
  border-bottom: 8px solid var(--gold);
}
.hero-bg-pattern {
  position: absolute; inset: auto 0 0 0; height: 34%;
  opacity: .1;
  background:
    linear-gradient(90deg, transparent 0 7%, var(--ivory) 7% 8%, transparent 8% 19%, var(--ivory) 19% 20%, transparent 20% 31%, var(--ivory) 31% 32%, transparent 32% 43%, var(--ivory) 43% 44%, transparent 44%),
    linear-gradient(0deg, rgba(255,255,255,.4), transparent 55%);
}
.hero-rings {
  position: absolute; right: -120px; top: 46%; transform: translateY(-50%);
  width: 620px; height: 620px; opacity: .045;
}
.hero-rings circle { fill: none; stroke: var(--white); stroke-width: 40; }
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content:''; width: 24px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--paper); margin-bottom: 1.25rem; max-width: 780px; }
.hero h1 span { color: var(--gold); display: inline-block; }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 680px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  margin-top: 3.25rem; padding-top: 2rem;
  border-top: 1px solid rgba(196,148,26,.38);
}
.stat-item { text-align: center; }
.stat-num { font-family: Georgia, "Times New Roman", serif; font-size: 2.15rem; font-weight: 800; color: var(--gold); display: block; }
.stat-label { color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 520px;
  box-shadow: 0 24px 60px rgba(7,14,34,.5);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(26px) scale(1.02);
  transition: opacity 1s ease, transform 1s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.hero-img-mascot {
  object-position: 50% 42%;
}
.hero-slide-sports {
  object-position: center center;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(7,14,34,.85) 0%,
    rgba(7,14,34,.25) 55%,
    transparent 100%
  );
}
.hero-card {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  z-index: 2;
  background: rgba(7,14,34,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(196,148,26,.45);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-lg);
}
.hero-card-logo {
  flex-shrink: 0;
  width: 56px; height: 56px;
}
.hero-card-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
.hero-card-text .host-kicker {
  color: var(--gold) !important;
  font-size: .68rem !important;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: .25rem !important;
  text-transform: uppercase;
  display: block;
}
.hero-card-text h3 {
  color: var(--white);
  font-size: 1rem; margin: 0 0 .2rem;
}
.hero-card-text p {
  color: rgba(255,255,255,.6);
  font-size: .8rem; margin: 0;
  text-align: left;
}
/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(240,176,48,.28), transparent 30%),
    radial-gradient(circle at 84% 50%, rgba(27,39,201,.22), transparent 34%),
    linear-gradient(135deg, var(--green-dark), var(--dark));
  padding-block: 3.5rem;
  border-bottom: 1px solid rgba(240,176,48,.35);
  overflow: hidden;
}
.countdown-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.countdown-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-120%);
  animation: countdownShine 7s ease-in-out infinite;
  pointer-events: none;
}
.countdown-copy {
  position: relative;
  z-index: 1;
}
.countdown-label {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .65rem;
}
.countdown-copy h2 {
  color: var(--white);
  margin-bottom: .45rem;
}
.countdown-copy p {
  color: rgba(255,255,255,.68);
  max-width: 340px;
}
.countdown-timer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.time-unit {
  position: relative;
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem .85rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 28px rgba(0,0,0,.16);
  overflow: hidden;
}
.time-unit::after {
  content: '';
  position: absolute;
  inset: auto 14% 0;
  height: 3px;
  background: var(--gold);
  border-radius: 999px 999px 0 0;
  opacity: .75;
}
.time-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  text-shadow: 0 0 18px rgba(240,176,48,.34);
  font-variant-numeric: tabular-nums;
}
.time-num.tick {
  animation: countdownTick .42s ease;
}
.time-label {
  color: rgba(255,255,255,.62);
  display: block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .65rem;
}
.countdown-progress {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
}
.countdown-progress span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--green-light));
  border-radius: inherit;
  animation: countdownProgress 4.5s ease-in-out infinite;
}
.countdown-live {
  grid-column: 1 / -1;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  text-align: center;
}
@keyframes countdownTick {
  0% { transform: translateY(-8px); opacity: .3; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes countdownShine {
  0%, 42% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}
@keyframes countdownProgress {
  0%, 100% { transform: translateX(-18%); }
  50% { transform: translateX(190%); }
}
@media (prefers-reduced-motion: reduce) {
  .countdown-panel::before,
  .countdown-progress span,
  .time-num.tick {
    animation: none;
  }
}

/* ============================================================
   FOOD VENDOR CALLOUT
   ============================================================ */
.vendor-callout {
  background: var(--ivory);
  border-bottom: 1px solid rgba(216,169,40,.22);
}
.vendor-callout-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 3rem;
  align-items: center;
}
.vendor-callout-copy p {
  max-width: 640px;
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}
.vendor-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.vendor-facts div {
  background: var(--paper);
  border: 1px solid rgba(216,169,40,.28);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.vendor-facts span {
  display: block;
  color: #7a7467;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.vendor-facts strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin-top: .4rem;
}
.vendor-poster {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,128,.12);
  background: var(--paper);
}
.vendor-poster img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ============================================================
   WELCOME ADDRESS
   ============================================================ */
.welcome-section { background: var(--paper); }
.welcome-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.welcome-avatar {
  position: sticky; top: 100px;
  background: var(--ivory); border-radius: var(--radius); padding: 2rem; text-align: center;
  border: 1px solid rgba(196,148,26,.32);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
}
.avatar-img {
  width: 140px; height: 140px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.avatar-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.welcome-avatar h4 { font-size: 1rem; margin-bottom: .25rem; }
.welcome-avatar p { font-size: .85rem; color: var(--gray-400); }
.welcome-signature { font-size: 1.3rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--maroon); margin-top: 1rem; }
.welcome-text blockquote {
  border-left: 4px solid var(--gold); padding-left: 1.5rem;
  font-size: 1.2rem; font-style: italic; color: var(--gray-700);
  margin-block: 2rem;
}
.welcome-text p { margin-bottom: 1.25rem; }

/* ============================================================
   MASCOT AND LOGO IDENTITY
   ============================================================ */
.identity-section {
  background: linear-gradient(135deg, rgba(0,0,128,.05), rgba(240,176,48,.12));
  border-top: 1px solid rgba(216,169,40,.22);
  border-bottom: 1px solid rgba(216,169,40,.22);
}
.identity-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}
.identity-symbol,
.identity-feature-art {
  min-height: 280px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(216,169,40,.42);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.identity-symbol img,
.identity-feature-art img {
  width: min(100%, 340px);
  max-height: 260px;
  object-fit: contain;
}
.identity-mascot {
  padding: 0;
  overflow: hidden;
  background: #2c2d2f;
}
.identity-mascot img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}
.identity-symbol .identity-mark,
.identity-feature-art span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
}
.identity-symbol strong,
.identity-feature-art strong {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}
.identity-symbol small,
.identity-feature-art small {
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.identity-copy p {
  margin-bottom: 1.15rem;
}
.identity-copy blockquote,
.official-article blockquote {
  border-left: 4px solid var(--gold);
  color: var(--gray-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 1.5rem 0 .75rem;
  padding-left: 1.25rem;
}
.quote-credit {
  color: var(--green);
  font-size: .86rem;
  font-weight: 700;
}

/* ============================================================
   HOST INSTITUTION
   ============================================================ */
.host-section {
  background: var(--ivory);
  border-top: 1px solid rgba(196,148,26,.22);
  border-bottom: 1px solid rgba(196,148,26,.22);
}
.host-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.host-intro p {
  font-size: 1.05rem;
}
.host-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.host-feature {
  background: var(--paper);
  border: 1px solid rgba(28,58,114,.12);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.host-feature span {
  color: var(--gold-dark);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.host-feature h3 {
  color: var(--green-dark);
  margin-bottom: .55rem;
}
.host-feature p {
  font-size: .92rem;
}

/* ============================================================
   SPORTS PREVIEW
   ============================================================ */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.25rem; }
.sport-card {
  background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center; box-shadow: var(--shadow); border: 1px solid rgba(28,58,114,.1);
  transition: all var(--transition); cursor: default;
}
.sport-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.sport-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.sport-card h4 { font-size: .9rem; color: var(--gray-900); }

/* ============================================================
   PARTNER / SPONSOR STRIP
   ============================================================ */
.partners-section { background: var(--dark); padding-block: 2.5rem; border-top: 4px solid var(--gold); }
.partners-label { color: rgba(255,255,255,.4); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; text-align: center; margin-bottom: 1.5rem; }
.partners-strip { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2.5rem; }
.partner-logo {
  background: rgba(255,255,255,.07); border-radius: var(--radius-sm);
  padding: .75rem 1.5rem; color: rgba(255,255,255,.5);
  font-weight: 700; font-size: .85rem; letter-spacing: .05em;
  transition: all var(--transition);
}
.partner-logo:hover { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--green-dark));
  padding: 7rem 0 4rem;
  text-align: center; color: var(--white);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin-inline: auto; }
.news-filters { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  padding: .5rem 1.25rem; border-radius: 999px;
  border: 2px solid var(--gray-100); background: var(--white);
  font-size: .85rem; font-weight: 600; color: var(--gray-700);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.news-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  display: flex; flex-direction: column;
  border: 1px solid rgba(28,58,114,.1);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.news-img-photo {
  background: var(--green-dark);
  overflow: hidden;
}
.news-img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-img-logo {
  background: var(--white);
  padding: 1.5rem;
}
.news-img-logo img {
  object-fit: contain;
}
.news-img-mascot {
  background: #2c2d2f;
}
.news-img-mascot img {
  object-fit: cover;
  object-position: center 18%;
}
.news-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.news-date { font-size: .78rem; color: var(--gray-400); }
.news-card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--gray-900); }
.news-card p { font-size: .88rem; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: .3rem; color: var(--green); font-size: .85rem; font-weight: 600; margin-top: 1rem; transition: gap var(--transition); }
.read-more:hover { gap: .6rem; }
.featured-news {
  background: linear-gradient(135deg, var(--green-dark), var(--dark));
  border-radius: var(--radius); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  margin-bottom: 3rem; color: var(--white);
}
.featured-news h2 { color: var(--white); margin-bottom: 1rem; }
.featured-news p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.featured-img {
  background: rgba(255,255,255,.06); border-radius: var(--radius);
  height: 280px; display: grid; place-items: center; font-size: 6rem;
  overflow: hidden;
}
.featured-news .identity-feature-art {
  padding: 0;
  background: #2c2d2f;
  min-height: 0;
}
.featured-news .identity-feature-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}
.featured-img-poster {
  height: auto;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
}
.featured-img-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.official-article {
  background: var(--paper);
  border: 1px solid rgba(28,58,114,.1);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.official-article h2 {
  margin: .75rem 0 1rem;
}
.official-article p {
  margin-bottom: 1.15rem;
}

/* ============================================================
   FLYER PAGE
   ============================================================ */
.flyer-only-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--green-dark);
  display: grid;
  place-items: center;
}
.flyer-only-page img {
  width: auto;
  height: calc(100vh - 72px);
  max-width: 100vw;
  max-height: calc(100vh - 72px);
  object-fit: contain;
  display: block;
}

/* ============================================================
   REGISTRATION PAGE
   ============================================================ */
.reg-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.reg-sidebar { position: sticky; top: 96px; }
.reg-sidebar-card {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius); padding: 2rem; color: var(--white); margin-bottom: 1.5rem;
}
.reg-sidebar-card h3 { margin-bottom: 1rem; }
.deadline-box {
  background: rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 1rem; margin-bottom: 1rem;
}
.deadline-box .label { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.deadline-box .value { font-size: 1.1rem; font-weight: 700; }
.category-list li {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
}
.category-list li:last-child { border-bottom: none; }
.cat-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid; place-items: center; font-size: .9rem; flex-shrink: 0;
}
.reg-form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.form-tabs { display: flex; border-bottom: 2px solid var(--gray-100); }
.form-tab {
  flex: 1; padding: 1rem; text-align: center;
  font-size: .9rem; font-weight: 600; color: var(--gray-400);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all var(--transition); cursor: pointer;
}
.form-tab.active { color: var(--green); border-bottom-color: var(--green); }
.form-body { padding: 2.5rem; }
.form-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid var(--gray-100); border-radius: var(--radius-sm);
  font-size: .9rem; font-family: inherit; color: var(--gray-900);
  transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input[type="file"] { padding: .5rem; }
.required-star { color: var(--red); margin-left: .2rem; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.form-note { font-size: .82rem; color: var(--gray-400); }
.portal-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.portal-tab-card {
  background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; cursor: pointer; transition: all var(--transition);
}
.portal-tab-card:hover, .portal-tab-card.active { border-color: var(--green); background: #f1f4ff; }
.portal-tab-card .icon { font-size: 1.75rem; margin-bottom: .5rem; }
.portal-tab-card h4 { font-size: .85rem; }
.login-form { max-width: 420px; margin: 0 auto; }
.login-divider { text-align: center; margin: 1.25rem 0; color: var(--gray-400); font-size: .85rem; position: relative; }
.login-divider::before, .login-divider::after {
  content:''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--gray-100);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; }
.events-sidebar { position: sticky; top: 96px; }
.sidebar-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gray-100); }
.sport-filter-list { display: flex; flex-direction: column; gap: .25rem; }
.sport-filter-item {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem;
  border-radius: var(--radius-sm); cursor: pointer; transition: background var(--transition);
  font-size: .88rem;
}
.sport-filter-item:hover, .sport-filter-item.active { background: #f1f4ff; color: var(--green); font-weight: 600; }
.sport-filter-item .sport-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.mini-calendar { }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-header h4 { font-size: .9rem; }
.cal-nav { background: none; border: none; color: var(--gray-700); font-size: 1rem; cursor: pointer; padding: .25rem .4rem; border-radius: 4px; }
.cal-nav:hover { background: var(--gray-100); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-day-label { text-align: center; font-size: .65rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; padding: .25rem; }
.cal-day {
  text-align: center; font-size: .78rem; padding: .35rem;
  border-radius: 4px; cursor: pointer; transition: background var(--transition);
}
.cal-day:hover { background: var(--gray-100); }
.cal-day.has-event { background: #e6ebff; color: var(--green); font-weight: 700; }
.cal-day.today { background: var(--green); color: var(--white); font-weight: 700; }
.cal-day.other-month { color: var(--gray-400); }

.events-main {}
.events-view-toggle { display: flex; gap: .5rem; }
.view-btn {
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  border: 2px solid var(--gray-100); background: var(--white);
  font-size: .85rem; font-weight: 600; color: var(--gray-700); transition: all var(--transition);
}
.view-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }
.events-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.event-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 1.25rem; transition: all var(--transition);
  display: grid; grid-template-columns: 80px 1fr auto;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.event-date-block {
  background: var(--green); display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 1rem;
  color: var(--white); text-align: center;
}
.event-date-block .day { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.event-date-block .month { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.event-info { padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.event-info h3 { font-size: 1rem; margin-bottom: .35rem; }
.event-meta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.event-meta-item { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--gray-400); }
.event-actions { display: flex; flex-direction: column; gap: .5rem; justify-content: center; padding: 1rem; border-left: 1px solid var(--gray-100); }
.event-actions .btn { font-size: .8rem; padding: .5rem .9rem; white-space: nowrap; }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { background: var(--green); color: var(--white); padding: .9rem 1rem; text-align: left; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.schedule-table td { padding: .85rem 1rem; font-size: .88rem; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--gray-100); }
.status-chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.status-chip.live { background: #fef2f2; color: var(--red); }
.status-chip.upcoming { background: #f1f4ff; color: var(--green); }
.status-chip.completed { background: var(--gray-100); color: var(--gray-400); }
.venue-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.25rem; margin-top: 2rem; }
.venue-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.venue-card h4 { margin-bottom: .4rem; }
.venue-card p { font-size: .85rem; margin-bottom: .75rem; }
.venue-sports { display: flex; flex-wrap: wrap; gap: .4rem; }
.venue-sport-tag {
  background: var(--gray-100); border-radius: 4px;
  padding: .2rem .6rem; font-size: .72rem; font-weight: 600; color: var(--gray-700);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--white); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; margin: 1rem 0 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  font-size: .9rem; transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--black); }
.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--white); }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: .85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; color: rgba(255,255,255,.4); font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: var(--gold); }
.flag-strip { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.flag-tag { font-size: .7rem; background: rgba(255,255,255,.06); padding: .2rem .6rem; border-radius: 4px; color: rgba(255,255,255,.4); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; background: var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--black);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: all var(--transition); transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--gold-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; border-radius: var(--radius); }
  .hero-img-mascot { object-position: center 38%; }
  .identity-grid { grid-template-columns: 1fr; }
  .vendor-callout-grid { grid-template-columns: 1fr; }
  .host-feature-grid { grid-template-columns: 1fr; }
  .events-layout { grid-template-columns: 1fr; }
  .events-sidebar { position: static; }
}
@media (max-width: 768px) {
  .container { padding-inline: 1rem; }
  .section-pad { padding-block: 3.25rem; }
  .section-pad-sm { padding-block: 2rem; }
  h1 { font-size: clamp(2.05rem, 11vw, 3rem); }
  h2 { font-size: clamp(1.45rem, 8vw, 2rem); }
  .nav-links, .nav-cta { display: none; }
  .nav-inner { height: 68px; }
  .nav-logo { gap: .55rem; }
  .nav-logo-img { height: 42px; max-width: 58px; }
  .nav-logo span { font-size: .95rem; line-height: 1.1; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: none; flex-direction: column;
    background: var(--dark); padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: rgba(255,255,255,.8); padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .95rem; }
  .hero {
    min-height: auto;
    padding-block: 6rem 3rem;
  }
  .hero-content { gap: 2rem; }
  .hero-eyebrow {
    align-items: flex-start;
    font-size: .68rem;
    letter-spacing: .1em;
    line-height: 1.45;
    margin-bottom: 1rem;
  }
  .hero .lead {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .hero-stats {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }
  .stat-num { font-size: 1.45rem; }
  .stat-label { font-size: .68rem; }
  .hero-visual {
    height: min(78vw, 420px);
    min-height: 310px;
  }
  .hero-card {
    left: .85rem;
    right: .85rem;
    bottom: .85rem;
    padding: .9rem;
    gap: .75rem;
  }
  .hero-card-logo {
    width: 44px;
    height: 44px;
  }
  .hero-card-text h3 { font-size: .92rem; }
  .hero-card-text p { font-size: .72rem; }
  .countdown-section { padding-block: 2.25rem; }
  .countdown-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .countdown-copy {
    text-align: center;
  }
  .countdown-copy p {
    margin-inline: auto;
  }
  .countdown-timer {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
  }
  .time-unit { padding: 1rem .45rem; }
  .time-num { font-size: 2rem; }
  .vendor-callout-grid { gap: 2rem; }
  .vendor-poster { max-width: 520px; margin-inline: auto; }
  .identity-symbol,
  .identity-feature-art { min-height: 240px; }
  .identity-mascot { max-height: 520px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-card:hover,
  .event-card:hover { transform: none; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-avatar { position: static; }
  .reg-layout { grid-template-columns: 1fr; }
  .reg-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 70px 1fr; }
  .event-actions { display: none; }
  .featured-news { grid-template-columns: 1fr; }
  .featured-img { height: 180px; }
  .featured-img-poster { height: auto; min-height: 0; }
  .vendor-facts { grid-template-columns: 1fr; }
  .portal-tabs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: 1rem; }
  .flyer-only-page { padding-top: 68px; }
  .flyer-only-page img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
@media (max-width: 480px) {
  .container { padding-inline: .85rem; }
  .nav-logo-img { height: 38px; max-width: 52px; }
  .nav-logo span { font-size: .86rem; }
  .hero { padding-top: 5.5rem; }
  .hero-stats { grid-template-columns: 1fr; gap: .75rem; }
  .stat-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    padding: .75rem;
  }
  .hero-visual {
    height: 360px;
    min-height: 0;
  }
  .hero-img-mascot { object-position: center center; }
  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -5.8rem .75rem .75rem;
  }
  .countdown-timer { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; justify-content: center; padding-inline: 1rem; }
  .news-img { height: 180px; }
  .event-card { grid-template-columns: 1fr; }
  .event-date-block { flex-direction: row; gap: .35rem; padding: .75rem; }
  .news-grid { grid-template-columns: 1fr; }
  .venue-cards { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(3,1fr); }
  .schedule-table { display: block; overflow-x: auto; }
}

/* ============================================================
   WAUG LOGO-BASED IDENTITY
   ============================================================ */
:root {
  --green: #000080;
  --green-dark: #00005f;
  --green-light: #1b27c9;
  --gold: #f0b030;
  --gold-dark: #c98908;
  --gold-light: #ffd15f;
  --ivory: #f8f9ff;
  --paper: #ffffff;
  --dark: #050635;
  --shadow: 0 8px 24px rgba(0,0,128,.10);
  --shadow-lg: 0 18px 48px rgba(0,0,128,.16);
}

body { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; }
.navbar {
  background: rgba(5,6,53,.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav-logo small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero {
  background:
    linear-gradient(rgba(5,6,53,.93), rgba(5,6,53,.88)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 112px),
    linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 62%, #000034 100%);
  border-bottom-width: 6px;
}
.hero h1 { letter-spacing: -.035em; }
.hero-visual { border: 1px solid rgba(216,169,40,.35); }
.sport-icon {
  color: var(--green);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 2rem !important;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.trust-note {
  border-left: 3px solid var(--gold);
  color: var(--gray-700);
  font-size: .88rem;
  margin-top: 1.25rem;
  padding: .75rem 1rem;
  background: rgba(216,169,40,.08);
}
.footer-grid.footer-grid-compact { grid-template-columns: 2fr 1fr 1fr; }
.footer-note { color: rgba(255,255,255,.55); font-size: .83rem; }

@media (max-width: 768px) {
  .footer-grid.footer-grid-compact { grid-template-columns: 1fr; }
  .nav-logo small { display: none; }
}

/* ---- Cross-browser fallbacks ----------------------------- */
@supports not (font-size: clamp(1rem, 2vw, 2rem)) {
  h1 { font-size: 4.7rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.4rem; }
  .vendor-facts strong { font-size: 1.55rem; }
  .identity-symbol .identity-mark,
  .identity-feature-art span { font-size: 4rem; }
  .identity-symbol strong,
  .identity-feature-art strong { font-size: 3rem; }
  @media (max-width: 768px) {
    h1 { font-size: 2.7rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.15rem; }
  }
}

@supports not (aspect-ratio: 1 / 1) {
  .vendor-poster img {
    height: auto;
  }
}

@supports (width: min(100vw, 100vh)) {
  .flyer-only-page img {
    width: min(100vw, calc(100vh - 72px));
    height: auto;
  }
  @media (max-width: 768px) {
    .flyer-only-page img {
      width: 100%;
      height: auto;
      max-height: none;
    }
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar,
  .hero-card {
    background: var(--dark);
  }
}
