/* ===========================================================
   Girou.bet — página de instalação (PWA)
   Layout baseado em uma store page mobile (largura máx. 480px)
   =========================================================== */

body,
div,
html,
p {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  font-size: 10vw;
  overscroll-behavior: none;
  height: 100%;
}

@media (min-width: 480px) {
  html {
    font-size: 48px;
  }
}

body {
  height: 100%;
  background: #f3f3f3;
}

#app {
  font-size: .345rem;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.app_center {
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
}

.pwaPage_v5 {
  background: #f3f3f3;
  height: 100%;
  overflow: auto;
  position: relative;
  width: 100%;
  color: #000;
}

/* ------------------------- topo ------------------------- */

.pwaPage_v5 .warp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.pwaPage_v5 .warp_box1 {
  background: #fff;
  padding-bottom: .8rem;
  position: relative;
  overflow: hidden;
}

.pwaPage_v5 .bg {
  position: absolute;
  width: 100%;
  height: 5.6rem;
  top: 0;
  left: 0;
  overflow: hidden;
}

.pwaPage_v5 .bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: blur(.35rem) saturate(1.2);
  transform: scale(1.15);
}

.pwaPage_v5 .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, .8) 55%, #fff 100%);
}

.pwaPage_v5 .warp1 {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  position: relative;
}

.pwaPage_v5 .warp1 .logo {
  height: 2.6rem;
  width: 2.6rem;
  border-radius: .55rem;
  overflow: hidden;
  box-shadow: 0 .1rem .35rem rgba(0, 0, 0, .18);
}

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

.pwaPage_v5 .warp1 .title {
  font-size: .4rem;
  font-weight: 500;
  margin-top: .7rem;
}

.pwaPage_v5 .warp1 .pelo {
  font-size: .28rem;
  margin-top: .3rem;
  opacity: .5;
}

.pwaPage_v5 .warp2 {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
  position: relative;
}

.pwaPage_v5 .warp2 div {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
}

.pwaPage_v5 .warp2 div p:first-of-type {
  color: #41af48;
  font-size: .42rem;
  margin-bottom: .05rem;
}

.pwaPage_v5 .warp2 div p:nth-of-type(2) {
  opacity: .6;
}

/* ---------------------- botão instalar ---------------------- */

.pwaPage_v5 .warp_box2 {
  padding: 0 .4rem;
  width: 100%;
}

.pwaPage_v5 .warp3 {
  display: flex;
  justify-content: center;
  margin-top: .7rem;
  width: 100%;
}

