/* ==========================================================================
   Google Play Store - Official Design System & Stylesheet
   Exact Replica of Google Play Store (Material Design 3)
   Desktop & Mobile 1:1 Pixel-Perfect Layout
   ========================================================================== */

:root {
  --gp-green: #01875f;
  --gp-green-hover: #017351;
  --gp-green-active: #016346;
  --gp-green-light: #e6f4ea;
  --gp-text-primary: #202124;
  --gp-text-secondary: #5f6368;
  --gp-text-tertiary: #80868b;
  --gp-bg: #ffffff;
  --gp-surface: #ffffff;
  --gp-surface-variant: #f8f9fa;
  --gp-border: #dadce0;
  --gp-border-light: #e8eaed;
  --gp-chip-bg: #e8eaed;
  --gp-chip-hover: #dadce0;
  --gp-link-blue: #1a73e8;
  --gp-shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --gp-shadow-md: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
  --gp-font-headline: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gp-font-body: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --gp-container-width: 1240px;
  --gp-radius-sm: 8px;
  --gp-radius-md: 12px;
  --gp-radius-lg: 20px;
  --gp-radius-full: 9999px;
}

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

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

body {
  font-family: var(--gp-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gp-text-primary);
  background-color: var(--gp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   Global Header (Google Play Top Bar)
   ========================================================================== */

.gp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--gp-border-light);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.gp-header-container {
  max-width: var(--gp-container-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-header-left {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  flex-shrink: 0;
}

.gp-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.gp-playstore-logo-img {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.gp-logo-text {
  font-family: var(--gp-font-headline);
  font-size: 22px;
  font-weight: 500;
  color: #5f6368;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.gp-nav-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  height: 64px;
}

.gp-nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.gp-nav-item a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-secondary);
  border-bottom: 3px solid transparent;
  padding: 0 4px;
  transition: color 0.2s, border-color 0.2s;
}

.gp-nav-item a:hover {
  color: var(--gp-text-primary);
}

.gp-nav-item.active a {
  color: var(--gp-green);
  border-bottom-color: var(--gp-green);
  font-weight: 600;
}

.gp-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Perfect Circular Buttons */
.gp-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gp-text-secondary);
  transition: background-color 0.2s;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
}

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

.gp-icon-btn svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  fill: currentColor;
}

.gp-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  flex-shrink: 0;
}

.gp-avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Main Content Wrapper
   ========================================================================== */

.gp-main-wrapper {
  max-width: var(--gp-container-width);
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

/* ==========================================================================
   Hero Section (Desktop Layout)
   ========================================================================== */

.gp-hero-section {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.gp-hero-main-col {
  display: flex;
  flex-direction: column;
}

.gp-hero-header-row {
  display: block;
  margin-bottom: 24px;
}

.gp-hero-icon-mobile {
  display: none; /* Hidden on desktop */
}

.gp-hero-title-group {
  display: flex;
  flex-direction: column;
}

.gp-app-title {
  font-family: var(--gp-font-headline);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--gp-text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.gp-developer-link {
  display: inline-block;
  font-family: var(--gp-font-headline);
  font-size: 16px;
  font-weight: 500;
  color: var(--gp-green);
  text-decoration: none;
  align-self: flex-start;
}

.gp-developer-link:hover {
  text-decoration: underline;
}

/* Desktop Icon Column */
.gp-hero-desktop-icon-col {
  display: flex;
  justify-content: flex-end;
}

.gp-app-icon-desktop {
  width: 240px;
  height: 240px;
  border-radius: 54px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
  background-color: #000000;
}

/* Stats Row */
.gp-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
}

.gp-stat-item {
  display: flex;
  flex-direction: column;
}

.gp-stat-rated-mobile {
  display: none; /* Desktop shows Rated 3+ in right sidebar */
}

.gp-stats-divider {
  display: none;
}

.gp-stat-main {
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-text-primary);
  margin-bottom: 2px;
}

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

.gp-iarc-badge-mini {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #202124;
  border-radius: 3px;
  padding: 1px 5px;
  margin-bottom: 3px;
  background: #ffffff;
  line-height: 1;
}

.gp-iarc-badge-mini .gp-iarc-txt {
  font-size: 6px;
  font-weight: 800;
  color: #202124;
}

.gp-iarc-badge-mini .gp-iarc-val {
  font-size: 12px;
  font-weight: 900;
  color: #202124;
}

/* Actions Block */
.gp-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.gp-install-btn {
  background-color: var(--gp-green);
  color: #ffffff;
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  height: 44px;
  padding: 0 36px;
  border-radius: var(--gp-radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
  text-decoration: none;
}

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

.gp-install-btn:active {
  background-color: var(--gp-green-active);
  transform: scale(0.98);
}

.gp-sub-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gp-action-btn-text {
  height: 44px;
  padding: 0 8px;
  background: transparent;
  border: none;
  color: var(--gp-green);
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--gp-radius-sm);
  transition: background-color 0.2s;
}

.gp-action-btn-text:hover {
  background-color: var(--gp-green-light);
}

.gp-action-btn-text svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Device Status Notices */
.gp-device-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--gp-text-secondary);
}

