/* public/css/public/landing.css
   Landing v2 (clean + collectible vibe)
   - De-duped: kept the newer "dark/glass" system
   - Retains: carousel + Google CTA + FAQ open state support
*/

/* overall wrapper */
.page-landing .app-main {
  padding-top: 14px;
}

.lp2 {
  position: relative;
}

.lp2-spacer {
  height: 22px;
}

.lp2 .ui-sheet {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

@media (min-width: 900px) {
  .lp2 .ui-sheet {
    padding: 22px;
  }
}

/* headings */
.lp2-h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.1px;
}

@media (min-width: 900px) {
  .lp2-h2 {
    font-size: 26px;
  }
}

.lp2-p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 75ch;
}

/* section blocks */
.lp2-section {
  margin-top: 18px;
}

.lp2-section__head {
  margin-bottom: 14px;
}

/* =========================
   HERO
========================= */
.lp2-hero {
  position: relative;
  overflow: hidden;
}

.lp2-hero__grid {
  display: grid;
  gap: 16px;
  align-items: center;
}

.lp2-hero__grid--solo {
  grid-template-columns: 1fr;
}

.lp2-hero__left {
  padding: 6px 4px;
}

.lp2-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lp2-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgb(193, 193, 193);
}

.lp2-hero__title {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.2px;
}

@media (min-width: 900px) {
  .lp2-hero__title {
    font-size: 40px;
  }
}

.lp2-hero__sub {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.88;
  max-width: 62ch;
}

.lp2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

/* Google CTA button */
.ui-btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lp2-googleLogo {
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 18px;

  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
}

.lp2-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  opacity: 0.92;
}

.lp2-trustItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  font-weight: 900;

  padding: 8px 10px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(193, 193, 193);
}

/* =========================
   CAROUSEL (Brainrots)
========================= */
.lp2-carousel {
  width: 100%;
  max-width: 1100px;
  margin: 14px auto 8px;
  padding: 8px 0 0;
  overflow: hidden;
  position: relative;
  pointer-events: none;
}

.lp2-carousel__lane {
  width: 120%;
  margin-left: -10%;
  overflow: hidden;
  filter: saturate(1.02);
}

.lp2-carousel__lane--a {
  transform: rotate(-6deg);
  opacity: 0.95;
}

.lp2-carousel__lane--b {
  transform: rotate(-2deg);
  opacity: 0.85;
  margin-top: 10px;
}

.lp2-carousel__track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  will-change: transform;
  animation: lp2Scroll 26s linear infinite;
}

.lp2-carousel__lane--b .lp2-carousel__track {
  animation-duration: 32s;
  animation-direction: reverse;
}

@keyframes lp2Scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.lp2-bub {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);

  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .lp2-bub {
    width: 62px;
    height: 62px;
  }
}

.lp2-bubImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   GRIDS
========================= */
.lp2-grid {
  display: grid;
  gap: 12px;
}

/* 3-up cards */
.lp2-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .lp2-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .lp2-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* games grid */
.lp2-grid--games {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .lp2-grid--games {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .lp2-grid--games {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2-up blocks (safety/pricing) */
.lp2-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .lp2-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   WHY cards
========================= */
.lp2-card {
  padding: 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(193, 193, 193);
}

.lp2-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);

  margin-bottom: 10px;
}

.lp2-card__title {
  font-weight: 950;
  margin-bottom: 6px;
}

.lp2-card__text {
  opacity: 0.85;
  line-height: 1.5;
}

/* =========================
   GAME cards
========================= */
.lp2-game {
  padding: 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(193, 193, 193);
}

.lp2-game__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.lp2-game__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp2-game__badge {
  font-size: 12px;
  font-weight: 950;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.lp2-game__title {
  font-weight: 950;
  margin: 6px 0 4px;
}

.lp2-game__text {
  opacity: 0.85;
  line-height: 1.45;
}

.lp2-game__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* =========================
   GAME color accents (uses --gcol)
========================= */

/* subtle left accent */
.lp2-game {
  position: relative;
  border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.lp2-game[data-gcol] {
  border-left-color: color-mix(in srgb, var(--gcol) 70%, transparent);
}

/* soft tinted sheen */
.lp2-game[data-gcol]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;

  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--gcol) 14%, transparent),
    transparent 55%
  );
  opacity: 0.9;
}

/* icon gets tinted ring + glow */
.lp2-game__icon {
  position: relative;
}

.lp2-game[data-gcol] .lp2-game__icon {
  border-color: color-mix(in srgb, var(--gcol) 55%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--gcol) 18%, transparent);
}

.lp2-game[data-gcol] .lp2-game__icon i {
  color: color-mix(in srgb, var(--gcol) 85%, white);
}

/* badge outline tint (keep glass background) */
.lp2-game[data-gcol] .lp2-game__badge {
  border-color: color-mix(in srgb, var(--gcol) 45%, rgba(255, 255, 255, 0.1));
}
/* =========================
   STEPS
========================= */
.lp2-steps {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .lp2-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp2-step {
  padding: 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(193, 193, 193);

  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
}

.lp2-step__n {
  width: 34px;
  height: 34px;
  border-radius: 12px;

  display: grid;
  place-items: center;
  font-weight: 950;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp2-step__title {
  font-weight: 950;
  margin-bottom: 2px;
}

.lp2-step__text {
  opacity: 0.85;
  line-height: 1.4;
}

.lp2-step__emoji {
  font-size: 22px;
  opacity: 0.9;
}

/* =========================
   SAFETY + FOUNDING
========================= */
.lp2-safe,
.lp2-founding {
  padding: 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgb(193, 193, 193);
}

.lp2-safe__title,
.lp2-founding__tag {
  font-weight: 950;
  margin-bottom: 8px;
}

.lp2-founding__btn {
  margin-top: 10px;
  padding: 12px 14px;
}

.lp2-founding--note {
  opacity: 0.95;
}

.lp2-founding__fine {
  margin-top: 10px;
  opacity: 0.82;
  font-size: 13px;
  line-height: 1.45;
}

/* =========================
   FAQ
========================= */
.lp2-faq {
  display: grid;
  gap: 10px;
}

.lp2-faqItem {
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lp2-faqQ {
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  background-color: azure;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  cursor: pointer;
  text-align: left;
  font: inherit;
}

.lp2-faqQ__txt {
  font-weight: 950;
  font-size: 14px;
}

.lp2-faqQ__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp2-faqA {
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 180ms ease,
    opacity 160ms ease;
}

.lp2-faqA__p {
  margin: 0;
  padding: 14px;
  opacity: 0.86;
  line-height: 1.5;
}

.lp2-faqItem.is-open .lp2-faqA {
  max-height: 260px;
  opacity: 1;
}

.lp2-faqItem.is-open .lp2-faqQ__icon i {
  transform: rotate(180deg);
}

/* =========================
   FINAL CTA
========================= */
.lp2-final {
  margin-top: 18px;
}

.lp2-final__tile {
  padding: 16px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.lp2-final__title {
  font-weight: 950;
  font-size: 18px;
  margin-bottom: 4px;
}

.lp2-final__sub {
  opacity: 0.86;
}

.lp2-final__btn {
  gap: 10px;
  padding: 12px 16px;
}

/* ================================
   Optional image helpers (safe)
   - Only used if you later swap emoji->img in a featured card
=================================== */
.lp2-feature__avatar,
.lp2-mini,
.lp2-bub {
  overflow: hidden;
}

.lp2-feature__img,
.lp2-mini__img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
}
