.autochess-feature {
  --ac-feature-accent: var(--mt-accent, #b49aff);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin: 28px 0 36px;
  padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid var(--mt-border, #514367);
  border-radius: var(--mt-radius, 20px);
  color: #f4f6ff;
  background: #080c18;
  box-shadow: 0 18px 50px #0003;
}

.autochess-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #070b16f7 5%, #070b16dc 43%, #070b1650 100%), url('/autochess/assets/nebula.webp') center / cover;
  pointer-events: none;
}

.autochess-feature__copy { position: relative; z-index: 2; min-width: 0; }
.autochess-feature__eyebrow {
  margin: 0 0 14px;
  color: #d3c5ff;
  color: color-mix(in srgb, var(--ac-feature-accent) 65%, white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.autochess-feature .autochess-feature__copy h2 {
  max-width: 640px;
  margin: 0;
  color: #f6f7ff;
  font-family: inherit;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.autochess-feature__description {
  max-width: 590px;
  margin: 18px 0;
  color: #c6ccdc;
  font-size: 15px;
  line-height: 1.6;
}
.autochess-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #e1e4ee;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.autochess-feature__meta span { color: #99a8bf; }
.autochess-feature__play {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ac-feature-accent);
  color: var(--mt-accent-ink, #17102c);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: filter .18s ease;
}
.autochess-feature__play:hover { filter: brightness(1.1); }
.autochess-feature__play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.autochess-feature__play span { font-size: 22px; line-height: 1; }

.autochess-feature__art {
  min-width: 0;
  width: 100%;
  justify-self: center;
  pointer-events: none;
}
.autochess-feature__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px #0006);
}

@media (max-width: 760px) {
  .autochess-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .autochess-feature::before { background-image: linear-gradient(180deg, #070b16f0 10%, #070b16c7 60%, #070b1659), url('/autochess/assets/nebula.webp'); }
  .autochess-feature__art { grid-row: 1; }
}
@media (max-width: 400px) {
  .autochess-feature { padding: 22px 18px; }
  .autochess-feature__description { font-size: 14px; }
  .autochess-feature__meta { gap: 6px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .autochess-feature__play { transition: none; }
}
