/* Grim Reaper Interactive + Escape From Santos — Tebex Theme
   Tokens aligned to grs_core grs-theme.css. Do not edit grs_core.
   Bender @font-face is injected via layout.html (data-URI) on Tebex. */

:root {
  --efs-font: "Bender", "Oswald", "Barlow Condensed", sans-serif;
  /* Testi â€” bianco / grigio / argento (come grs-theme) */
  --efs-text: #ffffff;
  --efs-text-muted: rgba(184, 188, 196, 0.92);
  --efs-text-dim: rgba(160, 160, 160, 0.8);
  --efs-silver: #c8c8c8;
  --efs-silver-bright: #ececec;
  --efs-silver-muted: rgba(180, 180, 180, 0.55);
  --efs-silver-fill: #b8bcc6;
  --efs-silver-fill-dim: #9ca0aa;
  /* Accent oro: solo status / highlight rari */
  --efs-accent: #c4a35a;
  --efs-accent-bright: #d4b56a;
  --efs-accent-muted: rgba(196, 163, 90, 0.45);
  --efs-accent-hover: rgba(196, 163, 90, 0.1);
  --efs-accent-ink: #0c0c0e;
  --efs-danger: #c44a3c;
  --efs-success: #8cb43c;
  /* Stage frost â€” come pause/inventory (opaco semi-trasparente + hatch) */
  --efs-stage: rgba(14, 14, 14, 0.58);
  --efs-stage-strong: rgba(14, 14, 14, 0.72);
  --efs-panel: rgba(14, 14, 14, 0.72);
  --efs-panel-2: rgba(20, 20, 20, 0.66);
  --efs-border: rgba(255, 255, 255, 0.14);
  --efs-border-soft: rgba(255, 255, 255, 0.06);
  --efs-hairline: rgba(255, 255, 255, 0.4);
  --efs-bg: #0e0e0e;
  --efs-bg-radial: none;
  /* Media (overridden on Tebex via layout asset() vars) */
  --efs-img-hero: url("img/media-aim.jpg");
  --efs-img-operator: url("img/media-operator.jpg");
  --efs-img-insert: url("img/media-insert.jpg");
  --efs-img-ops: url("img/media-ops.jpg");
  --efs-img-raid: url("img/media-raid.jpg");
  --efs-img-night: url("img/media-night.jpg");
  --efs-img-breach: url("img/media-breach.jpg");
  --efs-img-sprint: url("img/media-sprint.jpg");
  --efs-img-depot: url("img/media-depot.png");
  --efs-img-media-hero: url("img/media-hero.jpg");
  --efs-img-hero-fallback: url("img/hero-bg.png");
  --efs-hatch: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.022) 3px,
    rgba(255, 255, 255, 0.022) 6px
  );
  --efs-letter-ui: 0.04em;
  --efs-letter-title: 0.08em;
  --efs-radius: 0px;
  --efs-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);

  /* Fluid scale — phone → 4K (bump for readability) */
  --efs-pad-x: clamp(14px, 2.8vw, 80px);
  --efs-pad-y: clamp(18px, 2.2vw, 56px);
  --efs-gap: clamp(12px, 1.2vw, 28px);
  --efs-content-w: min(1920px, calc(100vw - (var(--efs-pad-x) * 2)));
  --efs-fs-body: clamp(18px, 0.7vw + 14px, 26px);
  --efs-fs-sm: clamp(16px, 0.55vw + 13px, 22px);
  --efs-fs-label: clamp(14px, 0.45vw + 12px, 20px);
  --efs-fs-nav: clamp(15px, 0.5vw + 13px, 22px);
  --efs-fs-title: clamp(36px, 3vw + 16px, 80px);
  --efs-fs-h2: clamp(26px, 1.4vw + 16px, 42px);
  --efs-fs-price: clamp(30px, 1.5vw + 16px, 56px);
  --efs-fs-amount: clamp(30px, 2.4vw + 14px, 64px);
  --efs-fs-cta: clamp(15px, 0.45vw + 13px, 20px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--efs-bg);
  color: var(--efs-text);
  font-family: var(--efs-font);
  font-size: var(--efs-fs-body);
  line-height: 1.55;
  letter-spacing: var(--efs-letter-ui);
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.efs-hub-nav::-webkit-scrollbar,
.efs-basket-panel__inner::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.efs-hub-nav,
.efs-basket-panel__inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Stampatello ovunque — mai small-caps (rende il testo illeggibile). */
button,
input,
select,
textarea,
label,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
td,
th,
div,
small,
strong,
em {
  text-transform: uppercase !important;
  font-variant-caps: normal;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--efs-bg);
  background-image: none;
  background-attachment: fixed;
}

a {
  color: var(--efs-text);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

a:hover {
  color: var(--efs-silver-bright);
}

img {
  max-width: 100%;
  display: block;
}

/* â€”â€”â€” Ambient motion layers â€”â€”â€” */
.efs-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.efs-ambient__hatch {
  position: absolute;
  inset: -20%;
  background-color: var(--efs-bg);
  background-image: var(--efs-hatch);
  opacity: 1;
  animation: efsHatchDrift 28s linear infinite;
}

.efs-ambient__dots {
  position: absolute;
  inset: -10%;
  opacity: 0.14;
  background-image: radial-gradient(circle, rgba(200, 200, 200, 0.55) 1px, transparent 1.2px);
  background-size: 18px 18px;
  animation: efsDotsDrift 48s linear infinite;
}

.efs-ambient__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(184, 188, 196, 0.04) 48%,
    transparent 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: efsScanSweep 7.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

.efs-ambient__line {
  position: absolute;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(184, 188, 196, 0.12));
  animation: efsLineDraw 4.5s ease-out infinite;
  opacity: 0.55;
}

.efs-ambient__line--a { top: 24%; left: 18%; animation-delay: 0.2s; }
.efs-ambient__line--b { top: 40%; left: 72%; transform: scaleX(-1); animation-delay: 1.1s; }
.efs-ambient__line--c { top: 70%; left: 28%; animation-delay: 2s; }

/* â€”â€”â€” Shell â€”â€”â€” */
.efs-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: efsShellIn 0.7s ease-out both;
}

.efs-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--efs-gap);
  padding: var(--efs-pad-y) var(--efs-pad-x) calc(var(--efs-pad-y) * 0.55);
  border-bottom: 1px solid var(--efs-hairline);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.efs-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--efs-silver), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: efsGoldLine 1.4s ease-out 0.35s forwards;
}

.efs-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.efs-brand:hover {
  color: inherit;
}

.efs-brand-mark {
  font-size: var(--efs-fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  padding-left: 8px;
  text-transform: uppercase;
}

.efs-brand-title {
  margin: 0;
  padding-left: 10px;
  font-size: clamp(22px, 1.6vw + 12px, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--efs-silver-bright);
  background: linear-gradient(
    100deg,
    var(--efs-silver) 0%,
    var(--efs-silver-bright) 40%,
    #ffffff 50%,
    var(--efs-silver-bright) 60%,
    var(--efs-silver) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: efsBrandShimmer 5.5s ease-in-out infinite;
}

.efs-top-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-bottom: 4px;
}

.efs-top-link {
  font-size: var(--efs-fs-nav);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.efs-top-link.is-active,
.efs-top-link:hover {
  color: var(--efs-text);
}

.efs-basket-btn {
  font-size: var(--efs-fs-nav);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--efs-silver-bright);
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--efs-silver);
  padding: 0 0 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, letter-spacing 0.25s ease, border-color 0.2s ease;
}

.efs-basket-btn:hover {
  color: #ffffff;
  letter-spacing: 0.16em;
  border-color: #ffffff;
}

.efs-basket-btn.is-live::before {
  content: none;
}

.efs-hub-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--efs-pad-x);
  box-sizing: border-box;
  border-bottom: 1px solid var(--efs-hairline);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.efs-hub-nav__item {
  display: inline-flex;
  align-items: center;
  padding: clamp(12px, 1vw, 18px) clamp(12px, 1.2vw, 22px);
  font-size: var(--efs-fs-nav);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.25s ease;
}

.efs-hub-nav__item:hover {
  color: var(--efs-silver-bright);
}

.efs-hub-nav__item.is-active {
  color: #0c0c0e;
  background: var(--efs-silver-bright);
}

.efs-hub-nav__sep {
  width: 1px;
  align-self: stretch;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(184, 188, 196, 0.45) 0 2px,
    transparent 2px 5px
  );
}

.efs-hub {
  flex: 1;
  width: var(--efs-content-w);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--efs-pad-y) 0 calc(var(--efs-pad-y) * 1.6);
}

