:root {
  --fs-green-950: #04100c;
  --fs-green-900: #071a13;
  --fs-green-800: #0b241a;
  --fs-green-700: #123424;
  --fs-ink: #030806;
  --fs-gold: #d9b45a;
  --fs-gold-strong: #f0c867;
  --fs-gold-soft: #ffe5a3;
  --fs-white: #f7f5ec;
  --fs-muted: #d9d2bf;
  --fs-line: rgba(233, 194, 91, 0.66);
  --fs-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  --fs-radius: 8px;
  --fs-ratio-desktop: 970 / 250;
  --fs-ratio-mid: 728 / 90;
  --fs-ratio-mobile: 320 / 100;
  --fs-bg-image: url("../img/fegyversport-banner-bg.png");
  --fs-break-mid: 820px;
  --fs-break-mobile: 460px;
  --fs-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f4f4f0;
}

body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  font-family: var(--fs-font);
  color: var(--fs-white);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page--single {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.single-view {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.page--preview {
  background: #f6f6f2;
  color: #1b1b18;
}

.preview {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 34px;
}

.preview__block {
  margin: 0 0 46px;
}

.preview__block h2 {
  margin: 0 0 14px;
  color: #22221f;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 800;
}

.preview__block h2 span {
  font-weight: 500;
}

.preview__stage {
  max-width: 100%;
  overflow-x: auto;
  padding: 0 0 4px;
}

.preview__block--fluid {
  max-width: 970px;
}

.fs-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.fs-ad-host {
  container: fs-ad-host / inline-size;
  width: 100%;
  max-width: 970px;
}

.fs-ad-host--fixed {
  width: var(--demo-width);
  max-width: none;
}

.fs-ad {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: var(--fs-ratio-desktop);
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(3, 12, 8, 0.94) 0%, rgba(5, 21, 15, 0.88) 52%, rgba(7, 24, 16, 0.34) 100%),
    radial-gradient(circle at 71% 45%, rgba(217, 180, 90, 0.2), transparent 28%),
    linear-gradient(135deg, var(--fs-green-950), var(--fs-green-800));
  box-shadow: var(--fs-shadow);
  color: var(--fs-white);
}

.fs-ad::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 12, 8, 0.93) 0%, rgba(3, 13, 9, 0.86) 35%, rgba(4, 17, 12, 0.48) 57%, rgba(4, 12, 8, 0.16) 100%),
    radial-gradient(circle at 18% 72%, rgba(217, 180, 90, 0.12), transparent 26%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
  pointer-events: none;
}

.fs-ad::after {
  position: absolute;
  top: 0;
  left: -18%;
  z-index: 4;
  width: 18%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 232, 168, 0.18), transparent);
  filter: blur(4px);
  transform: rotate(21deg);
  animation: fs-light-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

.fs-ad__link {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: block;
  color: inherit;
  text-decoration: none;
}

.fs-ad__link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: -5px;
}

.fs-ad__content {
  position: static;
  z-index: 5;
  display: flex;
  width: 64%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 22px 24px 41px;
}

.fs-ad__content > :not(.fs-ad__cta) {
  position: relative;
  z-index: 5;
}

.fs-ad__title {
  max-width: 100%;
  margin: 0;
  color: var(--fs-white);
  font-size: 57px;
  font-weight: 900;
  line-height: 0.93;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.48);
  white-space: nowrap;
}

.fs-ad__title span {
  color: var(--fs-gold-strong);
}

.fs-ad__subtitle {
  max-width: 100%;
  margin: 7px 0 0;
  color: var(--fs-gold-strong);
  font-size: 29px;
  font-weight: 850;
  line-height: 0.98;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.fs-ad__features {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--fs-white);
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.fs-ad__feature {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.fs-ad__feature svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--fs-gold-strong);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

.fs-ad__dot {
  color: var(--fs-gold);
}

.fs-ad__description {
  position: absolute;
  left: 41px;
  bottom: 24px;
  z-index: 5;
  max-width: 100%;
  margin: 0;
  color: var(--fs-muted);
  font-size: 19px;
  line-height: 1.2;
}

.fs-ad__content > .fs-ad__description {
  position: absolute;
}

.fs-ad__cta {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid rgba(255, 236, 174, 0.74);
  border-radius: var(--fs-radius);
  background:
    linear-gradient(180deg, rgba(255, 232, 159, 0.96), rgba(217, 170, 74, 0.98)),
    var(--fs-gold-strong);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  color: #10110a;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.fs-ad__cta svg {
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.fs-ad:hover .fs-ad__cta svg,
.fs-ad__link:focus-visible ~ .fs-ad__content .fs-ad__cta svg {
  transform: translateX(2px);
}

.fs-ad__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.98;
  pointer-events: none;
}

.fs-ad__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background-image: var(--fs-bg-image);
  background-position: center center;
  background-size: cover;
  filter: saturate(0.96) contrast(1.02);
}

