/* Compact product listing hero. H1 keeps one size throughout. */
.hero {
  padding-bottom: 22px
}

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

.hero .hero-grid {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  min-height: 0;
  gap: 26px;
  align-items: start;
  padding: 4px 0 18px
}

.hero-game-icon {
  width: 155px;
  height: 155px;
  object-fit: cover;
  border-radius: 29px;
  box-shadow: 0 8px 22px #662e861a
}

.hero .hero-copy {
  padding: 0;
  min-width: 0
}

.hero .hero-copy h1 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 12px;
  font-weight: 800
}

.hero .hero-copy h1 span {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit
}

.hero .intro {
  font-size: 16px;
  line-height: 1.65;
  max-width: 940px;
  margin-bottom: 14px
}

.hero .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.hero .tags>span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #684d9e;
  background: #eee7fc;
  border: 1px solid #dfd1fb;
  border-radius: 22px;
  padding: 7px 13px
}

.hero .tags .icon {
  width: 16px;
  height: 16px
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 17px 0 0
}

.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 8px;
  font-weight: 600
}

.platform-button .icon {
  width: 20px;
  height: 20px
}

.platform-button.android {
  background: #6035ce;
  color: #fff;
  border: 1px solid #6035ce;
  box-shadow: 0 4px 10px #6035ce15
}

.platform-button.android:hover {
  background: #4f25b8
}

.platform-button.ios {
  background: #fff;
  color: #50309d;
  border: 1px solid #bda8e7
}

.platform-button.ios:hover {
  background: #f6f1ff;
  border-color: #805ac5
}

.hero .stats {
  margin-top: 0;
  padding: 16px 8px
}

.hero .stats p {
  font-size: 14px
}

.hero .stats strong {
  font-size: 16px
}

.hero .stat-icon {
  height: 40px;
  width: 40px
}

.brand>span {
  display: none
}

.brand img {
  mix-blend-mode: normal;
  background: transparent;
  width: 126px;
  height: 56px;
  object-fit: contain
}

.header-inner {
  height: 78px
}

.footer-top .brand img {
  width: 140px;
  height: 62px
}

@media(min-width:1450px) {
  .hero .hero-grid {
    min-height: 0
  }

  .hero .hero-copy h1 {
    font-size: 38px
  }
}

@media(max-width:1100px) {
  .hero .hero-grid {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 23px
  }

  .hero-game-icon {
    width: 135px;
    height: 135px;
    border-radius: 25px
  }

  .hero .hero-copy h1 {
    font-size: 32px
  }

  .hero .intro {
    font-size: 16px
  }

  .hero .hero-actions {
    gap: 10px
  }

  .platform-button {
    font-size: 15px;
    padding: 10px 15px
  }
}

@media(max-width:800px) {
  .header-inner {
    height: auto
  }

  .hero .hero-grid {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 20px
  }

  .hero-game-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px
  }

  .hero .hero-copy h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px
  }

  .hero .hero-copy h1 span {
    font-size: inherit
  }

  .hero .intro {
    font-size: 16px
  }

  .hero .hero-actions {
    gap: 10px;
    margin-top: 16px
  }

  .platform-button {
    font-size: 15px;
    min-height: 46px
  }

  .hero .tags>span {
    font-size: 14px;
    padding: 6px 10px
  }

  .hero .stats {
    padding: 17px 4px
  }

  .brand img {
    width: 110px;
    height: 51px
  }
}

@media(max-width:550px) {
  .hero .hero-grid {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 15px
  }

  .hero-game-icon {
    width: 78px;
    height: 78px;
    border-radius: 17px
  }

  .hero .hero-copy {
    display: contents
  }

  .hero .hero-copy h1 {
    grid-column: 2;
    font-size: 27px;
    align-self: center;
    margin: 0
  }

  .hero .intro,
  .hero .tags,
  .hero .hero-actions {
    grid-column: 1/-1
  }

  .hero .intro {
    margin: 0
  }

  .hero .hero-actions {
    margin: 2px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .platform-button {
    font-size: 14px;
    gap: 7px;
    padding: 10px
  }

  .platform-button .icon {
    width: 18px;
    height: 18px
  }

  .hero .stats strong {
    font-size: 15px
  }
}

.hero .hero-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 480px)
}

.platform-button {
  width: 100%;
  height: 48px;
  white-space: nowrap
}

.hero .tags>span>[data-icon] {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none
}

.header-search {
  position: relative;
  flex: 0 1 260px;
  min-width: 210px;
  margin-left: auto
}

.search-field {
  display: flex;
  align-items: center;
  background: #f2f3f9;
  border: 1px solid #e6e4ef;
  border-radius: 24px;
  overflow: hidden
}

.search-field:focus-within {
  border-color: #9976d8;
  box-shadow: 0 0 0 3px #7946de12
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 11px 14px 11px 0;
  font: inherit;
  font-size: 14px;
  color: var(--ink)
}

.search-field input::placeholder {
  color: #69728a;
  opacity: 1
}

.search-submit {
  border: 0;
  background: transparent;
  color: #65528a;
  padding: 11px 12px;
  display: grid;
  place-items: center;
  cursor: pointer
}

.search-submit .icon {
  width: 19px;
  height: 19px
}

.search-results {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 350px;
  max-width: calc(100vw - 32px);
  max-height: 420px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e1d8f0;
  border-radius: 12px;
  box-shadow: 0 15px 40px #291d4a24;
  padding: 10px;
  z-index: 30
}

.search-results[hidden] {
  display: none
}

.search-results .search-status {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding: 8px 10px
}

.search-results a {
  display: block;
  padding: 10px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 1.5
}

.search-results a:hover,
.search-results a:focus-visible {
  background: #f2ecfc;
  color: #6035ce
}

#main-nav {
  gap: 21px
}

.header-inner {
  gap: 22px
}

@media(min-width:801px) and (max-width:1150px) {
  .header-inner {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 8px 20px
  }

  #main-nav {
    order: 3;
    flex: 1 0 100%;
    height: 48px;
    justify-content: center;
    gap: 25px
  }

  #main-nav a.active:after {
    bottom: 0
  }

  .header-search {
    flex-basis: 280px
  }
}

@media(max-width:800px) {
  .header-search {
    flex: 0 1 260px;
    min-width: 180px;
    max-width: calc(100% - 130px)
  }

  .header-inner {
    gap: 8px 14px
  }

  .search-field input {
    font-size: 14px
  }

  #main-nav {
    gap: 24px
  }
}

@media(max-width:550px) {
  .hero .hero-actions {
    width: 100%
  }

  .platform-button {
    font-size: 14px;
    padding: 10px 7px
  }

  .header-search {
    min-width: 0;
    max-width: calc(100% - 120px)
  }

  .search-field input {
    padding-right: 10px;
    font-size: 13px
  }

  .search-submit {
    padding: 10px 8px
  }

  .search-submit .icon {
    width: 17px;
    height: 17px
  }
}

/* Consistent introductory typography across app pages. */
.hero .intro {
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .05px;
  color: #4d4268
}

@media(max-width:800px) {
  .hero .intro {
    font-size: 16px;
    line-height: 1.8
  }
}
