/* ==========================================================================
   WOW388 - GOOGLE PLAY STORE PWA DESIGN SYSTEM
   Pixel-Perfect, Fully Responsive on Mobile (<768px), Tablet (768-1023px), & Desktop (1024px+)
   ========================================================================== */

:root {
  --gp-green: #01875f;
  --gp-green-hover: #00704f;
  --gp-green-light: #e6f4ea;
  --gp-green-border: rgba(1, 135, 95, 0.3);
  --gp-text-primary: #202124;
  --gp-text-secondary: #5f6368;
  --gp-text-tertiary: #80868b;
  --gp-bg: #ffffff;
  --gp-bg-subtle: #f8f9fa;
  --gp-chip-bg: #f1f3f4;
  --gp-chip-active-bg: #e8f0fe;
  --gp-chip-active-text: #1967d2;
  --gp-border: #dadce0;
  --gp-border-subtle: #e8eaed;
  --gp-star: #e37400;
  --gp-shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.12), 0 1px 2px rgba(60, 64, 67, 0.24);
  --gp-shadow-md: 0 4px 12px rgba(60, 64, 67, 0.15);
  --gp-shadow-lg: 0 8px 24px rgba(60, 64, 67, 0.2);
  --gp-radius-sm: 8px;
  --gp-radius-md: 12px;
  --gp-radius-lg: 16px;
  --gp-radius-pill: 9999px;
  --font-family: 'Open Sans', 'Google Sans', Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--gp-bg);
  color: var(--gp-text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

img, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   TOPBAR NAVIGATION (Responsive)
   ========================================================================== */
.gp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--gp-border-subtle);
  width: 100%;
}

.gp-header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gp-header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.gp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gp-text-primary);
  flex-shrink: 0;
}

.gp-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.gp-logo__text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #3c4043;
}

.gp-nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gp-nav-tab {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-secondary);
  text-decoration: none;
  border-radius: var(--gp-radius-pill);
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.gp-nav-tab:hover {
  background-color: var(--gp-chip-bg);
  color: var(--gp-text-primary);
}

.gp-nav-tab.active {
  color: var(--gp-green);
  font-weight: 600;
  position: relative;
}

.gp-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--gp-green);
  border-radius: 3px 3px 0 0;
}

.gp-header__search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.gp-search-box {
  width: 100%;
  height: 44px;
  background-color: #f1f3f4;
  border-radius: var(--gp-radius-pill);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.gp-search-box:focus-within {
  background-color: #ffffff;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.gp-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--gp-text-primary);
  font-family: inherit;
  min-width: 0;
}

.gp-search-box__icon {
  width: 20px;
  height: 20px;
  color: var(--gp-text-secondary);
  flex-shrink: 0;
}

.gp-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

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

.gp-icon-btn:hover {
  background-color: var(--gp-chip-bg);
}

.gp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #01875f, #00b074);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   MAIN CONTENT WRAPPER & GRID
   ========================================================================== */
.gp-main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.gp-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.gp-content-primary {
  min-width: 0;
}

/* ==========================================================================
   HERO / APP HEADER
   ========================================================================== */
.gp-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.gp-hero__icon-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-hero__icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: block;
  z-index: 1;
  background-color: #0b2219;
}

.gp-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gp-progress-svg.active {
  opacity: 1;
}

.gp-progress-bg {
  stroke: rgba(0, 0, 0, 0.08);
}

.gp-progress-bar {
  stroke: var(--gp-green);
  transition: stroke-dashoffset 0.08s linear;
}

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

.gp-hero__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.gp-hero__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gp-text-primary);
  line-height: 1.25;
  letter-spacing: -0.3px;
  word-break: break-word;
}

.gp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gp-green);
  font-size: 13px;
  font-weight: 600;
  background-color: var(--gp-green-light);
  padding: 2px 8px;
  border-radius: var(--gp-radius-pill);
  white-space: nowrap;
}

.gp-hero__developer {
  font-size: 14px;
  color: var(--gp-green);
  font-weight: 600;
  margin-bottom: 4px;
}

.gp-hero__developer a {
  color: var(--gp-green);
  text-decoration: none;
}

.gp-hero__developer a:hover {
  text-decoration: underline;
}

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

.gp-hero__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--gp-text-tertiary);
}

/* ==========================================================================
   METRICS ROW
   ========================================================================== */
.gp-metrics {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 16px 0 24px;
  padding: 12px 0;
  border-top: 1px solid var(--gp-border-subtle);
  border-bottom: 1px solid var(--gp-border-subtle);
  width: 100%;
}

