/* Google Play Store — Vita Mahjong landing clone */
:root {
  --gp-green: #01875f;
  --gp-green-hover: #056449;
  --gp-text: #202124;
  --gp-text-secondary: #5f6368;
  --gp-border: #dadce0;
  --gp-bg: #ffffff;
  --gp-surface: #f8f9fa;
  --gp-star: #01875f;
  --gp-link: #01875f;
  --gp-max: 1260px;
  --gp-content: 960px;
  --gp-font: Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--gp-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gp-text);
  background: var(--gp-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gp-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Header */
.gp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gp-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gp-header.gp-header--scrolled {
  border-bottom-color: var(--gp-border);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.gp-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--gp-max);
  margin: 0 auto;
  padding: 8px 24px;
  height: 64px;
}

.gp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.gp-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.gp-logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 183px;
}

@media (min-width: 600px) {
  .gp-logo__img {
    height: 39px;
  }
}

.gp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-text-secondary);
  transition: background 0.15s;
}

.gp-icon-btn:hover {
  background: var(--gp-surface);
}

.gp-icon-btn .material-symbols-outlined {
  font-size: 24px;
}

.gp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8eaed;
  color: #80868b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.gp-avatar .material-symbols-outlined {
  font-size: 32px;
  line-height: 1;
}

.gp-nav {
  display: flex;
  gap: 0;
  max-width: var(--gp-max);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gp-nav::-webkit-scrollbar {
  display: none;
}

.gp-nav__item {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: var(--gp-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.gp-nav__item--active {
  color: var(--gp-green);
  border-bottom-color: var(--gp-green);
}

.gp-nav__item:hover {
  color: var(--gp-green);
  text-decoration: none;
}

/* Main layout */
.gp-page {
  max-width: var(--gp-max);
  margin: 0 auto;
  padding: 24px;
}

.gp-hero {
  margin-bottom: 8px;
}

.gp-hero__layout {
  display: block;
}

.gp-hero__icon-col {
  display: none;
}

.gp-hero__main {
  min-width: 0;
}

.gp-app-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.gp-devices-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-devices-note .material-symbols-outlined {
  font-size: 18px;
}

.gp-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20%;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

@media (min-width: 600px) {
  .gp-app-icon {
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 1024px) {
  .gp-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
    align-items: start;
  }

  .gp-hero__icon-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .gp-app-icon--inline {
    display: none;
  }

  .gp-app-icon--hero {
    width: 180px;
    height: 180px;
    border-radius: 20%;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  }

  .gp-cta-row .gp-cta-icon {
    display: none;
  }

  .gp-cta-secondary {
    display: flex;
    gap: 20px;
    margin-top: 0;
    align-items: center;
  }

  .gp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-top: 24px;
  }

  .gp-hero {
    margin-bottom: 24px;
  }

  .gp-stats {
    margin-top: 24px;
  }
}

.gp-app-support summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.gp-app-support summary::-webkit-details-marker {
  display: none;
}

.gp-app-title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

@media (min-width: 600px) {
  .gp-app-title {
    font-size: 45px;
    line-height: 52px;
  }
}

@media (min-width: 1280px) {
  .gp-app-title {
    font-size: 57px;
    font-weight: 400;
    line-height: 64px;
  }
}

.gp-developer {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.gp-meta-line {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

/* Stats — desktop Play: 2 columns, left-aligned */
.gp-stats {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
  gap: 0;
}

.gp-stat {
  flex: 0 0 auto;
  text-align: left;
  padding: 0 24px 0 0;
  position: relative;
}

.gp-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: var(--gp-border);
}

.gp-stat:last-child {
  padding-left: 24px;
  padding-right: 0;
}

.gp-stat--hidden-mobile {
  display: none;
}

.gp-stat__value {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}

.gp-stat__value .star {
  color: var(--gp-star);
  font-size: 12px;
}

.gp-stat__label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--gp-text-secondary);
  margin-top: 2px;
}

.gp-iarc {
  width: 28px;
  height: 28px;
  margin: 0 auto 2px;
}

/* CTA — Install + icon buttons in one row (desktop Play) */
.gp-cta {
  margin-top: 24px;
}

.gp-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gp-btn-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 32px;
  background: var(--gp-green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}

.gp-btn-install:hover {
  background: var(--gp-green-hover);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gp-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-green);
  transition: background 0.15s;
}

.gp-cta-icon:hover {
  background: var(--gp-surface);
}

.gp-cta-icon--muted {
  color: var(--gp-text-secondary);
}

.gp-cta-icon .material-symbols-outlined {
  font-size: 24px;
}

.gp-cta-secondary {
  display: none;
}

