/* FootyVR — triggerhappy.games/footyvr
   Relative paths only. Palette: gold #C4892E, white #DEDEDC, navy #0E161D, turf #36430F, red #9B2821.
   Barlow / Barlow Condensed by Jeremy Tribby, SIL Open Font License 1.1 (assets/fonts/OFL.txt). */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-extrabold.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-medium.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-medium.woff2") format("woff2");
}

:root {
  --gold: #C4892E;
  --gold-bright: #E6AB43;
  --white: #DEDEDC;
  --paper: #F7F5F6;
  --navy: #0E161D;
  --navy-lift: #141e26;
  --turf: #36430F;
  --red: #9B2821;
  --text: #DEDEDC;
  --muted: rgba(222, 222, 220, 0.72);
}

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

html {
  color-scheme: dark;
  background: var(--navy);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Barlow, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-bright);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 28rem;
  height: min(86svh, 48rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem 6.5rem;
  background: linear-gradient(
    to top,
    rgba(14, 22, 29, 0.94) 0%,
    rgba(14, 22, 29, 0.55) 52%,
    rgba(14, 22, 29, 0) 100%
  );
}

.wordmark {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(4.25rem, 18vw, 9.25rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-kerning: normal;
}

.wordmark .footy {
  color: var(--gold);
}

.wordmark .vr {
  color: var(--paper);
  margin-left: 0.08em;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.1rem 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 2.6vw, 1.35rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--white);
}

.tagline::before,
.tagline::after {
  content: "";
  display: block;
  width: clamp(1.75rem, 6vw, 3.25rem);
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

/* ----- Main ----- */

main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 40rem;
  padding: 0.5rem 1.5rem 3.5rem;
  text-align: center;
}

.pitch {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  line-height: 1.65;
  color: var(--white);
}

.platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.platforms li {
  margin: 0;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(196, 137, 46, 0.55);
  border-radius: 999px;
  color: var(--white);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.coming {
  margin: 2.25rem 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ----- Footer ----- */

footer {
  border-top: 1px solid rgba(222, 222, 220, 0.1);
  padding: 1.4rem 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer p + p {
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .hero {
    min-height: 24rem;
    height: min(78svh, 38rem);
  }

  /* Show more of the oval and floodlights; avoid a tight centre crop. */
  .hero-art svg {
    width: 210%;
    max-width: none;
    height: auto;
    position: absolute;
    left: 50%;
    top: -4%;
    transform: translateX(-50%);
  }

  .hero-copy {
    padding-bottom: 4.25rem;
  }

  .tagline {
    letter-spacing: 0.28em;
  }

  main {
    padding-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
