/* =========================================================
   AUSTIN TEXANS FAN GROUP — Design System
   Colors are the Houston Texans' own official brand colors:
   Battle Red #A71930 / Deep Steel Blue #03202F
   ========================================================= */

:root {
  --battle-red: #A71930;
  --battle-red-bright: #D62839;
  --steel-blue: #03202F;
  --steel-blue-light: #0B2E42;
  --steel-blue-lighter: #123B54;
  --white: #FFFFFF;
  --off-white: #F5F6F7;
  --silver: #9EA6AC;
  --gold: #F2B705;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --shadow-lg: 0 20px 50px rgba(3, 32, 47, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--steel-blue);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--battle-red-bright);
  background: rgba(167, 25, 48, 0.1);
  border: 1px solid rgba(167, 25, 48, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.on-dark .eyebrow {
  color: #FFD9DE;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--battle-red);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(167, 25, 48, 0.4);
}
.btn-primary:hover { background: var(--battle-red-bright); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark {
  background: var(--steel-blue);
  color: var(--white);
}
.btn-dark:hover { background: var(--steel-blue-light); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--steel-blue);
  border-bottom: 3px solid var(--battle-red);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img { height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  font-weight: 600;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  border-color: var(--battle-red-bright);
  color: var(--battle-red-bright);
}
.nav-cta { display: flex; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--steel-blue);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 20px;
    border-bottom: 3px solid var(--battle-red); transform: translateY(-120%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, var(--steel-blue-lighter), var(--steel-blue) 55%);
  color: var(--white);
  overflow: hidden;
  padding: 74px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(167,25,48,0) 0%, rgba(167,25,48,0.15) 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy p.lead {
  font-size: 1.15rem;
  color: #D9DEE2;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--battle-red-bright);
}
.hero-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
}
.hero-art {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.15);
  aspect-ratio: 4/5;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art img.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero-art img.slide.active { opacity: 1; z-index: 1; }
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,32,47,0) 40%, rgba(3,32,47,0.85) 100%);
  z-index: 2;
}

/* ---------- Brand Strip (logo on light bg for contrast) ---------- */
.brand-strip {
  background: var(--off-white);
  padding: 46px 0;
  border-bottom: 1px solid rgba(3,32,47,0.06);
}
.brand-strip img {
  height: 90px;
  width: auto;
  margin: 0 auto;
}

/* ---------- Scroll reveal motion ----------
   IMPORTANT: elements are only ever hidden via the ".reveal-ready" class,
   which JS adds right before it starts observing them. If JS fails to
   load for any reason, nothing on the page is ever hidden — content is
   visible by default. Never hide content by default in plain CSS here. */
