﻿/* 1:1 tuned against googleplay.5x.game/normal/ computed styles (500px shell, rem≈50px) */
:root {
  --gp-green: #01875f;
  --gp-dark: #202124;
  --gp-title: #e8eaed;
  --gp-muted: #9aa0a6;
  --gp-text: #3c4043;
  --gp-line: #eef0f2;
  --gp-line-dark: #35383b;
  --gp-yellow: #ffe336;
  --gp-white: #ffffff;
  --gp-max: 500px;
}

html.gp5x-html,
body.gp5x-download-page {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--gp-green) !important;
  color: var(--gp-text);
  font-family: Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.428;
}

body.gp5x-download-page .elementor-section,
body.gp5x-download-page .elementor-container,
body.gp5x-download-page .elementor-widget-wrap,
body.gp5x-download-page .elementor-widget,
body.gp5x-download-page .elementor-widget-container,
body.gp5x-download-page .elementor-shortcode {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.gp5x-download-page .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: none !important;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.gp-shell {
  max-width: var(--gp-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--gp-white);
  position: relative;
  padding-bottom: 66px;
  overflow-x: hidden;
}

.gp-topbar {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e3e4e7;
  position: sticky;
  top: 0;
  z-index: 15;
}

.gp-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gp-topbar-logo,
.gp-topbar-logo-svg {
  width: 98px;
  height: 28px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.gp-topbar-title {
  font-size: 22px;
  font-weight: 500;
  color: #5f6368;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Hero (dark) ===== */
.gp-hero {
  background: var(--gp-dark);
  color: var(--gp-muted);
}

.gp-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  z-index: 1;
  background: #111;
}

.gp-trailer-video,
.gp-trailer-poster {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gp-media-mask {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, #202124 0%, rgba(0,0,0,0) 56%);
  pointer-events: none;
}

.gp-trailer {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 133px;
  height: 47px;
  background: rgba(0,0,0,.54);
  color: #fff;
  border: 0;
  border-radius: 47px;
  font-size: 16px;
  font-weight: 400;
  cursor: default;
  user-select: none;
}

.gp-play-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.gp-hero-body {
  padding: 0 25px 13px;
}

.gp-brand-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  margin: -43px 0 13px;
}

.gp-app-icon-wrap {
  width: 85px;
  height: 85px;
  margin: 10px 25px 0 0;
  flex: 0 0 auto;
  z-index: 2;
  color: #07333c;
  background: linear-gradient(145deg, #e0fff4, #55d7b5 52%, #0c9f88);
  border: 1px solid #fff9;
  border-radius: 72px;
  justify-content: center;
  align-items: baseline;
  width: 78px;
  height: 78px;
  animation: 5s ease-in-out infinite float;
  display: flex;
  position: relative;
  transform: rotate(-6deg);
  box-shadow: inset 0 2px #ffffffb8, inset 0 -15px 30px #055e522e, 0 28px 70px #37d5b13d;
}
.gp-app-icon-wrap span {
    letter-spacing: -.12em;
    font-size: 46px;
    font-weight: 950;
}    

.gp-app-icon {
  width: 85px;
  height: 85px;
  object-fit: cover;
  display: block;
  border-radius: 20%;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  background: #333;
}

.gp-brand-meta {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.gp-app-name {
  margin: 0;
  font-size: 25px;
  line-height: 1.43;
  font-weight: 400;
  color: var(--gp-title);
  letter-spacing: 0;
}

.gp-developer {
  margin: 0;
  color: var(--gp-green);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-iap {
  margin: 0;
  color: var(--gp-muted);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.gp-stats {
  display: flex;
  margin: 0 0 0;
  padding: 8px 0 0;
}

.gp-stat {
  flex: 1;
  text-align: center;
  padding: 0 5px;
  overflow: hidden;
  position: relative;
}

.gp-stat-line::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  height: 23px;
  width: 1px;
  transform: translateY(-50%);
  background: var(--gp-line-dark);
}

.gp-stat-value {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 17px;
  font-weight: 400;
  color: var(--gp-title);
  line-height: 1;
}

.gp-star-ico {
  width: 14px;
  height: 14px;
  color: var(--gp-title);
}

.gp-stat-label {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-muted);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-age-badge {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--gp-dark);
  font-size: 17px;
  font-weight: 700;
  color: var(--gp-dark);
  transform: scale(.7);
  border-radius: 2px;
}

/* CTA — yellow title, rounded rect, shine */
.gp-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 67px;
  margin-top: 13px;
  background: var(--gp-green);
  color: #fff;
  border-radius: 11px;
  overflow: hidden;
  transform: translateZ(0);
  text-align: center;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
}

.gp-cta:active { opacity: .8; }

.gp-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.7) 40%, rgba(255,255,255,0) 90%);
  transform: translateX(-100%);
  animation: gp-shiny 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gp-shiny {
  30% { transform: translateX(-100%); }
  60% { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}

.gp-bolt {
  width: 24px;
  height: 24px;
  color: var(--gp-yellow);
  margin-right: 4px;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.gp-cta-title {
  position: relative;
  z-index: 1;
  color: var(--gp-yellow);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.gp-cta-sub {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: 1px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.gp-actions {
  display: flex;
  margin-top: 13px;
  color: var(--gp-green);
}

.gp-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 0;
  color: var(--gp-green);
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  padding: 12px 0;
  cursor: default;
  user-select: none;
}

.gp-action:first-child {
  margin-right: 13px;
}

.gp-action-ico {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.gp-action-ico.wish {
  width: 26px;
  height: 26px;
}


/* ===== Main (white) — matched to reference .ph block ===== */
.gp-main {
  background: var(--gp-white);
  padding: 0 25px 24px;
  color: var(--gp-dark);
  font-size: 17px;
  line-height: 1.43;
}

.gp-shots-track {
  display: flex;
  overflow-x: auto;
  margin: 25px 0 0;
  padding: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gp-shots-track::-webkit-scrollbar { height: 0; }

.gp-shot {
  flex: 0 0 141px;
  width: 141px;
  margin-right: 13px;
  scroll-snap-align: start;
}

.gp-shot:last-child { margin-right: 0; }

.gp-shot img {
  width: 141px;
  height: 253px;
  object-fit: cover;
  border-radius: 11px;
  background: #f1f3f4;
  display: block;
}

.gp-desc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  color: var(--gp-dark);
  font-size: 23px;
  font-weight: 400;
  line-height: 28px;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background: transparent !important;
  cursor: default;
  user-select: none;
}

.gp-desc-title:focus,
.gp-desc-title:hover,
.gp-desc-title:active {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--gp-dark);
}

.gp-desc-title span { flex: 1; margin-right: 13px; }

.gp-chevron {
  width: 12px;
  height: 16px;
  color: #5f6368;
  flex: 0 0 auto;
}

.gp-chevron.tiny {
  width: 10px;
  height: 12px;
  color: currentColor;
  margin-left: 4px;
}

.gp-text-content {
  padding: 25px 0;
  color: var(--gp-dark);
  font-size: 17px;
  line-height: 1.43;
  font-weight: 400;
}

.gp-text-content--tight { padding-bottom: 13px; }

.gp-updated-plain {
  margin-top: 18px;
  color: var(--gp-dark);
  font-size: 17px;
  line-height: 1.43;
}

.gp-tags { display: flex; flex-wrap: wrap; }

.gp-tag {
  position: relative;
  display: block;
  height: 37px;
  line-height: 37px;
  padding: 0 20px;
  margin: 0 13px 13px 0;
  color: #5f6368;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.gp-tag::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  border: 1px solid #e3e4e7;
  border-radius: 37px;
  transform: scale(.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
}

.gp-safe-box {
  position: relative;
  padding: 25px 25px 13px;
  margin: 0 0 8px;
}

.gp-safe-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  border: 1px solid #e3e4e7;
  border-radius: 21px;
  transform: scale(.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
}

.gp-safe-item {
  display: flex;
  align-items: flex-start;
  margin: 0 0 25px;
  color: #5f6368;
  font-size: 17px;
  line-height: 1.33;
  position: relative;
  z-index: 1;
}

.gp-safe-ico {
  width: 20px;
  height: 20px;
  margin-right: 25px;
  flex: 0 0 auto;
  color: #5f6368;
}

.gp-safe-copy { flex: 1; min-width: 0; }

.gp-safe-sub {
  margin-top: 2px;
  font-size: 15px;
  color: #5f6368;
  line-height: 1.4;
}

.gp-text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  color: var(--gp-green);
  font-size: 17px;
  font-weight: 400;
  cursor: default;
  user-select: none;
  text-decoration: none;
}

.gp-text-link--block {
  display: inline-flex;
  margin: 16px 0 13px;
}

.gp-verified {
  margin: 8px 0 12px;
  color: #5f6368;
  font-size: 15px;
}

.gp-rating-summary {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  margin: 13px 0 18px;
}

.gp-big-score {
  font-size: 60px;
  font-weight: 400;
  color: var(--gp-dark);
  line-height: 1.43;
}

.gp-stars-row {
  display: flex;
  gap: 1px;
  color: var(--gp-green);
  margin: 4px 0;
}

.gp-stars-row svg { width: 14px; height: 14px; }

.gp-bars { display: grid; gap: 6px; }

.gp-bar-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 17px;
  align-items: center;
  font-size: 15px;
  color: #5f6368;
}

.gp-bar-row i {
  display: block;
  height: 13px;
  border-radius: 13px;
  background: #e8eaed;
  overflow: hidden;
}

.gp-bar-row i.full { background: var(--gp-green); }

.gp-review-count { color: #5f6368; font-size: 15px; }

.gp-review { margin-top: 13px; padding: 0; border: 0; }

.gp-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gp-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--gp-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.gp-review-name {
  flex: 1;
  min-width: 0;
  color: var(--gp-dark);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-more { width: 8px; height: 30px; flex: 0 0 auto; }

.gp-review-text {
  margin-top: 13px;
  color: #5f6368;
  font-size: 17px;
  line-height: 1.43;
}

.gp-review-meta {
  margin-top: 8px;
  color: #5f6368;
  font-size: 15px;
}

.gp-helpful-count { margin-top: 13px; }

.gp-helpful {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.gp-chose {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  position: relative;
  color: var(--gp-dark);
  font-size: 15px;
}

.gp-chose::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #e3e4e7;
  border-radius: 999px;
  pointer-events: none;
}

.gp-report {
  display: flex;
  align-items: center;
  margin: 0 0 25px;
  color: var(--gp-dark);
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

.gp-report-ico {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-right: 13px;
}

.gp-footer-rule {
  position: relative;
  height: 0;
  margin: 0;
}

.gp-footer-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: #e3e4e7;
}

.gp-store-links {
  padding: 25px 0 8px;
  border: 0;
  color: #5f6368;
  line-height: 37px;
}

.gp-store-links > div {
  display: block;
  color: #5f6368;
  font-size: 17px;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

.gp-store-gap {
  margin-top: 13px;
}

.gp-legal-line {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 37px;
  color: #5f6368;
}

.gp-legal-line a,
.gp-legal-line span {
  color: #5f6368;
  font-size: 15px;
  text-decoration: none;
  margin-right: 25px;
  cursor: default;
  user-select: none;
}

.gp-legal-line a:last-child,
.gp-legal-line span:last-child {
  margin-right: 0;
}

.gp-tax-note {
  margin: 0;
  color: #5f6368;
  font-size: 15px;
  line-height: 37px;
}

.gp-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--gp-max));
  height: 65px;
  display: flex;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e3e4e7;
  padding: 0 0 env(safe-area-inset-bottom);
  z-index: 20;
  box-sizing: content-box;
}

.gp-nav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 17px;
  line-height: 20px;
  color: #5f6368;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gp-nav-item svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.gp-nav-item.is-active { color: var(--gp-green); }

@media (max-width: 520px) {
  .gp-shell { max-width: 100%; }
}
