:root {
  --play-green: #01875f;
  --play-text-dark: #202124;
  --play-text-light: #5f6368;
  --whatsapp-green: #25D366;
  --youtube-red: #FF0000;
  --divider: #e0e0e0;
}

body {
  margin: 0;
  padding-bottom: 90px;
  font-family: 'Roboto', sans-serif;
  color: var(--play-text-dark);
  background-color: #fff;
}

.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* Header Side-by-Side */
.header-top-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.app-main-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.app-title {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
}

.dev-name {
  color: var(--play-green);
  font-weight: 500;
  font-size: 14px;
  display: block;
}

.contains-ads {
  font-size: 12px;
  color: var(--play-text-light);
}

/* Meta Info Row */
.app-meta-row {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
}

.meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.meta-divider {
  width: 1px;
  height: 24px;
  background: var(--divider);
  align-self: center;
}

.meta-value {
  font-weight: 700;
  font-size: 14px;
}

.meta-label {
  font-size: 11px;
  color: var(--play-text-light);
}

.pegi-box {
  border: 1px solid #5f6368;
  padding: 1px 4px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 2px;
}

/* Action Buttons */
.btn-install {
  display: block;
  background: var(--play-green);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin: 10px 0;
}

/* New: Share row style */
.action-row-share {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 15px 0;
}

.action-btn {
  color: var(--play-green);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.secondary-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
}

.btn-icon-text {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-btn {
  color: var(--whatsapp-green) !important;
}

.youtube-btn {
  color: var(--youtube-red) !important;
}

.device-compatibility {
  text-align: center;
  font-size: 11px;
  color: var(--play-text-light);
}

/* Screenshot Carousel */
.screenshots-section {
  margin: 24px -16px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 16px;
}

.screenshot-scroll img {
  height: 220px;
  border-radius: 8px;
  margin-right: 12px;
}

/* REVIEWS SECTION (Fixed: Moved out of desktop-only block) */
.reviews-section {
  margin-top: 32px;
  border-top: 1px solid var(--divider);
  padding-top: 20px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.big-num {
  font-size: 44px;
  font-weight: 500;
}

.stars-row {
  color: var(--play-green);
  font-size: 12px;
}

.total-reviews {
  font-size: 11px;
  color: var(--play-text-light);
}

.rating-bars {
  flex-grow: 1;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 10px;
}

.bar-bg {
  background: #eee;
  height: 8px;
  flex-grow: 1;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  background: var(--play-green);
  height: 100%;
}

/* Review Card Styles */
.review-card {
  margin-top: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  background: #01875f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.user-name {
  font-size: 13px;
}

.review-meta {
  font-size: 11px;
  display: flex;
  gap: 8px;
  margin: 4px 0;
}

.review-meta .stars {
  color: var(--play-green);
}

.review-text {
  font-size: 13px;
  color: var(--play-text-light);
  line-height: 1.5;
}

.review-footer {
  font-size: 11px;
  color: var(--play-text-light);
  margin-top: 8px;
}

.yes-no {
  color: var(--play-green);
  font-weight: 500;
  margin-left: 10px;
}

.see-all-reviews {
  color: var(--play-green);
  font-weight: 500;
  font-size: 14px;
  margin-top: 20px;
}

/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  z-index: 100;
}

.btn-download-footer {
  display: block;
  background: var(--play-green);
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
}

/* Desktop Polish */
@media (min-width: 601px) {
  .app-main-icon {
    width: 160px;
    height: 160px;
  }

  .app-title {
    font-size: 44px;
  }

  .screenshot-scroll img {
    height: 400px;
  }

  .big-num {
    font-size: 56px;
  }
}