.fs-ad__visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 8, 5, 0.46) 0%, rgba(3, 13, 9, 0.26) 45%, rgba(5, 12, 8, 0.08) 100%),
    radial-gradient(circle at 67% 51%, rgba(217, 180, 90, 0.1), transparent 22%);
}

.fs-ad__sport-layer,
.fs-ad__hunt-layer {
  display: none;
}

.fs-ad__sport-layer {
  clip-path: polygon(4% 0, 62% 0, 43% 100%, 0 100%, 0 0);
  background:
    radial-gradient(circle at 44% 36%, rgba(221, 190, 112, 0.18), transparent 29%),
    linear-gradient(90deg, rgba(4, 18, 13, 0.12), rgba(15, 55, 37, 0.8));
}

.fs-ad__hunt-layer {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 73% 100%);
  background:
    radial-gradient(circle at 80% 32%, rgba(255, 222, 147, 0.34), transparent 34%),
    linear-gradient(110deg, rgba(21, 36, 23, 0.1), rgba(179, 130, 47, 0.62));
}

.fs-ad__slash {
  position: absolute;
  top: 0;
  z-index: 5;
  display: block;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--fs-gold-strong) 10%, var(--fs-line) 86%, transparent);
  box-shadow: 0 0 12px rgba(217, 180, 90, 0.34);
  transform: rotate(24deg);
  transform-origin: center;
}

.fs-ad__slash--one {
  left: 41%;
}

.fs-ad__slash--two {
  left: 75%;
}

.fs-ad__scene {
  display: none;
}

.fs-ad__target {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 222px;
  height: 222px;
  color: rgba(255, 239, 190, 0.58);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05;
  filter: drop-shadow(0 0 12px rgba(217, 180, 90, 0.22));
  transform: translate(5%, -48%);
  animation: fs-target-glow 5.6s ease-in-out infinite;
}

.fs-ad__target-core {
  fill: var(--fs-gold-strong);
  stroke: rgba(255, 243, 202, 0.78);
  stroke-width: 1.5;
}

@keyframes fs-light-sweep {
  0%,
  36% {
    transform: translateX(0) rotate(21deg);
    opacity: 0;
  }

  48% {
    opacity: 0.88;
  }

  72%,
  100% {
    transform: translateX(720%) rotate(21deg);
    opacity: 0;
  }
}

@keyframes fs-target-glow {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 0.9;
  }
}

@container fs-ad-host (max-width: 820px) {
  .fs-ad {
    aspect-ratio: var(--fs-ratio-mid);
  }

  .fs-ad__content {
    width: 100%;
    padding: 9px 160px 8px 28px;
  }

  .fs-ad__title {
    font-size: 32px;
    line-height: 0.94;
  }

  .fs-ad__subtitle {
    margin-top: 3px;
    font-size: 18px;
    line-height: 1;
  }

  .fs-ad__features {
    gap: 5px;
    margin-top: 5px;
    font-size: 13px;
  }

  .fs-ad__feature {
    gap: 5px;
  }

  .fs-ad__feature svg {
    width: 15px;
    height: 15px;
  }

  .fs-ad__description {
    display: none;
  }

  .fs-ad__cta {
    position: absolute;
    top: 50%;
    right: 29px;
    bottom: auto;
    min-height: 40px;
    margin: 0;
    padding: 0 21px;
    font-size: 16px;
    transform: translateY(-50%);
  }

  .fs-ad__cta svg {
    width: 19px;
    height: 19px;
  }

  .fs-ad__visual {
    left: 0;
  }

  .fs-ad__visual::before {
    background-position: center center;
  }

  .fs-ad__target {
    width: 126px;
    height: 126px;
    transform: translate(-13%, -50%);
  }

  .fs-ad__scene {
    display: none;
  }

  .fs-ad__slash {
    width: 2px;
    transform: rotate(28deg);
  }

  .fs-ad__slash--one {
    left: 34%;
  }

  .fs-ad__slash--two {
    left: 58%;
  }
}

