* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-width: 990px;
}

body {
  background:
    linear-gradient(to bottom, #2782e9 0, #5eb2ed 25%, #dfe7eb 70%, #71828d 100%);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

a {
  color: #0000ee;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: 870px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: relative;
  height: 188px;
  overflow: hidden;
}

.header-art {
  position: absolute;
  left: 40px;
  top: 50px;
  width: 820px;
  height: 140px;
  background: url("images/header-art.png") center center / 820px 140px no-repeat;
}

.login-button,
.play-now {
  position: absolute;
  top: 88px;
  z-index: 3;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px #345;
  font-weight: bold;
  cursor: pointer;
}

.login-button {
  left: 3px;
  width: 66px;
  height: 31px;
  color: #fff;
  background: linear-gradient(#58a5eb, #0875cf);
  border-color: #d7e7f5;
  font-size: 11px;
}

.play-now {
  right: 28px;
  width: 134px;
  height: 34px;
  color: #fff;
  background: linear-gradient(#80d348, #278d1a);
  border-color: #174f11;
  font-size: 16px;
  text-shadow: 0 1px #3c741f;
}

.report-top {
  position: absolute;
  left: 413px;
  top: 86px;
  font-size: 10px;
  z-index: 4;
}

/* NAVIGATION */
.main-nav {
  height: 29px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-top: 1px solid #82b7eb;
  border-bottom: 1px solid #0a4e9c;
  background: linear-gradient(#2f8be8, #1764bd);
  box-shadow: inset 0 1px rgba(255,255,255,.55);
  white-space: nowrap;
}

.main-nav a {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-right: 21px;
  text-shadow: 0 1px #1c5795;
}

.main-nav a:last-child {
  margin-right: 0;
}

.down-arrow {
  font-size: 9px;
  vertical-align: 2px;
}

.rss {
  color: #ff8c00;
  font-size: 11px;
}

/* STRIPED SHELL */
.shell {
  display: grid;
  grid-template-columns: 695px 160px;
  min-height: 1170px;
  background:
    repeating-linear-gradient(
      135deg,
      #fff 0px,
      #fff 15px,
      #e9e9e9 15px,
      #e9e9e9 30px
    );
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  padding: 12px 5px 0;
}

.content-panel {
  background: #fff;
  min-height: 1160px;
  border: 1px solid #aaa;
  position: relative;
}

.content-panel > h1 {
  height: 31px;
  margin: -1px -1px 14px;
  padding: 4px 8px;
  color: #fff;
  font-size: 20px;
  line-height: 23px;
  background: linear-gradient(#4b4b4b, #202020);
  border: 1px solid #151515;
}

/* GAME AREA */
.game-area {
  display: grid;
  grid-template-columns: 425px 245px;
  column-gap: 10px;
  padding: 0 10px;
}

.game-left {
  position: relative;
}

.game-image {
  display: block;
  width: 406px;
  height: 224px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.small-key {
  position: absolute;
  right: 8px;
  top: 235px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #555;
  color: #fff;
  text-align: center;
  line-height: 17px;
  font-size: 9px;
}

.big-play {
  margin: 32px 0 0 101px;
  width: 203px;
  height: 51px;
  border: 1px solid #0b7214;
  border-radius: 6px;
  color: white;
  background: linear-gradient(#35d73d, #008c18);
  box-shadow: inset 0 1px rgba(255,255,255,.5), 0 1px 2px #999;
  font-size: 31px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-shadow: 0 1px #31721b;
}

.play-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(#54db57, #0e8d18);
  border: 1px solid #0b6b11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.game-info {
  padding-top: 5px;
  color: #777;
  font-size: 11px;
}

.place-label {
  margin-bottom: 13px;
}

.avatar {
  display: block;
  width: 75px;
  height: 90px;
  object-fit: contain;
  margin: 0 0 5px 19px;
}

.meta {
  line-height: 16px;
  margin-bottom: 15px;
}

.meta a {
  color: #0000ee;
}

.label {
  color: #222;
  margin: 9px 0 5px;
}

.info-box {
  border: 1px solid #c7c7c7;
  background: #fff;
  padding: 7px 9px;
  color: #555;
}

.genre-box {
  height: 33px;
  padding-top: 8px;
}

.gear-box {
  line-height: 17px;
  min-height: 75px;
}

.description {
  border: 1px solid #ddd;
  padding: 7px;
  min-height: 44px;
  line-height: 16px;
  word-break: break-word;
}

.report-abuse {
  display: block;
  text-align: right;
  margin-top: 11px;
  color: #ff8888;
}

/* RECOMMENDATIONS */
.recommendations {
  margin: 198px 8px 0;
  border: 1px solid #ccc;
  min-height: 399px;
  position: relative;
  padding: 38px 7px 10px;
}

.tab-title {
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 7px 12px 5px;
  height: 30px;
  min-width: 130px;
  border: 1px solid #ccc;
  border-bottom-color: #fff;
  border-radius: 7px 7px 0 0;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.recommendations p {
  margin: 0 0 3px;
  font-size: 11px;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 43px;
  row-gap: 20px;
  padding: 0 45px;
}

.rec-card {
  display: block;
  width: 108px;
  font-size: 12px;
  line-height: 14px;
}

.rec-card img {
  width: 108px;
  height: 109px;
  display: block;
  object-fit: cover;
  margin-bottom: 2px;
}

.rec-card span {
  display: block;
}

.rec-card b {
  display: block;
  color: #111;
}

/* BOTTOM LINKS */
.bottom-links {
  margin: 54px 8px 0;
  min-height: 190px;
}

.bottom-links h2 {
  font-size: 13px;
  margin: 0 0 10px;
}

.bottom-links p {
  text-align: center;
  line-height: 15px;
  margin: 0 0 13px;
}

.genre-links a {
  margin: 0 5px;
}

/* AD COLUMN */
.ad-column {
  padding: 19px 0 0 6px;
}

.ad-box {
  height: 593px;
  border: 1px solid #444;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.85) 0px,
      rgba(255,255,255,.85) 15px,
      rgba(232,232,232,.85) 15px,
      rgba(232,232,232,.85) 30px
    );
  position: relative;
}

.ad-box a {
  position: absolute;
  bottom: 1px;
  right: 3px;
  font-size: 10px;
}

/* FOOTER */
footer {
  min-height: 265px;
  padding: 51px 60px 20px;
  text-align: center;
  background: #e5e5e5;
  border-top: 1px solid #ccc;
}

.footer-main {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-main span {
  color: #aaa;
  margin: 0 7px;
}

.footer-tags {
  font-size: 10px;
  line-height: 18px;
  margin-bottom: 27px;
}

.copyright {
  color: #666;
  font-size: 9px;
  line-height: 12px;
}

.copyright a {
  color: #0000ee;
}

/* Keep the old fixed-width appearance on small screens. */
@media (max-width: 990px) {
  html, body {
    min-width: 990px;
  }
}
