@font-face {
  font-family: "Flash Bungee";
  src: url("/assets/fonts/bungee-regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Flash Fredoka";
  src: url("/assets/fonts/fredoka-flash.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Flash Luckiest";
  src: url("/assets/fonts/luckiest-guy-regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --flash-ink: #05030b;
  --flash-panel: #0b0715;
  --flash-panel-soft: #151029;
  --flash-white: #fffaf2;
  --flash-muted: #c9c1d5;
  --flash-purple: #b75cff;
  --flash-purple-deep: #6f28c7;
  --flash-cyan: #31d8ff;
  --flash-green: #66f03f;
  --flash-gold: #ffbd42;
  --flash-red: #ff4059;
  --flash-border: rgba(183, 92, 255, 0.45);
  --flash-heading: "Flash Bungee", "Arial Black", sans-serif;
  --flash-body: "Flash Fredoka", "Nunito", sans-serif;
}

.flash-product-body {
  overflow-x: hidden;
  background: #030407;
  color: var(--flash-white);
  font-family: var(--flash-body);
}

.flash-product-frame {
  width: min(1180px, calc(100% - 36px));
  border: 1px solid rgba(183, 92, 255, 0.26);
  background: var(--flash-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

.flash-product-frame .site-header,
.flash-product-frame .app-footer {
  background: rgba(5, 3, 11, 0.96);
}

.flash-product-frame h1,
.flash-product-frame h2,
.flash-product-frame h3,
.flash-product-frame p {
  margin-top: 0;
}

.flash-product-frame h1,
.flash-product-frame h2 {
  color: var(--flash-white);
  font-family: var(--flash-heading);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.flash-product-hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 68px;
  overflow: hidden;
  padding: 64px 72px;
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.98) 0%, rgba(4, 5, 8, 0.84) 48%, rgba(4, 5, 8, 0.34) 100%),
    url("/assets/img/flash-recall/forest-bg.png") center / cover no-repeat;
}

.flash-product-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--flash-ink));
  content: "";
  pointer-events: none;
}

.flash-hero-copy,
.flash-hero-screen {
  position: relative;
  z-index: 1;
}

.flash-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.flash-product-icon {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  box-shadow: 0 0 30px rgba(183, 92, 255, 0.28);
}

.flash-product-logo {
  display: block;
  width: min(300px, 100%);
  margin-top: 8px;
  filter: drop-shadow(0 0 16px rgba(183, 92, 255, 0.34));
}

.flash-kicker {
  display: inline-block;
  color: var(--flash-purple);
  font-family: var(--flash-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.flash-product-hero h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(58px, 7vw, 94px);
  line-height: 0.94;
  text-shadow: 0 0 34px rgba(183, 92, 255, 0.18);
}

.flash-product-hero p,
.flash-section-copy > p,
.flash-road-copy > p,
.flash-info-section p {
  color: var(--flash-muted);
  font-size: 18px;
  line-height: 1.62;
}

.flash-product-hero p {
  max-width: 580px;
  margin-bottom: 26px;
}

.flash-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.flash-hero-facts li {
  padding: 8px 13px;
  border: 1px solid rgba(49, 216, 255, 0.34);
  border-radius: 999px;
  background: rgba(8, 5, 17, 0.72);
  color: #daf8ff;
  font-size: 13px;
  font-weight: 700;
}

.flash-primary-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 2px solid #ffe6a3;
  border-radius: 14px;
  background: var(--flash-gold);
  box-shadow:
    0 0 0 3px #4c2510,
    0 14px 32px rgba(255, 189, 66, 0.24);
  color: #1a0c04;
  font-family: var(--flash-heading);
  font-size: 16px;
  text-decoration: none;
}

.flash-primary-link:hover {
  background: #ffd169;
}

.flash-primary-link:focus-visible,
.flash-product-frame a:focus-visible {
  outline: 3px solid var(--flash-cyan);
  outline-offset: 4px;
}

.flash-screen-card {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--flash-border);
  border-radius: 36px;
  background: #020205;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.56),
    0 0 34px rgba(183, 92, 255, 0.16);
}

.flash-screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.flash-screen-card figcaption {
  padding: 13px 16px 15px;
  border-top: 1px solid rgba(183, 92, 255, 0.24);
  background: #090611;
  color: var(--flash-muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.flash-hero-screen {
  width: 360px;
  justify-self: end;
  transform: rotate(1.5deg);
}

.flash-combat-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(183, 92, 255, 0.18);
  border-bottom: 1px solid rgba(183, 92, 255, 0.18);
  background: #08050f;
}

.flash-combat-strip article {
  display: grid;
  min-width: 0;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 30px 28px;
}

.flash-combat-strip article + article {
  border-left: 1px solid rgba(183, 92, 255, 0.18);
}

.flash-combat-strip img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.flash-combat-strip span {
  color: var(--flash-purple);
  font-family: var(--flash-heading);
  font-size: 11px;
}

.flash-combat-strip h2 {
  margin: 3px 0 5px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.flash-combat-strip p {
  margin: 0;
  color: var(--flash-muted);
  font-size: 14px;
  line-height: 1.4;
}

.flash-gameplay-section,
.flash-road-section,
.flash-unlock-section,
.flash-info-section {
  display: grid;
  align-items: center;
  gap: 72px;
  padding: 82px 72px;
}

.flash-gameplay-section {
  grid-template-columns: minmax(0, 1fr) 390px;
  background: var(--flash-ink);
}

.flash-gameplay-screen,
.flash-road-screen,
.flash-unlock-screen {
  width: 360px;
  justify-self: center;
}

.flash-section-copy h2,
.flash-road-copy h2,
.flash-info-section h2 {
  margin: 14px 0 20px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.03;
}

.flash-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(183, 92, 255, 0.38);
  border-radius: 18px;
  background: var(--flash-panel-soft);
}

.flash-callout img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.flash-callout strong,
.flash-callout span {
  display: block;
}

.flash-callout strong {
  color: #ebc2ff;
  font-family: var(--flash-heading);
  font-size: 16px;
}

.flash-callout span {
  margin-top: 3px;
  color: var(--flash-muted);
  font-size: 14px;
}

.flash-road-section {
  grid-template-columns: minmax(0, 1fr) 390px;
  background:
    linear-gradient(90deg, rgba(5, 3, 11, 0.96), rgba(5, 3, 11, 0.72)),
    url("/assets/img/flash-recall/ice-bg.png") center / cover no-repeat;
}

.flash-boss-list {
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flash-boss;
}

.flash-boss-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(183, 92, 255, 0.2);
  border-radius: 12px;
  background: rgba(7, 4, 14, 0.74);
  counter-increment: flash-boss;
}