.pwaPage_v5 .warp3 .box {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pwaPage_v5 .warp3 .btn1 {
  align-items: center;
  background: linear-gradient(#e56220 5%, #ef803f 60%);
  border-radius: .25rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 1.5rem;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  user-select: none;
}

.pwaPage_v5 .warp3 .btn1:active {
  transform: scale(.985);
}

.pwaPage_v5 .warp3 .btn1 .rocket {
  height: .95rem;
  width: .95rem;
  margin-right: .15rem;
  flex: none;
}

.pwaPage_v5 .warp3 .btn1 p:first-of-type {
  color: #fdf945;
  font-size: .45rem;
  margin-bottom: .15rem;
}

.pwaPage_v5 .warp3 .btn1 p:nth-of-type(2) {
  font-size: .32rem;
}

/* brilho passando por cima do botão */
.pwa_shiny::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: pwaShine 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pwaShine {
  0% {
    transform: translateX(-180%) skewX(-20deg);
  }

  70%,
  100% {
    transform: translateX(320%) skewX(-20deg);
  }
}

/* ------------------------ prints ------------------------ */

.pwaPage_v5 .warp4 {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: .3rem;
  margin: .7rem 0 0;
  overflow-x: auto;
  padding: 0 0 .15rem;
  position: relative;
  width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pwaPage_v5 .warp4::-webkit-scrollbar {
  display: none;
}

.pwaPage_v5 .warp4 div {
  flex: none;
  height: 3.6rem;
  border-radius: .18rem;
  overflow: hidden;
}

.pwaPage_v5 .warp4 div img {
  height: 100%;
  width: auto;
  display: block;
}

/* ------------------------- sobre ------------------------- */

.pwaPage_v5 .warp5 {
  background: #fff;
  border-radius: .2rem;
  margin-top: .5rem;
  padding: .8rem .4rem;
  position: relative;
  overflow: hidden;
}

.pwaPage_v5 .warp5 .title {
  font-size: .56rem;
}

.pwaPage_v5 .warp5 .text {
  font-size: .3rem;
  font-weight: 400;
  line-height: 1.5;
  margin-top: .4rem;
  opacity: .7;
}

.pwaPage_v5 .warp5 .left_date {
  margin-top: 1.3rem;
  position: relative;
  font-size: .3rem;
}

.pwaPage_v5 .warp5 .left_date p:first-of-type {
  font-size: .38rem;
  font-weight: 500;
}

.pwaPage_v5 .warp5 .left_date p:nth-of-type(2) {
  margin: .15rem auto .4rem;
}

.pwaPage_v5 .warp5 .left_date::after {
  background: #dadada;
  content: "";
  height: .02rem;
  position: absolute;
  top: -.4rem;
  left: 0;
  width: 4rem;
}

.pwaPage_v5 .warp5 .mascot {
  bottom: .3rem;
  height: 3.2rem;
  position: absolute;
  right: .5rem;
}

/* ---------------------- avaliações ---------------------- */

.pwaPage_v5 .warp6 {
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.pwaPage_v5 .review_box {
  background: #fff;
  border-radius: .2rem;
  padding: .4rem;
}

.pwaPage_v5 .review_summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.pwaPage_v5 .summary_left {
  background: #f3f3f3;
  border-radius: .15rem;
  padding: .4rem .2rem;
  width: 45%;
}

.pwaPage_v5 .summary_left .score {
  color: #6a5cff;
  font-size: .7rem;
  font-weight: 700;
}

.pwaPage_v5 .summary_left .stars {
  color: #6a5cff;
  font-size: .46rem;
  margin: .1rem 0;
}

.pwaPage_v5 .summary_left .count {
  font-size: .36rem;
  opacity: .6;
}

.pwaPage_v5 .summary_right {
  width: 40%;
}

.pwaPage_v5 .rate_row {
  align-items: center;
  display: flex;
  margin-bottom: .05rem;
}

.pwaPage_v5 .rate_row span {
  font-size: .26rem;
  opacity: .6;
  width: .3rem;
}

.pwaPage_v5 .rate_row .bar {
  background: #e5e5e5;
  border-radius: 1rem;
  flex: 1;
  height: .2rem;
  overflow: hidden;
}

.pwaPage_v5 .rate_row .bar_active {
  background: #6a5cff;
  border-radius: 1rem;
  height: 100%;
}

.pwaPage_v5 .rate_row .w85 {
  width: 85%;
}

.pwaPage_v5 .rate_row .w10 {
  width: 20%;
}

.pwaPage_v5 .rate_row .w3 {
  width: 12%;
}

.pwaPage_v5 .rate_row .w1 {
  width: 0;
}

.pwaPage_v5 .review_list {
  margin-top: .6rem;
}

.pwaPage_v5 .review_item {
  display: flex;
  margin-bottom: .6rem;
}

.pwaPage_v5 .review_item .avatar {
  align-items: center;
  background: linear-gradient(140deg, var(--a), var(--b));
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: none;
  font-size: .44rem;
  font-weight: 600;
  height: 1rem;
  justify-content: center;
  margin-right: .3rem;
  width: 1rem;
}

.pwaPage_v5 .review_item .content {
  flex: 1;
  min-width: 0;
}

.pwaPage_v5 .review_item .content .top {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  position: relative;
}

.pwaPage_v5 .review_item .content .top .name {
  font-size: .32rem;
  font-weight: 500;
}

.pwaPage_v5 .review_item .content .top .stars {
  color: #6a5cff;
  font-size: .46rem;
}

.pwaPage_v5 .review_item .content .top .date {
  font-size: .28rem;
  opacity: .5;
  position: absolute;
  right: 0;
  top: .2rem;
}

.pwaPage_v5 .review_item .content .text {
  font-size: .34rem;
  line-height: 1.4;
  margin-top: .15rem;
  opacity: .7;
}

/* -------------------- popup de download -------------------- */

.pwaPage_downloadPopup {
  align-items: center;
  background: rgba(0, 0, 0, .5);
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 99;
}

.pwaPage_downloadPopup .pwaPage_downloadPopup_container {
  align-items: center;
  background: #fff;
  border-radius: .4rem;
  display: flex;
  flex-direction: column;
  padding: .75rem 0 .4rem;
  position: relative;
  width: 8.2rem;
  max-width: 86vw;
}

.pwaPage_downloadPopup .title {
  align-items: center;
  display: flex;
  gap: .25rem;
  justify-content: center;
  width: 100%;
}

.pwaPage_downloadPopup .title svg {
  height: .85rem;
  width: .85rem;
}

.pwaPage_downloadPopup .title span {
  color: #000;
  font-size: .69rem;
}

.pwaPage_downloadPopup .fast {
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .3);
  border-radius: .1rem;
  color: rgba(0, 0, 0, .5);
  display: flex;
  font-size: .46rem;
  height: .63rem;
  justify-content: center;
  margin: .42rem 0 .51rem;
  padding: 0 .35rem;
}

.pwaPage_downloadPopup .safety {
  align-items: center;
  background: rgba(1, 135, 95, .1);
  border: 1px solid #01875f;
  border-radius: .32rem;
  display: flex;
  gap: .18rem;
  height: .66rem;
  justify-content: center;
  margin: 0 0 .52rem;
  padding: 0 .33rem;
}

.pwaPage_downloadPopup .safety svg {
  width: .5rem;
  height: .5rem;
}

.pwaPage_downloadPopup .safety span {
  color: #01875f;
  font-size: .5rem;
}

.pwaPage_downloadPopup .progress-circle {
  --size: 1.11rem;
  --thickness: .1rem;
  --progress: 0;
  align-items: center;
  background: conic-gradient(#000 calc(var(--progress) * 1%), transparent 0);
  border-radius: 50%;
  color: #000;
  display: flex;
  font-size: .3rem;
  height: var(--size);
  justify-content: center;
  position: relative;
  width: var(--size);
}

.pwaPage_downloadPopup .progress-circle::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: calc(var(--size) - var(--thickness) * 2);
  position: absolute;
  width: calc(var(--size) - var(--thickness) * 2);
}

.pwaPage_downloadPopup .progress-text {
  font-weight: 700;
  position: absolute;
  z-index: 1;
}
