
:root {
  --bg: #1b2838;
  --bg-dark: #171a21;
  --panel: #16202d;
  --panel-2: #243648;
  --panel-3: #2a475e;
  --text: #c7d5e0;
  --muted: #8f98a0;
  --blue: #66c0f4;
  --blue-2: #1a9fff;
  --green: #75b022;
  --green-hover: #8ed629;
  --divider: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 190px, rgba(64,105,139,.42), transparent 520px),
    linear-gradient(#1b2b3c 0, #1b2838 420px, #192536 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; }

.topbar {
  height: 66px;
  background: #171a21;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.topbar-inner {
  max-width: 1150px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.brand-ish {
  color: #7eb7dc;
  font-size: .65em;
  font-weight: 400;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  gap: 22px;
  text-transform: uppercase;
  font-size: 17px;
}

.main-nav a { color: #d6d7d8; }
.main-nav a.active {
  color: #1a9fff;
  border-bottom: 3px solid #1a9fff;
  padding-bottom: 3px;
}

.account {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
  background: #273b4d;
  padding: 7px 10px;
  font-size: 12px;
}

.subnav-wrap {
  padding-top: 34px;
}

.subnav {
  max-width: 1090px;
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #3b6e95, #284d70);
  box-shadow: 0 0 4px rgba(0,0,0,.3);
}

.subnav > a {
  color: #fff;
  padding: 11px 14px;
  font-size: 13px;
}

.subnav > a:hover { background: rgba(0,0,0,.16); }

.search {
  margin-left: auto;
  display: flex;
  height: 30px;
  margin-right: 5px;
  min-width: 330px;
}

.search input {
  width: 100%;
  border: 1px solid #0e2840;
  background: #20384c;
  color: #d6e7f4;
  padding: 0 12px;
  font-style: italic;
  outline: none;
}

.search button {
  width: 38px;
  border: 0;
  background: #67b6e8;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.page {
  max-width: 1090px;
  margin: 16px auto 60px;
}

.breadcrumbs {
  display: flex;
  gap: 6px;
  color: #71899d;
  font-size: 12px;
  margin: 10px 0 6px;
}

.breadcrumbs a { color: #71899d; }

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1 {
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin: 5px 0 10px;
}

.community-button,
.secondary-button {
  background: linear-gradient(#315675, #25445f);
  color: #67c1f5;
  padding: 9px 14px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.community-button:hover,
.secondary-button:hover {
  background: linear-gradient(#41789e, #315e80);
}

.hero-card {
  background: rgba(0,0,0,.25);
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(300px, 1fr);
  gap: 16px;
  padding: 0;
  box-shadow: 0 0 12px rgba(0,0,0,.28);
}

.gallery { min-width: 0; }

.main-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1117;
  overflow: hidden;
}

.main-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 72px;
  border: 0;
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.7);
  font-size: 46px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, background .15s;
}

.main-media:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: rgba(0,0,0,.55); color: #fff; }
.gallery-arrow-left { left: 0; }
.gallery-arrow-right { right: 0; }

.thumb-strip {
  display: flex;
  gap: 5px;
  padding-top: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.thumb {
  width: 130px;
  min-width: 130px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 3px solid transparent;
  background: #111;
  cursor: pointer;
  opacity: .72;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover { opacity: 1; }
.thumb.active {
  border-color: #fff;
  opacity: 1;
}

.game-summary {
  padding: 0 0 12px;
}

.capsule {
  width: 100%;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  display: block;
  background: #101820;
}

.short-description {
  color: #c6d4df;
  line-height: 1.4;
  margin: 14px 0 18px;
  padding-right: 10px;
}

.meta {
  margin: 0 0 20px;
  padding-right: 10px;
}

.meta > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  margin-bottom: 5px;
}

.meta dt {
  color: #556772;
  font-size: 11px;
}

.meta dd {
  margin: 0;
  font-size: 12px;
}

.tags-title {
  color: #536b7d;
  font-size: 11px;
  margin-bottom: 7px;
}

.tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding-right: 10px;
}

.tags a {
  background: rgba(103,193,245,.16);
  color: #67c1f5;
  padding: 4px 7px;
  border-radius: 2px;
  font-size: 11px;
}

.tags a:hover { background: #67c1f5; color: #fff; }

.under-hero {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 28px;
}

.action-buttons {
  display: flex;
  gap: 7px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 355px;
  gap: 20px;
}

.purchase-box {
  position: relative;
  background: linear-gradient(90deg, rgba(56,80,101,.95), rgba(72,94,113,.95));
  margin-bottom: 28px;
  padding: 17px 18px 22px;
  min-height: 98px;
}

.purchase-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.purchase-heading h2,
.section-box h2 {
  margin: 0;
  color: #fff;
  font-weight: 400;
  font-size: 22px;
}

.platforms {
  font-size: 22px;
  color: #fff;
}

.purchase-subline {
  color: #8bc53f;
  margin: 6px 0 0;
}

.buy-panel {
  position: absolute;
  right: 16px;
  bottom: -18px;
  display: flex;
  align-items: center;
  height: 40px;
  background: #111;
  padding-left: 10px;
}

.discount {
  background: #4c6b22;
  color: #a4d007;
  padding: 11px 10px;
  margin-left: -10px;
}

.old-price {
  color: #738895;
  text-decoration: line-through;
  font-size: 12px;
  padding-left: 12px;
}

.price {
  color: #c7d5e0;
  padding: 0 10px;
}

.buy-button {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 17px;
  margin: 3px;
  background: linear-gradient(#75b022, #588a1b);
  color: #d2efa9;
  font-size: 15px;
  border-radius: 2px;
}

.buy-button:hover {
  background: linear-gradient(#8ed629, #6aa621);
  color: #fff;
}

.section-box {
  margin-bottom: 25px;
}

.section-box h2 {
  font-size: 17px;
  margin-top: 10px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, #67c1f5, transparent);
  margin: 6px 0 12px;
}

.section-box p,
.section-box li {
  color: #acb2b8;
  line-height: 1.55;
}

.section-box h3 {
  color: #d6d7d8;
  font-size: 13px;
  font-weight: 400;
}

.wide-art {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  background: #111;
  display: block;
}

.requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.requirements p {
  margin: 5px 0;
  font-size: 12px;
}

.side-box {
  background: rgba(0,0,0,.25);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.side-box h3 {
  margin: 0 0 10px;
  font-weight: 400;
  color: #fff;
}

.feature-list {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.feature-list a {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: rgba(42,71,94,.45);
}

.feature-list a:last-child { border-bottom: 0; }

.side-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.side-box th,
.side-box td {
  padding: 5px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.side-box td:first-child {
  text-align: left;
}

.rating-label {
  color: #82919b;
  font-size: 11px;
}

.fake-rating {
  display: inline-block;
  margin: 8px 0;
  padding: 7px 11px;
  background: #ef6e24;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.ratings-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #9ba7ae;
}

footer {
  background: #171a21;
  color: #6d7880;
  padding: 28px 20px 44px;
  font-size: 11px;
}

footer > div {
  max-width: 1090px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .topbar-inner { gap: 14px; }
  .main-nav { display: none; }
  .subnav-wrap { padding-top: 0; }
  .subnav { margin: 0; overflow-x: auto; }
  .subnav > a { white-space: nowrap; }
  .search { min-width: 230px; }
  .page { margin: 12px 12px 50px; }
  .hero-card { grid-template-columns: 1fr; }
  .game-summary { padding: 0 12px 12px; }
  .capsule { max-width: 460px; }
  .content-grid { grid-template-columns: 1fr; }
  .right-column { order: -1; }
}

@media (max-width: 620px) {
  .brand { font-size: 18px; }
  .account { display: none; }
  .subnav > a { display: none; }
  .search { width: 100%; min-width: 0; margin: 5px; }
  .under-hero { flex-direction: column; gap: 10px; }
  .action-buttons { flex-wrap: wrap; }
  .requirements { grid-template-columns: 1fr; }
  .purchase-box { padding-bottom: 62px; }
  .buy-panel {
    left: 12px;
    right: auto;
    max-width: calc(100% - 24px);
  }
}