.gp-device-notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gp-device-notice-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gp-text-secondary);
  flex-shrink: 0;
}

.gp-family-link {
  color: var(--gp-text-secondary);
  text-decoration: underline;
}

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

/* ==========================================================================
   Two-Column Main Body Layout (Screenshots & Details vs Sidebar)
   ========================================================================== */

.gp-body-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: flex-start;
}

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

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

/* ==========================================================================
   Screenshots Carousel
   ========================================================================== */

.gp-screenshots-container {
  position: relative;
  margin-bottom: 48px;
}

.gp-screenshots-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 16px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.gp-screenshot-item {
  flex: 0 0 200px;
  border-radius: var(--gp-radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 1px 2px 0 rgba(60, 64, 67, 0.15);
  background-color: #f1f3f4;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gp-screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px 0 rgba(60, 64, 67, 0.35);
}

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

/* Carousel Nav Buttons */
.gp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--gp-radius-full);
  background-color: #ffffff;
  border: 1px solid var(--gp-border-light);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--gp-text-secondary);
  transition: all 0.2s;
}

.gp-carousel-arrow:hover {
  background-color: #f8f9fa;
  color: var(--gp-text-primary);
  box-shadow: 0 4px 10px rgba(60, 64, 67, 0.35);
}

.gp-carousel-arrow.prev {
  left: -20px;
  display: none;
}

.gp-carousel-arrow.next {
  right: -20px;
}

.gp-carousel-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Section Components ("About this app", "Data safety", etc.)
   ========================================================================== */

.gp-section {
  margin-bottom: 40px;
}

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

.gp-section-title {
  font-family: var(--gp-font-headline);
  font-size: 20px;
  font-weight: 500;
  color: var(--gp-text-primary);
}

.gp-arrow-link {
  color: var(--gp-text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.gp-arrow-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* About Description Body */
.gp-about-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gp-text-secondary);
}

.gp-about-text p {
  margin-bottom: 14px;
}

.gp-feature-list {
  list-style: none;
  margin-bottom: 16px;
}

.gp-feature-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.gp-feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gp-text-secondary);
}

/* Metadata Chips */
.gp-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.gp-tag-chip {
  padding: 6px 14px;
  background-color: var(--gp-surface-variant);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gp-text-primary);
  text-decoration: none;
  transition: background-color 0.2s;
}

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

/* App Information Grid */
.gp-metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border-light);
}

.gp-metadata-item {
  display: flex;
  flex-direction: column;
}

.gp-metadata-label {
  font-size: 12px;
  color: var(--gp-text-tertiary);
  margin-bottom: 4px;
}

.gp-metadata-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-primary);
}

/* ==========================================================================
   Data Safety Card
   ========================================================================== */

