:root {
  --lpg-accent: #ffcc00;
}

* { box-sizing: border-box; }

.lpg-body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0d1020;
  color: #ffffff;
}

.lpg-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 34px 18px 22px;
  overflow: hidden;
  isolation: isolate;
}

.lpg-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(135deg, #0a0d1a 0%, #101738 50%, #080a14 100%);
}

.lpg-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--lpg-bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: .22;
  transform: scale(1.08);
  filter: blur(12px);
}

.lpg-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(255, 204, 0, .16), transparent 40%), linear-gradient(to bottom, rgba(4, 5, 13, .10), rgba(4, 5, 13, .86));
}

.lpg-card {
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(17, 21, 41, .86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  backdrop-filter: blur(12px);
}

.lpg-hero-image {
  display: block;
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.lpg-content { padding: 34px; text-align: center; }

.lpg-kicker {
  margin: 0 0 12px;
  color: var(--lpg-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lpg-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lpg-description {
  margin: 19px auto 0;
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.58;
}

.lpg-description p:first-child { margin-top: 0; }
.lpg-description p:last-child { margin-bottom: 0; }
.lpg-description a { color: var(--lpg-accent); }

.lpg-cta {
  appearance: none;
  border: 0;
  width: min(100%, 420px);
  margin-top: 30px;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--lpg-accent);
  color: #161616;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .16s ease, filter .16s ease;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--lpg-accent) 25%, transparent);
}

.lpg-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.lpg-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.lpg-disclaimer {
  margin: 14px 0 0;
  color: rgba(255,255,255,.56);
  font-size: 13px;
}

.lpg-missing-destination {
  margin-top: 24px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 80, 80, .12);
  color: #ffd4d4;
}

.lpg-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  color: rgba(255,255,255,.60);
  font-size: 13px;
  text-align: center;
}

.lpg-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lpg-footer a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; }
.lpg-footer a:hover { color: #fff; }

.lpg-vinheta {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 5, 13, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.lpg-vinheta.is-visible { opacity: 1; visibility: visible; }

.lpg-vinheta-box {
  width: min(100%, 340px);
  padding: 30px 24px;
  border-radius: 20px;
  background: #171b31;
  border: 1px solid rgba(255,255,255,.14);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}

.lpg-vinheta-box p { margin: 18px 0 0; font-size: 17px; font-weight: 700; }

.lpg-loader {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 5px solid rgba(255,255,255,.18);
  border-top-color: var(--lpg-accent);
  border-radius: 50%;
  animation: lpg-spin .8s linear infinite;
}

@keyframes lpg-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .lpg-page { padding: 16px 12px 16px; }
  .lpg-card { border-radius: 20px; }
  .lpg-content { padding: 27px 20px; }
  .lpg-description { font-size: 16px; }
  .lpg-cta { width: 100%; }
}

.lpg-custom-text {
  max-width: 650px;
  margin: 24px auto 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.86);
  text-align: left;
  font-size: 16px;
  line-height: 1.62;
}

.lpg-custom-text h2,
.lpg-custom-text h3 {
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.18;
}

.lpg-custom-text p:first-child { margin-top: 0; }
.lpg-custom-text p:last-child { margin-bottom: 0; }
.lpg-custom-text a { color: var(--lpg-accent); }

.lpg-extra-buttons {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  margin: 16px auto 0;
}

.lpg-extra-cta {
  appearance: none;
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--lpg-extra-color, #ffffff);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: var(--lpg-extra-color, #ffffff);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.lpg-extra-cta:hover {
  transform: translateY(-2px);
  background: var(--lpg-extra-color, #ffffff);
  color: #161616;
}

.lpg-extra-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 520px) {
  .lpg-custom-text { padding: 18px; font-size: 15px; }
}

/* Personalização por landing page e blocos manuais. */
.lpg-page::before {
  background: linear-gradient(135deg, #05070d 0%, var(--lpg-bg-color, #0d1020) 48%, #05070d 100%);
}

.lpg-manual-slot {
  width: min(100%, 650px);
  margin: 24px auto 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.16);
  text-align: center;
}

.lpg-manual-slot-label {
  margin: 0 0 10px;
  color: rgba(255,255,255,.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lpg-manual-slot-code {
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

.lpg-manual-slot-code iframe,
.lpg-manual-slot-code ins,
.lpg-manual-slot-code div {
  max-width: 100%;
}

.lpg-manual-slot--bottom { margin-top: 22px; }

/* Tema dinâmico: a área central usa a mesma cor da landing, apenas em uma tonalidade mais escura. */
.lpg-body {
  background: var(--lpg-bg-color, #0d1020);
}

.lpg-page::before {
  background:
    radial-gradient(circle at 50% -15%, color-mix(in srgb, var(--lpg-accent) 24%, transparent), transparent 46%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--lpg-bg-color, #0d1020) 64%, #000 36%) 0%,
      var(--lpg-bg-color, #0d1020) 50%,
      color-mix(in srgb, var(--lpg-bg-color, #0d1020) 58%, #000 42%) 100%
    );
}

.lpg-backdrop {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--lpg-accent) 17%, transparent), transparent 42%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .28) 100%);
}

.lpg-card {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--lpg-bg-color, #0d1020) 88%, #000 12%) 0%,
    color-mix(in srgb, var(--lpg-bg-color, #0d1020) 67%, #000 33%) 100%
  );
  border-color: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 45%, #fff 55%);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--lpg-bg-color, #0d1020) 35%, #000 65%);
}

.lpg-custom-text,
.lpg-manual-slot {
  background: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 75%, #000 25%);
  border-color: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 47%, #fff 53%);
}

.lpg-vinheta {
  background: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 30%, #000 70%);
}

.lpg-vinheta-box {
  background: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 72%, #000 28%);
}

.lpg-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto 14px;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--lpg-accent) 36%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 72%, #000 28%);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.lpg-location-pin {
  color: var(--lpg-accent);
  font-size: 15px;
  line-height: 1;
}

@supports not (background: color-mix(in srgb, #111 60%, #000)) {
  .lpg-card { background: rgba(15, 18, 38, .9); }
  .lpg-custom-text,
  .lpg-manual-slot { background: rgba(0, 0, 0, .24); }
  .lpg-vinheta-box { background: #171b31; }
}

/* Cidade no título e no primeiro texto. */
.lpg-city-intro {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--lpg-accent) 42%, transparent);
  border-left: 4px solid var(--lpg-accent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--lpg-bg-color, #0d1020) 74%, #ffffff 8%);
  color: rgba(255,255,255,.94);
  font-weight: 720;
  line-height: 1.5;
}