@container fs-ad-host (max-width: 460px) {
  .fs-ad {
    aspect-ratio: var(--fs-ratio-mobile);
  }

  .fs-ad::after {
    display: none;
  }

  .fs-ad__content {
    width: 100%;
    padding: 13px 8px 9px 15px;
  }

  .fs-ad__title {
    font-size: 23px;
    line-height: 0.95;
  }

  .fs-ad__subtitle {
    width: 178px;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.03;
  }

  .fs-ad__features {
    gap: 7px;
    margin-top: auto;
    font-size: 0;
  }

  .fs-ad__feature {
    gap: 0;
  }

  .fs-ad__feature svg {
    width: 18px;
    height: 18px;
  }

  .fs-ad__feature-label,
  .fs-ad__dot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .fs-ad__cta {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
    min-height: 27px;
    gap: 4px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11px;
    transform: none;
  }

  .fs-ad__cta svg {
    width: 13px;
    height: 13px;
  }

  .fs-ad__visual {
    left: 0;
  }

  .fs-ad__visual::before {
    background-position: 59% center;
  }

  .fs-ad__sport-layer {
    clip-path: polygon(8% 0, 58% 0, 39% 100%, 0 100%, 0 0);
  }

  .fs-ad__hunt-layer {
    clip-path: polygon(48% 0, 100% 0, 100% 100%, 64% 100%);
  }

  .fs-ad__scene {
    display: none;
  }

  .fs-ad__target {
    width: 80px;
    height: 80px;
    transform: translate(-8%, -30%);
  }

  .fs-ad__slash {
    width: 2px;
  }

  .fs-ad__slash--one {
    left: 32%;
  }

  .fs-ad__slash--two {
    left: 62%;
  }
}

.fs-ad-host[data-fs-size="mid"] .fs-ad {
  aspect-ratio: var(--fs-ratio-mid);
}

.fs-ad-host[data-fs-size="mobile"] .fs-ad {
  aspect-ratio: var(--fs-ratio-mobile);
}

@supports not (container-type: inline-size) {
  .fs-ad-host[data-fs-size="mid"] .fs-ad__content {
    width: 100%;
    padding: 9px 160px 8px 28px;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__title {
    font-size: 32px;
    line-height: 0.94;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__subtitle {
    margin-top: 3px;
    font-size: 18px;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__features {
    gap: 5px;
    margin-top: 5px;
    font-size: 13px;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__feature svg {
    width: 15px;
    height: 15px;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__description {
    display: none;
  }

  .fs-ad-host[data-fs-size="mid"] .fs-ad__cta {
    position: absolute;
    top: 50%;
    right: 29px;
    bottom: auto;
    min-height: 40px;
    margin: 0;
    padding: 0 21px;
    font-size: 16px;
    transform: translateY(-50%);
  }

  .fs-ad-host[data-fs-size="mobile"] .fs-ad__content {
    width: 100%;
    padding: 13px 8px 9px 15px;
  }

  .fs-ad-host[data-fs-size="mobile"] .fs-ad__title {
    font-size: 23px;
  }

  .fs-ad-host[data-fs-size="mobile"] .fs-ad__subtitle {
    width: 178px;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.03;
  }

  .fs-ad-host[data-fs-size="mobile"] .fs-ad__description {
    display: none;
  }

  .fs-ad-host[data-fs-size="mobile"] .fs-ad__cta {
    position: absolute;
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
    min-height: 27px;
    gap: 4px;
    margin: 0;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 720px) {
  .preview {
    padding: 22px 16px 34px;
  }

  .preview__block {
    margin-bottom: 34px;
  }

  .preview__block h2 {
    font-size: 23px;
  }
}
