/* ── HeyFYI Global Stylesheet ── */
/* heyfyi.net · 2026 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #FFB900;
  --gold-dim:   #c4811a;
  --gold-glow:  rgba(255,185,0,0.15);
  --navy:       #070911;
  --navy-2:     #0d1020;
  --navy-3:     #141828;
  --surface:    rgba(255,255,255,0.06);
  --border:     rgba(255,255,255,0.12);
  --text:       #f0f2f8;
  --text-2:     #b0b8d0;
  --text-3:     #6a728a;
  --green:      #22c55e;
  --radius:     14px;
  --radius-lg:  22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 17, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}
.nav-wordmark {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}
.nav-wordmark span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 7px 13px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: #fff; background: var(--surface); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: #000;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: #ffd040; }
.nav-mobile-menu { display: none; }

/* ── AD SLOTS ── */
.ad-slot {
  width: min(970px, calc(100% - 40px));
  margin: 16px auto;
  min-height: 90px;
  background: var(--surface);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ad-slot-rect {
  width: 100%;
  min-height: 250px;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,185,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(255,185,0,0.25);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-search {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}
.hero-search:focus-within { border-color: rgba(255,185,0,0.4); }
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}
.hero-search input::placeholder { color: var(--text-3); }
.hero-search button {
  background: var(--gold);
  color: #000;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.hero-search button:hover { background: #ffd040; }
.hero-quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-quick-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.15s;
}
.hero-quick-links a:hover { color: var(--gold); border-color: rgba(255,185,0,0.3); }

.hero-logo-card {
  background: linear-gradient(135deg, rgba(255,185,0,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,185,0,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,185,0,0.08) inset;
}
.hero-logo-card img { width: 100%; border-radius: 12px; }
.hero-date-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 16px;
}
.hero-date-badge .date-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-date-badge .date-label { font-size: 0.8rem; color: var(--text-2); font-weight: 600; }
.hero-date-badge .date-main { font-size: 1rem; font-weight: 700; color: #fff; }

/* ── SECTION HEADERS ── */
.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.sec-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sec-header p { font-size: 0.9rem; color: var(--text-2); margin-top: 4px; }
.sec-header a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.sec-header a:hover { text-decoration: underline; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* ── CARDS ── */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover { border-color: rgba(255,185,0,0.25); background: rgba(255,255,255,0.08); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }

/* Event cards */
.ev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.ev-card:hover { border-color: rgba(255,185,0,0.25); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.ev-card-top {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}
.ev-card-emoji {
  width: 48px; height: 48px;
  background: rgba(255,185,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ev-card-body { flex: 1; }
.ev-card-cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.ev-card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.ev-card-desc { font-size: 0.8rem; color: var(--text-2); line-height: 1.5; }
.ev-card-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ev-card-year {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.ev-card-read { font-size: 0.75rem; font-weight: 700; color: var(--text-3); }

/* Category pill tags */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.cat-pill:hover { color: var(--gold); border-color: rgba(255,185,0,0.3); background: var(--gold-glow); }

/* ── SPECIAL SECTIONS ── */

/* On This Day hero band */
.otd-band {
  background: linear-gradient(135deg, rgba(255,185,0,0.08) 0%, rgba(13,16,32,0) 100%);
  border: 1px solid rgba(255,185,0,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.otd-date-block { text-align: center; }
.otd-date-block .month { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.otd-date-block .day { font-size: 5rem; font-weight: 900; line-height: 1; color: #fff; }
.otd-date-block .year-note { font-size: 0.75rem; color: var(--text-3); margin-top: 4px; }
.otd-divider { width: 1px; height: 100%; background: var(--border); }
.otd-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.otd-info p { color: var(--text-2); font-size: 0.95rem; line-height: 1.65; max-width: 480px; margin-bottom: 20px; }
.otd-stats { display: flex; gap: 24px; }
.otd-stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.otd-stat-label { font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }
.otd-nav { display: flex; flex-direction: column; gap: 10px; }
.otd-nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.otd-nav-btn:hover { border-color: rgba(255,185,0,0.3); color: var(--gold); }

/* World Challenge band */
.challenge-band {
  background: linear-gradient(135deg, #1a0a00 0%, #0d1020 100%);
  border: 1px solid rgba(255,185,0,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.challenge-band h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; }
.challenge-band h2 span { color: var(--gold); }
.challenge-band p { color: var(--text-2); max-width: 560px; margin: 0 auto 28px; font-size: 0.95rem; line-height: 1.7; }
.challenge-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold);
  color: #000;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}
.btn-gold:hover { background: #ffd040; }
.btn-outline {
  background: transparent;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255,185,0,0.4);
  text-decoration: none;
  transition: all 0.15s;
  display: inline-block;
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold); }

/* Kids band */
.kids-band {
  background: linear-gradient(135deg, #001a2e 0%, #0a1520 100%);
  border: 1px solid rgba(100,160,255,0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.kids-band img { width: 100%; border-radius: 16px; }
.kids-band h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.kids-band h2 span { color: #FFB900; }
.kids-band p { color: var(--text-2); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }

/* Teachers band */
.teachers-band {
  background: linear-gradient(135deg, #001a10 0%, #0a1520 100%);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.teachers-band h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.teachers-band h2 span { color: var(--green); }
.teachers-band p { color: var(--text-2); margin-bottom: 20px; max-width: 540px; font-size: 0.95rem; line-height: 1.7; }
.teacher-features { display: flex; flex-direction: column; gap: 10px; }
.teacher-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}
.teacher-feat::before { content: '✓'; color: var(--green); font-weight: 900; font-size: 1rem; }
.btn-green {
  background: var(--green);
  color: #000;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.btn-green:hover { background: #4ade80; }

/* Ticker */
.ticker {
  background: var(--gold);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-label {
  background: #000;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: 0.8rem;
  font-weight: 800;
  color: #000;
  padding: 0 28px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Month grid */
.month-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.month-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.month-card:hover { border-color: rgba(255,185,0,0.3); background: var(--gold-glow); }
.month-card.active { border-color: var(--gold); background: var(--gold-glow); }
.month-card .mname { font-size: 0.9rem; font-weight: 800; margin-bottom: 2px; }
.month-card .mcount { font-size: 0.7rem; color: var(--text-3); }

/* ── FOOTER ── */
footer {
  background: #040508;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { width: 160px; margin-bottom: 14px; border-radius: 8px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-3); line-height: 1.65; max-width: 260px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.15s;
}
.footer-social a:hover { color: var(--gold); border-color: rgba(255,185,0,0.3); }
.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-3); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-card { display: none; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .otd-band { grid-template-columns: 1fr; text-align: center; }
  .otd-divider { display: none; }
  .otd-stats { justify-content: center; }
  .kids-band { grid-template-columns: 1fr; }
  .kids-band img { max-width: 140px; margin: 0 auto; }
  .teachers-band { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .month-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 48px 0 40px; }
  .challenge-band, .kids-band, .teachers-band { padding: 28px; }
  .otd-band { padding: 24px; }
}
