/**
 * Steam Store Showcase Design System - Project Warzone
 * Matching official Steam store design tokens and aesthetic conventions
 */

:root {
  /* Steam Core Palette */
  --steam-bg-base: #1b2838;
  --steam-bg-dark: #171a21;
  --steam-bg-card: #0e141b;
  --steam-bg-panel: #213346;
  --steam-bg-highlight: #2a475e;
  --steam-bg-surface: rgba(0, 0, 0, 0.4);
  --steam-bg-input: #101822;

  /* Steam Blue Accents & Glows */
  --steam-blue-accent: #66c0f4;
  --steam-blue-glow: #3a9bed;
  --steam-blue-dim: #417a9b;
  --steam-blue-border: #364f69;
  --steam-cyan-bright: #a4d007;

  /* Steam Green CTA Gradients */
  --steam-green-btn-top: #75b022;
  --steam-green-btn-bot: #588a1b;
  --steam-green-btn-hover: #8ed629;
  --steam-green-glow: rgba(117, 176, 34, 0.4);

  /* Steam Blue Action Buttons */
  --steam-blue-btn-top: #47bfff;
  --steam-blue-btn-bot: #1a44c2;
  --steam-blue-btn-hover: #67c1f5;

  /* Typography Colors */
  --steam-text-white: #ffffff;
  --steam-text-primary: #c6d4df;
  --steam-text-muted: #8f98a0;
  --steam-text-dim: #556772;
  --steam-tag-bg: #223d50;
  --steam-tag-text: #67c1f5;

  /* Status Colors */
  --status-online: #5cff70;
  --status-warning: #ffb834;
  --status-error: #ff5842;

  /* Typography */
  --font-body: "Motiva Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, Menlo, monospace;

  /* Dimensions */
  --page-width: 940px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--steam-bg-base);
  color: var(--steam-text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  background-image: radial-gradient(circle at 50% 0%, #1e354b 0%, #1b2838 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--steam-blue-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #ffffff;
}

/* Global Steam Header */
.steam-global-header {
  background-color: var(--steam-bg-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 14px;
  position: relative;
  z-index: 100;
}
.steam-global-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
}
.steam-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.steam-logo-svg {
  width: 32px;
  height: 32px;
  fill: #b8b6b4;
  transition: fill 0.2s;
}
.steam-logo-svg:hover {
  fill: #ffffff;
}
.steam-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b8b6b4;
  text-transform: uppercase;
}
.steam-nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.steam-nav-links a {
  color: #b8b6b4;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.steam-nav-links a:hover,
.steam-nav-links a.active {
  color: #ffffff;
  border-bottom: 2px solid var(--steam-blue-accent);
}
.steam-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-install-steam {
  background-color: #5c7e10;
  color: #e5ffaa;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-install-steam:hover {
  background-color: #79a315;
  color: #ffffff;
}
.steam-user-links {
  color: #b8b6b4;
  font-size: 11px;
}

/* Store Sub-Nav Bar */
.steam-store-subnav {
  background: linear-gradient(90deg, rgba(23, 26, 33, 0.9) 0%, rgba(33, 51, 70, 0.9) 100%);
  border-bottom: 1px solid var(--steam-blue-border);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.subnav-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 16px;
}
.subnav-links {
  display: flex;
  gap: 16px;
  list-style: none;
}
.subnav-links a {
  color: #e5e5e5;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 2px;
}
.subnav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.subnav-search {
  display: flex;
  align-items: center;
  background: #316282;
  border-radius: 3px;
  padding: 2px 8px;
  height: 24px;
}
.subnav-search input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 11px;
  outline: none;
  width: 140px;
}
.subnav-search input::placeholder {
  color: #8f98a0;
  font-style: italic;
}
.search-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding-left: 4px;
}

/* Main Container Layout */
.page-container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 16px 16px 60px 16px;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--steam-text-muted);
  margin-bottom: 12px;
}
.breadcrumbs-bar a {
  color: var(--steam-text-muted);
}
.breadcrumbs-bar a:hover {
  color: var(--steam-text-white);
}
.breadcrumbs-separator {
  color: var(--steam-text-dim);
}

/* App Header */
.app-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.app-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--steam-text-white);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.app-header-actions {
  display: flex;
  gap: 8px;
}
.btn-steam-secondary {
  background: linear-gradient(to bottom, #3d4450 5%, #2a475e 95%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--steam-blue-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-steam-secondary:hover {
  background: linear-gradient(to bottom, #475466 5%, #365b79 95%);
  color: #ffffff;
}

/* Media Showcase & Glance Card Container */
.showcase-stage-grid {
  display: grid;
  grid-template-columns: 600px 320px;
  gap: 16px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.45) 100%);
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Left Column: Media Stage */
.media-stage-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 16:9 Screen Viewport */
.media-viewport-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}
.media-display-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}
.media-display-item.active {
  display: block;
  opacity: 1;
}

