:root {
  --steam-bg: #0b141f;
  --steam-bg-soft: #101d2a;
  --steam-panel: #16283a;
  --steam-panel-2: #1c344b;
  --steam-border: #2d516f;
  --steam-text: #d7e3ee;
  --steam-muted: #8fa7bb;
  --steam-bright: #ffffff;
  --steam-link: #66c0f4;
  --steam-green: #75b022;
}

body.steam-app-page {
  background:
    radial-gradient(circle at top left, rgba(102, 192, 244, 0.17), transparent 28rem),
    linear-gradient(180deg, #19324a 0, var(--steam-bg) 34rem, #070b10 100%);
  color: var(--steam-text);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

.steam-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 26px 22px 44px;
}

.steam-topbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.steam-brand {
  color: var(--steam-bright);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.steam-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.steam-nav a,
.steam-link {
  color: var(--steam-link);
  text-decoration: none;
}

.steam-nav a:hover,
.steam-link:hover {
  text-decoration: underline;
}

.steam-title {
  color: var(--steam-bright);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
}

.steam-hero {
  background: rgba(14, 26, 38, 0.92);
  border: 1px solid rgba(102, 192, 244, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 18px 44px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  padding: 16px;
}

.steam-trailer-shell {
  aspect-ratio: 16 / 9;
  background: #000000;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.steam-trailer {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.steam-trailer:not([src]) {
  display: none;
}

.steam-trailer-fallback {
  align-items: center;
  color: #ffffff;
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-decoration: none;
}

.steam-trailer-fallback img {
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  position: absolute;
  width: 100%;
}

.steam-trailer-fallback::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
  content: "";
  inset: 0;
  position: absolute;
}

.steam-trailer-play {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 3px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  position: relative;
}

.steam-trailer-play::before {
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  content: "";
  display: inline-block;
}

.steam-trailer-shell--embed .steam-trailer {
  display: block;
}

.steam-trailer-shell--embed .steam-trailer-fallback {
  display: none;
}

.steam-hero-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steam-capsule {
  display: block;
  height: auto;
  width: 100%;
}

.steam-summary {
  color: #c7d5e0;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.steam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.steam-button {
  align-items: center;
  background: linear-gradient(180deg, #8bc53f 0%, #5c8f20 100%);
  border-radius: 2px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  min-height: 38px;
  padding: 0 16px;
  text-decoration: none;
}

.steam-button--blue {
  background: linear-gradient(180deg, #66c0f4 0%, #2a6b9a 100%);
}

.steam-fact-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.steam-fact-row {
  align-items: baseline;
  display: grid;
  gap: 14px;
  grid-template-columns: 118px minmax(0, 1fr);
}

.steam-fact-label {
  color: var(--steam-muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.steam-fact-value {
  color: var(--steam-text);
  line-height: 1.35;
  min-width: 0;
}

.steam-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steam-chip {
  background: rgba(103, 193, 245, 0.15);
  color: var(--steam-link);
  font-size: 12px;
  padding: 5px 8px;
}

.steam-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 330px;
  margin-top: 22px;
}

.steam-section,
.steam-side-card {
  background: rgba(16, 29, 42, 0.96);
  border: 1px solid rgba(102, 192, 244, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  padding: 22px;
}

.steam-section + .steam-section,
.steam-side-card + .steam-side-card {
  margin-top: 18px;
}

.steam-section h2,
.steam-side-card h2,
.steam-section h3 {
  color: var(--steam-bright);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
}

.steam-page__banner,
.steam-page__feature-title,
.steam-page__feature-video {
  display: block;
  width: 100%;
}

.steam-page__banner,
.steam-page__feature-title {
  height: auto;
}

.steam-page__banner--spaced {
  margin-top: 32px;
}

.steam-page__intro,
.steam-page__community,
.steam-page__feature-copy {
  color: var(--steam-text);
  font-size: 16px;
  line-height: 1.65;
}

.steam-page__feature {
  margin-top: 30px;
}

.steam-page__feature-title {
  margin-bottom: 12px;
}

.steam-page__feature-video {
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: cover;
}

.steam-download {
  background: rgba(102, 192, 244, 0.12);
  border: 1px solid rgba(102, 192, 244, 0.45);
  color: var(--steam-link);
  display: block;
  margin-bottom: 18px;
  padding: 12px 14px;
  text-decoration: none;
}

.steam-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.steam-gallery a {
  background: #000000;
  display: block;
  overflow: hidden;
}

.steam-gallery img {
  aspect-ratio: 16 / 9;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.steam-logo-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.steam-logo-list img {
  max-height: 230px;
  max-width: min(280px, 100%);
}

.steam-price-base {
  align-items: center;
  background: linear-gradient(90deg, rgba(102, 192, 244, 0.16), rgba(102, 192, 244, 0.06));
  border: 1px solid rgba(102, 192, 244, 0.28);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.steam-price-label {
  color: var(--steam-muted);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.steam-price-value {
  color: var(--steam-bright);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.steam-price-value small {
  color: var(--steam-muted);
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
}

.steam-price-list {
  border: 1px solid rgba(102, 192, 244, 0.24);
  scrollbar-color: rgba(102, 192, 244, 0.58) rgba(9, 19, 30, 0.72);
  scrollbar-width: thin;
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
}

.steam-price-list::-webkit-scrollbar {
  width: 10px;
}

.steam-price-list::-webkit-scrollbar-track {
  background: rgba(9, 19, 30, 0.72);
  border-left: 1px solid rgba(102, 192, 244, 0.12);
}

.steam-price-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(102, 192, 244, 0.75), rgba(53, 112, 150, 0.9));
  border: 2px solid rgba(9, 19, 30, 0.72);
  border-radius: 999px;
}

.steam-price-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(127, 207, 250, 0.95), rgba(75, 140, 180, 0.95));
}

.steam-price-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.steam-price-row:nth-child(odd) {
  background: rgba(102, 192, 244, 0.05);
}

.steam-price-row + .steam-price-row {
  border-top: 1px solid rgba(102, 192, 244, 0.12);
}

.steam-price-currency {
  color: #b8cce0;
  min-width: 0;
}

.steam-price-amount {
  color: var(--steam-bright);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.steam-details summary {
  color: var(--steam-link);
  cursor: pointer;
  display: inline-flex;
  margin-top: 2px;
  padding: 6px 0;
}

.steam-requirements {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.steam-requirements ul,
.steam-contact-list {
  margin: 0;
  padding-left: 18px;
}

.steam-footer {
  color: var(--steam-muted);
  font-size: 13px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .steam-hero,
  .steam-layout {
    grid-template-columns: 1fr;
  }

  .steam-title {
    font-size: 28px;
  }
}

@media (max-width: 620px) {
  .steam-shell {
    padding: 18px 12px 34px;
  }

  .steam-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .steam-section,
  .steam-side-card,
  .steam-hero {
    padding: 14px;
  }

  .steam-fact-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .steam-price-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .steam-price-value {
    text-align: left;
  }
}
