/* Public storefront */
:root {
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--font);
  --bg: #08080c;
  --tile: #121218;
  --tile-2: #16161d;
  --tile-3: #202028;
  --line: #ffffff14;
  --line-2: #3a3a46;
  --ink: #ffffff;
  --ink-2: #d9d9e3;
  --gray: #9a9aa6;
  --gray-2: #8d8d99;
  --nav-ink: #9a9aa6;
  --link: #7cc0ff;
  --blue: #1a8fff;
  --blue-hi: #3a9fff;
  --nav-h: 72px;
  --wrap: 1200px;
  --sec-y: clamp(64px, 7vw, 104px);
  --action: linear-gradient(155deg, #1a8fff, #0a6fe6);
  --surface: linear-gradient(145deg, #15151b, #0d0d12 45%, #0f0f14);
  --card-edge: linear-gradient(145deg, #414652, #262730 30%, #191a22 74%, #30313d);
  --edge-light: inset 0 1px 0 #ffffff1a;
  --card-hover: inset 0 1px 0 #ffffff24, 0 8px 24px -12px #1a8fff55;
  --r: 14px;
  --r-lg: 22px;
}

.brand__word, .sec-title, .page-title, .pp__title, .pdp__title,
.vp__title, .rs-title, .cta__title, .game__meta > b, .dlg__title,
.pp-card__row h3, .perk h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
}

body { letter-spacing: .002em; }
.hdr { padding-top: 12px; }
.hdr__bar {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  height: calc(var(--nav-h) - 14px);
  padding: 0 10px 0 clamp(13px, 2vw, 20px);
  background: linear-gradient(180deg, #191a22ed, #111118ed);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #ffffff16, 0 14px 32px -16px #000e;
}
.hdr.is-stuck .hdr__bar {
  background: rgba(14, 14, 20, .94);
  border-color: var(--line-2);
  box-shadow: var(--edge-light), 0 12px 30px -12px #000c;
}
.brand__word { font-size: 21px; line-height: 1; letter-spacing: -.023em; }
.brand__mark { width: 35px; height: 35px; }
.nav__links { gap: 6px; }
.nav__link { min-height: 38px; gap: 8px; padding-inline: 10px; font-size: 15px; border-radius: 8px; }
.nav__link .ico { width: 16px; height: 16px; stroke-width: 1.65; transition: color .2s ease, transform .3s var(--ease-out); }
.nav__link:is(:hover, :focus-visible) .ico { color: var(--link); transform: translateY(-1px); }
.nav__link:is(:hover, :focus-visible, .active, .is-active) {
  background: var(--tile);
  color: var(--ink);
  box-shadow: var(--edge-light);
}
.hdr__login { background: var(--tile-2); border-color: var(--line-2); box-shadow: none; }
.hdr__login:hover { background: var(--tile-3); box-shadow: none; }

.btn { border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .008em; }
.btn--lg { --h: 44px; padding-inline: 24px; font-size: 15px; }
.btn--primary:not(.hdr__login) {
  color: #ffffff;
  background: var(--action);
  border-color: #56aaffd9;
  box-shadow: inset 0 1px 0 #ffffff6b, 0 5px 22px -7px #1a8fff7a;
}
.btn--primary:not(.hdr__login):is(:hover, :focus-visible) {
  background: var(--action);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 #ffffff82, 0 6px 25px -6px #1a8fff9e;
}

.hero {
  padding: calc(var(--nav-h) + clamp(44px, 6vw, 85px)) 0 clamp(44px, 6vw, 78px);
}
.hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(28px, 6vw, 86px);
  text-align: left;
}
.hero__copy { display: grid; justify-items: start; row-gap: clamp(16px, 2vw, 24px); }
.hero__title {
  max-width: none;
  font: 450 clamp(2.55rem, 5.4vw, 5rem)/1.02 var(--display);
  letter-spacing: -.043em;
  text-wrap: balance;
}
.hero__line { padding: 0 .04em .05em 0; }
.hero__line { color: var(--ink); }
.hero__accent {
  display: inline-block;
  padding-inline: .025em;
  color: #e3f2ff;
  font: italic 500 1.12em/.8 "Newsreader", Georgia, serif;
  letter-spacing: -.047em;
  text-shadow: 0 0 26px #1a8fff32;
}
.hero__contrast { display: block; margin-top: -.045em; color: var(--gray); }
.hero__muted {
  margin-top: 0;
  max-width: 43ch;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__cta { justify-content: flex-start; gap: 12px clamp(18px, 2.5vw, 28px); margin-top: 3px; }

@media (prefers-reduced-motion: no-preference) {
  :root:not(.hero-seen) .hero__line { animation: hero-settle .68s var(--ease-out) both; }
  :root:not(.hero-seen) .hero__muted { animation: hero-settle .67s var(--ease-out) .09s both; }
  :root:not(.hero-seen) .hero__cta { animation: hero-settle .65s var(--ease-out) .18s both; }
  .js #shop .rv {
    transition: opacity .6s var(--ease-out) var(--d, 0s), translate .68s var(--ease-out) var(--d, 0s),
      filter .6s var(--ease-out) var(--d, 0s),
      border-color .22s ease, transform .32s var(--ease-out), box-shadow .28s ease;
  }
  .js #shop .rv:not(.rv-in) { translate: 0 15px; filter: blur(2px); }
  .js #shop .rv.rv-in:not(.rv-done) { filter: blur(0); }
  .showcase:is(:hover, :focus-visible) .showcase__play::after { animation: play-halo .95s var(--ease-out); }
}
@keyframes hero-settle {
  from { opacity: .55; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

.hero__feature {
  min-width: 0;
  padding: 7px 7px 0;
  border: 1px solid transparent;
  border-radius: 23px;
  background: var(--surface) padding-box, var(--card-edge) border-box;
  box-shadow: var(--edge-light), 0 22px 56px -34px #000, 0 16px 38px -30px #1a8fff55;
}
.hero__feature-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 14px 13px;
}
.hero__feature-caption h2 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 550; letter-spacing: -.012em; }
.hero__feature-caption .link-ghost { font-size: 13px; color: var(--link); }
@media (min-width: 850px) {
  .hero__copy { margin-bottom: 48px; }
}
.hero__feature:is(:hover, :focus-within) {
  border-color: #4e76a866;
  box-shadow: var(--edge-light), 0 18px 44px -28px #1a8fff80;
}
.game-section { padding: clamp(32px, 4vw, 56px) 0 var(--sec-y); border-top: 1px solid var(--line); }
.home-browse__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: clamp(16px, 1.7vw, 24px);
}
.home-browse__head .sec-title {
  font-size: clamp(1.35rem, 2.55vw, 2rem);
  line-height: 1.15;
}
.home-browse__head .link-ghost { color: var(--link); font-size: 13px; }