/* Video Stage Elements */
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
}
.video-wrapper.active {
  display: block;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play/Pause Center Overlay Badge */
.video-big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid var(--steam-blue-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(102, 192, 244, 0.4);
  z-index: 10;
}
.video-big-play-btn:hover {
  background: rgba(42, 71, 94, 0.85);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-big-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  margin-left: 4px;
}

/* HTML5 Custom Steam Controls */
.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 12px;
  z-index: 15;
  transition: opacity 0.2s;
}
.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--steam-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 2px;
}
.ctrl-btn:hover {
  color: #ffffff;
}
.ctrl-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.video-timeline-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.video-scrubber-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.video-scrubber-fill {
  height: 100%;
  width: 0%;
  background: var(--steam-blue-accent);
  box-shadow: 0 0 6px var(--steam-blue-glow);
}
.video-time-readout {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steam-text-primary);
  white-space: nowrap;
}
.video-volume-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.volume-slider {
  width: 50px;
  accent-color: var(--steam-blue-accent);
  cursor: pointer;
  height: 4px;
}

/* Thumbnail Filmstrip */
.thumbnail-filmstrip-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  height: 68px;
}
.thumb-scroll-btn {
  background: #171a21;
  border: 1px solid #2a475e;
  color: var(--steam-blue-accent);
  width: 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.thumb-scroll-btn:hover {
  background: #2a475e;
  color: #ffffff;
}
.thumbnails-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  height: 64px;
}
.thumbnails-track::-webkit-scrollbar {
  display: none;
}
.thumb-item {
  width: 108px;
  height: 60px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #000000;
  opacity: 0.65;
  transition: all 0.15s ease;
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-item:hover {
  opacity: 1;
}
.thumb-item.active {
  border-color: var(--steam-blue-accent);
  box-shadow: 0 0 8px rgba(102, 192, 244, 0.6);
  opacity: 1;
}
.thumb-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--steam-blue-accent);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-play-badge svg {
  width: 10px;
  height: 10px;
  fill: #ffffff;
  margin-left: 2px;
}

