/* Homepage e /comunidade: por cima do lobby.css (mesmos botões, cartões, rails e animações do /bonus) */
.portal-pagina { background: transparent; }
.portal-pagina::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.05), rgba(10,10,10,.35) 60%, rgba(10,10,10,.7)), url("/assets/brand/fundo.webp") center / cover no-repeat, var(--fundo); }
.portal-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px 32px;
  background: rgba(10,10,10,.28); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.portal-logo { width: 100%; height: auto; border-radius: 50%; filter: drop-shadow(0 0 28px rgba(255,150,30,.35)) drop-shadow(0 18px 40px rgba(0,0,0,.55)); animation: portal-flutuar 6s ease-in-out infinite; }
.portal-titulo { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.portal-lede { margin: 12px 0 20px; color: var(--tinta-2); font-size: 15px; line-height: 1.6; }
.portal-botoes { display: grid; gap: 10px; }
.portal-botoes .botao { justify-content: flex-start; gap: 12px; padding: 0 20px; }
.portal-botoes .botao .ic { width: 20px; height: 20px; flex: none; }
.portal-botoes .botao .seta-dir { margin-left: auto; opacity: .7; }
.portal-selo { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--tinta-2); }
.botao.telegram { background: linear-gradient(135deg, #2aabee, #1b7fc4); color: #fff; }
.botao.telegram:hover { background: linear-gradient(135deg, #3bb8f5, #1f8ad3); }

/* Campanha (/telegram): sem menu lateral nem dock, conteúdo centrado */
[data-campanha] .grelha { grid-template-columns: minmax(0, 1fr); max-width: 1100px; }
[data-campanha] .topo { justify-content: center; }
[data-campanha] .conteudo { padding-bottom: 24px; }

/* CTA do Telegram no topo de /bonus-telegram */
.portal-cta-telegram { display: grid; gap: 14px; justify-items: center; text-align: center;
  background: linear-gradient(135deg, rgba(42,171,238,.22), rgba(27,127,196,.12)), var(--cartao); border: 1px solid rgba(42,171,238,.35); }
.portal-cta-telegram p { font-size: 16px; font-weight: 500; line-height: 1.5; max-width: 46em; }
.portal-cta-telegram .botao { max-width: 420px; height: 56px; font-size: 16px; gap: 10px; }
.portal-cta-telegram .botao .ic { width: 22px; height: 22px; }

/* Comunidade Telegram: mesmo tratamento do rail "Mini-jogos" */
#rail-telegram { color: #fff; background:
  radial-gradient(circle at 82% 18%, rgba(38,210,255,.28), transparent 27%),
  radial-gradient(circle at 12% 110%, rgba(255,62,201,.28), transparent 34%),
  linear-gradient(135deg, #d4102a, #7a0716 55%, #2a0508); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 55px -35px rgba(120,8,20,.8); }
#rail-telegram .rail-sub { color: rgba(255,255,255,.78); line-height: 1.55; }
#rail-telegram .todos, #rail-telegram .seta { color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
#rail-telegram .todos:hover, #rail-telegram .seta:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.g-telegram { background: linear-gradient(135deg, #3bb8f5, #1b7fc4); }
.jogo.tg { box-shadow: 0 12px 28px rgba(0,0,0,.32); background: var(--g); isolation: isolate; }
.jogo.tg::after { content: "Entrar"; }
.jogo.tg .c-telegram { background: linear-gradient(135deg, #2aabee, #1b7fc4); }
.tg-arte { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.45), transparent 38%), radial-gradient(circle at 20% 15%, rgba(255,255,255,.25), transparent 22%), radial-gradient(circle at 85% 85%, rgba(0,0,0,.35), transparent 45%); }
.tg-arte::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, transparent 0 10%, rgba(255,255,255,.14) 12% 16%, transparent 18% 35%, rgba(255,255,255,.12) 37% 41%, transparent 43% 60%, rgba(255,255,255,.14) 62% 66%, transparent 68% 85%, rgba(255,255,255,.1) 87% 91%, transparent 93%); animation: tg-raios 24s linear infinite; }
.tg-arte svg { position: relative; width: 52%; height: auto; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)) drop-shadow(0 0 18px rgba(255,255,255,.55)); transition: transform .3s ease; }
.jogo.tg:hover .tg-arte svg { transform: scale(1.06) rotate(-3deg); }
.tg-titulo { position: absolute; left: 0; right: 0; top: 68%; z-index: 1; text-align: center; font-size: clamp(15px, 1.5vw, 20px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 6px 18px rgba(0,0,0,.45); }

.portal-seo h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.portal-seo p { color: var(--tinta-2); font-size: 14.5px; line-height: 1.7; }
.portal-seo p + p { margin-top: 10px; }
.portal-seo b { color: var(--tinta); font-weight: 600; }

@media (max-width: 860px) {
  .portal-hero { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; gap: 12px; }
  .portal-logo { width: min(280px, 72vw); margin: 0 auto; }
  .portal-pagina::before { background-position: 30% center, 30% center, 0 0; }
  .portal-botoes { text-align: left; }
}
@keyframes portal-flutuar { 50% { transform: translateY(-8px) rotate(-.6deg); } }
@keyframes tg-raios { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .portal-logo, .tg-arte::before { animation: none; } }
