/* Home page styles, extracted verbatim from index.html's inline <style>
   during the PHP-include refactor. Linked after styles.css so these rules
   still win ties, same as the old inline block did. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --white: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --red: #8b1a1a;
  --dark: #111;
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
}

/* Gold corner accent */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at bottom right, rgba(201,168,76,0.12) 0%, transparent 70%);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 16px 5% 120px 5%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  align-items: start;
  gap: 0 60px;
  min-height: 100vh;
}

/* LEFT SIDE */
.left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 0 0 0;
  animation: fadeUp 1s ease both;
}

.club-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  margin-bottom: 18px;
  animation: fadeUp 1s ease 0.1s both;
}

.club-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 6px;
  animation: fadeUp 1s ease 0.2s both;
}

.club-name .accent {
  color: var(--gold);
  display: inline;
}

.rfc {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: 0.12em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
  animation: fadeUp 1s ease 0.3s both;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
  animation: expandWidth 1s ease 0.5s both;
}

.program-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  animation: fadeUp 1s ease 0.4s both;
}
.program-tag span { color: var(--red); padding: 0 6px; }

.eligibility {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: rgba(245,240,232,0.85);
  margin-bottom: 22px;
  max-width: 460px;
  line-height: 1.45;
  animation: fadeUp 1s ease 0.45s both;
}
.eligibility strong {
  color: var(--white);
  font-weight: 600;
}

.resubmit-notice {
  max-width: 460px;
  margin-bottom: 22px;
  padding: 13px 16px;
  background: rgba(201,168,76,0.06);
  border-left: 3px solid var(--gold);
  animation: fadeUp 1s ease 0.5s both;
}
.resubmit-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--white);
}
.resubmit-text strong {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.season {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.06);
  max-width: 460px;
  animation: fadeUp 1s ease 0.5s both;
}
.season-row { display: flex; align-items: baseline; gap: 14px; }
.season-key {
  flex-shrink: 0;
  width: 80px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.season-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.15;
}
.season-note {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  margin-left: 6px;
}

.season-link {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201,168,76,0.45);
  transition: color 0.2s, border-color 0.2s;
}
.season-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.season-addr {
  display: block;
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.65);
  text-transform: none;
  line-height: 1.3;
}

.season-maps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.season-maps svg {
  width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2;
}

.join-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.75);
  margin-bottom: 12px;
  max-width: 380px;
  line-height: 1.4;
  animation: fadeUp 1s ease 0.6s both;
}

.notify {
  display: flex;
  gap: 0;
  max-width: 380px;
  animation: fadeUp 1s ease 0.6s both;
}

.notify input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.35);
  border-right: none;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 13px 18px;
  outline: none;
  transition: border-color 0.3s;
}

.notify input::placeholder { color: rgba(245,240,232,0.3); }
.notify input:focus { border-color: var(--gold); }

.notify button {
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.notify button:hover {
  background: var(--gold-light);
  transform: translateX(2px);
}

/* RIGHT SIDE — video stack */
.right {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  animation: fadeUp 1s ease 0.3s both;
}

/* Hero video frame (16:9) */
.video-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-hero-secondary {
  margin-top: 32px;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.18);
}
.video-hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-caption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  margin-bottom: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
}
.video-caption .sub {
  display: block;
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.55);
}

/* Bottom bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(201,168,76,0.15);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
}

.bottom-bar a {
  color: rgba(245,240,232,0.65);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.bottom-bar a:hover { color: var(--gold); }
.bottom-bar a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.form-status {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-top: 12px;
  min-height: 20px;
}

.form-status.success { color: var(--gold); }
.form-status.error { color: var(--red); }

/* Floating Instagram badge — always visible, top-right */
.ig-float {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  background: linear-gradient(135deg, #b91c1c 0%, #c9a84c 100%);
  color: #f5f0e8;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid rgba(245,240,232,0.25);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform 0.18s, box-shadow 0.18s;
}
.ig-float:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
}
.ig-float svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2;
}
@media (max-width: 700px) {
  /* Collapse to an icon-only circle on phones so the pill stops covering the
     nav's FAQ link; the full @handle still shows in the footer bar and QR card. */
  .ig-float { top: 10px; right: 10px; padding: 9px; border-radius: 50%; }
  .ig-float span { display: none; }
  .ig-float svg { width: 18px; height: 18px; }
}

/* Instagram card */
.ig-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(201,168,76,0.10) 0%, rgba(139,26,26,0.10) 100%);
  border: 1.5px solid rgba(201,168,76,0.45);
  border-left: 4px solid var(--gold);
  max-width: 500px;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  animation: fadeUp 1s ease 0.7s both;
}

.ig-card:hover {
  transform: translateX(3px);
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.18) 0%, rgba(139,26,26,0.18) 100%);
}

.ig-qr {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  background: var(--white);
  padding: 10px;
  border: 2px solid var(--gold);
}
.ig-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

.ig-text { display: flex; flex-direction: column; gap: 4px; }
.ig-label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.ig-handle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.ig-cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ig-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Right-column header (intro to the videos) */
.watch-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 26px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.section-title .accent { color: var(--gold); }

.section-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(245,240,232,0.7);
  max-width: 460px;
  line-height: 1.45;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes expandWidth {
  from { width: 0; }
  to   { width: 60px; }
}

/* Mobile */
@media (max-width: 700px) {
  .container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 5% 80px 5%;
  }

  .left { padding-top: 64px; }

  .club-tag { margin-bottom: 12px; }
  .club-name { font-size: 56px; line-height: 0.92; margin-bottom: 4px; }
  .rfc { font-size: 26px; margin-bottom: 16px; }
  .divider { margin-bottom: 16px; }
  .program-tag { font-size: 14px; margin-bottom: 10px; }
  .resubmit-notice { max-width: none; margin-bottom: 18px; padding: 12px 14px; }
  .season { padding: 14px 16px; margin-bottom: 18px; max-width: none; }
  .season-key { width: 70px; font-size: 10px; }
  .season-val { font-size: 16px; }
  .join-cta { margin-bottom: 10px; }

  .right { padding-top: 8px; }
  .video-caption { font-size: 14px; margin-top: 14px; }
  .watch-header { margin-bottom: 20px; }
}