@media (max-width: 599px) {
  .gp-btn-install {
    width: 100%;
    max-width: 320px;
  }

  .gp-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gp-cta-row .gp-cta-icon {
    display: none;
  }

  .gp-cta-secondary {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
}

.gp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gp-green);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
}

.gp-cta-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

.gp-cta-link .material-symbols-outlined {
  font-size: 18px;
}

/* ESRB / content rating box */
.gp-rating-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  max-width: 480px;
  background: var(--gp-bg);
}

.gp-rating-box__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.gp-rating-box__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.gp-rating-box__sub {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--gp-text-secondary);
}

.gp-rating-box__link {
  font-size: 14px;
  font-weight: 500;
}

/* Body: main column + sidebar (desktop Play layout) */
.gp-body-layout {
  display: block;
}

.gp-body-main {
  min-width: 0;
}

.gp-body-sidebar > :not(.gp-rating-box--sidebar) {
  display: none;
}

.gp-rating-box--sidebar {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: none;
  padding: 12px 16px;
  gap: 12px;
}

@media (max-width: 1023px) {
  .gp-body-layout {
    margin-top: 8px;
  }
}

.gp-mobile-only {
  display: block;
}

@media (min-width: 1024px) {
  .gp-body-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
    align-items: start;
  }

  .gp-body-main {
    grid-column: 1;
    grid-row: 1;
  }

  .gp-body-sidebar {
    grid-column: 2;
    grid-row: 1;
    display: block;
  }

  .gp-body-sidebar > :not(.gp-rating-box--sidebar) {
    display: revert;
  }

  details.gp-app-support.gp-sidebar-block {
    display: block;
  }

  .gp-mobile-only,
  .gp-section.gp-mobile-only {
    display: none !important;
  }

  .gp-screenshots-wrap {
    margin-top: 0;
  }

}

/* Sidebar blocks */
.gp-sidebar-block {
  margin-bottom: 28px;
}

.gp-sidebar-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gp-sidebar-block__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--gp-text);
}

.gp-sidebar-block__link {
  color: var(--gp-text-secondary);
  display: flex;
  padding: 4px;
  border-radius: 50%;
}

.gp-sidebar-block__link:hover {
  background: var(--gp-surface);
  text-decoration: none;
}

.gp-sidebar-apps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-sidebar-app {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
  border-radius: 8px;
}

.gp-sidebar-app:hover {
  text-decoration: none;
  background: var(--gp-surface);
}

.gp-sidebar-app__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.gp-sidebar-app__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gp-sidebar-app__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.gp-sidebar-app__meta {
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-sidebar-block--developer .gp-dev-card {
  padding: 0;
  margin-top: 8px;
}

.gp-sidebar-block--developer .gp-sidebar-block__title {
  margin-bottom: 0;
}

details.gp-app-support.gp-sidebar-block {
  border-bottom: 1px solid var(--gp-border);
  padding-bottom: 16px;
}

details.gp-app-support.gp-sidebar-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.gp-app-support.gp-sidebar-block summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  color: var(--gp-text-secondary);
}

/* Screenshots */
.gp-screenshots-wrap {
  position: relative;
  margin: 32px -24px 0;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .gp-screenshots-wrap {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .gp-scroll-btn--prev {
    left: 0;
  }

  .gp-scroll-btn--next {
    right: 0;
  }
}

.gp-screenshots {
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gp-screenshots::-webkit-scrollbar {
  display: none;
}

.gp-screenshot {
  --slide-h: 240px;
  flex: 0 0 auto;
  width: calc(var(--slide-h) * 9 / 16);
  height: var(--slide-h);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gp-screenshot--feature {
  width: calc(var(--slide-h) * 16 / 9);
}

@media (min-width: 600px) {
  .gp-screenshot {
    --slide-h: 296px;
  }
}

.gp-screenshot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gp-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gp-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--gp-text-secondary);
  transition: opacity 0.15s, background 0.15s;
}

.gp-scroll-btn[hidden] {
  display: none;
}

.gp-scroll-btn--prev {
  left: 24px;
}

.gp-scroll-btn--next {
  right: 24px;
}

.gp-scroll-btn:hover {
  background: var(--gp-surface);
}

/* Sections */
.gp-section {
  margin-top: 32px;
  padding-top: 8px;
}

.gp-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gp-section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.gp-section__arrow {
  color: var(--gp-text-secondary);
  padding: 8px;
  border-radius: 50%;
}

.gp-section__arrow:hover {
  background: var(--gp-surface);
}

/* Description */
.gp-description {
  color: var(--gp-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: pre-line;
}

.gp-description.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-expand-btn {
  margin-top: 8px;
  color: var(--gp-green);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
}

/* Info grid */
.gp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 16px;
}

.gp-info-item__label {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-bottom: 4px;
}

.gp-info-item__value {
  font-size: 14px;
}

.gp-footnote {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-top: 8px;
}

/* Tags */
.gp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gp-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  font-size: 14px;
  color: var(--gp-text);
  text-decoration: none;
  white-space: nowrap;
}

