body {
  background:
    radial-gradient(circle at top, rgba(86, 190, 214, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 52%, #eef3f8 100%);
}

.detail-hero {
  padding-top: 84px;
}

.detail-hero-media {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  background: var(--detail-image) center / cover no-repeat;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 15, 0.18) 0%, rgba(7, 11, 15, 0.56) 100%);
}

.detail-hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  min-height: 50vh;
  padding-bottom: 48px;
}

.detail-hero-copy {
  max-width: 760px;
  color: #f3f7fb;
}

.detail-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 247, 251, 0.72);
}

.detail-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.detail-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: rgba(243, 247, 251, 0.92);
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.detail-outline-button {
  border: 1px solid rgba(20, 184, 166, 0.45);
  background: rgba(0, 0, 0, 0.24);
  color: #14b8a6;
}

.detail-main-section,
.detail-system-section {
  padding: 64px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.detail-heading-block,
.detail-section-block,
.detail-side-card,
.detail-system-card {
  padding: 28px;
  border: 1px solid rgba(21, 32, 43, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.detail-heading-block h2,
.detail-system-section h2 {
  margin: 0;
  color: #15202b;
  line-height: 1;
  letter-spacing: -0.04em;
}

.detail-heading-block h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.detail-developer {
  margin: 12px 0 0;
  color: rgba(21, 32, 43, 0.62);
  font-size: 1rem;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.detail-stars,
.detail-review-stars {
  display: flex;
  gap: 2px;
}

.detail-star,
.detail-review-stars span {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.detail-star.is-filled,
.detail-review-stars .is-filled {
  color: #fbbf24;
}

.detail-rating-value {
  font-size: 1.05rem;
  font-weight: 700;
}

.detail-review-count {
  color: rgba(21, 32, 43, 0.62);
}

.detail-description {
  margin: 0;
  color: rgba(21, 32, 43, 0.78);
  line-height: 1.9;
}

.detail-section-block {
  margin-top: 24px;
}

.detail-section-block h3,
.detail-side-header h3,
.detail-system-card h3 {
  margin: 0 0 18px;
  color: #15202b;
  font-size: 1.15rem;
}

.detail-review-list {
  display: grid;
  gap: 18px;
}

.detail-review-card {
  padding: 18px;
  border: 1px solid rgba(21, 32, 43, 0.08);
  border-radius: 18px;
  background: rgba(246, 249, 252, 0.92);
}

.detail-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-review-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
  color: #ffffff;
  font-weight: 700;
}

.detail-review-name {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-review-comment,
.detail-system-card li {
  margin: 0;
  color: rgba(21, 32, 43, 0.76);
  line-height: 1.8;
}

.detail-release-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(21, 32, 43, 0.66);
}

.detail-release-label {
  font-weight: 700;
}

.detail-side-column {
  position: sticky;
  top: 108px;
}

.detail-side-card {
  display: grid;
  gap: 16px;
}

.detail-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-side-primary,
.detail-side-secondary {
  width: 100%;
}

.detail-side-secondary {
  border: 1px solid rgba(20, 184, 166, 0.18);
  background: #ffffff;
  color: #0f766e;
}

.detail-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.detail-system-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-empty {
  padding: 160px 0 80px;
  text-align: center;
}

@media (max-width: 960px) {
  .detail-grid,
  .detail-system-grid {
    grid-template-columns: 1fr;
  }

  .detail-side-column {
    position: static;
  }
}

@media (max-width: 760px) {
  .detail-hero-shell {
    min-height: 56vh;
    padding-bottom: 32px;
  }

  .detail-heading-block,
  .detail-section-block,
  .detail-side-card,
  .detail-system-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .detail-hero-actions {
    flex-direction: column;
  }
}