.efs-hub-modules {
  flex: 0 0 auto;
  width: var(--efs-content-w);
  margin: 0 auto;
  padding: 12px var(--efs-pad-x) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.efs-hub-modules img,
.efs-lp-promo img,
.efs-module img {
  display: block;
  width: 100%;
  height: 72px;
  max-height: 72px;
  object-fit: cover;
}

.efs-module.efs-goal img,
.efs-goal__media img {
  height: auto;
  max-height: none;
}

.efs-hub-modules:empty,
.efs-lp-promo:empty {
  display: none;
}

.efs-lp-promo {
  width: 100%;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.efs-home-goal-band {
  padding: 0 0 36px;
  border-top: 0;
  background: #0c0c0c;
}

.efs-home-goal-band:not(:has(.efs-goal)) {
  display: none;
}

.efs-home-goal > *:not(.efs-goal) {
  display: none !important;
}

.efs-goal {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(22px, 2.4vw, 36px);
  background: rgba(16, 16, 16, 0.82);
  background-image: var(--efs-hatch);
}

.efs-module.efs-goal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(22px, 2.4vw, 36px);
}

.efs-promo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--efs-border);
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  padding: 16px 20px;
  background: var(--efs-panel);
  background-image: var(--efs-hatch);
}

.efs-promo__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.efs-promo__name {
  flex: 1;
  min-width: 0;
  font-size: var(--efs-fs-h2);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--efs-silver-bright);
}

.efs-promo__price .efs-offer__now {
  font-size: var(--efs-fs-h2);
}

.efs-goal__head {
  margin: 0;
}

.efs-goal__mark {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: rgba(160, 160, 160, 0.75);
}

.efs-goal__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: #fff;
}

.efs-goal__hook {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(180, 180, 180, 0.9);
}

.efs-goal__body {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: stretch;
}

.efs-goal__media {
  margin: 0;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #0a0a0a;
}

.efs-goal__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.efs-goal__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.efs-goal__desc,
.efs-goal__desc p,
.efs-goal__desc span,
.efs-goal__desc li {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(180, 180, 180, 0.9);
}

.efs-goal__desc p:last-child {
  margin-bottom: 16px;
}

.efs-goal__track {
  position: relative;
  height: 8px;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.efs-goal__fill {
  height: 100%;
  background: var(--efs-silver-fill);
  min-width: 3px;
}

.efs-goal__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

.efs-goal__cycles {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--efs-text-dim);
}

.efs-main {
  flex: 1;
  width: var(--efs-content-w);
  margin: 0 auto;
  padding: var(--efs-pad-y) 0;
  display: block;
}

.efs-vsep {
  display: none;
}

.efs-footer {
  border-top: 1px solid var(--efs-border);
  padding: var(--efs-pad-y) var(--efs-pad-x);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--efs-gap);
  color: var(--efs-text-dim);
  font-size: var(--efs-fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  width: 100%;
  box-sizing: border-box;
}

.efs-footer > .efs-policy-strip {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
  margin: 0 0 4px;
}

/* â€”â€”â€” Sidebar / nav â€”â€”â€” */
.efs-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.efs-section-title {
  margin: 0 0 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  padding-left: 8px;
  font-size: var(--efs-fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--efs-text);
  text-transform: uppercase;
  line-height: 1.4;
}

.efs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.efs-nav li {
  border-bottom: 1px solid var(--efs-border);
}

.efs-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease, letter-spacing 0.25s ease;
}

.efs-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 0;
  height: 1px;
  background: var(--efs-silver-bright);
  transition: width 0.35s ease;
}

.efs-nav a:hover {
  color: var(--efs-text);
  padding-left: 6px;
  letter-spacing: 0.16em;
}

.efs-nav a:hover::after,
.efs-nav a.is-active::after {
  width: 28px;
}

.efs-nav a.is-active {
  color: var(--efs-text);
}

.efs-side-note {
  font-size: var(--efs-fs-sm);
  line-height: 1.5;
  color: var(--efs-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* â€”â€”â€” Content â€”â€”â€” */
.efs-content {
  min-width: 0;
}

.efs-hero {
  margin-bottom: clamp(24px, 3vw, 48px);
  padding: clamp(20px, 2.2vw, 40px);
  border: 1px solid var(--efs-border-soft);
  border-bottom: 1px solid var(--efs-hairline);
  position: relative;
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.efs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40%;
  height: 1px;
  background: var(--efs-silver);
  animation: efsGoldPulse 3.2s ease-in-out infinite;
}

.efs-hero-kicker {
  margin: 0 0 10px;
  font-size: var(--efs-fs-label);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  padding-left: 8px;
  text-transform: uppercase;
  animation: efsRevealUp 0.55s ease-out both;
}

.efs-hero h1 {
  margin: 0 0 14px;
  padding-left: 10px;
  font-size: var(--efs-fs-title);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--efs-silver-bright);
  background: linear-gradient(
    100deg,
    var(--efs-silver) 0%,
    #ffffff 42%,
    var(--efs-silver-bright) 52%,
    var(--efs-silver) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    efsRevealUp 0.65s ease-out 0.08s both,
    efsBrandShimmer 5.5s ease-in-out 0.8s infinite;
}

.efs-hero p {
  margin: 0;
  max-width: 72ch;
  padding-left: 10px;
  font-size: var(--efs-fs-body);
  line-height: 1.5;
  color: var(--efs-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: efsRevealUp 0.7s ease-out 0.16s both;
}

.efs-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--efs-gap);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--efs-hairline);
}

.efs-cat-head h1 {
  margin: 0;
  font-size: var(--efs-fs-h2);
  letter-spacing: 0.12em;
  color: var(--efs-silver-bright);
  text-transform: uppercase;
}

.efs-cat-desc {
  margin: 16px 0 24px;
  color: var(--efs-text-muted);
  font-size: var(--efs-fs-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}

.efs-subcat-kicker {
  margin: 8px 0 12px;
}

.efs-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 8px 0 28px;
  border: 1px solid var(--efs-border);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
}

.efs-subnav__label {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font-size: var(--efs-fs-label);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  border-right: 1px solid var(--efs-border);
}

.efs-subnav__item {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  font-size: var(--efs-fs-nav);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  border-right: 1px solid var(--efs-border);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.25s ease;
}

.efs-subnav__item:hover {
  color: var(--efs-silver-bright);
}

.efs-subnav__item.is-active {
  color: #0c0c0e;
  background: var(--efs-silver-bright);
}

.efs-subcat-grid {
  margin: 0 0 36px;
}

/* â€”â€”â€” Package rows (not cards) â€”â€”â€” */
.efs-pkg-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.efs-pkg {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--efs-border);
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  animation: efsRevealUp 0.55s ease-out forwards;
  transition: background 0.3s ease, padding-left 0.3s ease, border-color 0.3s ease;
}

.efs-pkg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(184, 188, 196, 0.1), transparent);
  transition: width 0.35s ease;
  pointer-events: none;
}

.efs-pkg:hover {
  padding-left: 8px;
  border-bottom-color: rgba(184, 188, 196, 0.4);
}

.efs-pkg:hover::before {
  width: 100%;
}

.efs-pkg:nth-child(1) { animation-delay: 0.05s; }
.efs-pkg:nth-child(2) { animation-delay: 0.1s; }
.efs-pkg:nth-child(3) { animation-delay: 0.15s; }
.efs-pkg:nth-child(4) { animation-delay: 0.2s; }
.efs-pkg:nth-child(5) { animation-delay: 0.25s; }
.efs-pkg:nth-child(6) { animation-delay: 0.3s; }
.efs-pkg:nth-child(7) { animation-delay: 0.35s; }
.efs-pkg:nth-child(8) { animation-delay: 0.4s; }
.efs-pkg:nth-child(n+9) { animation-delay: 0.45s; }

.efs-pkg-img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--efs-border);
  background:
    var(--efs-hatch),
    rgba(32, 32, 32, 0.92);
  object-fit: contain;
  padding: 6px;
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.efs-pkg:hover .efs-pkg-img {
  border-color: var(--efs-silver-muted);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.efs-pkg-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--efs-text-dim);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.efs-pkg-meta {
  min-width: 0;
}

.efs-pkg-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--efs-text);
  text-transform: uppercase;
}

.efs-pkg-name a:hover {
  color: var(--efs-silver-bright);
}

.efs-pkg-desc {
  margin: 0;
  font-size: var(--efs-fs-sm);
  line-height: 1.4;
  color: var(--efs-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.efs-pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.efs-tag {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--efs-silver);
  border: 1px solid var(--efs-border);
  padding: 3px 8px;
  text-transform: uppercase;
}

.efs-pkg-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 120px;
}

.efs-price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--efs-silver-bright);
  transition: color 0.25s ease, transform 0.25s ease;
}

.efs-pkg:hover .efs-price {
  color: #ffffff;
  transform: translateX(-2px);
}

