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

body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #202124;
  background: #fff;
}

.disclosure-bar {
  background: #202124;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 6px 12px;
}

.topbar {
  border-bottom: 1px solid #e8eaed;
  padding: 12px 0;
}
.topbar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
}
.store-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.topnav {
  flex: 1;
  display: flex;
  gap: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}
.topnav a {
  color: #5f6368;
  text-decoration: none;
}
.topnav a:hover { color: #01875f; }

.lang-switch {
  position: relative;
  margin-left: auto;
}
.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f3f4;
  border: none;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #3c4043;
  cursor: pointer;
}
.lang-switch-btn:hover { background: #e8eaed; }
.lang-switch-btn .lang-icon { flex-shrink: 0; color: #5f6368; }
.lang-switch-btn .lang-chevron {
  flex-shrink: 0;
  color: #5f6368;
  transition: transform .15s ease;
}
.lang-switch.is-open .lang-chevron { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05);
  min-width: 168px;
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 20;
}
.lang-switch.is-open .lang-switch-menu { display: flex; }
.lang-switch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #3c4043;
  text-decoration: none;
}
.lang-switch-item:hover { background: #f1f3f4; }
.lang-switch-item .check { color: #01875f; visibility: hidden; }
.lang-switch-item.is-active { font-weight: 600; color: #01875f; }
.lang-switch-item.is-active .check { visibility: visible; }

.listing {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.app-header {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8eaed;
}
.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e8eaed;
  object-fit: cover;
  flex-shrink: 0;
}
.app-meta { flex: 1; }
.app-title { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.app-dev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 2px;
}
.app-dev:hover { background: #333; }
.app-tags { margin: 10px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px;
  color: #5f6368;
  background: #f1f3f4;
  padding: 4px 10px;
  border-radius: 12px;
}
.app-stats { display: flex; align-items: center; margin: 16px 0; }
.stat { text-align: center; padding: 0 16px; }
.stat-value { font-size: 15px; font-weight: 500; }
.stat-label { font-size: 12px; color: #5f6368; margin-top: 2px; }
.stat-sep { width: 1px; height: 32px; background: #e8eaed; }

.install-btn {
  background: #01875f;
  color: #fff;
  border: none;
  padding: 10px 32px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.install-btn:hover { background: #016f4d; }
a.install-btn { text-decoration: none; display: inline-block; }
.cta-note { font-size: 12px; color: #5f6368; margin-top: 8px; max-width: 480px; }

.screenshots { padding: 24px 0; }
.screenshots-wrap { position: relative; }
.screenshot-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshot {
  position: relative;
  flex: 0 0 200px;
  height: 356px;
  border-radius: 12px;
  background: #1a1a1a;
  overflow: hidden;
  scroll-snap-align: start;
}
.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .15s ease;
}
.screenshot--card img { object-fit: contain; }
.screenshot:hover img,
.screenshot:focus-within img {
  filter: brightness(0.55);
}
.screenshot-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.screenshot-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.92);
  background: #01875f;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
  white-space: nowrap;
}
.screenshot:hover .screenshot-play,
.screenshot:focus-within .screenshot-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.screenshot-play:hover { background: #016f4d; }

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.15);
  color: #3c4043;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, box-shadow .15s ease;
  z-index: 2;
}
.screenshots-wrap:hover .scroll-btn,
.scroll-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-btn:hover { box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.scroll-btn--prev { left: 4px; }
.scroll-btn--next { right: 4px; }
@media (max-width: 600px) {
  .scroll-btn {
    opacity: 1;
    pointer-events: auto;
    width: 30px;
    height: 30px;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.35);
  }
}

.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 4px;
}
.provider-chip {
  background: #1a1a1a;
  border-radius: 8px;
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.provider-chip img { max-height: 20px; max-width: 96px; object-fit: contain; }

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.payment-icons img { height: 32px; width: auto; border-radius: 6px; }

.about, .features, .rating-block, .review-cards, .info-table {
  padding: 24px 0;
  border-top: 1px solid #e8eaed;
}
.about h2, .features h2, .rating-block h2, .review-cards h2, .info-table h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.about p, .features p { font-size: 14px; line-height: 1.6; color: #202124; }
.version { color: #5f6368; margin-bottom: 8px; }
.link-btn {
  display: inline-block;
  background: #01875f;
  color: #fff;
  text-decoration: none;
  border: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 16px;
  margin-top: 12px;
  cursor: pointer;
}
.link-btn:hover { background: #016f4d; }

.rating-summary { display: flex; flex-direction: column; align-items: center; width: 140px; float: left; }
.rating-big { font-size: 48px; font-weight: 400; }
.rating-stars { color: #01875f; letter-spacing: 2px; }
.rating-count { font-size: 12px; color: #5f6368; margin-top: 4px; }

.rating-bars { margin-left: 160px; }
.bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bar-row span { width: 12px; font-size: 12px; color: #5f6368; }
.bar { flex: 1; height: 8px; background: #e8eaed; border-radius: 4px; overflow: hidden; }
.fill { height: 100%; background: #01875f; }
.bar-row .vip-name { width: 64px; font-size: 12px; color: #5f6368; }
.bar-row .vip-cb { width: 34px; font-size: 12px; color: #01875f; font-weight: 500; text-align: right; }
.vip-note { font-size: 12px; color: #5f6368; padding-top: 12px; clear: both; }

.review-cards { display: flex; flex-direction: column; gap: 20px; clear: both; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3f4;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.reviewer-name { font-size: 14px; font-weight: 500; }
.review-stars { color: #01875f; font-size: 12px; }
.review-text { font-size: 14px; line-height: 1.5; margin: 8px 0; }
.badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-live { background: #e6f4ea; color: #01875f; }
.badge-soon { background: #fef7e0; color: #b06000; }

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f4;
  font-size: 14px;
}
.info-row span:first-child { color: #5f6368; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-links a { color: #fff; text-decoration: none; font-size: 12px; opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
  color: #9aa0a6;
}

.page-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: #9aa0a6;
  background: #1a1a1a;
}

@media (max-width: 600px) {
  .app-header { flex-direction: column; }
  .rating-summary { float: none; width: auto; }
  .rating-bars { margin-left: 0; }

  .topbar-inner { flex-wrap: wrap; row-gap: 10px; }
  .store-logo { order: 1; }
  .lang-switch { order: 2; margin-left: auto; }
  .topnav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}
