/* NC09 — weapon collections: effect videos + product/first-person shots. Scoped, portal layout intact. */
.hero-weapons.nc05-showcase {
  --collection: #ff8055;
  --collection-soft: rgba(255, 128, 85, .12);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px;
  min-height: 540px !important;
  min-width: 0;
  background: radial-gradient(ellipse at 80% 0%, var(--collection-soft), transparent 62%), #111319;
}
.hero-weapons.nc05-showcase[data-tier="VIP LITE"] { --collection: #79e8ff; --collection-soft: rgba(121, 232, 255, .12); }
.hero-weapons.nc05-showcase[data-tier="VIP"] { --collection: #baf164; --collection-soft: rgba(186, 241, 100, .11); }
.hero-weapons.nc05-showcase[data-tier="PREMIUM"] { --collection: #edc976; --collection-soft: rgba(237, 201, 118, .14); }
.nc05-showcase::before { display: none; }
.nc05-showcase .weapon-topline,
.nc05-showcase .weapon-caption,
.nc05-showcase .weapon-tier-tabs,
.nc05-showcase .weapon-switches {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  z-index: 1;
}
.nc05-showcase .weapon-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nc05-showcase .weapon-live-badge { color: #bfc6d0; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.075); font-size: 10px; letter-spacing: .09em; box-shadow: none; }
.nc05-showcase .weapon-live-badge i { background: var(--collection); box-shadow: none; }
.hero-weapons.nc05-showcase .weapon-tier-chip,
.hero-weapons.nc05-showcase .weapon-title-row span { color: var(--collection) !important; }
.hero-weapons.nc05-showcase .weapon-tier-chip { border-color: var(--collection-soft) !important; background: var(--collection-soft) !important; box-shadow: none !important; font-size: 10.5px; }
.hero-weapons.nc05-showcase .weapon-stage {
  position: relative !important;
  inset: auto !important;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9 !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 13px !important;
  background: radial-gradient(ellipse at 60% 45%, var(--collection-soft), transparent 73%), #151821 !important;
  cursor: zoom-in;
  box-shadow: none;
}
.hero-weapons.nc05-showcase .weapon-stage img,
.hero-main:hover .hero-weapons.nc05-showcase .weapon-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
  opacity: 1;
  transition: opacity .15s ease;
}
.nc05-showcase .weapon-stage.nc05-loading img { opacity: .45; }
.nc05-enlarge { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 6px; background: rgba(10,12,16,.8); color: #aeb7c4; font-size: 10.5px; font-weight: 600; }
.nc05-showcase .weapon-caption { flex: 1 0 auto; min-height: 82px; }
.nc05-showcase .weapon-caption > small { color: var(--collection); font-size: 10px; letter-spacing: .12em; }
.nc05-showcase .weapon-title-row { justify-content: space-between; align-items: center; gap: 10px; margin-top: 7px; }
.nc05-showcase .weapon-title-row strong { font-size: 30px; line-height: 1.1; }
.nc05-showcase .weapon-title-row span { font-size: 10.5px; }
.nc05-showcase .weapon-caption p { display: block !important; margin: 8px 0 0; color: #acb4c0; font-size: 11px; line-height: 1.55; max-width: 100%; }
.nc05-view-tabs { display: flex; align-items: center; gap: 6px; }
.nc05-view-tabs button { border: 1px solid rgba(255,255,255,.09); border-radius: 8px; padding: 8px 13px; color: #9da8b7; background: #1a1e26; font-size: 10px; cursor: pointer; }
.nc05-view-tabs button.active { background: #282e39; color: #f0f3f8; border-color: #48515e; }
.nc05-view-tabs span { margin-left: auto; color: #7e8999; font-size: 10px; font-variant-numeric: tabular-nums; }
.nc05-showcase .weapon-tier-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; }
.nc05-showcase .weapon-switches { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 5px; }
.nc05-showcase .weapon-tier-tabs button,
.nc05-showcase .weapon-switches button { min-height: 35px; font-size: 10.5px; padding: 6px 2px; border-radius: 8px; white-space: nowrap; }
.hero-weapons.nc05-showcase .weapon-tier-tabs button.active,
.hero-weapons.nc05-showcase .weapon-switches button.active { color: var(--collection) !important; background: var(--collection-soft) !important; border-color: var(--collection) !important; box-shadow: none !important; }
.nc05-showcase .weapon-switches button:disabled { opacity: .30; cursor: not-allowed; }
.nc05-showcase button:focus-visible { outline: 2px solid var(--collection); outline-offset: 3px; }
.nc05-image-dialog { width: min(1150px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 16px; overflow: auto; color: #e9edf5; border: 1px solid #3c4556; border-radius: 18px; background: #141821; box-shadow: 0 25px 100px rgba(0,0,0,.6); }
.nc05-image-dialog::backdrop { background: rgba(5,7,12,.88); }
.nc05-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nc05-dialog-head strong { font-size: 13px; }
.nc05-dialog-head button { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border-radius: 10px; border: 1px solid #424c5e; background: #232b38; color: #e5ebf7; font-size: 25px; cursor: pointer; }
.nc05-image-dialog > img { display: block; width: 100%; height: auto; max-height: 72dvh; margin-top: 14px; object-fit: contain; background: radial-gradient(ellipse at center, #29313c, #11151c); border-radius: 12px; }
.nc05-image-dialog > p { margin: 12px 0 0; color: #97a3b6; font-size: 11px; }
@media (max-width: 1120px) { .hero-weapons.nc05-showcase { min-height: 500px !important; } }
@media (max-width: 640px) {
  .hero-weapons.nc05-showcase { min-height: 0 !important; padding: 16px; gap: 12px; }
  .nc05-showcase .weapon-caption { min-height: 85px; }
  .nc05-showcase .weapon-title-row strong { font-size: 28px; }
  .nc05-showcase .weapon-tier-tabs button,.nc05-showcase .weapon-switches button { min-height: 40px; font-size: 10.5px; }
  .nc05-showcase .weapon-live-badge { font-size: 10px; }
  .nc05-image-dialog { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-weapons.nc05-showcase .weapon-stage img { transition: none; } }

/* ---------- NC09: video stage ---------- */
.hero-weapons.nc05-showcase .weapon-stage { cursor: default; background: #0c0e13 !important; }
.hero-weapons.nc05-showcase .weapon-stage video,
.hero-weapons.nc05-showcase .weapon-stage img {
  position: absolute; inset: 0;
  display: block; width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
}
.hero-weapons.nc05-showcase[data-view="product"] .weapon-stage img { object-fit: contain !important; }
.hero-weapons.nc05-showcase .weapon-stage [hidden] { display: none !important; }
.nc09-light-state {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 9px; border-radius: 6px;
  background: rgba(10,12,16,.72); color: #c8d0db;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  border-left: 2px solid var(--collection);
  pointer-events: none;
}
.hero-weapons.nc05-showcase .nc05-enlarge {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  border: 1px solid rgba(255,255,255,.12); cursor: zoom-in;
  padding: 6px 9px; border-radius: 6px;
  background: rgba(10,12,16,.78); color: #d3dae5; font-size: 10.5px; font-weight: 600;
}
.hero-weapons.nc05-showcase .nc05-enlarge:hover { color: #fff; border-color: var(--collection); }
.nc05-image-dialog > video { display: block; width: 100%; height: auto; max-height: 72dvh; margin-top: 14px; border-radius: 12px; background: #0c0e13; }
.nc05-image-dialog > [hidden] { display: none !important; }

/* ---------- NC09: "Как светится коллекция" ---------- */
.fx-section {
  margin: 26px 0 32px;
  padding: 30px 32px 28px;
  border: 1px solid #3d3239;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,95,95,.08), transparent 55%),
    #1a1d24;
}
.fx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: end; }
.fx-head h2 { margin: 10px 0 0; font-size: 34px; line-height: 1.1; color: #f5f5f7; }
.fx-head p { margin: 0; max-width: 62ch; color: #b5bdc9; font-size: 14px; line-height: 1.7; }

.fx-steps {
  list-style: none; counter-reset: fx;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin: 26px 0 22px; padding: 0;
  border-top: 1px solid #343a46;
}
.fx-steps li {
  counter-increment: fx;
  position: relative;
  padding: 16px 18px 4px 0;
  margin-right: 18px;
}
.fx-steps li::before {
  content: counter(fx);
  position: absolute; top: -1px; left: 0;
  width: 34px; height: 2px;
  background: #ff6f66;
  font-size: 0;
}
.fx-steps li:nth-child(2)::before { background: #79e8ff; }
.fx-steps li:nth-child(3)::before { background: #baf164; }
.fx-steps li:nth-child(4)::before { background: #edc976; }
.fx-steps b { display: block; color: #eef1f5; font-size: 14px; }
.fx-steps span { display: block; margin-top: 5px; color: #9ea8b6; font-size: 12px; line-height: 1.55; }

.fx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fx-card {
  --c: #ff8055;
  margin: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: #0c0e13;
}
.fx-card.fx-lite { --c: #79e8ff; }
.fx-card.fx-vip { --c: #baf164; }
.fx-card.fx-premium { --c: #edc976; }
.fx-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0c0e13; }
.fx-card figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-top: 2px solid var(--c);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.fx-card figcaption img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.fx-card figcaption b { display: block; color: var(--c); font-size: 13px; letter-spacing: .06em; }
.fx-card figcaption small { display: block; margin-top: 2px; color: #8f99a7; font-size: 10px; }

.fx-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 20px; }
.fx-foot p { margin: 0; color: #a9b2bf; font-size: 12px; line-height: 1.65; max-width: 64ch; }
.fx-foot b { color: #eef1f5; }

@media (max-width: 1120px) {
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}
@media (max-width: 760px) {
  .fx-section { padding: 22px 16px; }
  .fx-head { grid-template-columns: 1fr; gap: 12px; }
  .fx-head h2 { font-size: 28px; }
  .fx-foot { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fx-grid { grid-template-columns: 1fr; }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-steps li { margin-right: 0; }
}
.fx-section :focus-visible { outline: 2px solid #ff8d83; outline-offset: 3px; }

/* ---------- 2026-10-12: main page clean-up ---------- */
.hero-free-link {
  display: inline-block; margin-top: 18px;
  color: #ffb2a7; font-size: 13px; font-weight: 600;
  border-bottom: 1px solid rgba(255,178,167,.35); padding-bottom: 2px;
}
.hero-free-link:hover { color: #fff; border-color: #fff; }
.showcase-grid.showcase-single { grid-template-columns: 1fr; }
.showcase-single .feature-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.showcase-single .feature-points small { font-size: 12px; line-height: 1.55; }
@media (max-width: 760px) {
  .showcase-single .feature-points { grid-template-columns: 1fr; }
  /* on phones show the weapon video right under the header, before the long hero text */
  .hero-main { display: flex !important; flex-direction: column; }
  .hero-main .hero-weapons.nc05-showcase { order: -1; }
}
