:root {
  --green: #01875f;
  --text-main: #202124;
  --text-secondary: #5f6368;
  --border: #e8eaed;
  --bg: #ffffff;
  --star-filled: #01875f;
  --star-empty: #e8eaed;
  --font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.4;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Material Icons Outlined configuration */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  font-size: 20px;
}

.material-symbols-outlined.filled {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Spacer if needed */
.header-spacer {
  height: 24px;
}

/* App Header */
.app-header {
  display: flex;
  margin-top: 24px;
  gap: 16px;
}

.app-icon {
  width: 25vw;
  max-width: 104px;
  height: 25vw;
  max-height: 104px;
  border-radius: 20%;
  object-fit: cover;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  background-color: #0d1223;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-title-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

h1.app-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.verified-icon {
  color: #1a73e8;
  /* Blue exact match later if needed, but in screenshot it's a blue verified tick */
  font-size: 24px;
}

.developer-name {
  color: var(--green);
  font-weight: 500;
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 2px;
}

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

/* Stats Row */
.stats-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin-top: 24px;
  padding: 0;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}

.stat-value {
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.stat-value .star-icon {
  font-size: 12px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  white-space: nowrap;
}

.stat-icon img {
  width: 20px;
  height: 20px;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border);
  flex: 0 0 1px;
}

/* Install Action Section */
.actions-section {
  margin-top: 24px;
}

.install-btn {
  width: 100%;
  background-color: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 16px;
}

.secondary-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Device Notice */
.device-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.device-notice .material-symbols-outlined {
  color: var(--text-secondary);
}

/* Screenshots Gallery */
.screenshots-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

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

.screenshot {
  flex: 0 0 auto;
  width: 180px;
  height: 320px;
  border-radius: 8px;
  object-fit: cover;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #111, #333);
}

/* Sections Common Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 8px;
  cursor: pointer;
}

.section-title {
  font-size: 18px;
  font-weight: 500;
}

.section-header .material-symbols-outlined {
  color: var(--text-main);
}

/* About this game */
.about-content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
}

/* Tags and Updated */
.bold-label {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
  font-size: 14px;
}

.updated-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tags-row {
  margin-bottom: 24px;
}

.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Data safety */
.data-safety-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.data-safety-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 32px;
}

.safety-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.safety-item:last-of-type {
  margin-bottom: 24px;
}

.safety-icon {
  color: var(--text-secondary);
}

.safety-text {
  flex: 1;
}

.safety-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.safety-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}

.see-details-link {
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  margin-left: 40px;
}

/* Ratings and Reviews */
.reviews-verified {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.reviews-verified .material-symbols-outlined {
  font-size: 16px;
}

.rating-overview {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-score h2 {
  font-size: 72px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.rating-stars {
  display: flex;
  color: var(--star-filled);
  margin-bottom: 8px;
}

.rating-stars .material-symbols-outlined {
  font-size: 12px;
}

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

.rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-number {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 10px;
}

.bar-track {
  flex: 1;
  height: 8px;
  background-color: var(--star-empty);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: var(--star-filled);
  border-radius: 4px;
}

/* Reviews List */
.review-item {
  margin-bottom: 32px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ddd;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 500;
}

.review-menu {
  color: var(--text-secondary);
  cursor: pointer;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.review-stars {
  display: flex;
  color: var(--star-filled);
}

.review-stars .material-symbols-outlined {
  font-size: 12px;
}

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

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

.review-helpful-count {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.helpful-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.helpful-btn {
  border: 1px solid var(--border);
  background: none;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

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