.feature-frame {
  container-type: inline-size;
  container-name: feature;
  width: 100%;
}
.feature-roulette {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 3.56;
  overflow: hidden;
  border-radius: 15px 4px 5px 15px;
  background: #e9edff;
  color: #f8f8ff;
}
.feature-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.feature-roulette::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('/paper.svg');
  opacity: 0.55;
  z-index: 3;
}
.feature-copy {
  position: absolute;
  top: 19%;
  left: 4.4%;
  width: 48%;
}
.feature-copy h1 {
  margin: 0;
  width: 96%;
  transform: rotate(-4deg);
}
.feature-lettering {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.feature-copy h1::after {
  content: '';
  position: absolute;
  bottom: -2%;
  right: 4%;
  width: 60%;
  height: 6%;
  background: #f7fa2f;
  clip-path: polygon(3% 0, 100% 0, 0 100%);
}
.feature-lead {
  margin: 2.1cqw 0 0 1.1cqw;
  font:
    italic 900 clamp(21px, 2.62cqw, 44px) / 1 'Barlow Condensed',
    'Arial Black',
    'Segoe UI',
    sans-serif;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: #f7f7ff;
}
.feature-lead em {
  color: #f6fa34;
}
.feature-note {
  position: relative;
  margin: 1.1cqw 0 0 5.8cqw;
  font:
    italic 500 clamp(12px, 1.17cqw, 17px) / 1.28 'Segoe UI',
    Arial,
    sans-serif;
  color: #e6e7f7;
  letter-spacing: 0.045em;
}
.feature-note::before {
  content: '';
  width: 3.2cqw;
  position: absolute;
  left: -4.6cqw;
  top: 0.62em;
  border-top: 1px solid #d7dced;
}
.feature-wheel {
  position: absolute;
  left: 69.5%;
  top: 50%;
  width: 28.1%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.feature-disc {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 0.7, 0.2, 1);
}
.feature-disc text {
  font:
    800 8px 'Segoe UI',
    Arial,
    sans-serif;
  letter-spacing: 1.15px;
}
.feature-wheel:has(.feature-spin:hover) .feature-disc {
  transform: rotate(3deg);
}
.feature-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.07em;
  width: 26.1%;
  aspect-ratio: 1;
  padding: 0.15em 0 0;
  border: none;
  border-radius: 50%;
  background: #16182b;
  color: #fff;
  font:
    italic 900 clamp(14px, 1.98cqw, 31px) / 1 'Barlow Condensed',
    'Arial Black',
    'Segoe UI',
    sans-serif;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    scale 0.2s;
}
.feature-spin b {
  font: inherit;
}
.feature-spin span {
  font-family: Arial, sans-serif;
  font-style: normal;
  font-size: 0.5em;
}
.feature-spin:is(:focus-visible, :hover) {
  color: #f7fa2f;
  background: #10238b;
}
.feature-spin:focus-visible {
  outline: 3px solid #1118ff;
  outline-offset: 5px;
}
.feature-tag {
  display: grid;
  place-content: center;
  position: absolute;
  top: 9%;
  right: 1%;
  z-index: 2;
  border: none;
  border-radius: 0;
  width: 15.5%;
  height: 20%;
  background: #f7fa32;
  color: #101322;
  transform: rotate(-9deg) skew(-13deg);
  font:
    italic 900 clamp(14px, 1.75cqw, 28px) / 0.98 'Arial Black',
    'Segoe UI',
    sans-serif;
  letter-spacing: 0.135em;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.feature-tag:is(:hover, :focus-visible) {
  transform: rotate(-5deg) skew(-13deg) translateY(-2px);
  background: #ffff76;
}
.feature-tag:focus-visible {
  outline: 3px solid #1236ea;
  outline-offset: 2px;
}
@container feature (max-width:760px) and (min-width:551px) {
  .feature-roulette {
    aspect-ratio: 3.05;
  }
  .feature-copy {
    top: 19%;
  }
  .feature-note {
    font-size: 11px;
  }
  .feature-lead {
    font-size: 2.7cqw;
  }
}
@container feature (max-width:550px) {
  .feature-roulette {
    aspect-ratio: 1.25;
  }
  .feature-field {
    transform: rotate(90deg);
    width: 120%;
    height: 130%;
    left: -10%;
    top: -15%;
  }
  .feature-copy {
    top: 7%;
    left: 6%;
    width: 84%;
  }
  .feature-copy h1 {
    width: 79%;
  }
  .feature-lead {
    font-size: 5.1cqw;
    margin: 2.3cqw 0 0;
  }
  .feature-note {
    margin: 2.5cqw 0 0;
    font-size: clamp(11px, 2.65cqw, 14px);
    max-width: 50%;
  }
  .feature-note::before {
    content: none;
  }
  .feature-wheel {
    width: 47%;
    left: 72%;
    top: 70%;
  }
  .feature-spin {
    font-size: 3.8cqw;
  }
  .feature-tag {
    width: 31%;
    height: 13%;
    top: 80%;
    left: 5%;
    font-size: 3.6cqw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-spin,
  .feature-tag,
  .feature-disc {
    transition: none;
  }
  .feature-wheel:has(.feature-spin:hover) .feature-disc {
    transform: none;
  }
}
@container feature (max-width:550px) {
  .feature-roulette {
    aspect-ratio: 1.13;
    min-height: 305px;
  }
  .feature-roulette:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #191c35;
    clip-path: polygon(0 0, 89% 0, 77% 8%, 100% 3%, 100% 39%, 0 64%);
  }
  .feature-note {
    max-width: 82%;
    margin-top: 8px;
    font-size: 12px;
  }
  .feature-spin {
    min-width: 44px;
    min-height: 44px;
  }
}
.feature-lead {
  font-family: Barlow, 'Segoe UI', sans-serif;
  font-weight: 800;
}
