:root {
  --fundo: #0b0710;
  --vinho: #7a1e48;
  --roxo: #3b1d6e;
  --rosa: #e0245e;
  --laranja: #c93f22;
  --texto: #f7eff5;
  --texto-suave: rgba(247, 239, 245, 0.68);
  --vidro: rgba(255, 255, 255, 0.06);
  --vidro-borda: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body.travado { overflow: hidden; }

/* Dois brilhos desfocados atrás de tudo: vinho no alto à esquerda, roxo embaixo à direita. */
.fundo {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fundo::before,
.fundo::after {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(60px);
}
.fundo::before {
  top: -160px;
  left: -180px;
  background: radial-gradient(circle, var(--vinho) 0%, transparent 70%);
}
.fundo::after {
  right: -180px;
  bottom: -160px;
  background: radial-gradient(circle, var(--roxo) 0%, transparent 70%);
}

.pagina {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 16px 32px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.topo { text-align: center; margin-bottom: 28px; }
.topo h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.topo p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-suave);
}

/* O mesmo vidro vale para os cards e para a caixa do aviso +18. */
.card,
.aviso-caixa {
  background: var(--vidro);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--vidro-borda);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card { padding: 16px; margin-bottom: 16px; }

.foto {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--vinho), var(--roxo));
}
.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h2 {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.frase {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--texto-suave);
  overflow-wrap: anywhere;
}
.preco {
  margin: 12px 0 14px;
  font-size: 17px;
  font-weight: 600;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rosa), var(--laranja));
  box-shadow: 0 10px 28px rgba(224, 36, 94, 0.32);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.botao:active { transform: scale(0.98); }

.secundario,
.sair {
  display: block;
  padding: 12px 8px 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-suave);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.vazio {
  margin: 48px 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--texto-suave);
}

.rodape {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--texto-suave);
}

/* Aviso +18: cobre tudo até a pessoa confirmar. */
.aviso {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(11, 7, 16, 0.78);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
/* Já confirmou +18 (classe posta pelo script do <head>): nada de aviso nem de trava. */
html.maior18 .aviso { display: none; }
html.maior18 body.travado { overflow: visible; }
.aviso-caixa {
  width: 100%;
  max-width: 380px;
  padding: 28px 20px 20px;
  text-align: center;
}
.aviso-caixa h2 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}
.sair { padding-top: 14px; }
