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

body {
  font-family: "Roboto", "Noto Sans Bengali", Arial, sans-serif;
  background: #fff;
  color: #202124;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  font-size: 14px;
}

/* Top browser bar */
.browser-bar {
  background: #3c4043;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.browser-bar .close-btn {
  color: #bdc1c6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-weight: 300;
}

.browser-bar .site-info {
  flex: 1;
  text-align: center;
}

.browser-bar .site-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.browser-bar .site-url {
  color: #bdc1c6;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.browser-bar .site-url::before {
  content: "🔒";
  font-size: 10px;
}

.browser-bar .menu-btn {
  color: #bdc1c6;
  font-size: 20px;
  cursor: pointer;
}

/* App header section */
.app-header {
  padding: 16px 16px 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5a623 0%, #e8860a 40%, #c8681a 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.app-icon-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    #f9d423 0%,
    #f5a623 30%,
    #d4820a 70%,
    #b86010 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.app-icon .vip-number {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.app-icon .vip-text {
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  background: #c8621a;
  padding: 1px 5px;
  border-radius: 3px;
  margin-top: 2px;
}

.app-meta {
  flex: 1;
}

.app-name {
  font-size: 20px;
  font-weight: 500;
  color: #202124;
  line-height: 1.3;
}

.app-subtitle {
  font-size: 13px;
  color: #1a73e8;
  margin-top: 2px;
  font-weight: 500;
}

.app-verified {
  font-size: 11px;
  color: #5f6368;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-verified::before {
  content: "✓";
  color: #34a853;
  font-weight: bold;
  font-size: 12px;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  padding: 10px 16px 14px;
  border-bottom: 1px solid #e8eaed;
}

.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 1px;
  background: #e8eaed;
}

.stat-value {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stat-value .star {
  color: #f9ab00;
  font-size: 14px;
}

.stat-label {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
}

/* Install button */
.install-section {
  padding: 14px 16px;
}

.install-btn {
  width: 100%;
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #2e7d32 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  display: block;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.4);
}

.install-btn .btn-top {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.install-btn .btn-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 2px;
}

/* Action row */
.action-row {
  display: flex;
  padding: 4px 16px 16px;
  gap: 0;
  border-bottom: 1px solid #e8eaed;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  background: none;
  border: none;
}

.action-btn .action-icon {
  font-size: 18px;
}

/* Section */
.section {
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e8eaed;
}

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

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
}

.section-arrow {
  color: #5f6368;
  font-size: 20px;
  line-height: 1;
}

.section-body {
  font-size: 13.5px;
  color: #3c4043;
  line-height: 1.65;
}

/* Update info */
.update-section {
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e8eaed;
}

.update-label {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 4px;
}

.update-date {
  font-size: 13.5px;
  color: #3c4043;
}

/* Data safety items */
.safety-items {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 14px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
}

.safety-item:last-child {
  border-bottom: none;
}

.safety-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #5f6368;
}

.safety-text {
  font-size: 13px;
  color: #3c4043;
  line-height: 1.5;
}

/* Rating section */
.rating-section {
  padding: 16px 16px 20px;
}

.rating-section .section-header {
  margin-bottom: 10px;
}

.rating-body {
  font-size: 13.5px;
  color: #3c4043;
  line-height: 1.65;
}

/* Feature slider */
.feature-slider-wrap {
  position: relative;
  padding: 14px 0;
  border-bottom: 1px solid #e8eaed;
  overflow: hidden;
}

.feature-slider {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0 16px;
}

.feature-slider::-webkit-scrollbar {
  display: none;
}

.feature-slide {
  flex-shrink: 0;
  width: calc((100% - 32px - 6px * 3.5) / 4.5);
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

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

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #3c4043;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  z-index: 2;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

#slidePrev {
  left: 4px;
}
#slideNext {
  right: 4px;
}

.slider-nav-btn:active {
  background: #f1f3f4;
}

.slider-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 1000;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.lightbox-back {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px 4px 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.lightbox-counter {
  color: #9aa0a6;
  font-size: 13px;
  margin-left: 10px;
}

.lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-nav.lb-prev {
  left: 10px;
}
.lightbox-nav.lb-next {
  right: 10px;
}
.lightbox-nav:disabled {
  opacity: 0.2;
  cursor: default;
}
