/* LoveMelons — guia "Como funciona" em tela cheia */

.home-photo-guide-backdrop:has(.home-photo-guide-sheet--about) {
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
}

.home-photo-guide-sheet--about {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 100dvh !important;
  flex-direction: column;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse 70% 40% at 10% -5%, rgba(255, 45, 85, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 35% at 95% 0%, rgba(45, 143, 78, 0.16), transparent 50%),
    linear-gradient(170deg, #121814 0%, #0c100e 55%, #120c10 100%) !important;
  box-shadow: none !important;
  position: relative;
  transform: none !important;
  opacity: 1;
}

.home-photo-guide-backdrop.is-open .home-photo-guide-sheet--about {
  transform: none !important;
  opacity: 1 !important;
}

.home-photo-guide-sheet--about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  z-index: 2;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #2d8f4e 22%, #ff2d55 50%, #2d8f4e 78%, transparent);
  pointer-events: none;
}

.home-photo-guide-sheet--about .home-photo-guide-header {
  flex-shrink: 0;
  padding:
    calc(1rem + env(safe-area-inset-top, 0px))
    1.15rem
    0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-photo-guide-sheet--about .home-photo-guide-title {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.home-photo-guide-sheet--about .home-photo-guide-subtitle {
  color: rgba(92, 184, 106, 0.78) !important;
  max-width: 40rem;
}

.home-photo-guide-sheet--about .home-photo-guide-close {
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.home-photo-guide-sheet--about .home-photo-guide-close:hover {
  border-color: rgba(255, 45, 85, 0.4) !important;
  background: rgba(255, 45, 85, 0.12) !important;
  color: #fff !important;
}

.home-photo-guide-sheet--about .home-about-guide-steps {
  flex: 1 1 auto;
  min-height: 0;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.75rem !important;
  align-content: start;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.85rem 1rem 1rem !important;
  scrollbar-width: thin;
  scrollbar-color: #ff2d55 transparent;
}

.home-photo-guide-sheet--about .home-about-guide-steps::-webkit-scrollbar {
  width: 4px;
}

.home-photo-guide-sheet--about .home-about-guide-steps::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2d55, #2d8f4e);
  border-radius: 999px;
}

.home-photo-guide-sheet--about .home-about-guide-step {
  display: grid !important;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: start !important;
  gap: 0;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(8, 14, 10, 0.45);
  overflow: visible !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.home-photo-guide-sheet--about .home-about-guide-step .home-photo-guide-example {
  width: 4.75rem;
  aspect-ratio: 1 / 1 !important;
  height: 4.75rem !important;
  min-height: 4.75rem !important;
  border-radius: 1.05rem 0 0 1.05rem;
  border-right: 1px solid rgba(45, 143, 78, 0.2) !important;
  background: #0a100c !important;
  align-self: start;
}

.home-photo-guide-sheet--about .home-about-guide-step .home-photo-guide-example:after {
  background:
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)),
    radial-gradient(circle at 84% 16%, rgba(255, 45, 85, 0.22), transparent 5.2rem);
}

.home-photo-guide-sheet--about .home-photo-guide-copy {
  align-self: start !important;
  padding: 0.7rem 0.85rem 0.8rem !important;
  min-width: 0;
}

.home-photo-guide-sheet--about .home-photo-guide-copy > div {
  min-width: 0;
  overflow: visible;
}

.home-photo-guide-sheet--about .home-photo-guide-copy h3 {
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
}

.home-photo-guide-sheet--about .home-photo-guide-copy p {
  margin-top: 0.28rem !important;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.68);
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  white-space: normal !important;
}

.home-photo-guide-sheet--about .home-photo-guide-step-index {
  width: 1.35rem !important;
  height: 1.35rem !important;
  border-radius: 0.4rem !important;
  background: linear-gradient(135deg, #ff4d6d, #ff2d55) !important;
  color: #fff !important;
  box-shadow: 0 0.35rem 0.75rem rgba(255, 45, 85, 0.35) !important;
  flex-shrink: 0;
}

.home-photo-guide-sheet--about .home-photo-guide-action {
  flex-shrink: 0;
  width: calc(100% - 2rem) !important;
  max-width: 28rem;
  margin: 0 auto calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff4d6d 0%, #ff2d55 50%, #e01030 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow:
    0 0.55rem 1.25rem rgba(255, 45, 85, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.25) !important;
}

.home-photo-guide-sheet--about .home-photo-guide-action:hover {
  filter: brightness(1.05);
}

@media (min-width: 720px) {
  .home-photo-guide-sheet--about .home-about-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    padding: 1rem 1.35rem 1.15rem !important;
  }

  .home-photo-guide-sheet--about .home-about-guide-step {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .home-photo-guide-sheet--about .home-about-guide-step .home-photo-guide-example {
    width: 5.5rem;
    height: 5.5rem !important;
    min-height: 5.5rem !important;
  }
}

@media (min-width: 1100px) {
  .home-photo-guide-sheet--about .home-photo-guide-header {
    padding-inline: 1.75rem !important;
  }

  .home-photo-guide-sheet--about .home-about-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 72rem;
    margin-inline: auto;
    width: 100%;
    padding-inline: 1.75rem !important;
  }

  .home-photo-guide-sheet--about .home-photo-guide-copy p {
    font-size: 0.84rem !important;
  }
}

