/* MAX 300 LINES — features.css */
.feature-card {
  position: relative;
  padding: 20px 28px 28px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(26, 10, 58, 0.2)),
    rgba(4, 16, 28, 0.72);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.02), 0 0 28px rgba(0, 229, 255, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-visual {
  height: 168px;
  margin: -4px -12px 22px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  border: none;
  box-shadow: inset 0 -50px 70px rgba(2, 13, 26, 0.58);
}

.feature-card--exploration .feature-visual {
  background-image:
    linear-gradient(180deg, rgba(2, 13, 26, 0.02), rgba(2, 13, 26, 0.5)),
    url('../../assets/images/screenshot-1.jpg');
}

.feature-card--survival .feature-visual {
  background-image:
    linear-gradient(180deg, rgba(2, 13, 26, 0.02), rgba(2, 13, 26, 0.5)),
    url('../../assets/images/screenshot-3.jpg');
}

.feature-card--coop .feature-visual {
  background-image:
    linear-gradient(180deg, rgba(2, 13, 26, 0.02), rgba(2, 13, 26, 0.5)),
    url('../../assets/images/screenshot-5.jpg');
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.42), transparent);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03), 0 0 34px rgba(0, 229, 255, 0.14);
}

.feature-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.06);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.feature-title {
  margin: 0 0 12px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item {
  padding: 24px 26px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(0, 229, 255, 0.05), rgba(26, 10, 58, 0.22)),
    rgba(3, 14, 26, 0.78);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.08);
  backdrop-filter: blur(12px);
}

.faq-question {
  margin: 0 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.faq-answer {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.seo-gallery {
  padding-top: 0;
}

.seo-gallery figure,
.screenshot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.06);
}

.screenshot-card {
  cursor: pointer;
  min-height: 0;
}

.screenshot-card:focus-visible {
  outline: 2px solid rgba(132, 246, 255, 0.92);
  outline-offset: 4px;
}

.seo-gallery img,
.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.08);
}

.screenshot-card.placeholder {
  min-height: 180px;
}

#trailer-container {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.06);
}

#trailer-container:empty {
  display: none;
}

@media (max-width: 720px) {
  .feature-visual {
    height: 148px;
  }
}