.efs-price s {
  display: block;
  font-size: 16px;
  color: var(--efs-text-dim);
  font-weight: 500;
}

.efs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 12vw, 160px);
  padding: clamp(10px, 0.9vw, 14px) clamp(14px, 1.2vw, 20px);
  font-family: inherit;
  font-size: var(--efs-fs-cta);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--efs-accent-ink);
  background: linear-gradient(180deg, var(--efs-silver-fill) 0%, var(--efs-silver-fill-dim) 100%);
  border: 1px solid rgba(184, 188, 196, 0.5);
  border-radius: var(--efs-radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    letter-spacing 0.25s ease,
    box-shadow 0.3s ease;
}

.efs-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.efs-cta:hover {
  background: linear-gradient(180deg, #d0d4dc 0%, var(--efs-silver-fill) 100%);
  color: var(--efs-accent-ink);
  transform: translateY(-2px);
  letter-spacing: 0.18em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.efs-cta:hover::before {
  transform: translateX(120%);
}

.efs-cta:active {
  transform: translateY(0);
}

.efs-cta.is-added {
  background: transparent;
  color: var(--efs-success);
  border-color: var(--efs-success);
  animation: efsRevealUp 0.35s ease-out both;
}

.efs-cta--ghost {
  color: var(--efs-silver-bright);
  background: transparent;
  border-color: var(--efs-silver-muted);
}

.efs-cta--ghost:hover {
  background: rgba(184, 188, 196, 0.08);
  color: #ffffff;
}

.efs-cta--danger {
  color: #fff;
  background: transparent;
  border-color: var(--efs-danger);
  color: var(--efs-danger);
}

/* â€”â€”â€” Category tiles on home â€”â€”â€” */
.efs-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--efs-border);
}

.efs-cat-tile {
  display: block;
  padding: clamp(22px, 2vw, 36px) clamp(16px, 1.6vw, 28px);
  border-bottom: 1px solid var(--efs-border);
  border-right: 1px solid var(--efs-border);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: efsRevealUp 0.6s ease-out forwards;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.efs-cat-tile:nth-child(1) { animation-delay: 0.08s; }
.efs-cat-tile:nth-child(2) { animation-delay: 0.14s; }
.efs-cat-tile:nth-child(3) { animation-delay: 0.2s; }
.efs-cat-tile:nth-child(4) { animation-delay: 0.26s; }
.efs-cat-tile:nth-child(5) { animation-delay: 0.32s; }
.efs-cat-tile:nth-child(6) { animation-delay: 0.38s; }
.efs-cat-tile:nth-child(7) { animation-delay: 0.44s; }
.efs-cat-tile:nth-child(8) { animation-delay: 0.5s; }

.efs-cat-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--efs-silver);
  transition: height 0.4s ease;
}

.efs-cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(184, 188, 196, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.efs-cat-tile:nth-child(2n) {
  border-right: 0;
}

.efs-cat-tile:hover {
  border-color: rgba(184, 188, 196, 0.35);
}

.efs-cat-tile:hover::before {
  height: 100%;
}

.efs-cat-tile:hover::after {
  opacity: 1;
}

.efs-cat-tile-mark {
  display: block;
  margin-bottom: 10px;
  font-size: var(--efs-fs-label);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.efs-cat-tile-desc {
  margin: 0;
  font-size: var(--efs-fs-sm);
  line-height: 1.45;
  color: var(--efs-text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.efs-cat-tile-name {
  margin: 0 0 8px;
  font-size: var(--efs-fs-h2);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--efs-text);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.efs-cat-tile:hover .efs-cat-tile-name {
  color: var(--efs-silver-bright);
  letter-spacing: 0.14em;
}

.efs-cat-tile-go {
  display: block;
  margin-top: 14px;
  font-size: var(--efs-fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--efs-silver);
  position: relative;
  z-index: 1;
}

.efs-cat-tile:hover .efs-cat-tile-go {
  color: var(--efs-silver-bright);
}

.efs-cat-tile-mark,
.efs-cat-tile-desc {
  position: relative;
  z-index: 1;
}

/* â€”â€”â€” Package detail â€”â€”â€” */
.efs-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.efs-detail-media {
  border: 1px solid var(--efs-border);
  background:
    var(--efs-hatch),
    rgba(32, 32, 32, 0.92);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.efs-detail-media img {
  max-height: 100%;
  object-fit: contain;
}

.efs-detail-body h1 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--efs-silver-bright);
  text-transform: uppercase;
}

.efs-detail-desc {
  color: var(--efs-text-muted);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.efs-stat-rows {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--efs-border);
}

.efs-stat-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--efs-border);
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.efs-stat-rows .label {
  color: var(--efs-text-dim);
}

.efs-stat-rows .value {
  color: var(--efs-text);
  text-align: right;
}

.efs-stat-rows .value.is-accent {
  color: var(--efs-silver-bright);
}

.efs-contents {
  margin-top: 8px;
}

.efs-contents h2 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: 0.14em;
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  padding-left: 8px;
  text-transform: uppercase;
}

.efs-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.efs-contents li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--efs-border-soft);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--efs-text-muted);
}

.efs-contents .qty {
  color: var(--efs-silver-bright);
}

/* â€”â€”â€” Checkout / username â€”â€”â€” */
.efs-form {
  max-width: 480px;
}

.efs-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--efs-text-dim);
  text-transform: uppercase;
}

.efs-form input,
.efs-form select,
.efs-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--efs-text);
  background: rgba(20, 20, 20, 0.86);
  border: 1px solid var(--efs-border);
  border-radius: var(--efs-radius);
  outline: none;
  text-transform: uppercase;
}

.efs-form input:focus {
  border-color: var(--efs-silver);
}

.efs-basket-rows {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--efs-border);
}

.efs-basket-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--efs-border);
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.efs-basket-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--efs-hairline);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.efs-basket-total strong {
  color: var(--efs-silver-bright);
}

/* â€”â€”â€” Messages â€”â€”â€” */
.efs-alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--efs-border);
  background: var(--efs-panel-2);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.efs-alert--ok {
  border-color: rgba(140, 180, 60, 0.45);
  color: var(--efs-success);
}

.efs-alert--err {
  border-color: rgba(196, 74, 60, 0.45);
  color: var(--efs-danger);
}

/* â€”â€”â€” Empty / misc â€”â€”â€” */
.efs-empty {
  padding: 48px 0;
  color: var(--efs-text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.efs-modules {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.efs-module {
  border-top: 1px solid var(--efs-border);
  padding-top: 16px;
}

.efs-module h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--efs-text-dim);
  text-transform: uppercase;
}

.efs-module p,
.efs-module li {
  font-size: 16px;
  color: var(--efs-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* â€”â€”â€” Responsive â€”â€”â€” */
@media (max-width: 900px) {
  .efs-topbar {
    padding: 20px 20px 14px;
    flex-wrap: wrap;
  }

  .efs-main {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
  }

  .efs-vsep {
    display: none;
  }

  .efs-side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .efs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    width: 100%;
  }

  .efs-nav li {
    border: 0;
  }

  .efs-nav a {
    padding: 8px 0;
  }

  .efs-cat-grid,
  .efs-subcat-grid {
    grid-template-columns: 1fr;
  }

  .efs-subnav__label {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--efs-border);
  }

  .efs-goal__body {
    grid-template-columns: 1fr;
  }

  .efs-goal__media {
    min-height: 180px;
  }

  .efs-cat-tile {
    border-right: 0;
  }

  .efs-pkg {
    grid-template-columns: 56px 1fr;
  }

  .efs-pkg-buy {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .efs-detail {
    grid-template-columns: 1fr;
  }

  .efs-footer {
    padding: 16px 20px 24px;
    flex-direction: column;
  }
}

.efs-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 16px;
  font-size: var(--efs-fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--efs-silver);
  border: 1px dashed var(--efs-border);
  background: var(--efs-stage);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.efs-back:hover {
  color: #fff;
  border-color: var(--efs-silver);
  background: rgba(184, 188, 196, 0.06);
}

.efs-section-bar {
  margin-bottom: clamp(12px, 1.2vw, 20px);
}

.efs-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border: 1px solid var(--efs-border-soft);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(14px);
  animation: efsRevealUp 0.55s ease-out forwards;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.efs-offer:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.efs-offer--hero {
  margin-bottom: var(--efs-gap);
  min-height: clamp(240px, 28vw, 380px);
  animation-delay: 0.05s;
}

.efs-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--efs-gap);
}

