.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px 0 42px;
}

.hero-copy,
.hero-panel {
  padding: 30px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy p {
  max-width: 700px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(76, 201, 240, 0.12);
  filter: blur(10px);
}

.stack-list,
.detail-list,
.meta-list,
.news-list {
  display: grid;
  gap: 14px;
}

.stack-item,
.detail-item,
.news-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.stack-item strong,
.detail-item strong,
.news-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-grid,
.category-grid,
.library-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card,
.category-card {
  overflow: hidden;
}

.game-thumb,
.gallery-thumb,
.category-thumb {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 113, 170, 0.16), rgba(76, 201, 240, 0.08));
}

.game-thumb img,
.gallery-thumb img,
.category-thumb img,
.detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-body,
.category-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.game-body h3,
.category-body h3,
.profile-card h2,
.detail-copy h1,
.detail-copy h2 {
  margin: 0;
}

.game-body p,
.category-body p,
.detail-copy p,
.profile-meta p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  font-size: 1.12rem;
  font-weight: 700;
  color: #c8f2ff;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.profile-card,
.launcher-card,
.detail-banner,
.category-cloud,
.detail-surface {
  padding: 24px;
}

.profile-card {
  display: grid;
  gap: 18px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}

.profile-meta {
  display: grid;
  gap: 6px;
}

.library-section,
.store-section,
.categories-section {
  display: grid;
  gap: 18px;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 22px;
  padding: 24px 0 28px;
}

.detail-banner {
  min-height: 380px;
  overflow: hidden;
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.detail-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.requirements-box {
  white-space: pre-line;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-copy,
.hero-panel,
.game-card,
.category-card,
.profile-card,
.launcher-card,
.detail-banner,
.detail-surface,
.category-cloud {
  animation: rise-in 500ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .dashboard-shell,
  .detail-hero,
  .detail-panels {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid,
  .library-grid,
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-copy,
  .hero-panel,
  .profile-card,
  .launcher-card,
  .detail-banner,
  .detail-surface,
  .category-cloud {
    padding: 20px;
  }

  .hero-stats,
  .feature-grid,
  .category-grid,
  .library-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }
}