.gp-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--gp-border-subtle);
  padding: 0 6px;
  min-width: 0;
}

.gp-metric-item:last-child {
  border-right: none;
}

.gp-metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 22px;
}

.gp-metric-value svg {
  width: 14px;
  height: 14px;
  fill: var(--gp-text-primary);
}

.gp-metric-label {
  font-size: 11px;
  color: var(--gp-text-secondary);
  white-space: nowrap;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */
.gp-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
  width: 100%;
}

.gp-btn-install {
  position: relative;
  background-color: var(--gp-green);
  color: #ffffff;
  border: none;
  border-radius: var(--gp-radius-pill);
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(1, 135, 95, 0.3);
  user-select: none;
  white-space: nowrap;
}

.gp-btn-install:hover {
  background-color: var(--gp-green-hover);
  box-shadow: 0 4px 12px rgba(1, 135, 95, 0.4);
}

.gp-btn-install:active {
  transform: scale(0.98);
}

.gp-btn-install.state-installing {
  background-color: #00704f;
  cursor: wait;
}

.gp-btn-install.state-play {
  background-color: #0b8043 !important;
  color: #ffffff !important;
  animation: gp-pulse-glow 2s infinite ease-in-out;
}

@keyframes gp-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 128, 67, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(11, 128, 67, 0); }
}

.gp-btn-install__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gp-spin 0.7s linear infinite;
}

.gp-btn-install.state-installing .gp-btn-install__spinner {
  display: block;
}

@keyframes gp-spin {
  to { transform: rotate(360deg); }
}

.gp-actions__secondary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gp-btn-secondary {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--gp-radius-pill);
  border: 1px solid var(--gp-border);
  background-color: transparent;
  color: var(--gp-green);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.gp-btn-secondary:hover {
  background-color: var(--gp-chip-bg);
  border-color: #c2c6cb;
}

.gp-btn-secondary.active {
  background-color: var(--gp-green-light);
  border-color: var(--gp-green);
  color: var(--gp-green);
}

.gp-btn-secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Device availability chips */
.gp-device-availability {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.gp-device-availability__text {
  font-size: 12px;
  color: var(--gp-text-secondary);
  margin-right: 4px;
}

.gp-device-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: var(--gp-chip-bg);
  border-radius: var(--gp-radius-pill);
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-device-chip svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SCREENSHOTS CAROUSEL
   ========================================================================== */
.gp-screenshots-section {
  margin: 32px 0;
  position: relative;
  width: 100%;
}

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

.gp-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gp-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-carousel-controls {
  display: flex;
  gap: 8px;
}

.gp-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gp-border);
  background-color: #ffffff;
  color: var(--gp-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: background-color 0.2s, color 0.2s;
}

.gp-carousel-btn:hover {
  background-color: var(--gp-chip-bg);
  color: var(--gp-text-primary);
}

.gp-screenshots-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gp-border) transparent;
  width: 100%;
}

.gp-screenshot-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--gp-radius-md);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
  background-color: #1a1a1a;
  border: 1px solid var(--gp-border-subtle);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gp-screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-md);
}

.gp-screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.gp-screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   ABOUT THIS APP & WHAT'S NEW
   ========================================================================== */
.gp-about-section {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border-subtle);
  width: 100%;
}

.gp-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.gp-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--gp-chip-bg);
  border-radius: var(--gp-radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--gp-text-secondary);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.gp-tag:hover {
  background-color: #e8eaed;
  color: var(--gp-text-primary);
}

.gp-tag--highlight {
  background-color: var(--gp-chip-active-bg);
  color: var(--gp-chip-active-text);
  font-weight: 600;
}

.gp-about-text {
  font-size: 14px;
  color: var(--gp-text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.gp-about-features {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gp-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gp-text-primary);
}

.gp-about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--gp-green);
  flex-shrink: 0;
  margin-top: 1px;
}

.gp-whatsnew-card {
  margin-top: 24px;
  padding: 18px 20px;
  background-color: var(--gp-bg-subtle);
  border: 1px solid var(--gp-border-subtle);
  border-radius: var(--gp-radius-md);
}

.gp-whatsnew-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-whatsnew-version {
  font-size: 12px;
  color: var(--gp-text-tertiary);
  font-weight: normal;
}