/* Right Column: Glance Sidebar */
.glance-card-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.glance-capsule-wrapper {
  width: 100%;
  aspect-ratio: 460 / 215;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  background: #000;
}
.glance-capsule-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.glance-capsule-wrapper:hover .glance-capsule-img {
  transform: scale(1.02);
}
.glance-synopsis {
  font-size: 13px;
  color: var(--steam-text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reviews Summary Box */
.glance-reviews-meta {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.review-row .label {
  color: var(--steam-text-muted);
}
.review-rating-positive {
  color: var(--steam-blue-accent);
  font-weight: 700;
}
.review-count-bracket {
  color: var(--steam-text-muted);
  font-weight: 400;
  font-size: 11px;
}

/* Glance Specs Table */
.glance-specs-table {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}
.spec-entry {
  display: flex;
}
.spec-entry .spec-label {
  width: 90px;
  color: var(--steam-text-muted);
  font-size: 11px;
  text-transform: uppercase;
}
.spec-entry .spec-val {
  color: var(--steam-text-primary);
}

/* Tags Pills */
.glance-tags-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tags-title {
  font-size: 11px;
  color: var(--steam-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.steam-tag-pill {
  background: var(--steam-tag-bg);
  color: var(--steam-tag-text);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  transition: all 0.15s ease;
}
.steam-tag-pill:hover {
  background: #2a475e;
  color: #ffffff;
}

/* Glance Action Buttons */
.glance-actions-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.btn-wishlist {
  flex: 1;
  background: rgba(103, 193, 245, 0.15);
  border: 1px solid var(--steam-blue-dim);
  color: var(--steam-blue-accent);
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.btn-wishlist:hover {
  background: var(--steam-blue-dim);
  color: #ffffff;
}

/* "Install Warzone" Download CTA Box */
.install-cta-banner {
  background: linear-gradient(to right, #1b2838 0%, #2a475e 100%);
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-left: 4px solid var(--steam-green-btn-top);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.install-cta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.install-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--steam-text-white);
  letter-spacing: 0.3px;
}
.install-cta-subtitle {
  font-size: 12px;
  color: var(--steam-text-primary);
}
.install-cta-actions {
  display: flex;
  align-items: center;
  background-color: #000000;
  padding: 4px;
  border-radius: 3px;
  gap: 8px;
}
.badge-free-to-play {
  font-size: 11px;
  color: var(--steam-text-muted);
  font-weight: 600;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-play-game-cta {
  background: linear-gradient(to bottom, var(--steam-green-btn-top) 5%, var(--steam-green-btn-bot) 95%);
  color: #d2efa9;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
}
.btn-play-game-cta:hover {
  background: linear-gradient(to bottom, var(--steam-green-btn-hover) 5%, var(--steam-green-btn-top) 95%);
  color: #ffffff;
  box-shadow: 0 0 12px var(--steam-green-glow);
}
.btn-play-game-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Secondary In-Browser WebGL Launch CTA */
.webgl-launch-bar {
  background: rgba(33, 51, 70, 0.6);
  border: 1px dashed var(--steam-blue-dim);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.webgl-launch-text {
  font-size: 12px;
  color: var(--steam-text-primary);
}
.webgl-launch-text b {
  color: var(--steam-blue-accent);
}
.btn-webgl-launch {
  background: linear-gradient(to bottom, #47bfff 5%, #1a44c2 95%);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-webgl-launch:hover {
  background: linear-gradient(to bottom, #67c1f5 5%, #2a58e6 95%);
}

/* Live Telemetry Status Bar */
.telemetry-status-card {
  background: #171a21;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.telemetry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-pulsing-led {
  width: 10px;
  height: 10px;
  background-color: var(--status-online);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-online);
  animation: pulseLed 2s infinite;
}
@keyframes pulseLed {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px var(--status-online); }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.status-title-lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--steam-text-white);
}
.status-tickrate {
  font-size: 11px;
  color: var(--steam-text-muted);
}
.telemetry-stats-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.stat-pill .stat-number {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--steam-blue-accent);
}
.stat-pill .stat-label {
  font-size: 10px;
  color: var(--steam-text-muted);
  text-transform: uppercase;
}
.telemetry-regions {
  display: flex;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
}
.region-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--steam-text-muted);
}
.ping-dot {
  width: 6px;
  height: 6px;
  background-color: var(--status-online);
  border-radius: 50%;
}

/* "About This Game" Section */
.about-game-section {
  margin-bottom: 40px;
}
.section-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--steam-text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #364f69;
  padding-bottom: 6px;
  margin-bottom: 16px;
}
.lore-banner-card {
  background: linear-gradient(135deg, rgba(33, 51, 70, 0.6) 0%, rgba(23, 26, 33, 0.8) 100%);
  border-left: 3px solid var(--steam-blue-accent);
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 0 4px 4px 0;
}
.lore-location-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steam-blue-accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.lore-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steam-text-primary);
}

/* Feature Showcase Grid */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.feature-box {
  background: #171a21;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 14px;
}
.feature-box h4 {
  font-size: 13px;
  color: var(--steam-blue-accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-box p {
  font-size: 12px;
  color: var(--steam-text-muted);
  line-height: 1.5;
}

/* PAC-9 Deep Dive Card */
.pac9-spotlight-card {
  background: #171a21;
  border: 1px solid #364f69;
  border-radius: 4px;
  padding: 16px;
  margin: 20px 0;
}
.pac9-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pac9-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--steam-text-white);
}
.pac9-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 3px;
  margin-top: 10px;
}
.pac9-spec-item {
  display: flex;
  flex-direction: column;
}
.pac9-spec-item .k {
  font-size: 10px;
  color: var(--steam-text-muted);
  text-transform: uppercase;
}
.pac9-spec-item .v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--steam-blue-accent);
}

