:root {
  --bg: #f4f0e8;
  --card: #fffdf8;
  --text: #151515;
  --muted: #66625d;
  --line: #d8d0c4;
  --green: #174c3a;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ========================
   GAME CONTAINER
======================== */

.aom-container {
  width: min(
    var(--max),
    calc(100% - 48px)
  );

  margin: 0 auto;
}


/* ========================
   GAME PAGE LAYOUT
======================== */

.game-page {
  padding: 42px 0 60px;
}

.game-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    300px;

  gap: 30px;

  align-items: start;
}

.game-main {
  min-width: 0;
}


/* ========================
   SIDEBAR
======================== */

.game-sidebar {
  display: flex;
  flex-direction: column;

  gap: 20px;
}

.sidebar-box {
  background: var(--card);

  border:
    1px solid var(--line);

  border-radius: 18px;

  padding: 18px;
}

.sidebar-label {
  margin-bottom: 12px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 850;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* ========================
   ADVERTISEMENT
======================== */

.ad-box {
  min-height: 250px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  color: var(--muted);

  font-size: 11px;

  background:
    rgba(0,0,0,0.025);
}


/* ========================
   SUGGESTED GAMES
======================== */

.suggested-games {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.suggested-game {
  display: block;

  overflow: hidden;

  border:
    1px solid var(--line);

  border-radius: 12px;

  background: var(--bg);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.suggested-game:hover {
  transform: translateY(-2px);

  border-color: var(--green);
}

.suggested-game-title {
  font-size: 13px;
  font-weight: 850;

  line-height: 1.25;
}

.suggested-game-type {
  margin-top: 5px;

  color: var(--green);

  font-size: 9px;
  font-weight: 850;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


/* ========================
   SUPPORT
======================== */

.support-box {
  font-size: 12px;

  line-height: 1.5;

  color: var(--muted);
}

.support-box strong {
  display: block;

  margin-bottom: 5px;

  color: var(--text);

  font-size: 13px;
}


/* ========================
   TABLET
======================== */

@media (max-width: 980px) {

  .game-layout {
    grid-template-columns: 1fr;
  }

  .game-sidebar {
    display: grid;

    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* ========================
   MOBILE
======================== */

@media (max-width: 720px) {

  .aom-container {
    width:
      calc(100% - 28px);
  }

  .game-page {
    padding:
      24px 0 36px;
  }

  .game-sidebar {
    grid-template-columns: 1fr;
  }

}