.efs-offer-grid .efs-offer:nth-child(1) { animation-delay: 0.1s; }
.efs-offer-grid .efs-offer:nth-child(2) { animation-delay: 0.16s; }
.efs-offer-grid .efs-offer:nth-child(3) { animation-delay: 0.22s; }
.efs-offer-grid .efs-offer:nth-child(4) { animation-delay: 0.28s; }
.efs-offer-grid .efs-offer:nth-child(n+5) { animation-delay: 0.34s; }

.efs-offer__media {
  position: relative;
  min-height: clamp(180px, 18vw, 260px);
  background:
    var(--efs-hatch),
    rgba(22, 22, 22, 0.55);
  border-right: 1px solid var(--efs-border-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.efs-offer--hero .efs-offer__media {
  min-height: clamp(220px, 26vw, 380px);
}

.efs-offer__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.efs-offer:hover .efs-offer__media img {
  transform: scale(1.04);
  opacity: 1;
}

.efs-offer__placeholder {
  font-size: var(--efs-fs-sm);
  letter-spacing: 0.2em;
  color: var(--efs-text-dim);
}

.efs-offer__overlay {
  position: absolute;
  left: clamp(14px, 1.4vw, 24px);
  bottom: clamp(14px, 1.4vw, 24px);
  right: clamp(14px, 1.4vw, 24px);
  z-index: 1;
  pointer-events: none;
}

.efs-offer__amount {
  font-size: var(--efs-fs-amount);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  line-height: 1.1;
}

.efs-offer--hero .efs-offer__amount {
  font-size: clamp(28px, 2.6vw + 10px, 64px);
}

.efs-offer__bonus {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  font-size: var(--efs-fs-label);
  letter-spacing: 0.1em;
  color: var(--efs-silver-bright);
  border: 1px solid var(--efs-border);
  background: rgba(10, 10, 10, 0.72);
}

.efs-offer__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
  padding: clamp(18px, 2vw, 32px);
}

.efs-offer__title {
  margin: 0;
  font-size: var(--efs-fs-h2);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--efs-silver-bright);
}

.efs-offer__title a:hover {
  color: #fff;
}

.efs-offer__desc {
  margin: 0;
  font-size: var(--efs-fs-sm);
  line-height: 1.55;
  color: var(--efs-text-muted);
  letter-spacing: 0.06em;
}

.efs-offer--detail {
  align-items: center;
}

.efs-offer--detail:hover {
  transform: none;
}

.efs-offer--detail .efs-offer__media {
  position: relative;
  min-height: min(72vh, 620px);
  align-self: center;
  width: 100%;
}

.efs-offer--detail .efs-offer__title {
  font-size: clamp(22px, 2vw + 8px, 40px);
}

.efs-offer--detail .efs-offer__info {
  justify-content: flex-start;
  min-width: 0;
}

.efs-offer--detail .efs-offer__desc {
  max-height: none;
  overflow: visible;
  font-size: clamp(11px, 0.28vw + 10px, 13px);
  line-height: 1.38;
  letter-spacing: 0.05em;
}

.efs-offer--detail .efs-offer__desc p {
  margin: 0 0 8px;
}

.efs-offer--detail .efs-offer__desc h1,
.efs-offer--detail .efs-offer__desc h2,
.efs-offer--detail .efs-offer__desc h3,
.efs-offer--detail .efs-offer__desc h4,
.efs-offer--detail .efs-offer__desc strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--efs-silver-bright);
}

.efs-offer--detail .efs-offer__desc ul,
.efs-offer--detail .efs-offer__desc ol {
  margin: 0 0 10px;
  padding-left: 1.15em;
}

.efs-offer--detail .efs-offer__desc li {
  margin: 0 0 2px;
  line-height: 1.32;
}

.efs-offer__price,
.efs-promo__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
}

.efs-offer__was {
  display: block;
  font-size: clamp(13px, 0.45vw + 11px, 18px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--efs-text-dim);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.efs-offer__now {
  font-size: var(--efs-fs-price);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.efs-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.efs-cta--dash {
  border-style: dashed;
  min-width: clamp(120px, 12vw, 160px);
  font-size: var(--efs-fs-cta);
  padding: clamp(10px, 0.9vw, 14px) clamp(14px, 1.2vw, 20px);
}

.efs-link-ghost {
  font-size: var(--efs-fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--efs-silver);
  border-bottom: 1px dashed var(--efs-silver-muted);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.efs-link-ghost:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 900px) {
  .efs-offer,
  .efs-offer--hero {
    grid-template-columns: 1fr;
  }

  .efs-offer__media,
  .efs-offer--hero .efs-offer__media,
  .efs-offer--detail .efs-offer__media {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--efs-border-soft);
    position: relative;
    top: auto;
  }

  .efs-offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .efs-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1920px) {
  :root {
    --efs-content-w: min(2200px, calc(100vw - (var(--efs-pad-x) * 2)));
  }
}

@media (min-width: 2560px) {
  :root {
    --efs-content-w: min(2400px, calc(100vw - (var(--efs-pad-x) * 2)));
    --efs-fs-body: clamp(18px, 0.45vw + 12px, 26px);
    --efs-fs-title: clamp(40px, 2vw + 16px, 72px);
  }
}

/* â€”â€”â€” Official-site style landing hero (Tarkov homepage pattern) â€”â€”â€” */
/* â€”â€”â€” Tarkov.com-style marketing home â€”â€”â€” */
.efs-body--home,
.efs-shell.is-home,
.efs-shell--home {
  background: #0a0a0a;
}

.efs-shell--home .efs-ambient,
.efs-shell.is-home .efs-ambient {
  display: none;
}

.efs-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 10, 0.92);
  box-sizing: border-box;
}

.efs-site-header.is-home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 100%);
  border-bottom: 0;
}

.efs-site-header__logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  background: transparent !important;
  box-shadow: none !important;
}

.efs-site-header__logo img,
.efs-site-hero__logo,
.efs-lp-cta__logo {
  display: block;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  /* soft depth without black plate behind transparent PNG */
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.efs-site-header__logo img {
  height: clamp(28px, 3.2vw, 44px);
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
}

/* GRI header wordmark (text â€” same font stack) */
.gri-wordmark {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1 !important;
  text-decoration: none;
  color: #fff;
}

.gri-wordmark__sub {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(200, 200, 200, 0.85);
}

.gri-wordmark__main {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.efs-site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 28px);
}

/* Tebex has no |merge — first matching category link wins, fallback stays if none */
.efs-link-slot {
  display: contents;
}
.efs-link-slot:has(.efs-nav-efs) .efs-nav-efs-fallback,
.efs-link-slot:has(.efs-nav-assets) .efs-nav-assets-fallback {
  display: none !important;
}
.efs-link-slot .efs-nav-efs ~ .efs-nav-efs,
.efs-link-slot .efs-nav-assets ~ .efs-nav-assets {
  display: none !important;
}
.gri-portal-slot {
  display: contents;
}

.efs-site-header__nav a {
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
  background: transparent;
}

.efs-site-header__nav a:hover,
.efs-site-header__nav a.is-active {
  color: #fff;
}

.efs-site-header__buy {
  padding: 8px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.16em !important;
  color: #fff !important;
}

.efs-site-header__buy:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #111 !important;
}

.efs-site-header__nav a.efs-site-header__basket,
.efs-site-header__nav .efs-basket-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  letter-spacing: 0.14em;
}

.efs-site-header__nav a.efs-site-header__basket:hover,
.efs-site-header__nav .efs-basket-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-color: #fff;
}

.efs-basket-panel {
  position: fixed;
  inset: 0;
  z-index: 100003;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(18, 18, 20, 0.94) 0%, rgba(6, 6, 7, 0.98) 100%);
}

.efs-basket-panel.is-open {
  display: flex;
}

.efs-basket-panel__inner {
  width: 640px;
  max-width: 92%;
  max-height: 86vh;
  overflow: auto;
  padding: 28px 32px 32px;
  text-align: left;
  background: var(--efs-panel);
  background-image: var(--efs-hatch);
  border: 1px solid var(--efs-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.efs-basket-panel__inner h3 {
  margin: 0 0 20px;
  padding-left: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ececec;
  text-transform: uppercase;
}

.efs-basket-panel__close {
  display: inline-flex;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--efs-text-muted);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.efs-basket-panel__close:hover {
  color: #fff;
}

.efs-site-header__nav button.efs-basket-btn {
  font-family: inherit;
}

.efs-view--home {
  padding: 0;
  margin: 0;
  flex: 1;
  width: 100%;
}

.efs-site-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.efs-site-hero__media {
  position: absolute;
  inset: 0;
  background: var(--efs-img-hero) center 42% / cover no-repeat;
  transform: none;
  animation: none;
}

.efs-site-hero__media--hero {
  background-image: var(--efs-img-hero);
  background-position: center 46%;
}

.efs-site-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.28) 75%, rgba(8, 8, 8, 0.85) 100%);
  pointer-events: none;
}