.gp-whatsnew-text {
  font-size: 13px;
  color: var(--gp-text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   DATA SAFETY
   ========================================================================== */
.gp-datasafety-section {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border-subtle);
  width: 100%;
}

.gp-datasafety-card {
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-md);
  padding: 20px;
  margin-top: 16px;
}

.gp-datasafety-desc {
  font-size: 13px;
  color: var(--gp-text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.gp-datasafety-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-datasafety-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gp-datasafety-icon {
  width: 24px;
  height: 24px;
  color: var(--gp-text-secondary);
  flex-shrink: 0;
}

.gp-datasafety-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-text-primary);
}

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

/* ==========================================================================
   RATINGS & REVIEWS
   ========================================================================== */
.gp-reviews-section {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border-subtle);
  width: 100%;
}

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

.gp-device-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.gp-filter-btn {
  padding: 6px 14px;
  border-radius: var(--gp-radius-pill);
  border: 1px solid var(--gp-border);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--gp-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gp-filter-btn.active {
  background-color: var(--gp-green-light);
  border-color: var(--gp-green);
  color: var(--gp-green);
  font-weight: 600;
}

.gp-filter-btn:hover:not(.active) {
  background-color: var(--gp-chip-bg);
}

.gp-score-breakdown {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gp-border-subtle);
}

.gp-score-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  flex-shrink: 0;
}

.gp-score-number {
  font-size: 52px;
  font-weight: 600;
  color: var(--gp-text-primary);
  line-height: 1;
  letter-spacing: -1px;
}

.gp-score-stars {
  display: flex;
  gap: 2px;
  margin: 6px 0;
}

.gp-score-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gp-green);
}

.gp-score-count {
  font-size: 12px;
  color: var(--gp-text-tertiary);
  white-space: nowrap;
}

.gp-score-bars {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.gp-score-bar-bg {
  flex: 1;
  height: 8px;
  background-color: #e8eaed;
  border-radius: var(--gp-radius-pill);
  overflow: hidden;
}

.gp-score-bar-fill {
  height: 100%;
  background-color: var(--gp-green);
  border-radius: var(--gp-radius-pill);
}

.gp-review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gp-review-card {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gp-border-subtle);
}

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

.gp-review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

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

.gp-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
}

.gp-review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-text-primary);
}

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

.gp-review-stars {
  display: flex;
  gap: 2px;
}

.gp-review-stars svg {
  width: 12px;
  height: 12px;
  fill: var(--gp-green);
}

.gp-review-date {
  font-size: 12px;
  color: var(--gp-text-tertiary);
}

.gp-review-body {
  font-size: 14px;
  color: var(--gp-text-primary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gp-review-helpful {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-review-helpful-btn {
  background: none;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--gp-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.gp-review-helpful-btn:hover {
  background-color: var(--gp-chip-bg);
  color: var(--gp-text-primary);
}

.gp-review-helpful-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.gp-sidebar {
  display: none;
}

.gp-sidebar-card {
  background-color: #ffffff;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-md);
  padding: 20px;
}

.gp-qr-widget {
  text-align: center;
}

.gp-qr-widget__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gp-text-primary);
  margin-bottom: 6px;
}

.gp-qr-widget__subtitle {
  font-size: 13px;
  color: var(--gp-text-secondary);
  margin-bottom: 16px;
}

.gp-qr-box {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid var(--gp-border-subtle);
  border-radius: var(--gp-radius-md);
  box-shadow: var(--gp-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-qr-box canvas {
  width: 100% !important;
  height: 100% !important;
}

.gp-qr-hint {
  font-size: 12px;
  color: var(--gp-text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gp-contact-widget h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gp-text-primary);
}

.gp-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.gp-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gp-text-secondary);
}

.gp-contact-item a {
  color: var(--gp-green);
  text-decoration: none;
}

.gp-contact-item a:hover {
  text-decoration: underline;
}

.gp-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gp-text-tertiary);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER (Google Play Style)
   ========================================================================== */
.gp-footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid var(--gp-border-subtle);
  padding: 32px 24px;
  width: 100%;
}

.gp-footer__container {
  max-width: 1280px;
  margin: 0 auto;
}

.gp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 24px;
}

.gp-footer__link {
  font-size: 13px;
  color: var(--gp-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.gp-footer__link:hover {
  color: var(--gp-text-primary);
}

.gp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gp-border-subtle);
  font-size: 12px;
  color: var(--gp-text-tertiary);
}

.gp-footer__region {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gp-text-secondary);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.gp-mobile-nav {
  display: none;
}

