/* Overview page: readable typography and a focused app-listing layout. */
@import url('styles.css');

:root {
  --ink: #102b39;
  --muted: #526779;
  --line: #e3ebef;
  --bg: #f0f5f8
}

body {
  font-size: 16px;
  line-height: 1.75
}

.container {
  width: min(1280px, calc(100% - 64px))
}

.header-inner {
  height: 90px;
  gap: 28px
}

.brand img {
  width: 120px;
  height: 60px
}

.brand>span {
  font-size: 11px;
  max-width: 85px
}

#main-nav {
  gap: 25px
}

#main-nav a {
  font-size: 15px
}

.header-help {
  font-size: 14px;
  padding: 8px 14px
}

.hero {
  background: radial-gradient(ellipse at 85% 35%, #e1f0ec, transparent 55%), linear-gradient(115deg, #f7fbfd, #edf4f8);
  padding-bottom: 30px
}

.breadcrumbs {
  font-size: 14px;
  padding: 23px 0
}

.hero-grid {
  min-height: 340px;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px
}

h1 {
  font-size: 52px;
  letter-spacing: -1.8px;
  margin: 12px 0
}

h1 span {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.7px
}

.hero-description {
  font-size: 21px;
  line-height: 1.5;
  margin: 13px 0
}

.intro {
  font-size: 16px;
  max-width: 670px;
  line-height: 1.75
}

.tags span {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px
}

.hero-actions {
  gap: 24px
}

.button {
  font-size: 16px;
  padding: 12px 21px
}

.text-link {
  font-size: 16px
}

.art-label {
  font-size: 12px
}

.art-caption {
  font-size: 13px
}

.floating-label {
  font-size: 14px;
  padding: 13px 18px
}

.floating-label small {
  font-size: 12px
}

.stats {
  padding: 23px 8px
}

.stats>div {
  padding: 0 24px;
  gap: 16px
}

.stats p {
  font-size: 14px
}

.stats strong {
  font-size: 17px
}

.stats small {
  font-size: 12px
}

.stat-icon {
  font-size: 30px
}

.section-nav nav {
  gap: 32px
}

.section-nav a {
  font-size: 16px;
  padding: 18px 0
}

.section-nav {
  box-shadow: 0 3px 14px #18384804
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  padding-top: 26px;
  align-items: start
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.card {
  padding: 28px;
  border-radius: 13px;
  border: 1px solid #e9eff2;
  box-shadow: 0 4px 20px #203e5103;
  margin: 0
}

.section-heading {
  gap: 12px;
  margin-bottom: 18px;
  align-items: center
}

.section-heading h2 {
  font-size: 24px;
  letter-spacing: -.6px
}

.section-icon {
  font-size: 25px;
  min-width: 22px
}

.small-link {
  font-size: 14px
}

.card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 17px
}

.card p:last-child {
  margin-bottom: 0
}

.card .caption {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  color: var(--muted)
}

aside {
  position: sticky;
  top: 24px
}

aside .card {
  padding: 25px
}

aside .section-heading h2 {
  font-size: 22px
}

aside .detail-row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 15px;
  padding: 12px 0
}

aside dd {
  font-weight: 600
}

aside .data-note {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 20px;
  padding: 14px;
  background: #f2f7f7
}

aside .details-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 15px;
  color: var(--teal);
  font-weight: 600
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.screenshot {
  margin: 0;
  text-align: center
}

.screenshot-placeholder {
  aspect-ratio: 3/4.2;
  border: 1px dashed #bcced7;
  background: linear-gradient(145deg, #f2f7f9, #eaf1f5);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #647f8c
}

.screenshot-placeholder .screen-outline {
  width: 48px;
  height: 76px;
  border: 2px solid #91a9b3;
  border-radius: 9px;
  position: relative;
  background: #ffffff70
}

.screen-outline:after {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 12px;
  height: 3px;
  background: #91a9b3;
  border-radius: 3px;
  left: 16px
}

.screenshot-placeholder strong {
  font-size: 15px;
  font-weight: 500
}

.screenshot-placeholder small {
  font-size: 14px
}

.screenshot figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px
}

.section-kicker {
  font-size: 13px;
  font-weight: 500;
  color: #577983;
  padding: 5px 10px;
  background: #eef5f6;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap
}

