@font-face {
  font-family: "Press Start 2P";
  src: url("../fonts/press-start-2p.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

.vitrine-hero {
  aspect-ratio: 1671 / 941;
  background: #0c0c0c;
  color: #fff;
}
.vitrine-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
.vitrine-backdrop::before {
  content: "";
  position: absolute;
  inset: 71% -40% -53%;
  border-radius: 50%;
  background: #0c0c0c;
  box-shadow: 0 -2px 5px #ff6f32, 0 -16px 65px #da470087;
}
.vitrine-backdrop canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.vitrine-backdrop canvas[data-ready] { visibility: visible; }
.vitrine-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./ember-pixels.svg") center / 100% 100% no-repeat;
}
.vitrine-hero header, .vitrine-hero .search-toggle { border-color: #fafafa33; }
.vitrine-hero .brand span { color: inherit; }
.vitrine-hero .locale-switches summary { color: #fafafa; border-color: #fafafa59; }
.vitrine-hero .hero-copy {
  position: absolute;
  inset: 22% 0 auto;
  width: 86%;
  margin: 0 auto;
}
.vitrine-hero h1 {
  pointer-events: auto;
  font-family: var(--font-text);
  font-size: clamp(30px, 4.55vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.vitrine-hero h1.is-shuffling { position: relative; color: transparent; }
.vitrine-shuffle { position: absolute; inset: 0; color: #fff; pointer-events: none; }
.vitrine-shuffle-cell {
  position: absolute;
  overflow: clip;
  text-align: center;
  white-space: nowrap;
  letter-spacing: normal;
}
.vitrine-shuffle-cell span { display: block; }
.vitrine-hero h1:is(:lang(tr), :lang(en), :lang(bg), :lang(de), :lang(es), :lang(fr), :lang(id), :lang(it), :lang(pl), :lang(pt), :lang(ru), :lang(uk)) {
  font-family: "Press Start 2P", var(--font-text);
  font-size: clamp(18px, 2.4vw, 46px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: uppercase;
}
.vitrine-hero h1:is(:lang(ru), :lang(uk)) { font-size: clamp(16px, 2.15vw, 42px); }
.vitrine-hero .hero-copy .eyebrow,
.vitrine-hero .hero-copy p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.vitrine-stage { position: absolute; inset: 0; isolation: isolate; z-index: -1; }
.vitrine-character { position: absolute; bottom: 0; height: 70%; width: auto; pointer-events: none; }
.vitrine-character--phone { left: 0; }
.vitrine-character--laptop { right: -1%; height: 72%; }
.vitrine-controls {
  position: absolute;
  inset: 37% 0 auto;
  z-index: 2;
  display: grid;
  justify-items: center;
}
.vitrine-cta.primary {
  background: #c5ea63;
  box-shadow:
    0 0 14px 2px rgb(197 234 99 / 46%),
    0 0 34px 7px rgb(197 234 99 / 28%),
    0 0 68px 10px rgb(197 234 99 / 14%);
  color: #0c0c0c;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.65vw, 30px);
  min-height: clamp(44px, 4.8vw, 84px);
  padding-inline: clamp(18px, 2.9vw, 52px);
  border-radius: 999px;
}
.vitrine-cta.primary:hover { background: #d0f179; }
.vitrine-hero :focus-visible { outline-color: #ff8b58; }
.vitrine-hero .vitrine-cta:focus-visible { outline-color: #c5ea63; outline-offset: 4px; }
@media (min-width: 701px) {
  .vitrine-hero:lang(hy) h1 { font-size: clamp(26px, 3.65vw, 82px); }
}
@media (max-width: 700px) {
  .vitrine-hero { aspect-ratio: auto; }
  .vitrine-backdrop::after { top: 65px; background-size: 145% 100%; }
  .vitrine-hero .hero-copy { position: relative; inset: auto; width: auto; margin: 22px 16px 0; }
  .vitrine-hero h1 { font-size: clamp(29px, 8vw, 48px); line-height: 1.08; }
  .vitrine-hero h1:is(:lang(tr), :lang(en), :lang(bg), :lang(de), :lang(es), :lang(fr), :lang(id), :lang(it), :lang(pl), :lang(pt), :lang(ru), :lang(uk)) {
    font-size: clamp(14px, 4.35vw, 28px);
    line-height: 1.4;
  }
  .vitrine-stage { position: relative; inset: auto; order: 3; z-index: 0; aspect-ratio: 1.55; }
  .vitrine-controls { position: relative; inset: auto; order: 2; margin: 16px 0 0; }
  .vitrine-character--phone { height: 82%; }
  .vitrine-character--laptop { height: 75%; }
}