.showcase {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--surface) padding-box, var(--card-edge) border-box;
  box-shadow: 0 18px 44px -26px #000d;
}
.showcase:is(:hover, :focus-visible) { box-shadow: 0 12px 34px -15px #1a8fff58; }
.showcase:focus-visible { border-radius: 16px; }
.showcase::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #07070bc7, #07070b35 43%, transparent 67%);
  pointer-events: none;
}
.showcase::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #f1f7ff26;
  border-radius: 11px;
  pointer-events: none;
}
.showcase__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.91);
  transition: transform .65s var(--ease-out), filter .4s ease;
}
.showcase:is(:hover, :focus-visible) .showcase__poster { transform: scale(1.035); filter: saturate(1.03) brightness(1.05); }
.showcase__play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #e0ebff91;
  border-radius: 50%;
  background: #15151bd9;
  color: white;
  box-shadow: var(--edge-light), 0 4px 22px #0007, 0 0 20px #1a8fff2e;
  transition: background-color .2s, transform .35s var(--ease-out), box-shadow .28s;
}
.showcase__play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.showcase__play::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--link);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
@keyframes play-halo {
  from { opacity: .62; transform: scale(1); }
  to { opacity: 0; transform: scale(1.5); }
}
.showcase:is(:hover, :focus-visible) .showcase__play {
  transform: scale(1.07);
  background: linear-gradient(150deg, #263b58, #141c2c);
  box-shadow: var(--edge-light), 0 4px 22px #0007, 0 0 23px #1a8fff50;
}
.showcase:active .showcase__play { transform: scale(.97); }

.showcase-dialog {
  position: fixed;
  width: min(940px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--tile);
  color: var(--ink);
}
.showcase-dialog[open] { animation: showcase-dialog-in .28s var(--ease-out) both; }
@keyframes showcase-dialog-in {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: none; }
}
.showcase-dialog::backdrop { background: rgba(3, 5, 12, .88); }
.showcase-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}
.showcase-dialog__head h2 { font: 550 26px/1 var(--display); }
.showcase-dialog__video { aspect-ratio: 16 / 9; background: #03050c; }
.showcase-dialog__video iframe { width: 100%; height: 100%; border: 0; }
.showcase-dialog__external { margin: 12px 16px; }
body:has(.showcase-dialog[open]) { overflow: hidden; }

.sec-title, .page-title, .pp__title {
  max-width: none;
  font-size: clamp(1.625rem, 2.7vw, 2.25rem);
  line-height: 1.15;
}
.sec-title span, .page-title span { color: var(--gray); }
.sec-head { margin-bottom: clamp(24px, 3vw, 38px); }
.sec-head .link-ghost { padding-bottom: 4px; color: var(--link); }
.games {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.55vw, 20px);
}
.game {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  border-radius: 18px;
  border-color: transparent;
  background: var(--surface) padding-box, var(--card-edge) border-box;
  box-shadow: var(--edge-light);
}
.game:is(:hover, :focus-visible) { border-color: #5590cf; border-radius: 18px; box-shadow: var(--card-hover); }
.game[data-game="valorant"]:not(:hover, :focus-visible) { border-color: #5aa8ff50; }
.game:hover { transform: translateY(-2px); }
.game::after, .perk::after { content: none; }
.game__art { aspect-ratio: 16 / 9; border-radius: 13px; }
.game__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #d5e4ff1a;
  pointer-events: none;
}
.game .game__img { filter: saturate(.9); transition-duration: .58s, .3s; }
.game:is(:hover, :focus-visible) .game__img { filter: saturate(1.07) brightness(1.08); }
.game__meta {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 4px;
  padding: 11px clamp(11px, 1.3vw, 18px) 13px;
}
.game__meta > b { font-size: 1.075rem; line-height: 1.25; letter-spacing: -.012em; }
.game__meta small { grid-column: 1; grid-row: 2; font-size: 12px; }
.game__go { grid-column: 1 / -1; grid-row: 3; margin-top: 5px; color: var(--link); font-size: 12px; font-weight: 500; }

#features {
  padding-bottom: var(--sec-y);
  border-block: 1px solid var(--line);
}
.perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 22px); }
.perk {
  min-width: 0;
  align-items: flex-start;
  padding: clamp(17px, 2.5vw, 32px);
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--surface) padding-box, var(--card-edge) border-box;
  box-shadow: var(--edge-light);
}
.perk:is(:hover, :focus-within) { border-color: #5aa8ff4d; box-shadow: var(--card-hover); }
.perk__icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border: 1px solid #3c4355; border-radius: 13px;
  background: linear-gradient(145deg, #212532, #14141e); color: var(--link);
  box-shadow: var(--edge-light);
  transition: transform .35s var(--ease-out), box-shadow .25s ease;
}
.perk:is(:hover, :focus-within) .perk__icon { transform: translateY(-2px); box-shadow: var(--card-hover); }
.perk__icon .ico { width: 20px; height: 20px; stroke-width: 1.65; }
.perk h3 { padding: 0; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.15; }
.perk p { margin-top: 7px; padding: 0; font-size: 14px; }
.perk .link-more { margin-top: 11px; font-size: 13px; color: var(--link); }

#reviews .sec-title { max-width: 29ch; text-wrap: initial; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; }
.review-shelf {
  --review-gap: 16px;
  display: grid;
  gap: 18px;
  overflow: clip;
}
.review-shelf__row {
  min-width: 0;
  padding-block: 3px;
  overflow: clip;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-shelf__track, .review-shelf__group, .review-shelf__copy { display: flex; width: max-content; }
.review-shelf__group { gap: var(--review-gap); padding-inline-end: var(--review-gap); }
.review-shelf__track { animation: review-drift var(--review-duration) linear infinite; }
.review-shelf__row:nth-child(2) .review-shelf__track { animation-direction: reverse; animation-delay: -13s; }
.review-shelf:is(.is-paused, .is-offscreen) .review-shelf__track { animation-play-state: paused; }
@keyframes review-drift { to { transform: translateX(-50%); } }
.review-shelf .rcard {
  width: max(clamp(230px, 70vw, 306px), 12.5vw);
  min-height: 150px;
  border-color: transparent;
  border-radius: 18px;
  background: var(--surface) padding-box, var(--card-edge) border-box;
  box-shadow: var(--edge-light);
  transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.review-shelf .rcard:hover { border-color: #4c6382; box-shadow: var(--card-hover); transform: translateY(-2px); }
.review-shelf .rcard__av { background: linear-gradient(145deg, #272732, #16161d); color: var(--ink-2); }
.review-shelf .rcard__stars { color: var(--link); }
.review-shelf > .rcard, .review-shelf > .quotes__note { margin-inline: auto; }
.review-shelf .rcard p { -webkit-line-clamp: 3; }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3vw, 42px); }
.reviews-actions .btn { border-radius: 12px; }
#reviewsMotion { color: var(--gray); }
#faq { padding-block: var(--sec-y); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; gap: clamp(22px, 7vw, 100px); }
.faq-layout .sec-head { display: block; margin: 0; }
.faq__more { margin-top: 18px; text-align: left; }
#faq .faq { display: grid; gap: 9px; border: 0; }
#faq .qa {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--tile);
  box-shadow: var(--edge-light);
}
#faq .qa[open] { border-color: #5aa8ff55; }
#faq .qa summary, #faq .qa__body { padding-inline: clamp(14px, 2vw, 24px); }
#faq .qa__ico {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--link);
  background: #1a8fff0e;
}
#faq .qa__ico::before, #faq .qa__ico::after { inset-inline: 6px; }
.qa summary { padding: 21px 2px; font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 500; }
.cta__title { font-size: clamp(2rem, 3.6vw, 3.45rem); line-height: 1.05; }
.foot { background: var(--bg); }

.pp::before, .pp::after, .pdp::before { content: none; }
.pp__head { padding-bottom: 25px; border-bottom: 1px solid var(--line-2); }
.pp__search, .pp__pill { border-radius: 999px; }
.pp__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 17px; }
.pp-card { padding: 0 0 17px; overflow: hidden; border: 1px solid transparent; border-radius: 22px; background: var(--surface) padding-box, var(--card-edge) border-box; box-shadow: var(--edge-light); }
.pp-card::after, .pdp__card::after, .vp-card::after { content: none; }
.pp-card:is(:hover, :focus-visible) { border-color: #5590cf; border-radius: 22px; box-shadow: var(--card-hover); }
.pp-card__media { border-radius: 0; }
.pp-card__row { margin-inline: 15px; }
.pp-card__row h3 { font-size: clamp(1.1rem, 1.65vw, 1.45rem); }
.pp-card__meta { margin-inline: 15px; }
.pdp__card, .vp-card { border: 1px solid transparent; background: var(--surface) padding-box, var(--card-edge) border-box; box-shadow: var(--edge-light); }

/* Catalog and purchase panel */
.pp__crumb {
  padding: 0;
  color: var(--gray);
  background: none;
  box-shadow: none;
}
.pp__head { gap: 20px; border-bottom-color: var(--line); }
.pp__title, .pdp__title { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.02; }
.pp__search { background: var(--tile); }
.pp__pill.is-on { background: #1a8fff18; box-shadow: inset 0 0 0 1px #56aaff72; }
.pp-card { padding: 5px 5px 16px; }
.pp-card__media { border-radius: 16px; }
.pp-card__price.is-out, .pdp__stock-out { color: #f3b3bd; background: #ff667016; box-shadow: inset 0 0 0 1px #ff748333; }

.pdp__media {
  border: 1px solid transparent;
  border-radius: 22px;
  background: var(--surface) padding-box, var(--card-edge) border-box;
}
.pdp__media.is-empty .pdp__initial {
  color: #a8c6ed;
  font: 500 clamp(4rem, 10vw, 8rem)/1 "Newsreader", Georgia, serif;
}
.pdp__buy { border-radius: 23px; padding: clamp(17px, 3vw, 34px); }
.pdp__rule { background: var(--line); }
.pdp__plan-sub { color: var(--gray); }
.pdp__plan {
  min-height: 58px;
  height: auto;
  padding: 11px 13px;
  gap: 8px;
  background: #ffffff05;
}
.pdp__plan > b { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.pdp__plan-label {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 24px;
}
.pdp__plan-label::before {
  content: "";
  position: absolute;
  inset: 4px auto auto 0;
  width: 14px;
  height: 14px;
  border: 1px solid #c8d7ec55;
  border-radius: 50%;
}
.pdp__plan.is-selected {
  background: #1a8fff19;
  box-shadow: inset 0 0 0 1px #7bb8ffb3, 0 4px 20px -10px #1a8fff70;
}
.pdp__plan.is-selected .pdp__plan-label::before {
  border-color: #a8d2ff;
  background: #9acaff;
  box-shadow: inset 0 0 0 3px #152c47, 0 0 10px #1a8fff50;
}
.pdp__plan em { margin-left: 0; color: #e8c28a; font-size: 12px; }
.pdp__plan:disabled em { color: #e2aab3; }
.pdp__plan:disabled .pdp__plan-label::before { border-color: var(--line); }
.pdp__total {
  align-items: center;
  padding: 13px 0;
  border-block: 1px solid var(--line);
}
.pdp__sum b { font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 410px) {
  .pdp__actions .btn { padding-inline: 8px; font-size: 13px; gap: 6px; }
}

@media (min-width: 900px) and (max-width: 1068px) {
  .hdr__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}
@media (max-width: 849px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 34px; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  :root { --nav-h: 64px; }
  .hdr { padding-top: 9px; }
  .hdr__bar { width: calc(100% - 24px); gap: 10px; }
  .hero__cta .btn { padding-inline: 15px; }
  .perks, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .cta__row { gap: 7px; }
  .cta__row .btn { padding-inline: 13px; }
}
@media (forced-colors: active) {
  .hero__accent { color: CanvasText; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  #reviewsMotion, .review-shelf__copy, .review-shelf__filler { display: none; }
  .review-shelf__row { mask-image: none; }
  .review-shelf__track { width: auto; animation: none; }
  .review-shelf__group { width: 100%; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .showcase:is(:hover, :focus-visible, :active) :is(.showcase__poster, .showcase__play),
  .game:hover, .game:hover :is(.game__img, .game__go svg), .review-shelf .rcard:hover,
  .nav__link:is(:hover, :focus-visible) .ico, .perk:is(:hover, :focus-within) .perk__icon,
  .pp-card:hover, .pp-card:hover .pp-card__media img { transform: none; }
}