.game-grid {
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.game-category {
  padding: 18px 8px;
  border-radius: 10px
}

.game-category strong {
  font-size: 16px
}

.game-category small {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px
}

.game-symbol {
  height: 75px
}

.feature-row {
  padding: 20px 0;
  gap: 17px
}

.feature-number {
  font-size: 14px;
  min-width: 36px;
  height: 36px;
  border-radius: 8px
}

.feature-row h3 {
  font-size: 17px;
  margin-bottom: 7px
}

.feature-row p {
  font-size: 16px;
  line-height: 1.75
}

summary {
  font-size: 16px;
  padding: 18px 30px 18px 0;
  line-height: 1.6
}

summary:after {
  font-size: 23px;
  top: 12px
}

details p {
  padding: 0 15px 16px 0
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px
}

.resource {
  padding: 19px 0;
  align-items: center
}

.resource:last-child {
  padding-bottom: 18px
}

.resource-icon {
  width: 42px;
  height: 44px;
  font-size: 24px;
  border-radius: 9px
}

.resource h3 {
  font-size: 16px
}

.resource p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0
}

.resource .arrow {
  font-size: 22px
}

.extended-details summary {
  padding: 0 28px 0 0;
  font-size: 23px;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800
}

.extended-details summary:after {
  top: 0
}

.extended-details dl {
  margin-top: 20px
}

.extended-details .detail-row {
  font-size: 16px;
  padding: 12px 0;
  grid-template-columns: 1fr 1.4fr
}

.checksum {
  margin-top: 10px
}

.checksum summary {
  font-size: 15px;
  padding: 14px 30px 8px 0
}

.checksum code {
  font-size: 14px;
  line-height: 1.8
}

.rating-summary {
  gap: 28px;
  padding: 24px
}

.rating-summary strong {
  font-size: 48px
}

.rating-summary strong span {
  font-size: 21px
}

.rating-summary small {
  font-size: 14px;
  line-height: 1.6;
  display: block
}

.rating-summary p {
  font-size: 15px
}

.rating-summary p small {
  font-size: 13px
}

.review-controls {
  gap: 18px
}

.review-controls label {
  font-size: 14px
}

.review-controls select {
  font-size: 16px;
  padding: 11px 12px
}

.review {
  padding: 25px 0
}

.review-header {
  gap: 12px;
  margin-bottom: 14px
}

.avatar {
  width: 42px;
  height: 42px;
  font-size: 14px
}

.review-user {
  font-size: 16px
}

.review-date {
  font-size: 14px
}

.review-header .stars {
  font-size: 17px
}

.review h3 {
  font-size: 18px
}

.review p {
  font-size: 16px
}

.review-tag {
  font-size: 13px;
  padding: 5px 9px
}

.outline-button {
  font-size: 16px;
  padding: 13px;
  cursor: pointer
}

.footer-top {
  padding: 30px 0
}

.footer-top p {
  font-size: 16px
}

.footer-top .brand>span {
  max-width: 140px
}

.footer-bottom {
  font-size: 14px;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0
}

.footer-bottom nav {
  gap: 22px
}

.footer-bottom a:hover {
  color: var(--teal)
}

@media(min-width:1450px) {
  .container {
    width: min(1320px, calc(100% - 80px))
  }

  .hero-grid {
    min-height: 370px
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 360px
  }
}

@media(max-width:1100px) {
  .container {
    width: calc(100% - 40px)
  }

  .header-inner {
    gap: 16px
  }

  #main-nav {
    gap: 17px
  }

  #main-nav a {
    font-size: 14px
  }

  .header-help {
    display: none
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 20px
  }

  .card {
    padding: 24px
  }

  .section-heading h2 {
    font-size: 22px
  }

  .small-link {
    font-size: 14px
  }

  .stats>div {
    padding: 0 14px
  }

  .hero-grid {
    gap: 24px
  }

  .hero-grid h1 {
    font-size: 46px
  }

  .hero-grid h1 span {
    font-size: 25px
  }

  .product-art {
    min-height: 340px
  }

  .floating-label {
    right: -8px
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .resource-grid {
    grid-template-columns: 1fr
  }

  .screenshots-grid {
    gap: 10px
  }

  .screenshot-placeholder {
    padding: 10px
  }

  .screenshot-placeholder strong {
    font-size: 14px
  }

  .screenshot-placeholder small {
    display: none
  }

  .section-nav nav {
    gap: 25px
  }

  .rating-summary {
    flex-wrap: wrap
  }

  .section-heading {
    flex-wrap: wrap
  }
}

