/*
=========================================================
AMD DRIVER HUB — SINGLE GAME
Hero full width (replaces hub hero); below: box with badges, driver link, selector
=========================================================
*/

.amd-single-game {
  width: 100%;
  max-width: none;
  padding: 0;
}

.rdh-single-inner {
  width: 100%;
  max-width: var(--rdh-container, 1200px);
  margin-inline: auto;
  padding-inline: var(--rdh-gap, 24px);
  box-sizing: border-box;
}

.rdh-single-inner:first-of-type {
  padding-top: 24px;
  padding-bottom: 0;
}

.rdh-single-inner:last-of-type {
  padding-top: 0;
  padding-bottom: 48px;
}

/* Hero: full width, height limited (same as hub) */
.amd-single-game .hub-hero-dynamic {
  margin: 0 0 32px 0;
  min-height: 280px;
  max-height: 50vh;
}

/* Driver box: card with badges, selector, link to tested driver */
.amd-single-game .driver-data {
  background: var(--rdh-card-bg, linear-gradient(180deg, #141b24, #0c1117));
  border: var(--rdh-border, 1px solid rgba(255,255,255,.06));
  border-radius: var(--rdh-radius, 18px);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.amd-single-game .gpu-selector {
  margin-bottom: 20px;
}

.amd-single-game .gpu-selector label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #9aa4b2);
  margin-bottom: 8px;
}

.amd-single-game .driver-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.amd-single-game .summary-item {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.amd-single-game .summary-item.good { background: rgba(34, 197, 94, .15); color: #86efac; }
.amd-single-game .summary-item.ok   { background: rgba(234, 179, 8, .15);  color: #fde047; }
.amd-single-game .summary-item.bad  { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.amd-single-game .summary-item.neutral { background: rgba(255,255,255,.06); }

/* Back to hub */
.rdh-back-hub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #f3f6fb);
  background: rgba(255,255,255,.08);
  border: var(--rdh-border, 1px solid rgba(255,255,255,.06));
  border-radius: var(--rdh-radius-sm, 12px);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.rdh-back-hub:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--rdh-accent, #dc2626);
  color: inherit;
}

.amd-single-game .hub-container {
  max-width: none;
  padding-inline: 0;
}