.efs-site-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(88px, 12vh, 140px) 24px 64px;
  max-width: min(1100px, 100%);
  background: transparent;
  animation: efsRevealUp 0.85s ease-out both;
}

.efs-site-hero__logo {
  width: min(720px, 82vw);
  height: auto;
}

.efs-site-hero__line {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.efs-site-hero__buy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  min-width: 168px;
  min-height: 52px;
  padding: 14px 32px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.efs-site-hero__buy:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #fff;
  color: #111;
}

.efs-site-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  animation: efsScrollPulse 2.4s ease-in-out infinite;
}

@keyframes efsScrollPulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

.efs-hub-nav--store {
  position: relative;
  z-index: 5;
}

.efs-hub-nav--subs {
  position: relative;
  z-index: 4;
  border-top: 0;
  background: rgba(10, 10, 10, 0.45);
}

.efs-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid var(--efs-hairline);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  color: #fff;
}

.efs-ticker__src,
.efs-ticker__src-code {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.efs-ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: efsTicker 32s linear infinite;
  animation-play-state: running;
}

.efs-ticker__group {
  display: flex;
  flex: none;
  align-items: center;
}

.efs-ticker__item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 14px;
  padding: 12px 2.6em;
  font-size: var(--efs-fs-nav);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.efs-ticker__code {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}

@keyframes efsTicker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.efs-site-header__ident {
  color: var(--efs-silver-bright);
}

@keyframes efsHeroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1%, -0.6%, 0); }
}

/* â€”â€”â€” Landing page sections (scroll) â€”â€”â€” */
.efs-lp-section {
  position: relative;
  padding: clamp(64px, 8vh, 110px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.efs-lp-wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.efs-lp-head {
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 720px;
}

.efs-lp-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.efs-lp-kicker {
  margin: 0 0 10px;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: 0.14em;
  color: rgba(180, 180, 180, 0.7);
}

.efs-lp-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.efs-lp-lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(190, 190, 190, 0.88);
}

.efs-lp-link {
  font-size: 16px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  white-space: nowrap;
}

.efs-lp-link:hover {
  color: #fff;
}

/* Editions */
.efs-lp-editions {
  background:
    linear-gradient(180deg, #0c0c0c 0%, #111 100%);
}

.efs-edition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.efs-edition {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 1.6vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.72);
  background-image: var(--efs-hatch);
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.efs-edition:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.efs-edition--highlight {
  border-color: rgba(196, 163, 90, 0.45);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.12);
}

.efs-edition__tier {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(170, 170, 170, 0.75);
}

.efs-edition__name {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: 0.08em;
  color: #fff;
}

.efs-edition__desc {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: rgba(180, 180, 180, 0.8);
}

.efs-edition__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.efs-edition__list li {
  padding: 4px 0;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(220, 220, 220, 0.88);
}

.efs-edition__price {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.efs-edition__buy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.efs-edition__buy:hover {
  background: #fff;
  border-style: solid;
  border-color: #fff;
  color: #111;
}

/* Quotes */
.efs-lp-quotes {
  padding: clamp(36px, 5vh, 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
}

.efs-lp-quotes__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.efs-lp-quotes blockquote {
  margin: 0;
  padding: 0 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: rgba(200, 200, 200, 0.85);
}

/* About */
.efs-lp-about {
  background: #0e0e0e;
}

.efs-lp-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.efs-lp-about__copy p {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: rgba(190, 190, 190, 0.88);
}

.efs-lp-about__place {
  margin-top: 24px !important;
  color: #fff !important;
  letter-spacing: 0.14em !important;
  font-weight: 700;
}

.efs-lp-about__aside {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.8);
}

.efs-lp-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.efs-lp-stat:last-child {
  border-bottom: 0;
}

.efs-lp-stat__label {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: rgba(150, 150, 150, 0.75);
}

.efs-lp-stat__value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

/* Features */
.efs-lp-world {
  background: #0b0b0b;
}

.efs-lp-features {
  background: #0b0b0b;
}

/* ——— Inventory showcase (homepage SYSTEMS) ——— */
/* 1:1 with the grs_core character inventory at 2560×1440: cell 50 / pitch 52, gear slot 73,
   primary 198×98, sidearm 99×98. systems-demo.js builds the stage and scales it to the frame. */
.efs-inv-sec {
  border-top: 1px solid var(--efs-border-soft);
}

.efs-inv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #121212;
  border-top: 1px solid var(--efs-border-soft);
  border-bottom: 1px solid var(--efs-border-soft);
}

.efs-inv-frame::before {
  content: "";
  position: absolute;
  inset: -32px;
  z-index: -2;
  background: var(--efs-img-raid) center 52% / cover no-repeat;
  filter: blur(8px) saturate(0.7) brightness(0.9);
}

.efs-inv-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(14, 14, 14, 0.34);
  background-image: var(--efs-hatch);
}

.efs-inv-stage {
  position: absolute;
  transform-origin: 0 0;
  font-family: var(--efs-font);
  font-variant-caps: normal;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.4s ease;
}

.efs-inv-stage.is-fade {
  opacity: 0;
}

.efs-inv-stage > *,
.efs-inv-cont > *,
.efs-inv-float > * {
  position: absolute;
  margin: 0;
}

.efs-inv-stage img {
  display: block;
  max-width: none;
}