.gp-data-safety-box {
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  padding: 24px;
}

.gp-data-safety-summary {
  font-size: 14px;
  color: var(--gp-text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.gp-safety-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.gp-safety-point-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.gp-safety-point-body h4 {
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-primary);
  margin-bottom: 2px;
}

.gp-safety-point-body p {
  font-size: 13px;
  color: var(--gp-text-secondary);
}

.gp-see-details-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-green);
  text-decoration: none;
}

.gp-see-details-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Sidebar: Rated for 3+ Card & App Support
   ========================================================================== */

.gp-rating-card {
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gp-iarc-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #202124;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #ffffff;
}

.gp-iarc-top {
  font-size: 8px;
  font-weight: 800;
  color: #202124;
  line-height: 1;
}

.gp-iarc-number {
  font-size: 18px;
  font-weight: 900;
  color: #202124;
  line-height: 1;
}

.gp-rating-info h4 {
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-primary);
  margin-bottom: 2px;
}

.gp-learn-more-link {
  font-size: 13px;
  color: var(--gp-link-blue);
  text-decoration: none;
}

.gp-learn-more-link:hover {
  text-decoration: underline;
}

/* App Support Accordion */
.gp-support-section {
  border-top: 1px solid var(--gp-border-light);
  padding-top: 20px;
}

.gp-support-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--gp-font-headline);
  font-size: 16px;
  font-weight: 500;
  color: var(--gp-text-primary);
  padding: 0;
  margin-bottom: 16px;
}

.gp-support-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--gp-text-secondary);
  transition: transform 0.2s;
}

.gp-support-toggle.expanded svg {
  transform: rotate(180deg);
}

.gp-support-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}

.gp-support-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gp-text-secondary);
}

.gp-support-row svg {
  width: 18px;
  height: 18px;
  fill: var(--gp-text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.gp-support-row strong {
  color: var(--gp-text-primary);
}

.gp-support-row a {
  color: var(--gp-green);
  text-decoration: none;
  word-break: break-all;
}

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

/* More by Developer Link */
.gp-more-by-dev {
  border-top: 1px solid var(--gp-border-light);
  padding-top: 20px;
}

.gp-more-by-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-family: var(--gp-font-headline);
  font-size: 16px;
  font-weight: 500;
  color: var(--gp-text-primary);
}

.gp-more-by-link:hover {
  color: var(--gp-green);
}

.gp-more-by-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.gp-footer {
  border-top: 1px solid var(--gp-border-light);
  background-color: var(--gp-surface-variant);
  padding: 40px 24px 32px 24px;
  font-size: 12px;
  color: var(--gp-text-secondary);
}

.gp-footer-container {
  max-width: var(--gp-container-width);
  margin: 0 auto;
}

.gp-footer-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: 32px;
}

.gp-footer-link {
  color: var(--gp-text-secondary);
  text-decoration: none;
  font-family: var(--gp-font-headline);
  font-size: 13px;
  font-weight: 500;
}

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

.gp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gp-border);
}

.gp-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gp-footer-legal a {
  color: var(--gp-text-tertiary);
  text-decoration: none;
}

.gp-footer-legal a:hover {
  color: var(--gp-text-secondary);
}

/* ==========================================================================
   Mobile Sticky Bottom Install Bar
   ========================================================================== */

.gp-sticky-install-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--gp-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gp-sticky-install-bar.visible {
  transform: translateY(0);
}