.gp-tag:hover {
  background: var(--gp-surface);
  text-decoration: none;
}

.gp-tag--highlight {
  width: fit-content;
  max-width: 100%;
}

/* Event card */
.gp-event-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.gp-event-card:hover {
  text-decoration: none;
  opacity: 0.95;
}

.gp-event-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.gp-event-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.gp-event-card__title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Data safety */
.gp-safety-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-safety-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gp-safety-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--gp-text-secondary);
  margin-top: 2px;
}

.gp-safety-item__title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 2px;
}

.gp-safety-item__desc {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin: 0;
}

.gp-safety-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

/* Ratings */
.gp-ratings-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.gp-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-device-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-bottom: 1px solid var(--gp-border);
  margin-bottom: 16px;
  overflow: hidden;
}

@media (max-width: 480px) {
  .gp-device-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gp-device-tabs::-webkit-scrollbar {
    display: none;
  }
}

.gp-device-tab {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.gp-device-tab--active {
  color: var(--gp-green);
  border-bottom-color: var(--gp-green);
}

.gp-rating-summary {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.gp-rating-big-wrap {
  flex-shrink: 0;
}

.gp-rating-big {
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
}

.gp-rating-big__sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--gp-text-secondary);
}

.gp-rating-bars {
  flex: 1;
  max-width: 280px;
}

.gp-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-rating-bar-row span:first-child {
  width: 8px;
  text-align: right;
}

.gp-rating-bar {
  flex: 1;
  height: 8px;
  background: var(--gp-border);
  border-radius: 4px;
  overflow: hidden;
}

.gp-rating-bar__fill {
  height: 100%;
  background: var(--gp-green);
  border-radius: 4px;
}

/* Reviews */
.gp-review {
  padding: 16px 0;
  border-bottom: 1px solid var(--gp-border);
}

.gp-review:last-child {
  border-bottom: none;
}

.gp-review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.gp-review__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.gp-review__meta {
  flex: 1;
}

.gp-review__name {
  font-size: 14px;
  font-weight: 500;
}

.gp-review__date {
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-review__stars {
  color: var(--gp-star);
  font-size: 12px;
  letter-spacing: -1px;
}

.gp-review__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.gp-review__helpful {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-top: 8px;
}

.gp-review__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.gp-review__action-btn {
  padding: 6px 16px;
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  font-size: 14px;
  color: var(--gp-text);
}

.gp-review__action-btn:hover {
  background: var(--gp-surface);
}

.gp-see-all {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  padding: 10px 24px;
  margin-top: 8px;
  color: var(--gp-green);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
}

.gp-see-all:hover {
  background: var(--gp-surface);
}

/* Developer block */
.gp-dev-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}

.gp-dev-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gp-surface);
}

.gp-dev-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
}

.gp-dev-info p {
  margin: 0;
  font-size: 12px;
  color: var(--gp-text-secondary);
  line-height: 1.5;
}

/* App carousel (similar / more from dev) */
.gp-app-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.gp-app-carousel::-webkit-scrollbar {
  display: none;
}

.gp-app-card {
  flex: 0 0 140px;
  text-decoration: none;
  color: inherit;
}

.gp-app-card:hover {
  text-decoration: none;
}

.gp-app-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.gp-app-card__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-app-card__dev {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-top: 2px;
}

.gp-app-card__rating {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-top: 4px;
}

/* Footer */
.gp-footer {
  margin-top: 48px;
  padding: 24px;
  background: var(--gp-surface);
  border-top: 1px solid var(--gp-border);
}

.gp-footer__grid {
  max-width: var(--gp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}

.gp-footer__col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text);
}

.gp-footer__col a {
  display: block;
  font-size: 14px;
  color: var(--gp-text-secondary);
  padding: 4px 0;
  text-decoration: none;
}

.gp-footer__col a:hover {
  color: var(--gp-text);
}

.gp-footer__bottom {
  max-width: var(--gp-max);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-footer__bottom a {
  color: var(--gp-text-secondary);
}

.gp-content-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}


.gp-content-rating-badge img {
  width: 32px;
  height: 32px;
}

.gp-content-rating-badge span {
  font-size: 12px;
  color: var(--gp-text-secondary);
}

@media (min-width: 1024px) {
  .gp-page {
    padding: 16px 24px 32px;
  }

  .gp-header__top,
  .gp-nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gp-main-content .gp-section:first-child {
    margin-top: 24px;
  }

  .gp-main-content .gp-content-rating-badge {
    display: none;
  }

  .gp-app-carousel {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