/* Top bar */
.efs-inv-tabs {
  left: 30px;
  top: 8px;
  height: 70px;
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.efs-inv-tab {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(220, 220, 220, 0.78);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.efs-inv-tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.efs-inv-meta {
  right: 30px;
  top: 8px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--efs-text-muted);
}

.efs-inv-meta img {
  flex-shrink: 0;
  width: 56.7px;
  height: 56.7px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.efs-inv-meta__lvl {
  color: #fff;
}

.efs-inv-meta__pr {
  color: var(--efs-accent);
  letter-spacing: 0.08em;
}

.efs-inv-sep {
  background: rgba(255, 255, 255, 0.4);
}

/* X-ray + HP boxes */
.efs-inv-xray__img {
  position: absolute;
  top: 0;
  left: 20%;
  height: 100%;
  width: auto;
  transform: translateX(-50%);
  opacity: 0.55;
  filter: brightness(0.9) saturate(0.4);
}

.efs-inv-hp {
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  width: 92px;
  padding: 3px 5px;
  background: rgba(12, 12, 14, 0.88);
  border: 1px solid var(--efs-border);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.efs-inv-stage.is-health .efs-inv-hp {
  opacity: 1;
}

.efs-inv-hp.is-over {
  border-color: #b8bcc4;
  background: rgba(22, 22, 22, 0.9);
  box-shadow: 0 0 12px rgba(184, 188, 196, 0.3);
}

.efs-inv-hp.is-hit {
  border-color: var(--efs-danger);
}

.efs-inv-hp.is-destroyed {
  border-color: rgba(30, 30, 30, 0.8);
  background: rgba(8, 8, 8, 0.92);
}

.efs-inv-hp__label {
  display: block;
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.15;
  white-space: nowrap;
}

.efs-inv-hp__bar {
  display: block;
  height: 6px;
  margin-bottom: 1px;
  overflow: hidden;
  background: rgba(28, 28, 28, 0.95);
  border-radius: 1px;
}

.efs-inv-hp__bar i {
  display: block;
  height: 100%;
  background: #8cb43c;
  border-radius: 1px;
}

.efs-inv-hp__val {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.efs-inv-hp__fx {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 3px;
}

.efs-inv-hp__fx:empty {
  display: none;
}

.efs-inv-hp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.efs-inv-hp__icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

/* Bars: HP total, weight, vitals */
.efs-inv-bar {
  box-sizing: border-box;
  height: 18px;
  overflow: hidden;
  background: rgba(12, 12, 14, 0.85);
  border: 1px solid var(--efs-border);
}

.efs-inv-bar > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(140, 180, 60, 0.92);
  transition: width 0.35s ease;
}

.efs-inv-bar > span {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.efs-inv-bar__l {
  left: 3px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.efs-inv-bar__r {
  right: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.efs-inv-bar > .efs-inv-bar__c {
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.efs-inv-hptotal {
  height: 20px;
}

.efs-inv-hptotal > i {
  transition: width 0.3s ease, background-color 0.3s ease;
}

.efs-inv-vitals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 6px;
}

.efs-inv-vitals__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.efs-inv-vitals .efs-inv-bar {
  position: relative;
}

.efs-inv-heal {
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(12, 12, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.efs-inv-heal.is-on {
  opacity: 1;
}

.efs-inv-heal i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4a8c3f, #6aac5f);
}

.efs-inv-heal span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #c8c8c8;
  white-space: nowrap;
}

/* Gear + weapon slots */
.efs-inv-slot {
  box-sizing: border-box;
  background: rgba(28, 30, 32, 0.78);
  border: 1px solid var(--efs-border);
}

.efs-inv-slot::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  border: 1px solid transparent;
  pointer-events: none;
}

.efs-inv-slot.is-ok::after {
  background: rgba(140, 180, 60, 0.6);
  border-color: rgba(140, 180, 60, 0.9);
}

.efs-inv-slot.is-bad::after {
  background: rgba(196, 74, 60, 0.6);
  border-color: rgba(196, 74, 60, 0.9);
}

.efs-inv-slot.is-action::after {
  background: rgba(196, 163, 90, 0.52);
  border-color: rgba(196, 163, 90, 0.95);
}

.efs-inv-slot__fav {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.55;
}

svg.efs-inv-slot__fav {
  opacity: 0.22;
}

.efs-inv-slot.is-filled .efs-inv-slot__fav {
  display: none;
}

.efs-inv-slot__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(184, 188, 196, 0.85);
  border-radius: 2px;
  color: #0d0d0d;
  font-size: 11px;
  font-weight: 700;
}

/* Grids (main.css .grid: 50px cell + 1px border; grs-ui-unify hides the :before/:after corners) */
.efs-inv-sub,
.efs-inv-cap,
.efs-inv-locker__t {
  padding-left: 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  color: #ececec;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.efs-inv-grid__cells {
  display: grid;
}

.efs-inv-grid__cells i {
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.34);
}

.efs-inv-grid__items {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.efs-inv-fp {
  position: absolute;
  z-index: 3;
  display: none;
  box-sizing: border-box;
  border: 1px solid transparent;
}

.efs-inv-fp.is-ok,
.efs-inv-fp.is-bad,
.efs-inv-fp.is-action {
  display: block;
}

.efs-inv-fp.is-ok {
  background: rgba(140, 180, 60, 0.6);
  border-color: rgba(140, 180, 60, 0.9);
}

.efs-inv-fp.is-bad {
  background: rgba(196, 74, 60, 0.6);
  border-color: rgba(196, 74, 60, 0.9);
}

.efs-inv-fp.is-action {
  background: rgba(196, 163, 90, 0.52);
  border-color: rgba(196, 163, 90, 0.95);
}

/* Carriers (layout.js: label + "kg used/max" above each pouch body) */
.efs-inv-cont {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, top 0.35s ease;
}

.efs-inv-cont.is-on {
  opacity: 1;
  transform: none;
}

.efs-inv-cap {
  display: flex;
  flex-direction: column;
}

/* YOUR LOCKER head (#grs-inv-context-head) */
.efs-inv-locker {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.efs-inv-locker__sort {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(180, 180, 180, 0.88);
}

/* Case window (.grs-float-container) */
.efs-inv-float {
  z-index: 20;
  box-sizing: border-box;
  background: rgba(32, 32, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.efs-inv-float.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.efs-inv-float__x {
  color: rgba(245, 245, 245, 0.92);
}

.efs-inv-float__x svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Items */
.efs-inv-it {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: opacity 0.2s ease, outline-color 0.15s ease;
}

.efs-inv-it img {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

/* SetItemBG: medical palette "red" */
.efs-inv-it--med {
  background: radial-gradient(circle at bottom, rgba(200, 75, 75, 0.38) 0%, rgba(0, 0, 0, 0) 58%);
}

.efs-inv-it.is-hover {
  outline-color: rgba(184, 188, 196, 0.6);
}

.efs-inv-it.is-src {
  opacity: 0.3;
}

.efs-inv-it.is-slotted {
  inset: 0;
  border: 0;
  background: transparent;
}

.efs-inv-it--wpn img {
  max-width: 100%;
  max-height: 100%;
}

.efs-inv-it.is-slotted img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.efs-inv-it__amt,
.efs-inv-it__med,
.efs-inv-it__mag {
  position: absolute;
  z-index: 5;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.efs-inv-it__amt {
  left: 2px;
  bottom: 1px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.75);
}

.efs-inv-it__med {
  left: 3px;
  bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #c8c8c8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.efs-inv-it__mag {
  right: 2px;
  bottom: 2px;
  padding: 1px 3px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #c8c8c8;
}

.efs-inv-it__load {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  background: rgba(0, 0, 0, 0.35);
}

.efs-inv-it__load::after {
  content: "X";
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(245, 245, 245, 0.85);
}

.efs-inv-it__load i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 149, 0, 0.16);
}

.efs-inv-it.is-loading .efs-inv-it__load {
  display: block;
}

/* Hotbar (main.css .fastuse-item) */
.efs-inv-hotbar {
  display: flex;
  gap: 6px;
}

.efs-inv-hot {
  position: relative;
  box-sizing: border-box;
  width: 70px;
  height: 70px;
  background: rgba(13, 13, 13, 0.82);
  border: 1px solid rgba(90, 90, 95, 0.35);
  border-radius: 2px;
}

.efs-inv-hot b {
  position: absolute;
  top: 2px;
  left: 3px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(184, 188, 196, 0.85);
  border-radius: 2px;
  color: #0d0d0d;
  font-size: 11px;
  font-weight: 700;
}

.efs-inv-hot img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* Scripted cursor */
.efs-inv-cursor {
  left: 0;
  top: 0;
  z-index: 60;
  opacity: 0;
  will-change: transform;
}

.efs-inv-cursor.is-on {
  opacity: 1;
}

.efs-inv-cursor svg {
  position: absolute;
  left: -1px;
  top: -1px;
  z-index: 2;
  width: 30px;
  height: 42px;
  transform-origin: 1px 1px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  transition: transform 0.12s ease;
}

.efs-inv-cursor.is-down svg {
  transform: scale(0.86);
}

.efs-inv-cursor__ghost {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.efs-inv-ghost {
  opacity: 0.92;
  outline-color: rgba(184, 188, 196, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .efs-inv-stage,
  .efs-inv-cont,
  .efs-inv-float,
  .efs-inv-hp,
  .efs-inv-bar > i,
  .efs-inv-cursor {
    transition: none !important;
  }
}

.efs-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.efs-feature {
  padding: 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.efs-feature h3 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #fff;
}

.efs-feature ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.efs-feature li {
  position: relative;
  padding: 6px 0 6px 14px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: rgba(180, 180, 180, 0.85);
}

.efs-feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

/* Media */
.efs-lp-media {
  background: #101010;
}

.efs-media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}

.efs-media-card {
  margin: 0;
}

.efs-media-card--wide {
  grid-row: span 1;
}

.efs-media-card__img {
  aspect-ratio: 16 / 10;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.efs-media-card__img--a {
  background-image: var(--efs-img-hero-fallback);
  background-position: center 40%;
}

.efs-media-card__img--b {
  background-image: var(--efs-img-hero-fallback);
  background-position: 20% 60%;
  filter: saturate(0.85) brightness(0.9);
}

.efs-media-card__img--c {
  background-image: var(--efs-img-hero-fallback);
  background-position: 80% 30%;
  filter: saturate(0.75) contrast(1.05);
}

.efs-media-card figcaption {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: rgba(180, 180, 180, 0.75);
}

/* Final CTA */
.efs-lp-cta {
  padding: clamp(72px, 10vh, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78)),
    var(--efs-img-media-hero) center 42% / cover no-repeat;
}

.efs-lp-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.efs-lp-cta__logo {
  width: min(360px, 55vw);
  height: auto;
}

.efs-lp-cta__inner p {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
}

.efs-footer--home {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080808;
}

/* Refund policy */
.efs-policy {
  border-top: 1px solid var(--efs-hairline);
  border-bottom: 1px solid var(--efs-border-soft);
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.92), rgba(10, 10, 10, 0.96)),
    var(--efs-hatch);
}

.efs-policy__panel {
  max-width: min(920px, 100%);
  border: 1px solid var(--efs-border);
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--efs-panel);
  padding: clamp(18px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.efs-policy__lead {
  margin: 0;
  color: var(--efs-silver-bright);
  font-size: var(--efs-fs-body);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.efs-policy__rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.efs-policy__rules li {
  display: grid;
  grid-template-columns: minmax(88px, 110px) 1fr;
  gap: 12px 16px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--efs-border-soft);
  color: var(--efs-text-muted);
  font-size: var(--efs-fs-sm);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.efs-policy__rules li:first-child {
  border-top: 0;
  padding-top: 0;
}

.efs-policy__tag {
  color: var(--efs-silver);
  letter-spacing: 0.14em;
  font-size: var(--efs-fs-label);
  white-space: nowrap;
}

.efs-policy__cta {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--efs-border-soft);
}

.efs-policy-strip {
  width: 100%;
  max-width: var(--efs-content-w);
  margin: 0 auto 14px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--efs-border-soft);
}

.efs-policy-strip__kicker {
  margin: 0 0 6px;
  color: var(--efs-silver);
  font-size: var(--efs-fs-label);
  letter-spacing: 0.14em;
}

.efs-policy-strip p {
  margin: 0;
  color: var(--efs-text-dim);
  font-size: var(--efs-fs-label);
  line-height: 1.45;
  letter-spacing: 0.06em;
  max-width: 72rem;
}

.efs-policy-strip a {
  color: var(--efs-silver-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.efs-policy-strip a:hover {
  color: #fff;
  border-bottom-color: var(--efs-accent);
}

@media (max-width: 720px) {
  .efs-policy__rules li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Story + gameplay + reviews */
.efs-lp-story {
  background: #0c0c0c;
}

.efs-lp-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.efs-lp-story--flip .efs-lp-story__row {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.efs-lp-story__copy p {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: rgba(190, 190, 190, 0.9);
}

.efs-lp-story__copy strong {
  color: #fff;
  font-weight: 700;
}

.efs-lp-story__shot {
  margin: 0;
}

.efs-lp-shot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #151515;
  background-size: cover;
  background-position: center;
}

.efs-lp-shot--operator {
  background-image: var(--efs-img-operator);
  background-position: center 38%;
}

.efs-lp-shot--insert {
  background-image: var(--efs-img-insert);
  background-position: center 42%;
}

.efs-lp-shot--ops {
  background-image: var(--efs-img-ops);
  background-position: center 48%;
  aspect-ratio: 21 / 9;
}

.efs-lp-shot--night {
  background-image: var(--efs-img-night);
  background-position: center 58%;
  aspect-ratio: 21 / 9;
}

.efs-lp-shot--raid {
  background-image: var(--efs-img-raid);
  background-position: center 52%;
}

.efs-lp-story__shot figcaption,
.efs-lp-ops-frame figcaption {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: rgba(170, 170, 170, 0.7);
}

.efs-lp-ops-shot {
  padding-top: 0;
  background: #0a0a0a;
}

.efs-lp-ops-frame {
  margin: 0;
}

.efs-lp-band {
  position: relative;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.efs-lp-band__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.efs-lp-band__media--raid {
  background-image: var(--efs-img-sprint);
  background-position: center 38%;
  transform: scale(1.05);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.efs-lp-band.is-live .efs-lp-band__media--raid {
  transform: scale(1.12);
}

.efs-lp-band__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.72) 42%, rgba(6, 6, 6, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

.efs-lp-band__content {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vh, 90px) 0;
  max-width: min(760px, 100%);
}

.efs-lp-lead--on-dark {
  color: rgba(220, 220, 220, 0.88);
  margin-bottom: 28px;
}

.efs-lp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.efs-lp-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.efs-lp-steps li span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.efs-lp-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #fff;
}

.efs-lp-steps em {
  display: block;
  font-style: normal;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: rgba(180, 180, 180, 0.85);
}

.efs-lp-reviews {
  background: #0e0e0e;
}

.efs-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.efs-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.8);
  background-image: var(--efs-hatch);
}

.efs-review__stars {
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--efs-silver-bright, #d8d8d8);
}

.efs-review__text {
  margin: 0;
  flex: 1;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(210, 210, 210, 0.9);
}

.efs-review__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.efs-review__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.efs-review__tag {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: rgba(160, 160, 160, 0.75);
}

.efs-status {
  color: var(--efs-accent) !important;
}

@media (max-width: 1100px) {
  .efs-edition-grid,
  .efs-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .efs-media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .efs-media-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .efs-lp-story__row,
  .efs-lp-story--flip .efs-lp-story__row {
    grid-template-columns: 1fr;
  }

  .efs-review-grid {
    grid-template-columns: 1fr;
  }

  .efs-lp-band__veil {
    background:
      linear-gradient(180deg, rgba(6, 6, 6, 0.55) 0%, rgba(6, 6, 6, 0.88) 55%, rgba(6, 6, 6, 0.95) 100%);
  }
}

@media (max-width: 700px) {
  .efs-site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }

  .efs-site-header__nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .efs-site-hero__logo {
    width: min(100%, 380px);
  }

  .efs-site-hero__line {
    letter-spacing: 0.16em;
  }

  .efs-edition-grid,
  .efs-feature-grid,
  .efs-lp-quotes__row,
  .efs-lp-about__grid,
  .efs-media-grid {
    grid-template-columns: 1fr;
  }

  .efs-lp-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .efs-lp-shot--ops,
  .efs-lp-shot--night {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efs-site-hero__media,
  .efs-site-hero__scroll {
    animation: none !important;
  }
}

/* â€”â€”â€” Reveal helpers (route changes / JS) â€”â€”â€” */
.efs-content.is-entering > * {
  animation: efsRevealUp 0.55s ease-out both;
}

.efs-section-title {
  animation: efsRevealUp 0.5s ease-out both;
}

.efs-detail {
  animation: efsRevealUp 0.55s ease-out both;
}

.efs-tag {
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.efs-pkg:hover .efs-tag {
  border-color: var(--efs-silver);
  color: var(--efs-silver-bright);
}

/* â€”â€”â€” Keyframes â€”â€”â€” */
@keyframes efsHatchDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(48px, 48px, 0); }
}

@keyframes efsDotsDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-36px, 24px, 0) scale(1.04); }
}

@keyframes efsScanSweep {
  0%, 100% { background-position: 0% 0%; opacity: 0.35; }
  50% { background-position: 0% 100%; opacity: 0.7; }
}

@keyframes efsLineDraw {
  0% { width: 0; opacity: 0; }
  25% { opacity: 0.7; }
  55% { width: 72px; opacity: 0.55; }
  100% { width: 72px; opacity: 0; }
}

@keyframes efsShellIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes efsGoldLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes efsBrandShimmer {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
}

@keyframes efsRevealUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes efsGoldPulse {
  0%, 100% { opacity: 0.35; width: 28%; }
  50% { opacity: 1; width: 52%; }
}

@keyframes efsVsepFlow {
  0%, 100% { background-position: 0% 0%; opacity: 0.7; }
  50% { background-position: 0% 100%; opacity: 1; }
}

/* â€”â€”â€” GRI studio landing â€”â€”â€” */
.gri-hero .efs-site-hero__inner {
  gap: clamp(14px, 2vw, 22px);
}

.gri-hero__eyebrow {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(200, 200, 200, 0.75);
}

.gri-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}

.gri-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.gri-hero__cta > .efs-link-slot {
  display: contents;
}

.gri-hero__cta .efs-site-hero__buy,
.gri-hero__cta .gri-hero__ghost,
.gri-hero__cta a.efs-link-ghost,
.gri-hero__cta a.efs-site-hero__buy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
  min-width: 180px;
  width: auto;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 28px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}