.flash-boss-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(183, 92, 255, 0.16);
  color: var(--flash-purple);
  content: counter(flash-boss, decimal-leading-zero);
  font-family: var(--flash-heading);
  font-size: 9px;
}

.flash-boss-list strong {
  color: var(--flash-white);
  font-family: var(--flash-heading);
  font-size: 12px;
  font-weight: 400;
}

.flash-boss-list span {
  color: var(--flash-muted);
  font-size: 13px;
  text-align: right;
}

.flash-unlock-section {
  grid-template-columns: 390px minmax(0, 1fr);
  background:
    radial-gradient(circle at 20% 50%, rgba(111, 40, 199, 0.28), transparent 36%),
    #090510;
}

.flash-unlock-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.flash-unlock-points li {
  position: relative;
  padding-left: 26px;
  color: #eee8f4;
  font-size: 15px;
  line-height: 1.45;
}

.flash-unlock-points li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  color: var(--flash-green);
  content: "✓";
  font-weight: 900;
}

.flash-info-section {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  border-top: 1px solid rgba(183, 92, 255, 0.18);
  background: #07040d;
}

.flash-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.flash-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(183, 92, 255, 0.2);
  border-radius: 12px;
  background: var(--flash-panel);
}

.flash-facts dt {
  color: var(--flash-purple);
  font-family: var(--flash-heading);
  font-size: 10px;
}

.flash-facts dd {
  margin: 0;
  color: var(--flash-white);
  font-size: 14px;
  font-weight: 700;
}

.flash-product-frame .flash-note,
.flash-product-frame .flash-links-bar {
  border-color: rgba(183, 92, 255, 0.2);
  background: #05030b;
}

.flash-product-frame .flash-note {
  color: var(--flash-muted);
}

.flash-product-frame .flash-note strong,
.flash-product-frame .flash-links-bar a {
  color: var(--flash-gold);
}

.flash-product-frame .flash-links-bar img {
  filter: none;
}

@media (max-width: 960px) {
  .flash-product-frame {
    width: min(760px, calc(100% - 28px));
  }

  .flash-product-hero,
  .flash-gameplay-section,
  .flash-road-section,
  .flash-unlock-section,
  .flash-info-section {
    grid-template-columns: 1fr;
  }

  .flash-product-hero {
    gap: 52px;
    padding: 58px 46px 72px;
    background:
      linear-gradient(180deg, rgba(4, 5, 8, 0.92), rgba(4, 5, 8, 0.48)),
      url("/assets/img/flash-recall/forest-bg.png") center / cover no-repeat;
  }

  .flash-hero-screen {
    width: min(380px, 100%);
    justify-self: center;
    transform: none;
  }

  .flash-combat-strip {
    grid-template-columns: 1fr;
  }

  .flash-combat-strip article + article {
    border-top: 1px solid rgba(183, 92, 255, 0.18);
    border-left: 0;
  }

  .flash-gameplay-section,
  .flash-road-section,
  .flash-unlock-section,
  .flash-info-section {
    gap: 48px;
    padding: 68px 46px;
  }

  .flash-gameplay-screen,
  .flash-road-screen,
  .flash-unlock-screen {
    width: min(380px, 100%);
  }

  .flash-unlock-screen {
    order: 2;
  }
}

@media (max-width: 620px) {
  .flash-product-frame {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .flash-product-hero {
    min-height: auto;
    padding: 44px 20px 58px;
  }

  .flash-brand-lockup {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  .flash-product-icon {
    width: 66px;
    height: 66px;
    border-radius: 17px;
  }

  .flash-product-logo {
    width: 210px;
  }

  .flash-kicker {
    font-size: 9px;
  }

  .flash-product-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(46px, 16vw, 66px);
  }

  .flash-product-hero p,
  .flash-section-copy > p,
  .flash-road-copy > p,
  .flash-info-section p {
    font-size: 16px;
  }

  .flash-primary-link {
    width: 100%;
  }

  .flash-combat-strip article {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 24px 20px;
  }

  .flash-combat-strip img {
    width: 62px;
    height: 62px;
  }

  .flash-gameplay-section,
  .flash-road-section,
  .flash-unlock-section,
  .flash-info-section {
    gap: 36px;
    padding: 52px 20px;
  }

  .flash-section-copy h2,
  .flash-road-copy h2,
  .flash-info-section h2 {
    font-size: 36px;
    line-height: 1.06;
  }

  .flash-screen-card {
    border-radius: 28px;
  }

  .flash-boss-list li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .flash-boss-list span {
    grid-column: 2;
    text-align: left;
  }

  .flash-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