.gp-sticky-app-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.gp-sticky-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.gp-sticky-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gp-sticky-title {
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.gp-sticky-btn {
  background-color: var(--gp-green);
  color: #ffffff;
  font-family: var(--gp-font-headline);
  font-size: 14px;
  font-weight: 500;
  padding: 0 24px;
  height: 40px;
  border-radius: var(--gp-radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gp-sticky-btn:active {
  background-color: var(--gp-green-active);
}

/* ==========================================================================
   Share Modal Dialog
   ========================================================================== */

.gp-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 16px;
}

.gp-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gp-modal-box {
  background-color: #ffffff;
  border-radius: var(--gp-radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--gp-shadow-md);
  transform: scale(0.92);
  transition: transform 0.2s ease;
}

.gp-modal-backdrop.open .gp-modal-box {
  transform: scale(1);
}

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

.gp-modal-title {
  font-family: var(--gp-font-headline);
  font-size: 18px;
  font-weight: 500;
  color: var(--gp-text-primary);
}

.gp-modal-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gp-text-secondary);
  border-radius: var(--gp-radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-modal-close-btn:hover {
  background-color: var(--gp-chip-hover);
}

.gp-share-link-box {
  display: flex;
  align-items: center;
  background-color: var(--gp-surface-variant);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
}

.gp-share-link-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--gp-text-primary);
  outline: none;
}

.gp-copy-btn {
  background-color: var(--gp-green);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.gp-copy-btn:hover {
  background-color: var(--gp-green-hover);
}

/* Toast Message */
.gp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #323232;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--gp-radius-sm);
  font-size: 14px;
  font-family: var(--gp-font-body);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

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

/* ==========================================================================
   Responsive Breakpoints - Exact Google Play Mobile Behavior
   ========================================================================== */

@media (max-width: 1024px) {
  .gp-hero-section {
    grid-template-columns: 1fr 200px;
    gap: 32px;
  }

  .gp-app-icon-desktop {
    width: 200px;
    height: 200px;
    border-radius: 44px;
  }

  .gp-app-title {
    font-size: 42px;
  }

  .gp-body-layout {
    grid-template-columns: 1fr 280px;
    gap: 36px;
  }
}

/* MOBILE VIEW - 1:1 WITH USER REFERENCE IMAGE */
@media (max-width: 840px) {
  .gp-header {
    padding: 0 16px;
    height: 56px;
  }

  .gp-playstore-logo-img {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  .gp-logo-text {
    font-size: 19px;
  }

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

  .gp-main-wrapper {
    padding: 20px 16px 80px 16px;
  }

  /* Single column flow on mobile */
  .gp-hero-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
  }

  .gp-hero-desktop-icon-col {
    display: none; /* Hide large desktop icon */
  }

  /* Mobile Top Row: Icon on Left (72x72), Title & Developer on Right */
  .gp-hero-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .gp-hero-icon-mobile {
    display: block;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  }

  .gp-hero-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .gp-app-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--gp-text-primary);
    margin-bottom: 3px;
  }

  .gp-developer-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-green);
    margin-bottom: 0;
  }

  /* Stats Row on Mobile: 2 Columns Centered with Divider */
  .gp-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 10px 0;
    margin-bottom: 20px;
  }

  .gp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
  }

  .gp-stat-rated-mobile {
    display: flex;
  }

  .gp-stats-divider {
    display: block;
    width: 1px;
    height: 32px;
    background-color: var(--gp-border);
  }

  .gp-stat-main {
    font-size: 14px;
    font-weight: 700;
  }

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

  /* Full-Width Install Button */
  .gp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
    margin-bottom: 24px;
  }

  .gp-install-btn {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
  }

  /* Sub Actions: Share & Add to wishlist Side-by-Side (No Gray Border Box!) */
  .gp-sub-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    width: 100%;
  }

  .gp-action-btn-text {
    height: auto;
    padding: 6px 8px;
    background: transparent;
    border: none;
    color: var(--gp-green);
    font-size: 14px;
    font-weight: 500;
  }

  /* Device Status Notices on Mobile */
  .gp-device-status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  .gp-device-notice-item {
    gap: 12px;
  }

  /* Main Body & Screenshots on Mobile */
  .gp-body-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gp-screenshots-container {
    margin-bottom: 36px;
  }

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

  .gp-carousel-arrow {
    display: none !important;
  }

  /* Hide sidebar rated card on mobile since it's in the hero stats row */
  .gp-sidebar-column .gp-rating-card {
    display: none;
  }
}