@media(max-width:800px) {
  .container {
    width: calc(100% - 32px)
  }

  .header-inner {
    height: auto;
    padding-top: 12px;
    gap: 0;
    min-height: 75px
  }

  .brand img {
    width: 100px;
    height: 50px
  }

  .brand>span {
    font-size: 11px
  }

  #main-nav {
    height: 54px;
    gap: 24px
  }

  #main-nav a {
    font-size: 15px
  }

  .header-help {
    display: block;
    font-size: 14px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .hero-grid h1 {
    font-size: 43px
  }

  .hero-grid h1 span {
    font-size: 25px
  }

  .hero-description {
    font-size: 20px
  }

  .intro {
    font-size: 16px
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px
  }

  .button,
  .text-link {
    font-size: 16px
  }

  .product-art {
    min-height: 280px;
    max-width: 380px;
    margin: 0 auto 15px
  }

  .app-tile {
    width: 180px;
    height: 180px
  }

  .app-tile img {
    width: 165px
  }

  .orbit-one {
    width: 240px;
    height: 240px
  }

  .orbit-two {
    width: 320px;
    height: 210px
  }

  .floating-label {
    font-size: 13px;
    right: 0;
    bottom: 28px
  }

  .floating-label small {
    font-size: 12px
  }

  .art-caption {
    font-size: 12px;
    bottom: -5px
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0
  }

  .stats>div {
    padding: 0 12px
  }

  .stats p {
    font-size: 14px
  }

  .stats strong {
    font-size: 16px
  }

  .stats small {
    font-size: 12px
  }

  .section-nav a {
    font-size: 16px
  }

  .content-layout {
    display: flex;
    flex-direction: column;
    gap: 20px
  }

  .main-column {
    display: contents
  }

  #about {
    order: 0
  }

  #screenshots {
    order: 1
  }

  aside {
    order: 2;
    position: static;
    width: 100%;
    display: block
  }

  #collection {
    order: 3
  }

  #features {
    order: 4
  }

  #more-resources {
    order: 5
  }

  #technical-details {
    order: 6
  }

  #faq {
    order: 7
  }

  #reviews {
    order: 8
  }

  .content-layout>.card,
  .main-column>.card {
    width: 100%;
    margin: 0
  }

  .card {
    padding: 23px
  }

  .section-heading h2 {
    font-size: 23px
  }

  .section-kicker {
    font-size: 12px
  }

  .screenshots-grid {
    gap: 12px
  }

  .screenshot-placeholder {
    aspect-ratio: 3/4.5;
    gap: 10px
  }

  .screenshot-placeholder strong {
    font-size: 14px
  }

  .screenshot figcaption {
    font-size: 14px;
    line-height: 1.5
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .game-category strong {
    font-size: 16px
  }

  .game-category small {
    font-size: 14px
  }

  .game-symbol {
    font-size: 50px;
    height: 70px
  }

  .fishing .game-symbol,
  .arcade .game-symbol {
    font-size: 65px
  }

  .extended-details .detail-row {
    font-size: 15px;
    grid-template-columns: 1fr 1fr
  }

  .extended-details summary {
    font-size: 21px
  }

  .review-header .stars {
    font-size: 15px;
    white-space: nowrap
  }

  .review-date {
    font-size: 13px
  }

  .review-user {
    font-size: 15px
  }

  .rating-summary {
    gap: 18px;
    flex-wrap: wrap
  }

  .rating-summary p {
    font-size: 15px
  }

  .rating-summary p small {
    font-size: 13px
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 22px
  }

  .footer-top p {
    font-size: 15px
  }

  .footer-bottom {
    font-size: 14px
  }

  .footer-bottom nav {
    gap: 14px 22px
  }

  .resource-grid {
    grid-template-columns: 1fr
  }

  .card p {
    font-size: 16px
  }
}

@media(max-width:420px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .screenshot-placeholder {
    aspect-ratio: auto;
    min-height: 240px
  }

  .screenshot-placeholder small {
    display: block
  }

  .screenshot-placeholder strong {
    font-size: 16px
  }

  .review-controls {
    flex-direction: column
  }

  .hero-grid h1 span {
    font-size: 23px
  }

  .header-help {
    font-size: 13px;
    padding: 7px 10px
  }

  .header-help span {
    margin-left: 6px
  }

  .rating-summary strong {
    font-size: 44px
  }

  .section-kicker {
    margin-left: 0
  }

  .footer-bottom nav {
    flex-direction: column;
    gap: 12px
  }
}
