/* ===== FEATURES PAGE — PREMIUM SHOWCASE (features.html only) ===== */

/* --- Hero: full image visible, width-driven height, no crop/zoom --- */
.ft-hero {
  padding-top: calc(var(--nav-h) + var(--announce-h));
  margin: 0;
  background: #080d2d;
}

.ft-hero__visual {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.ft-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.ft-hero__copy {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: min(90%, 46rem);
  text-align: center;
  z-index: 1;
  line-height: 1.4;
  pointer-events: none;
}

.ft-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 244, 239, 0.88);
  margin: 0 0 0.75rem;
  text-shadow: 0 1px 6px rgba(5, 8, 23, 0.85);
}

.ft-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  color: #fff;
  text-shadow:
    2px 2px 0 #1a1f3d,
    3px 3px 0 #0a0c18,
    4px 4px 0 rgba(0, 0, 0, 0.45);
}

.ft-hero__lead {
  font-size: clamp(0.9375rem, 1.55vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(243, 244, 239, 0.92);
  margin: 1rem auto 0;
  max-width: 38rem;
  text-shadow: 0 1px 8px rgba(5, 8, 23, 0.9);
}

@media (max-width: 640px) {
  .ft-hero__copy {
    top: 34%;
    width: min(94%, 22rem);
  }

  .ft-hero__title {
    font-size: clamp(1.5rem, 7.5vw, 2.25rem);
  }

  .ft-hero__lead {
    font-size: 0.875rem;
    margin-top: 0.75rem;
  }
}

.ft-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.ft-section {
  padding: clamp(5.625rem, 8vw, 8.75rem) 0;
}

.ft-section--void { background: #0c0b0a; }
.ft-section--deepslate { background: #141312; }
.ft-section--stone { background: #1a1918; }

/* Split feature rows */
.ft-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .ft-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .ft-split--reverse .ft-split__media { order: 2; }
  .ft-split--reverse .ft-split__body { order: 1; }
}

.ft-split__media {
  min-width: 0;
}

.ft-split__media img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.ft-split__media--art img {
  width: 100%;
  max-width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .ft-split--reverse .ft-split__media--art img {
    margin-inline: 0 0 auto;
  }

  .ft-split:not(.ft-split--reverse) .ft-split__media--art img {
    margin-inline: auto 0;
  }
}

.ft-split__body {
  min-width: 0;
}

.ft-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  color: #f2f0e8;
}

.ft-body {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  color: #c8c6bc;
  max-width: 38rem;
}

.ft-body p {
  margin: 0 0 1rem;
}

.ft-body p:last-child {
  margin-bottom: 0;
}

/* Long-form prose blocks inside feature sections (replaces inline styles) */
.ft-body--wide { max-width: 68ch; }
.ft-body h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #f2f0e8;
  margin: 1.75rem 0 0.6rem;
}
.ft-body h3.ft-accent { color: var(--ed-green-bright); }
.ft-body ul,
.ft-body ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.ft-body li { margin-bottom: 0.4rem; }
.ft-body code {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.ft-body a { color: var(--ed-green-bright); }

.ft-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ed-green-bright);
  text-decoration: none;
}

.ft-link:hover {
  text-decoration: underline;
}

/* Platform icon row */
.ft-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3a3836;
}

.ft-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b8b7ad;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-platforms img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(1) brightness(1.35);
}

/* Controls — three technical blocks */
.ft-controls-head {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  color: #f2f0e8;
}

.ft-controls-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ft-controls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.125rem;
  }
}

.ft-control-panel {
  background: #232120;
  border: 1px solid #3a3836;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  min-height: clamp(160px, 18vw, 200px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease;
}

.ft-control-panel:hover {
  border-color: #4a4846;
}

.ft-control-panel__icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  object-fit: contain;
  opacity: 0.95;
  filter: grayscale(1) brightness(1.4);
}

.ft-control-panel h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.625rem;
  color: #fff;
}

.ft-control-panel p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b8b7ad;
}

/* Ray tracing cinematic band */
.ft-cinematic {
  position: relative;
  background: #0c0b0a;
  padding: clamp(5.625rem, 8vw, 8.75rem) 0;
}

.ft-cinematic__inner {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: end;
}

@media (min-width: 960px) {
  .ft-cinematic__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
}

.ft-cinematic__media {
  min-width: 0;
  align-self: center;
}

.ft-cinematic__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 45%;
}

.ft-cinematic__body .ft-title {
  margin-bottom: 1rem;
}

.ft-cinematic__body .ft-body {
  max-width: 36rem;
}

/* Achievements + parental controls */
.ft-support-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ft-support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
  }
}

.ft-ui-panel {
  background: #232120;
  border: 1px solid #3a3836;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ft-ui-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  color: #fff;
}

.ft-ui-panel p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #c8c6bc;
  max-width: 34rem;
}

/* Platform comparison table */
.ft-table-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: #141312;
}

.ft-table-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.ft-table-head .ft-title {
  margin-bottom: 0.75rem;
}

.ft-table-head .ft-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #b8b7ad;
  max-width: 42rem;
  margin: 0 auto;
}

.ft-table-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: #b8b7ad;
}

.ft-table-note a {
  color: var(--ed-green-bright);
  text-decoration: none;
}

.ft-table-note a:hover {
  text-decoration: underline;
}

/* Final CTA */
.ft-cta {
  text-align: center;
  padding: clamp(5rem, 8vw, 7.5rem) clamp(1rem, 3vw, 2rem);
  background: #1a1918;
}

.ft-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.875rem;
  color: #fff;
}

.ft-cta__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #c8c6bc;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.ft-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Section divider — use sparingly on this page */
.ft-divider {
  height: 10px;
  background:
    linear-gradient(135deg, var(--ed-green) 25%, transparent 25%) -5px 0,
    linear-gradient(225deg, var(--ed-green) 25%, transparent 25%) -5px 0,
    linear-gradient(45deg, var(--ed-green) 25%, transparent 25%),
    linear-gradient(315deg, var(--ed-green) 25%, #141312 25%);
  background-size: 10px 10px;
  background-color: #141312;
}

.ft-divider--stone {
  background-color: #1a1918;
  background-image:
    linear-gradient(135deg, #444 25%, transparent 25%) -5px 0,
    linear-gradient(225deg, #444 25%, transparent 25%) -5px 0,
    linear-gradient(45deg, #444 25%, transparent 25%),
    linear-gradient(315deg, #444 25%, #1a1918 25%);
  background-size: 10px 10px;
}

@media (max-width: 959px) {
  .ft-split__media img,
  .ft-cinematic__media img {
    max-width: 100%;
  }

  .ft-split__media--art img {
    max-width: min(100%, 360px);
  }
}