/* ==========================================================================
   MODALS, OVERLAYS & TOAST
   ========================================================================== */
.gp-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gp-modal-overlay.show {
  display: flex;
  animation: gp-fade-in 0.2s ease-out;
}

.gp-modal {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--gp-shadow-lg);
  position: relative;
  animation: gp-scale-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gp-scale-in {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

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

.gp-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gp-text-primary);
}

.gp-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gp-text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.gp-modal__close:hover {
  background-color: var(--gp-chip-bg);
}

.gp-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background-color: #323232;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--gp-radius-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  white-space: nowrap;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
}

.gp-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   BREAKPOINTS: TABLET (768px - 1023px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .gp-header__container {
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }

  .gp-header__left {
    gap: 12px;
  }

  .gp-nav-tab {
    padding: 6px 10px;
    font-size: 13px;
  }

  .gp-header__search {
    max-width: 220px;
  }

  .gp-search-box {
    height: 38px;
    padding: 0 12px;
  }

  .gp-main {
    padding: 24px 20px 48px;
  }

  .gp-hero {
    gap: 20px;
  }

  .gp-hero__icon-wrapper {
    width: 88px;
    height: 88px;
  }

  .gp-hero__icon {
    width: 74px;
    height: 74px;
  }

  .gp-progress-svg {
    width: 88px;
    height: 88px;
  }

  .gp-hero__title {
    font-size: 24px;
  }

  .gp-screenshot-item {
    flex: 0 0 320px;
  }

  /* Tablet Sidebar displays as 2-column grid at bottom */
  .gp-sidebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--gp-border-subtle);
  }

  .gp-sidebar-card.gp-contact-widget {
    grid-column: span 2;
  }

  .gp-mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   BREAKPOINTS: DESKTOP (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .gp-content-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
  }

  .gp-sidebar {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 84px;
  }

  .gp-screenshot-item {
    flex: 0 0 340px;
  }

  .gp-mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   BREAKPOINTS: MOBILE (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  body {
    padding-bottom: 68px; /* Room for fixed bottom nav */
  }

  .gp-header__container {
    height: 56px;
    padding: 0 16px;
  }

  .gp-nav-tabs {
    display: none !important;
  }

  .gp-header__search {
    display: none !important;
  }

  .gp-main {
    padding: 16px 16px 40px;
  }

  .gp-hero {
    gap: 16px;
    margin-bottom: 16px;
  }

  .gp-hero__icon-wrapper {
    width: 76px;
    height: 76px;
  }

  .gp-hero__icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .gp-progress-svg {
    width: 76px;
    height: 76px;
  }

  .gp-hero__title {
    font-size: 21px;
    line-height: 1.2;
  }

  .gp-hero__developer {
    font-size: 13px;
  }

  /* Metrics 4-item clean grid */
  .gp-metrics {
    margin: 12px 0 16px;
    padding: 10px 0;
  }

  .gp-metric-item {
    padding: 0 4px;
  }

  .gp-metric-value {
    font-size: 13px;
  }

  .gp-metric-label {
    font-size: 10px;
  }

  /* Action buttons: Install full width, Share & Wishlist 50/50 side by side */
  .gp-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 16px 0 20px;
  }

  .gp-btn-install {
    width: 100%;
    height: 48px;
    font-size: 15px;
  }

  .gp-actions__secondary {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .gp-btn-secondary {
    flex: 1;
    justify-content: center;
    height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .gp-carousel-controls {
    display: none !important; /* Hide prev/next arrow buttons on touch screen */
  }

  .gp-screenshot-item {
    flex: 0 0 min(270px, 80vw);
  }

  /* Ratings score layout on mobile */
  .gp-score-breakdown {
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .gp-score-left {
    min-width: 85px;
  }

  .gp-score-number {
    font-size: 42px;
  }

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

  .gp-score-row {
    font-size: 11px;
    gap: 8px;
  }

  /* Bottom Navigation Bar for Mobile */
  .gp-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid var(--gp-border-subtle);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  }

  .gp-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: var(--gp-text-secondary);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--gp-radius-pill);
    transition: color 0.2s;
  }

  .gp-mobile-nav__item svg {
    width: 22px;
    height: 22px;
  }

  .gp-mobile-nav__item.active {
    color: var(--gp-green);
    font-weight: 700;
  }

  .gp-mobile-nav__item.active svg {
    fill: var(--gp-green);
  }

  .gp-toast {
    bottom: 74px;
  }

  .gp-footer {
    padding: 24px 16px 20px;
  }
}