.gri-hero__cta .gri-hero__ghost,
.gri-hero__cta a.efs-link-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  padding-bottom: 0;
}

.gri-hero__cta .gri-hero__ghost:hover,
.gri-hero__cta a.efs-link-ghost:hover,
.gri-hero__cta .efs-site-hero__buy:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #fff;
  color: #111;
}

.gri-aside {
  width: 100%;
}

.gri-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gri-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.gri-portals {
  background: #0c0c0c;
}

.gri-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gri-portal-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.gri-portal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 16, 16, 0.82);
  background-image: var(--efs-hatch);
  text-decoration: none;
  color: inherit;
  min-height: 240px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gri-portal:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: inherit;
}

.gri-portal--assets {
  border-color: rgba(196, 163, 90, 0.28);
}

.gri-portal__kicker {
  font-size: 18px;
  letter-spacing: 0.14em;
  color: rgba(160, 160, 160, 0.75);
}

.gri-portal__title {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: 0.08em;
  color: #fff;
}

.gri-portal__desc {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(180, 180, 180, 0.9);
}

.gri-portal__go {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .gri-principles,
  .gri-portal-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Cinematic motion (Rockstar-like scroll storytelling + GRS chrome) ——— */
.efs-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--efs-reveal-delay, 0ms);
}

.efs-reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.efs-site-hero__media {
  transform: scale(1.12);
  opacity: 0.55;
  filter: brightness(0.72) saturate(0.85);
  transition:
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s ease,
    filter 1.4s ease;
}

.efs-site-hero__shade {
  opacity: 0.35;
  transition: opacity 1.2s ease 0.15s;
}

.efs-site-hero.is-hero-built .efs-site-hero__media,
.efs-shell--home.is-hero-ready .efs-site-hero.is-hero-built .efs-site-hero__media {
  transform: scale(1);
  opacity: 1;
  filter: brightness(1) saturate(1);
}

.efs-site-hero.is-hero-built .efs-site-hero__shade {
  opacity: 1;
}

