/* HARD RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f1f3f4;
}

/* CENTER PAGE */
.outer {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

/* CARD */
.card {
  width: 375px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* HEADER */
.top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}

.meta {
  display: flex;
  flex-direction: column;
}

.name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.version {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

/* INSTALL BUTTON */
.install-wrap {
  margin: 16px 0;
}

.install {
  width: 100%;
  height: 44px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* SCREENSHOTS */
.shots-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.shots {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  margin: 0 -16px 16px;
  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shots img {
  width: 108px;
  height: 216px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #e0e0e0;
}

/* RIGHT FADE (PLAY STORE FEEL) */
.card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 110px;
  width: 24px;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(to left, #fff, transparent);
}

/* ARROWS (DESKTOP) */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.arrow.left { left: -12px; }
.arrow.right { right: -12px; }

@media (max-width: 768px) {
  .arrow {
    display: none;
  }
}

/* ABOUT */
.about-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-text {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

.about-list {
  padding-left: 18px;
  margin: 8px 0 12px;
}

.about-list li {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 4px;
}

.hidden {
  display: none;
}

.see-more {
  background: none;
  border: none;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  cursor: pointer;
}

/* INSTALL INFO BOX */
.install-box {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}

.install-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.install-box ol {
  padding-left: 18px;
}

.install-box li {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* IMAGE VIEWER */
.viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.viewer img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

.viewer-arrow.left { left: 20px; }
.viewer-arrow.right { right: 20px; }

.viewer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .viewer-arrow {
    display: none;
  }
}

/* FOOTER */
.copyright {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-top: 16px;
}
