/* Football Career Sim store page: the hero, the five beats, the facts and the closing call to play */
.fcs main { padding-top: 0; }

.hero { padding-top: clamp(2rem, 6vw, 5rem); }
.hero-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.75rem; align-items: start; }
.hero-head .mark { width: clamp(3.5rem, 7vw, 6.5rem); height: auto; margin-top: 0.45rem; }
.hero h1 { margin: 0; }
.hero .by { display: block; font: 600 clamp(1.125rem, 1rem + 0.6vw, 1.5rem)/1.2 var(--sans); letter-spacing: -0.03em; color: var(--muted); margin-bottom: 0.5rem; }
.hero .by .dot { vertical-align: 0; }
.hero .name { display: block; font: 800 clamp(3.25rem, 1rem + 10vw, 9.5rem)/0.86 var(--display); font-stretch: 64%; text-transform: uppercase; letter-spacing: 0.002em; }
.hero-row { display: grid; gap: 1.5rem 3rem; align-items: end; margin-top: 1.75rem; }
@media (min-width: 60rem) {
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; }
}
.tagline { margin: 0; max-width: 30ch; font: 500 clamp(1.25rem, 1rem + 1.2vw, 1.875rem)/1.25 var(--sans); letter-spacing: -0.015em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin: 0; }
.hero-cta .btn { min-height: 3.75rem; padding-inline: 2.25rem; font-size: 1.25rem; }
.hero-cta span { color: var(--muted); font-size: 0.9375rem; }
.hero .frame { margin-top: 2.5rem; }

/* one moment on load: the magnet lands on the spot, like the ball at kick-off */
@media (prefers-reduced-motion: no-preference) {
  .hero-head .mark .magnet { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: land 0.45s 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
}
@keyframes land { to { transform: scale(1); } }

/* Five beats: a headline beside the frames, sides alternating on desktop */
.beats { margin-top: clamp(4rem, 10vw, 8rem); display: grid; gap: clamp(4rem, 9vw, 8rem); }
.beat { display: grid; gap: 1.75rem; align-items: center; }
.beat h2 { margin: 0 0 1rem; font: 800 clamp(2.5rem, 1.5rem + 4vw, 5rem)/0.9 var(--display); font-stretch: 68%; letter-spacing: 0; }
.beat p { margin: 0 0 0.75rem; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.beat figure { margin: 0; }
@media (min-width: 60rem) {
  .beat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .beat:nth-child(even) figure { order: -1; }
}

/* Legacy tiers, lowest to highest, as magnets on the board */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 2rem 0 0; max-width: 28rem; }
.tiers li { position: relative; display: grid; justify-items: center; gap: 0.6rem; margin: 0; font: 700 1.125rem/1 var(--display); font-stretch: 75%; color: var(--muted); }
.tiers li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: clamp(2.25rem, 9vw, 3.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--metal);
  box-shadow: inset 0 -0.3rem 0 rgba(0, 0, 0, 0.25), 0 0.4rem 1rem rgba(0, 0, 0, 0.5);
}
.tiers li + li::after {
  content: "";
  position: absolute;
  top: calc(clamp(2.25rem, 9vw, 3.25rem) / 2);
  right: 50%;
  width: 100%;
  border-top: 2px dashed var(--line-2);
}
.tiers .bronze { --metal: #d9893b; }
.tiers .silver { --metal: #8796ad; }
.tiers .gold { --metal: #f2c14e; }
.tiers .elite { --metal: #0a0b0c; color: var(--text); }
.tiers .elite::before { box-shadow: inset 0 0 0 0.25rem #f2c14e, inset 0 -0.3rem 0 rgba(0, 0, 0, 0.25), 0 0.4rem 1rem rgba(0, 0, 0, 0.5); }

.fcs .facts { margin-top: clamp(4rem, 10vw, 8rem); }
.fcs h2.plain { margin-top: 3.5rem; }

/* Closing call to play */
.final { margin-top: clamp(4rem, 10vw, 8rem); text-align: center; padding: 4rem 0 1rem; border-top: 1px solid var(--line); }
.final h2 { margin: 0 0 1.75rem; font: 800 clamp(3rem, 2rem + 6vw, 7rem)/0.9 var(--display); font-stretch: 64%; text-transform: uppercase; letter-spacing: 0; }
.final .btn { min-height: 3.75rem; padding-inline: 2.25rem; font-size: 1.25rem; }

/* The beat loops: muted video over the still, with a Pause/Play control (video.js) */
.video { position: relative; }
.video video { width: 100%; height: auto; }
.vid-toggle {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 11, 12, 0.8);
  color: var(--text);
  font: 600 0.875rem/1 var(--sans);
  cursor: pointer;
}
.vid-toggle:hover { border-color: var(--green); }