/* Página /sobre (shell embutido) */
.home-about-guide-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.35rem 0 1.25rem;
}

.home-about-guide-shell {
  width: min(100%, 42rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1.5px solid rgba(45, 143, 78, 0.35);
  border-radius: 1.85rem;
  background:
    radial-gradient(ellipse 85% 50% at 12% -8%, rgba(255, 45, 85, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(45, 143, 78, 0.16), transparent 50%),
    linear-gradient(170deg, #161c18 0%, #101410 55%, #141014 100%);
  box-shadow:
    0 1rem 2.6rem rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 45, 85, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.home-about-guide-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #2d8f4e 22%, #ff2d55 50%, #2d8f4e 78%, transparent);
  pointer-events: none;
}

.home-about-guide-hero {
  padding: 1rem 1rem 0.65rem;
}

.home-about-guide-hero h2 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-about-guide-hero p {
  margin: 0.35rem 0 0;
  color: rgba(92, 184, 106, 0.78);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-about-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 0 0.9rem 0.75rem;
}

.home-about-guide-step .home-photo-guide-example {
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0;
}

.home-about-guide-step .home-photo-guide-example:after {
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 84% 16%, rgba(255, 45, 85, 0.22), transparent 5.2rem);
}

.home-about-guide-feature-mark {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d6d, #ff2d55);
  color: #fff;
  box-shadow:
    0 0.5rem 1rem rgba(0, 0, 0, 0.32),
    0 0 1rem rgba(255, 45, 85, 0.36);
}

.home-about-guide-feature-mark .material-symbols-outlined {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.home-about-guide-feature-mark--tip {
  background: linear-gradient(135deg, #5cb86a, #2d8f4e);
  box-shadow:
    0 0.5rem 1rem rgba(0, 0, 0, 0.32),
    0 0 1rem rgba(45, 143, 78, 0.3);
}

.home-about-guide-example--coins {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 45, 85, 0.18), transparent 55%),
    #0a100c;
}

.home-about-guide-coins-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem;
  width: 100%;
}

.home-about-guide-coins-demo__balance {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(45, 143, 78, 0.4);
  border-radius: 999px;
  background: rgba(45, 143, 78, 0.12);
  color: #5cb86a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.home-about-guide-coins-demo__icon {
  width: 1.55rem;
  height: 1.55rem;
}

.home-about-guide-coins-demo__packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.home-about-guide-coins-demo__packages span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
}

.home-about-guide-coins-demo__packages span.is-active {
  border-color: rgba(255, 45, 85, 0.75);
  background: rgba(255, 45, 85, 0.14);
  color: #fff;
}

.home-about-guide-coins-demo__cost {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
}

.home-about-guide-coins-demo__cost .recharge-coin-icon {
  width: 0.92rem;
  height: 0.92rem;
}

.home-about-guide-action {
  display: block;
  width: calc(100% - 1.8rem);
  margin: 0 0.9rem 0.85rem;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d6d 0%, #ff2d55 50%, #e01030 100%);
  color: #fff;
  font-weight: 900;
  box-shadow:
    0 0.55rem 1.25rem rgba(255, 45, 85, 0.35),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.home-view-root--about .home-feed-scroll {
  background: transparent;
}

.sobre-guide-page .landing-page__main {
  padding-top: 0.5rem;
}

.sobre-guide-page .home-about-guide-shell {
  width: min(94vw, 42rem);
}

.sobre-guide-page .landing-page__hero {
  display: none;
}

.sobre-guide-page .landing-page__section--faq {
  margin-top: 1.5rem;
}

@media (max-width: 560px) {
  .home-about-guide-shell {
    width: min(96vw, 28rem);
  }

  .home-photo-guide-sheet--about .home-about-guide-step {
    grid-template-columns: 4.25rem minmax(0, 1fr);
  }

  .home-photo-guide-sheet--about .home-about-guide-step .home-photo-guide-example {
    width: 4.25rem;
    height: 4.25rem !important;
    min-height: 4.25rem !important;
  }
}