.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal-ready.in-view {
  opacity: 1;
  transform: translateY(0);
}
.hero-art-caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- Social Proof / Follow Bar ---------- */
.social-bar {
  background: linear-gradient(120deg, var(--steel-blue) 0%, var(--steel-blue-lighter) 100%);
  border-top: 3px solid var(--battle-red);
  border-bottom: 3px solid var(--battle-red);
  padding: 40px 0;
}
.social-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 22px;
  align-items: center;
}
@media (max-width: 980px) { .social-bar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .social-bar-grid { grid-template-columns: 1fr; } }
.stat-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-tile .stat-icon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--battle-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}
.stat-tile span {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--silver);
}
.follow-tile {
  transition: transform 0.15s ease, background 0.15s ease;
}
.follow-tile:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.follow-tile strong { text-transform: none; letter-spacing: normal; }
.join-bulls-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.btn-join {
  background: var(--battle-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(167,25,48,0.6);
  animation: pulse-red 2.4s infinite;
  white-space: nowrap;
}
.btn-join:hover { background: var(--battle-red-bright); }
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(214,40,57,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(214,40,57,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,40,57,0); }
}
.join-bulls-sub { color: var(--silver); font-size: 0.78rem; text-align: center; }
.fb-follow-embed { background: #fff; border-radius: 10px; padding: 6px; min-height: 70px; display:flex; align-items:center; justify-content:center; overflow:hidden; }

/* ---------- Video Card ---------- */
.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3,32,47,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 9/13;
  background: #000;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .video-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--battle-red); color: #fff;
  font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 6px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Mascot Spotlight ---------- */
.mascot-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .mascot-spotlight { grid-template-columns: 1fr; } }
.mascot-spotlight img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.gallery-item video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- Next Game Banner ---------- */
.next-game {
  background: var(--battle-red);
  color: var(--white);
  padding: 22px 0;
}
.next-game .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.next-game-info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.next-game-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.2);
  padding: 6px 12px;
  border-radius: 6px;
}
.next-game-matchup { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.next-game-meta { font-size: 0.92rem; color: #FFE1E5; }
.next-game-promo {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}
.countdown { display: flex; gap: 10px; }
.countdown div { text-align: center; background: rgba(0,0,0,0.22); border-radius: 8px; padding: 8px 12px; min-width: 60px; }
.countdown strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.countdown span { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--steel-blue); color: var(--white); }
.section-red { background: var(--battle-red); color: var(--white); }
.section-header { max-width: 680px; margin: 0 0 44px; }
.section-header.center { margin: 0 auto 44px; text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(3,32,47,0.08);
  border: 1px solid rgba(3,32,47,0.06);
}
.card .icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 10px; }
.card p { color: #445; margin-bottom: 0; }

.section-dark .card,
.section-red .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.section-dark .card p, .section-red .card p { color: #D9DEE2; }

/* ---------- Venue / Location block ---------- */
.venue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .venue { grid-template-columns: 1fr; } }
.venue-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(3,32,47,0.08);
  overflow: hidden;
  border: 1px solid rgba(3,32,47,0.06);
}
.venue-map {
  width: 100%;
  aspect-ratio: 16/10;
  border: 0;
}
.venue-details { padding: 26px 30px; }
.badge-row { display: flex; align-items: center; gap: 18px; margin: 18px 0; flex-wrap: wrap; }
.badge-row img { height: 76px; width: auto; }

/* ---------- Table (Schedule) ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3,32,47,0.08);
}
.schedule-table th {
  background: var(--steel-blue);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.schedule-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #EAECEE;
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr.next-row td { background: rgba(167,25,48,0.06); font-weight: 700; }
.schedule-table tr.bye-row td { color: var(--silver); font-style: italic; }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.pill-home { background: rgba(167,25,48,0.12); color: var(--battle-red); }
.pill-away { background: rgba(3,32,47,0.08); color: var(--steel-blue); }

.table-scroll { overflow-x: auto; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(3,32,47,0.08);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  color: var(--steel-blue);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--battle-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
  color: #445;
}
.faq-item.open .faq-answer { padding-bottom: 22px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.winners-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .winners-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  box-shadow: 0 8px 22px rgba(3,32,47,0.15);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(3,32,47,0.9));
  color: #fff; font-size: 0.82rem; padding: 26px 12px 10px;
}
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--steel-blue-light); color: var(--silver); text-align: center; padding: 20px;
  font-size: 0.85rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-list .ic { font-size: 1.3rem; }
form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid #D8DCDF;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
form.contact-form label { font-weight: 700; font-size: 0.85rem; margin-bottom: -8px; }

/* ---------- Team ---------- */
.team-card { display: flex; flex-direction: column; align-items: center; }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--battle-red), var(--battle-red-bright));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,0.15);
}

/* ---------- Sponsor strip ---------- */
.sponsor-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.9;
}
.sponsor-strip img { height: 60px; width: auto; filter: grayscale(0%); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-blue);
  color: var(--silver);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; }
.footer-grid a { display: block; color: var(--silver); padding: 6px 0; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 46px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.footer-social a:hover { background: var(--battle-red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.note {
  font-size: 0.85rem;
  background: #FFF7E6;
  border: 1px dashed #E0B23A;
  color: #7A5A00;
  padding: 12px 16px;
  border-radius: 8px;
}
.divider {
  height: 1px;
  background: rgba(3,32,47,0.08);
  margin: 40px 0;
}

/* ---------- Game Day Specials menu ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.menu-col h3 {
  font-family: var(--font-display);
  color: var(--white);
  border-bottom: 2px solid var(--battle-red-bright);
  padding-bottom: 10px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
  color: #D9DEE2;
}
.menu-item:last-of-type { border-bottom: none; }
.menu-item span { font-size: 0.98rem; }
.menu-item strong {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  white-space: nowrap;
}
.menu-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--silver);
  font-style: italic;
}
@media (max-width: 700px) {
  .menu-grid { grid-template-columns: 1fr; gap: 30px; }
}
