/* ---------------------------------------------------------------------------
 * Rack IQ — app screenshot sections (Inside the App + Two Ways to Score)
 * Loaded after styles.css; uses the same design tokens.
 * ------------------------------------------------------------------------ */

/* ---- Inside the App gallery ---- */
.app-shots {
  padding: 72px 0 40px;
}
.shots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.shot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.phone-shot {
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: #0c0d12;
  padding: 8px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition);
}
.phone-shot img {
  width: 100%;
  border-radius: 19px;
  display: block;
}
.shot-card:hover .phone-shot {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.55);
}
.shot-caption {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted-strong);
  text-align: center;
}

/* ---- Two Ways to Score band ---- */
.score-modes {
  padding: 90px 0;
  background:
    radial-gradient(ellipse 70% 90% at 12% 50%, rgba(225, 6, 0, 0.10), transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.score-modes-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.mode-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.mode-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.mode-list h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.mode-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.mode-phones {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.mode-phones .shot-card {
  width: min(46%, 230px);
}

@media (max-width: 1080px) {
  .shots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shots-grid .shot-card:nth-child(n + 4) {
    display: none;
  }
  .score-modes-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .shots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .shots-grid .shot-card:nth-child(3) {
    display: none;
  }
}
