*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Roboto',sans-serif;background:#fff;color:#202124}

/* HEADER */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
}

.header-left{
  display:flex;
  align-items:center;
}

.logo img{
  height:24px;
  width:auto;
  display:block;
}

/* ПРАВАЯ ЧАСТЬ */
.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}

/* SVG иконки */
.header-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
  opacity:0.85;
}

/* SVG аватар */
.header-avatar{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}

/* APP */
.app{display:flex;gap:16px;padding:16px}
.app-icon img{width:72px;height:72px;border-radius:16px;object-fit:cover;background:#000}
.dev{color:#01875f;font-size:14px;margin-top:4px}
.meta{color:#5f6368;font-size:13px;margin-top:4px}
.badge{display:inline-block;background:#e8f0fe;color:#1967d2;padding:4px 8px;border-radius:6px;font-size:12px;margin-top:6px}

/* STATS */
.stats{display:flex;justify-content:space-around;padding:12px 0;text-align:center}
.stat-value{font-weight:500}
.stat-label{font-size:12px;color:#5f6368}

/* INSTALL */
.install-container{padding:16px}
.install-btn{
  width:100%;
  padding:14px;
  background:#01875f;
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:16px;
  font-weight:500;
  position:relative;
  overflow:hidden;
}
.progress{
  position:absolute;
  top:0;left:0;
  height:100%;
  width:0;
  background:rgba(255,255,255,0.3);
  transition:3s linear;
}

.screenshots{
  display:flex;
  gap:6px;
  overflow-x:auto;

  padding-left:16px; /* только слева */

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

.screenshot{
  width:140px; /* фикс вместо min-width */
  height:260px;
  flex:0 0 auto; /* ключевой фикс */

  border-radius:16px;
  overflow:hidden;
}

/* ВОТ ЭТО РЕШАЕТ ПРОБЛЕМУ */
.screenshot:last-child{
  margin-right:16px;
}

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

/* FULLSCREEN VIEW */
#viewer{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

#viewer img{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}

/* SECTION */
.section{padding:16px}
.section-header{display:flex;justify-content:space-between}
.section-title{font-size:18px;font-weight:500}
.arrow{
  width:10px;
  height:10px;
  border-right:2px solid #5f6368;
  border-top:2px solid #5f6368;
  transform:rotate(45deg);
}
.section-text{margin-top:8px;color:#5f6368;font-size:14px}

/* DATA SAFETY */
.data-box{
  margin-top:12px;
  border:1px solid #e0e0e0;
  border-radius:12px;
  padding:12px;
}
.data-item{font-size:14px;margin-bottom:6px}

/* REVIEWS */
.reviews{padding:16px}
.review-title{font-size:18px;font-weight:500;margin-bottom:10px}

.tabs{display:flex;gap:10px;margin-bottom:12px}
.tab{
  padding:6px 12px;
  border-radius:20px;
  background:#e8f5e9;
  color:#01875f;
  font-size:13px;
}
.tab.gray{
  background:#f1f3f4;
  color:#5f6368;
}

.rating-block{display:flex;gap:16px}
.rating-big{font-size:40px}
.stars{color:#01875f;font-size:14px}

.bars{flex:1}
.bar{display:flex;align-items:center;gap:6px;margin:3px 0}
.bar-line{
  flex:1;
  height:6px;
  background:#e0e0e0;
  border-radius:4px;
}
.bar-fill{
  height:100%;
  background:#01875f;
  border-radius:4px;
}

.review{margin-top:16px}
.review-name{font-weight:500;font-size:14px}
.review-text{font-size:13px;color:#5f6368;margin-top:4px}

.review{
  margin-top:20px;
}

/* header */
.review-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* пользователь */
.review-user{
  display:flex;
  align-items:center;
  gap:10px;
}

/* аватар */
.review-avatar{
  width:28px;
  height:28px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}

/* имя */
.review-name{
  font-weight:500;
  font-size:14px;
}

/* меню */
.review-menu{
  width:18px;
  height:18px;
  opacity:0.6;
}

/* ⭐ мета (звезды + дата) */
.review-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

/* дата */
.review-date{
  font-size:12px;
  color:#5f6368;
  white-space:nowrap;
}

/* текст */
.review-text{
  font-size:14px; /* увеличили */
  color:#202124;
  margin-top:8px;
  line-height:1.5;
}

/* helpful */
.review-helpful{
  margin-top:10px;
}

.helpful-count{
  font-size:12px;
  color:#5f6368;
}

.helpful-actions{
  display:flex;
  gap:10px;
  margin-top:6px;
}

.helpful-btn{
  padding:6px 14px;
  border-radius:20px;
  border:1px solid #dadce0;
  background:#fff;
  font-size:13px;
}

.stars{
  display:flex;
  gap:2px;
}

/* базовая звезда */
.star{
  width:14px;
  height:14px;
  background:#dadce0;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%,
    68% 57%, 79% 91%,
    50% 70%, 21% 91%,
    32% 57%, 2% 35%,
    39% 35%
  );
  position:relative;
}

/* полная */
.star.full{
  background:#01875f;
}

/* половина */
.star.half{
  background:#dadce0;
}

.star.half::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:50%;
  height:100%;
  background:#01875f;
  clip-path: inherit;
}

.viewer-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  z-index:1000;
}

/* левая */
#arrow-left{
  left:12px;
}

/* правая */
#arrow-right{
  right:12px;
}

/* hover эффект (как в приложениях) */
.viewer-arrow:active{
  transform:translateY(-50%) scale(0.9);
}

#viewer{
  touch-action:pan-y; /* отключает горизонтальный скролл */
}

.footer{
  padding:20px 16px 30px;
  text-align:left; /* ключевой фикс */
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-links a{
  font-size:13px;
  color:#5f6368;
  text-decoration:none;
}

.footer-links a:hover{
  text-decoration:underline;
}

.extra-section{
  padding:0 16px; /* единый отступ */
}

/* ссылка "все отзывы" */
.all-reviews{
  margin:10px 0;
}

.all-reviews a{
  color:#01875f;
  font-size:14px;
  text-decoration:none;
  font-weight:500;
}

/* скрытый блок */
.support-content{
  display:none;
  margin-top:8px;
}

/* поворот стрелки */
.arrow.rotate{
  transform:rotate(225deg);
}

.extra-section .section{
  padding:16px 0; /* убрали боковые отступы */
}

.all-reviews{
  margin:8px 0 0; /* убрали лишний верхний отступ */
}

.all-reviews a{
  display:block;
  color:#01875f;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
}

.whatsnew-content{
  display:none;
  margin-top:8px;
}

.extra-section{
  padding:0 16px;
  margin-top:8px; /* небольшой отступ от отзывов */
}

/* ключевой фикс */
.reviews{
  padding-bottom:0; /* убираем лишнее пространство */
}

.all-reviews{
  margin:6px 0 8px; /* ровный отступ */
}

.extra-section,
.footer{
  max-width:100%;
}

/* === FIX LAYOUT EXTRA BLOCKS === */

.extra-section{
  padding:0 16px;
  margin-top:0;
}

/* убираем влияние section */
.extra-section .section{
  padding:12px 0;
  margin:0;
}

/* фикс ссылки */
.all-reviews{
  margin:0 0 8px;
  padding:0;
}

/* ключевой момент */
.all-reviews a{
  display:inline-block; /* вместо block */
  line-height:1.2;
}

/* убираем "проседание" */
.review-helpful{
  margin-bottom:4px;
}

/* фикс футера */
.footer{
  padding:16px;
  margin-top:8px;
}

/* === FIX EXTRA SECTION ALIGNMENT === */

.extra-section{
  padding:0 16px;
}

/* УБИРАЕМ ВЛИЯНИЕ .section */
.extra-section .section{
  padding-left:0;
  padding-right:0;
  padding-top:12px;
  padding-bottom:12px;
}

/* фикс кнопки */
.all-reviews{
  margin:0 0 6px;
}

/* делаем как в Play */
.all-reviews a{
  display:inline;
}

/* затемнение */
.popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

/* окно */
.popup-content{
  background:#fff;
  padding:20px;
  border-radius:16px;
  width:90%;
  max-width:360px;
}

/* заголовок */
.popup-title{
  font-size:18px;
  font-weight:500;
  margin-bottom:10px;
}

/* текст */
.popup-text{
  font-size:14px;
  color:#5f6368;
  line-height:1.5;
}

/* кнопка */
.popup-btn{
  margin-top:16px;
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  background:#dadce0;
  color:#fff;
  font-size:15px;
}

/* активная */
.popup-btn.active{
  background:#01875f;
  cursor:pointer;
}

.download-screen{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.download-box{
  width:80%;
  max-width:300px;
  text-align:center;
}

.download-title{
  font-size:18px;
  font-weight:500;
  margin-bottom:20px;
}

.download-bar{
  width:100%;
  height:8px;
  background:#e0e0e0;
  border-radius:6px;
  overflow:hidden;
}

.download-progress{
  width:0%;
  height:100%;
  background:#01875f;
  transition:width 0.3s;
}

.download-percent{
  margin-top:10px;
  font-size:14px;
  color:#5f6368;
}

.play-protect{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  font-size:12px;
  color:#5f6368;
}

.seo-block{
  padding:16px;
  font-size:13px;
  color:#5f6368;
}

.seo-title{
  font-weight:500;
  margin-bottom:8px;
  color:#202124;
}

.seo-item{
  margin-bottom:4px;
}

.faq-seo{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.faq-seo{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
  white-space:nowrap;
}