.efs-shell--home.is-hero-ready .efs-site-hero__media {
  /* keep base ready state soft until pieces build */
}

.efs-hero-piece {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease,
    letter-spacing 0.9s ease;
  transition-delay: calc(var(--efs-hero-step, 0) * 110ms + 180ms);
}

.efs-hero-piece[data-hero-step="1"] { --efs-hero-step: 1; }
.efs-hero-piece[data-hero-step="2"] { --efs-hero-step: 2; }
.efs-hero-piece[data-hero-step="3"] {
  --efs-hero-step: 3;
  letter-spacing: 0.22em;
}
.efs-hero-piece[data-hero-step="4"] { --efs-hero-step: 4; }
.efs-hero-piece[data-hero-step="5"] { --efs-hero-step: 5; }
.efs-hero-piece[data-hero-step="6"] { --efs-hero-step: 6; }
.efs-hero-piece[data-hero-step="7"] { --efs-hero-step: 7; }

.efs-site-hero.is-hero-built .efs-hero-piece {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.efs-site-hero.is-hero-built .efs-hero-piece[data-hero-step="3"] {
  letter-spacing: 0.06em;
}

.efs-hero-rule {
  width: 0;
  height: 1px;
  margin: 2px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: none;
  filter: none;
  opacity: 0;
  transition:
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  transition-delay: calc(var(--efs-hero-step, 4) * 110ms + 180ms);
}

.efs-site-hero.is-hero-built .efs-hero-rule {
  width: min(220px, 42vw);
  opacity: 1;
}

.efs-site-hero.is-hero-reset .efs-hero-piece {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition-duration: 0.35s;
  transition-delay: 0ms;
}

.efs-site-hero.is-hero-reset .efs-hero-rule {
  width: 0;
  opacity: 0;
  transition-delay: 0ms;
}

.efs-site-hero.is-hero-reset .efs-site-hero__media {
  transform: scale(1.08);
  opacity: 0.65;
  filter: brightness(0.78);
  transition-duration: 0.45s;
}

.efs-site-hero--video .efs-site-hero__media {
  background: #000;
}

.efs-cin-video,
.efs-site-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
  transform: scale(1.12);
  opacity: 0.55;
  filter: brightness(0.72) saturate(0.85);
  transition:
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s ease,
    filter 1.4s ease;
}

.efs-site-hero.is-hero-built .efs-site-hero__video {
  transform: scale(1);
  opacity: 1;
  filter: brightness(1) saturate(1);
}

.efs-site-hero.is-hero-reset .efs-site-hero__video {
  transform: scale(1.08);
  opacity: 0.65;
  filter: brightness(0.78);
  transition-duration: 0.45s;
}

.efs-cin-stage {
  position: relative;
  width: 100%;
  min-height: min(88vh, 920px);
  overflow: hidden;
  border-top: 1px solid var(--efs-hairline);
  border-bottom: 1px solid var(--efs-hairline);
  background: var(--efs-bg);
}

.efs-cin-stage__sticky {
  position: sticky;
  top: 0;
  height: min(88vh, 920px);
  overflow: hidden;
}

.efs-cin-stage__poster {
  position: absolute;
  inset: 0;
  background: var(--efs-img-breach) center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  will-change: transform;
}

.efs-cin-stage__poster--breach {
  background-image: var(--efs-img-breach);
  background-position: center 42%;
}

.efs-cin-stage--raid .efs-cin-stage__poster {
  background-image: var(--efs-img-raid);
}

.efs-cin-stage.is-live .efs-cin-stage__poster {
  transform: scale(1.14);
}

.efs-cin-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.efs-cin-media--embed {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.efs-cin-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.efs-cin-stage.is-embed .efs-cin-stage__poster {
  opacity: 0;
  pointer-events: none;
}

.efs-cin-stage.is-embed .efs-cin-stage__veil {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.45) 42%, rgba(8, 8, 8, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.efs-site-hero__media-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.efs-lp-band .efs-cin-media {
  z-index: 0;
}

.efs-cin-stage__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.35) 48%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.efs-cin-stage__copy {
  position: relative;
  z-index: 2;
  max-width: min(560px, 92vw);
  padding: clamp(48px, 8vh, 120px) var(--efs-pad-x);
  min-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.efs-cin-stage__copy p {
  margin: 0;
  color: var(--efs-text-muted);
  font-size: var(--efs-fs-body);
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.efs-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--efs-border);
}

.efs-person {
  padding: clamp(20px, 2vw, 32px) clamp(16px, 1.6vw, 28px);
  border-bottom: 1px solid var(--efs-border);
  border-right: 1px solid var(--efs-border);
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
}

.efs-person:nth-child(2n) {
  border-right: 0;
}

.efs-person__role {
  display: block;
  margin-bottom: 8px;
  font-size: var(--efs-fs-label);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.efs-person__name {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--efs-silver-bright);
}

.efs-person__blurb {
  margin: 0;
  font-size: var(--efs-fs-sm);
  line-height: 1.5;
  color: var(--efs-text-dim);
  letter-spacing: 0.05em;
}

.efs-faction-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--efs-border);
}

.efs-faction {
  padding: 18px 20px;
  border-right: 1px solid var(--efs-border);
  background: var(--efs-panel);
}

.efs-faction:last-child {
  border-right: 0;
}

.efs-faction strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.12em;
  color: var(--efs-text);
}

.efs-faction span {
  font-size: var(--efs-fs-sm);
  color: var(--efs-text-dim);
  letter-spacing: 0.06em;
}

.efs-site-header {
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}

.efs-shell--home .efs-site-header.is-home {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  border-bottom-color: transparent;
}

.efs-shell--home .efs-site-header.is-home.is-scrolled {
  background: var(--efs-stage);
  background-image: var(--efs-hatch);
  border-bottom: 1px solid var(--efs-hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
  .efs-people-grid,
  .efs-faction-row {
    grid-template-columns: 1fr;
  }

  .efs-person:nth-child(2n),
  .efs-faction {
    border-right: 0;
  }

  .efs-cin-stage,
  .efs-cin-stage__sticky,
  .efs-cin-stage__copy {
    min-height: 70vh;
    height: auto;
  }

  .efs-cin-stage__sticky {
    position: relative;
    height: 52vh;
  }
}

/* Store / category / package motion */
.efs-store-atmos {
  position: relative;
  height: clamp(88px, 14vh, 160px);
  margin: 0 0 clamp(18px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid var(--efs-border);
  background: #101010;
}

.efs-store-atmos__media {
  position: absolute;
  inset: -8%;
  background: var(--efs-img-depot) center 45% / cover no-repeat;
  transform: scale(1.06);
  filter: brightness(0.92) saturate(0.95);
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s ease;
}

.efs-store-atmos.is-live .efs-store-atmos__media {
  transform: scale(1.12);
  filter: brightness(1) saturate(1);
}

.efs-store-atmos__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.12) 40%, rgba(8, 8, 8, 0.4) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.efs-store-atmos__media--sprint,
.efs-store-atmos--sprint .efs-store-atmos__media {
  background-image: var(--efs-img-sprint);
  background-position: center 36%;
}

.efs-store-atmos__media--night,
.efs-store-atmos--night .efs-store-atmos__media {
  background-image: var(--efs-img-night);
  background-position: center 48%;
}

.efs-store-atmos__media--ops,
.efs-store-atmos--ops .efs-store-atmos__media {
  background-image: var(--efs-img-ops);
  background-position: center 42%;
}

.efs-store-atmos__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 14px 18px;
  color: var(--efs-text-muted);
  font-size: var(--efs-fs-label);
  letter-spacing: 0.14em;
}

.efs-hub .efs-reveal,
.efs-view:not(.efs-view--home) .efs-reveal {
  transform: translateY(22px);
}

.efs-offer.efs-reveal,
.efs-cat-tile.efs-reveal {
  transition-duration: 0.7s;
}

@media (prefers-reduced-motion: reduce) {
  *:not(.efs-ticker__track):not(.efs-ticker__item):not(.efs-ticker__code),
  *:not(.efs-ticker__track):not(.efs-ticker__item):not(.efs-ticker__code)::before,
  *:not(.efs-ticker__track):not(.efs-ticker__item):not(.efs-ticker__code)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .efs-ticker__track {
    animation: efsTicker 28s linear infinite !important;
  }

  .efs-ambient {
    display: none;
  }

  .efs-pkg,
  .efs-cat-tile,
  .efs-reveal,
  .efs-hero-piece,
  .efs-store-atmos__media,
  .efs-cin-stage__poster,
  .efs-lp-band__media--raid {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .efs-site-hero__media,
  .efs-hero-rule {
    transform: none;
    opacity: 1;
    width: min(220px, 42vw);
    filter: none;
  }
}