/* System Requirements Tabbed Matrix */
.sys-req-section {
  margin-bottom: 40px;
}
.sys-req-tabs-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #2a475e;
  margin-bottom: 16px;
}
.req-tab-btn {
  background: #171a21;
  border: 1px solid #2a475e;
  border-bottom: none;
  color: var(--steam-text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.req-tab-btn:hover {
  background: #2a475e;
  color: #ffffff;
}
.req-tab-btn.active {
  background: #2a475e;
  color: var(--steam-text-white);
  border-color: var(--steam-blue-dim);
  border-top: 2px solid var(--steam-blue-accent);
}
.req-matrix-container {
  display: none;
}
.req-matrix-container.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #171a21;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 16px;
}
.req-column h4 {
  font-size: 12px;
  color: var(--steam-text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.req-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.req-item {
  display: flex;
  line-height: 1.4;
}
.req-item b {
  width: 120px;
  color: var(--steam-text-muted);
  font-weight: 600;
  flex-shrink: 0;
}
.req-item span {
  color: var(--steam-text-primary);
}

/* Community Customer Reviews */
.customer-reviews-section {
  margin-bottom: 40px;
}
.reviews-summary-dashboard {
  background: #171a21;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.reviews-rating-banner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rating-big-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--steam-blue-accent);
}
.rating-bar-chart {
  width: 180px;
  height: 8px;
  background: #ff5842;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}
.rating-bar-pos {
  width: 94%;
  height: 100%;
  background: var(--steam-blue-accent);
}
.rating-count-subtitle {
  font-size: 12px;
  color: var(--steam-text-muted);
}
.review-filters-bar {
  display: flex;
  gap: 8px;
}
.filter-btn {
  background: #213346;
  border: 1px solid #2a475e;
  color: var(--steam-text-muted);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: #2a475e;
  color: #ffffff;
}

/* Review Cards Feed */
.reviews-feed-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card {
  background: #171a21;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  gap: 16px;
}
.reviewer-profile-col {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}
.reviewer-avatar-box {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: #364f69;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
}
.reviewer-details {
  display: flex;
  flex-direction: column;
}
.reviewer-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--steam-blue-accent);
}
.reviewer-products {
  font-size: 10px;
  color: var(--steam-text-muted);
}
.review-body-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(102, 192, 244, 0.15);
  color: var(--steam-blue-accent);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}
.recommendation-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.review-playtime {
  font-size: 11px;
  color: var(--steam-text-muted);
}
.review-text-content {
  font-size: 12px;
  color: var(--steam-text-primary);
  line-height: 1.5;
}
.review-footer-helpful {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--steam-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
  margin-top: 4px;
}
.vote-buttons-group {
  display: flex;
  gap: 6px;
}
.btn-vote {
  background: #213346;
  border: 1px solid #2a475e;
  color: var(--steam-text-primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  cursor: pointer;
}
.btn-vote:hover {
  background: #2a475e;
  color: #ffffff;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-window {
  background: #171a21;
  border: 1px solid var(--steam-blue-border);
  border-radius: 4px;
  width: 90%;
  max-width: 680px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  background: #213346;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--steam-blue-border);
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--steam-text-white);
}
.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--steam-text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-close-btn:hover {
  color: #ffffff;
}
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Platform Download Cards in Modal */
.platform-cards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.platform-card {
  background: #101822;
  border: 1px solid #2a475e;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-card.highlight {
  border-color: var(--steam-blue-accent);
  box-shadow: 0 0 10px rgba(102, 192, 244, 0.2);
}
.platform-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--steam-text-white);
}
.platform-badges {
  display: flex;
  gap: 4px;
}
.mini-badge {
  background: #2a475e;
  color: #c6d4df;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
}
.download-links-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.btn-dl-file {
  background: linear-gradient(to bottom, #75b022 5%, #588a1b 95%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s;
}
.btn-dl-file:hover {
  background: linear-gradient(to bottom, #8ed629 5%, #75b022 95%);
  color: #ffffff;
}
.btn-dl-file-alt {
  background: #213346;
  border: 1px solid #2a475e;
  color: var(--steam-blue-accent);
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s;
}
.btn-dl-file-alt:hover {
  background: #2a475e;
  color: #ffffff;
}
.file-size-tag {
  font-size: 10px;
  opacity: 0.8;
  font-family: var(--font-mono);
}
.hash-verify-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 3px;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hash-label-row {
  display: flex;
  justify-content: space-between;
  color: var(--steam-text-muted);
}
.hash-val-string {
  font-family: var(--font-mono);
  color: var(--steam-blue-accent);
  word-break: break-all;
  font-size: 10px;
}
.btn-copy-hash {
  background: #2a475e;
  border: none;
  color: #ffffff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.btn-copy-hash:hover {
  background: var(--steam-blue-accent);
  color: #000;
}

/* WebGL Playable Game Modal */
.webgl-modal-window {
  width: 95vw;
  max-width: 1280px;
  height: 85vh;
  background: #000000;
}
.webgl-iframe-container {
  width: 100%;
  height: 100%;
  border: none;
}

/* Steam Footer */
.steam-footer-block {
  background-color: var(--steam-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 16px;
  margin-top: 60px;
}
.steam-footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--steam-text-dim);
  font-size: 12px;
  line-height: 1.6;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
}
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links-row a {
  color: var(--steam-text-muted);
}
.footer-links-row a:hover {
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  :root {
    --page-width: 100%;
  }
  .showcase-stage-grid {
    grid-template-columns: 1fr;
  }
  .features-cards-grid {
    grid-template-columns: 1fr;
  }
  .req-matrix-container.active {
    grid-template-columns: 1fr;
  }
  .platform-cards-list {
    grid-template-columns: 1fr;
  }
  .telemetry-status-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .telemetry-regions {
    border-left: none;
    padding-left: 0;
  }
}
