/* ============================================================
   FLATOUT 4 VR: TOTAL INSANITY — Placeholder Page Styles
   ============================================================ */

:root {
  --fo-black: #0a0a0a;
  --fo-yellow: #f7a600;
}

@font-face {
  font-family: 'Multicolore Pro';
  src: url('../assets/fonts/Multicolore_Pro.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

.fo-page {
  background-color: var(--fo-black);
}

.fo-page .site-header,
.fo-page .site-header.scrolled {
  background: var(--fo-black);
}

.fo-page .site-footer {
  background: var(--bg-darkest);
}

.fo-page .btn-merch {
  background: var(--fo-yellow);
  color: #060f16;
}

.fo-page .btn-merch:hover {
  background: #dd9200;
}

/* ---- HERO ---- */
.fo-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--fo-black);
}

.fo-hero-bg {
  position: absolute;
  inset: 0;
}

.fo-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fo-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.15) 35%,
    rgba(10,10,10,0.3) 65%,
    rgba(10,10,10,0.85) 90%,
    rgba(10,10,10,1) 100%);
}

.fo-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 28px;
  padding: 24px;
  text-align: center;
}

@keyframes fo-logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.fo-logo {
  width: min(460px, 70vw);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  animation: fo-logo-float 4s ease-in-out infinite;
}

.fo-status-img {
  width: min(210px, 27.5vw);
  height: auto;
}

.fo-buy-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.fo-buy-btn {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.fo-buy-btn:hover {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)) brightness(1.08);
}

.fo-buy-btn img {
  height: 72px;
  width: auto;
}

.fo-buy-btn--psvr img {
  height: 54px;
}

@media (max-width: 640px) {
  .fo-buy-btn img {
    height: 52px;
  }
  .fo-logo {
    width: min(320px, 75vw);
  }
}

/* ---- HEADLINE UTILITY ---- */
.fo-headline {
  font-family: 'AnotherDanger', 'Multicolore Pro', 'Quatro', system-ui, sans-serif;
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.fo-apostrophe {
  font-family: system-ui, sans-serif;
  font-style: normal;
}

/* ---- BUILT FOR IMPACT ---- */
.fo-impact {
  padding: 24px 24px 96px;
  text-align: center;
}

.fo-impact-title {
  display: block;
  max-width: 460px;
  width: 100%;
  margin: 0 auto 32px;
}

.fo-impact-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #ffffff;
  font-family: 'Kit Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- TRAILER ---- */
.fo-trailer-section {
  background: var(--fo-black);
  padding-top: 48px;
}

.fo-trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.fo-trailer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.fo-trailer-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  cursor: pointer;
}

/* ---- YELLOW SECTION (features + driver's seat) ---- */
.fo-yellow {
  background-color: var(--fo-yellow);
  background-image: url('../assets/images/flatout-vr/tire-tread-divider.png');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding: 72px 0 0;
}

/* ---- FEATURES GRID ---- */
.fo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  padding-bottom: 56px;
}

.fo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fo-feature-icon-circle {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fo-black);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.fo-feature-title {
  font-family: 'Liquorstore', 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.fo-feature p {
  color: var(--fo-black);
  font-family: 'Kit Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .fo-features {
    grid-template-columns: 1fr;
  }
}

/* ---- DRIVER'S SEAT ---- */
.fo-driverseat {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 300px;
}

.fo-driverseat-main {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.fo-driverseat-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.fo-driverseat-thumb {
  display: block;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.fo-driverseat-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fo-driverseat-thumb:hover {
  opacity: 0.85;
}

.fo-driverseat-thumb.is-active {
  border-color: var(--fo-black);
}

.fo-driverseat-title-img {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.fo-driverseat-text p {
  color: var(--fo-black);
  font-family: 'Kit Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .fo-driverseat {
    grid-template-columns: 1fr;
  }
}

/* ---- NEWSLETTER ---- */
.fo-newsletter {
  background: #000000;
  padding: 64px 24px 72px;
}

.fo-newsletter-banner {
  display: block;
  margin: 0 auto 56px;
  max-width: 620px;
  width: 100%;
  height: auto;
}

.fo-newsletter-text {
  position: relative;
  z-index: 2;
}

.fo-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1030px;
  margin: 0 auto;
  overflow: visible;
}

.fo-newsletter-text p {
  color: #ffffff;
  font-family: 'Kit Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.fo-newsletter-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin-bottom: 40px;
}

.fo-newsletter-form-row input[type="email"] {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
}

.fo-newsletter-form-row input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.fo-newsletter-submit {
  background: var(--fo-yellow);
  color: var(--fo-black);
  border: 0;
  border-radius: 4px;
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fo-newsletter-submit:hover {
  background: #dd9200;
}

.fo-newsletter-media {
  overflow: visible;
}

.fo-newsletter-media img {
  display: block;
  width: 130%;
  max-width: 130%;
  height: auto;
  margin-left: -15%;
  opacity: 0;
  transform: translate(90px, -70px) rotate(-10deg) scale(0.9);
  transition: transform 0.8s cubic-bezier(0.17, 0.67, 0.3, 1.33), opacity 0.5s ease;
}

.fo-newsletter-media.is-visible img {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

.fo-newsletter .fo-social {
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0;
}

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

/* ---- SOCIAL ---- */
.fo-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px 64px;
}

.fo-social .fo-social-label {
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  margin: 0;
}

.fo-social-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}

.fo-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fo-social-icons a:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}
