/* Android H5 landing — full-bleed, Chrome-compatible */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #f8f3f3;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background: #f8f3f3;
  color: #2c2f31;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding:
    env(safe-area-inset-top, 0)
    env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
}

.page {
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background: #f8f3f3;
  position: relative;
}

/* —— Top bar —— */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 61px;
  background: #fff;
  box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 0;
  height: 100%;
}

.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-bar__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  color: #6a4852;
}

.top-bar__icon {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--small {
  width: 115px;
  height: 34px;
  border-radius: 9999px;
  background: #6a4852;
  color: #f8f8ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn--cta {
  display: flex;
  margin: 10px auto;
  width: 296px;
  max-width: calc(100% - 64px);
  height: 68px;
  border-radius: 9999px;
  background: #6a4852;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  box-shadow: 0 20px 40px rgba(106, 72, 82, 0.15);
}

/* —— Main —— */
.main {
  padding-bottom: 48px;
}

.hero {
  padding-top: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero__badge {
  background: #ffd1dc;
  color: #704d56;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 9999px;
}

.hero__title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 52px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: 6px;
  color: #2c2f31;
}

.hero__line {
  display: block;
}

.hero__accent {
  color: #704d56;
  letter-spacing: 6px;
}

.hero__sub {
  margin: 14px auto 0;
  max-width: 326px;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 2px;
  color: #595c5e;
}

/* —— Phone stack —— */
.phones {
  position: relative;
  height: 540px;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  width: 360px;
  max-width: 100%;
}

.phone {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone img {
  width: 100%;
  height: 100%;
}

.phone--back {
  left: -36px;
  top: 40px;
  width: 224px;
  height: 460px;
}

.phone--middle {
  left: 36px;
  top: 20px;
  width: 240px;
  height: 500px;
  z-index: 1;
}

.phone--front {
  left: 140px;
  top: 0;
  width: 256px;
  height: 540px;
  box-shadow: 0 40px 80px rgba(117, 82, 91, 0.15);
  z-index: 2;
}

/* —— Browser feature —— */
.feature--browser {
  margin-top: 89px;
  padding: 0 24px;
}

.browser-card {
  border-radius: 48px;
  padding: 25px;
  border: 1px solid rgba(172, 179, 183, 0.15);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.browser-card__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-card__dots {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot--r {
  background: #f76a80;
}

.dot--p {
  background: #fca3ae;
}

.dot--b {
  background: #c9e6ff;
}

.browser-card__url-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.browser-card__url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border-radius: 9999px;
  border: 1px solid rgba(172, 179, 183, 0.15);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.5px;
  color: #2d3337;
}

.browser-card__lock {
  flex-shrink: 0;
  width: 8px;
  height: 10px;
  object-fit: contain;
}

.browser-card__skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sk {
  display: block;
  height: 16px;
  border-radius: 9999px;
  background: #eaeef1;
}

.sk--short {
  width: 194.66px;
  max-width: 75%;
}

.sk--full {
  width: 100%;
}

.sk--mid {
  width: 146px;
  max-width: 56%;
}

.browser-card__viewport {
  position: relative;
  height: 200px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.browser-card__blur-wrap {
  position: absolute;
  inset: -2px -15px -10px -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.browser-card__blur {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.02);
}

.browser-card__hidden {
  position: absolute;
  inset: 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.browser-card__eye {
  width: 33px;
  height: auto;
  object-fit: contain;
}

.browser-card__hidden span {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: rgba(45, 51, 55, 0.6);
}

.feature__copy {
  margin-top: 32px;
}

.feature__copy--right {
  text-align: right;
  padding-right: 16px;
}

.feature__h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #2d3337;
}

.feature__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #596063;
}

/* —— Player —— */
.feature--player {
  margin-top: 100px;
  padding: 48px 24px 0;
}

.feature__copy--left .feature__h2,
.feature__copy--left .feature__desc {
  text-align: left;
}

.feature--player .feature__copy {
  margin-top: 0;
  margin-bottom: 40px;
}

.player-wrap {
  position: relative;
  width: 100%;
}

.player-glow {
  position: absolute;
  inset: -40px;
  border-radius: 9999px;
  background: rgba(255, 209, 220, 0.3);
  filter: blur(30px);
  pointer-events: none;
}

.player {
  position: relative;
  border-radius: 40px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.player__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.player__thumb {
  width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

.player__dim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.player__play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
}

.player__play-btn img {
  width: 16.5px;
  height: 21px;
  object-fit: contain;
  opacity: 0.95;
}

.player__progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.player__progress-fill {
  display: block;
  height: 100%;
  width: 33.33%;
  border-radius: 9999px;
  background: #fff;
}

/* —— Manga —— */
.manga-block {
  margin: 100px 24px 0;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(255, 209, 220, 0.5) 0%,
    rgba(245, 245, 251, 0.5) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.manga-block__title {
  margin: 8px 0 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  color: #2f2f2f;
}

.manga-block__sub {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #677177;
}

.manga-block__covers {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  min-height: 196px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}

.manga {
  flex: 0 0 auto;
  max-width: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manga__inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.manga__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manga--tilt-r {
  transform: rotate(2deg);
  margin-right: -18px;
  z-index: 1;
}

.manga--tilt-l {
  transform: rotate(-3deg);
  margin-left: -18px;
  z-index: 2;
}
