/* =========================================================
   EFEITOS — partículas, brilhos, tilt 3D, entradas
   ========================================================= */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Partículas no fundo */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.fx-burst  { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 200; pointer-events: none; }

/* Luz que segue o dedo/mouse */
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(30,232,121,.16), transparent 65%); transform: translate3d(var(--gx, 50vw), var(--gy, 30vh), 0); transition: opacity .4s; opacity: 0; }
.cursor-glow.on { opacity: 1; }

/* Grão de filme */
.grain { position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Banner: zoom lento (Ken Burns) + linha de scan */
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
.cover::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(30,232,121,.18) 50%, transparent 100%); background-size: 100% 30%; background-repeat: no-repeat;
  animation: scan 5s linear infinite; mix-blend-mode: screen; }
@keyframes scan { from { background-position: 0 -40%; } to { background-position: 0 140%; } }

/* Avatar: anel girando */
.avatar { background: conic-gradient(from var(--spin), var(--accent), transparent 30%, var(--accent-2) 50%, transparent 80%, var(--accent)); animation: spin 4s linear infinite; }
.avatar::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(30,232,121,.35), transparent 70%); z-index: -1; animation: breathe 3s ease-in-out infinite; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .6; } }

/* Nome: brilho passando */
@keyframes sheen { from { background-position: 120% 0; } 60%, to { background-position: -30% 0; } }
.name .verified { animation: pop 3s ease-in-out infinite; }
@keyframes pop { 0%, 85%, 100% { transform: scale(1); } 90% { transform: scale(1.25) rotate(-8deg); } }

/* Motto: borda animada */
.motto { position: relative; overflow: hidden; }
.motto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(160,255,200,.25), transparent); transform: translateX(-100%); animation: shine 3s ease-in-out infinite 1s; }

/* Cards: tilt 3D + holofote no cursor */
.links { perspective: 900px; }
.card { overflow: hidden; will-change: transform; }
.card.tilting { transition: transform .08s linear, box-shadow .2s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(160,255,200,.16), transparent 60%); }
.card:hover::after, .card.tilting::after { opacity: 1; }

/* Plataforma principal: borda neon girando */
.platform.primary { border-color: transparent; background:
  linear-gradient(160deg, #0b2416, var(--card) 60%) padding-box,
  conic-gradient(from var(--spin), var(--accent), transparent 25%, transparent 50%, var(--accent-2) 75%, var(--accent)) border-box;
  border: 1.5px solid transparent; animation: spin 5s linear infinite; }
.platform-name { text-shadow: 0 0 18px rgba(30,232,121,.45); }

/* Botão play pulsando */
.play { position: relative; }
.play::before, .play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-ink); animation: ripple-ring 1.8s ease-out infinite; }
.play::after { animation-delay: .9s; }
@keyframes ripple-ring { to { transform: scale(1.8); opacity: 0; } }
.play svg { margin-left: 2px; }

/* Ripple ao tocar */
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(160,255,200,.35); transform: scale(0); animation: rip .6s ease-out forwards; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

/* Ícones dos canais */
.ch-icon { position: relative; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.channel:hover .ch-icon { transform: rotate(-8deg) scale(1.08); }
.ch-icon.whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-pulse 2s infinite; }
@keyframes wa-pulse { to { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }

/* Galeria */
.shot { position: relative; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .3s; }
.shot:hover::after { box-shadow: inset 0 0 0 2px var(--accent), 0 0 24px rgba(30,232,121,.35); }

/* Entradas */
.reveal { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(6px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1), filter .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Portão: anel com brilho e explosão */
.hold.pressing .hold-core { animation: shake .12s linear infinite; }
@keyframes shake { 25% { translate: 1px 0; } 75% { translate: -1px 0; } }
.gate.opening .gate-card { transform: scale(1.08); filter: blur(8px); }

/* Card "Quero um site igual" */
.want { margin-top: 26px; display: flex; align-items: center; gap: 14px; padding: 16px 14px 16px 16px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(30,232,121,.14), transparent 55%), linear-gradient(180deg, rgba(22,26,23,.92), rgba(14,15,15,.95));
  border: 1px solid rgba(30,232,121,.3); box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(12px); }
.want::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); filter: blur(.5px); box-shadow: 0 0 14px var(--accent); }
.want-logo { position: relative; flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #1b1d22, #0c0d10); border: 1px solid #2c2e35; box-shadow: inset 0 0 20px rgba(37,211,102,.22); }
.want-logo b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--accent-2), #25d366); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 8px rgba(30,232,121,.45)); }
.want-logo svg { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: #25d366; color: #fff; box-shadow: 0 4px 12px rgba(37,211,102,.5); }
.want-copy { flex: 1; display: grid; gap: 2px; text-align: left; min-width: 0; }
.want-hook { font-size: 12px; font-weight: 800; color: var(--accent); }
.want-copy strong { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.want-copy small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.want-copy small b { color: var(--text); }
.want-go { flex: none; position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 0 0 6px rgba(30,232,121,.14), 0 8px 24px rgba(30,232,121,.35); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.want-go svg { width: 22px; height: 22px; }
.want-go::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(30,232,121,.5); animation: ripple-ring 2s ease-out infinite; }
.want:hover .want-go { transform: rotate(45deg) scale(1.06); }
.dev-sign { margin-top: 4px; text-align: center; font-size: 11.5px; color: #6b6b73; letter-spacing: .04em; }
.dev-sign b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .06em; color: var(--accent-2); }

@media (hover: none) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-canvas, .grain { display: none; } .reveal { opacity: 1; transform: none; filter: none; } }

/* ================= NOME "DIONIS" ================= */
.name { position: relative; margin-top: 14px; padding: 6px 14px; gap: 6px; background: none; color: var(--text); filter: none; }
.name-mark { position: relative; isolation: isolate; display: inline-block; padding: 0 .16em; font-size: clamp(58px, 17vw, 78px); line-height: .95; letter-spacing: .03em; }
/* faixa marca-texto inclinada atrás */
.name-mark::before { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; top: 48%; bottom: 4%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, var(--accent)); transform: skewX(-14deg) scaleX(0); transform-origin: left;
  border-radius: 4px; box-shadow: 0 0 28px rgba(30,232,121,.55); }
.name.in .name-mark::before { animation: mark-in .7s cubic-bezier(.7,0,.2,1) .45s forwards; }
@keyframes mark-in { to { transform: skewX(-14deg) scaleX(1); } }
/* camada de glitch */
.name-mark::after { content: attr(data-text); position: absolute; inset: 0; padding: 0 .16em; color: var(--accent-2); pointer-events: none; opacity: 0;
  text-shadow: -3px 0 #00c2a8, 3px 0 #b6ff3b; animation: glitch 6s steps(1) infinite 2s; }
@keyframes glitch {
  0%, 91%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: none; }
  92% { opacity: .9; clip-path: inset(10% 0 62% 0); transform: translate(-5px, 0); }
  94% { opacity: .9; clip-path: inset(58% 0 12% 0); transform: translate(5px, 0); }
  96% { opacity: .9; clip-path: inset(30% 0 40% 0); transform: translate(-3px, 0); }
  98% { opacity: 0; }
}
.name-text { position: relative; display: inline-flex; color: #fff;
  text-shadow: 0 3px 0 #04361b, 0 6px 0 rgba(0,0,0,.35), 0 0 30px rgba(30,232,121,.45); }
.name-text .ch { display: inline-block; opacity: 0; transform: translateY(-60%) rotate(-8deg) scale(1.3); filter: blur(4px);
}
.name.in .name-text .ch { animation: ch-in .55s cubic-bezier(.2,1.4,.4,1) forwards, ch-wave 5s ease-in-out infinite; animation-delay: calc(.15s + var(--i) * .07s), calc(2.5s + var(--i) * .08s); }
@keyframes ch-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes ch-wave { 0%, 12%, 100% { translate: 0 0; } 6% { translate: 0 -6px; } }
/* cantoneiras tech */
.name::before, .name::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); opacity: .85; filter: drop-shadow(0 0 6px var(--accent)); animation: corner 2.4s ease-in-out infinite; }
.name::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.name::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
@keyframes corner { 50% { transform: translate(-3px, -3px); } }
.name::after { animation-direction: reverse; }
.name .verified { width: 30px; height: 30px; align-self: flex-start; margin-top: 4px; filter: drop-shadow(0 0 8px rgba(56,151,240,.6)); }
.name:hover .name-mark::after { animation-duration: .6s; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .name-text .ch { opacity: 1; transform: none; filter: none; } .name-mark::before { transform: skewX(-14deg); } }

/* ================= DIGITAL (portão) ================= */
.hold-core { position: relative; overflow: hidden; font-size: 0; }
.fp { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.fp-base { color: rgba(139,255,189,.22); }
.fp-fill { color: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent));
  clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.fp-scan { position: absolute; left: 12%; right: 12%; height: 3px; border-radius: 3px; top: calc((1 - var(--p, 0)) * 100%);
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent); box-shadow: 0 0 14px 3px rgba(30,232,121,.7);
  opacity: 0; transition: opacity .2s; }
.hold.pressing .fp-scan { opacity: 1; }
/* parado: a digital "respira" e uma linha de scan passa sozinha */
.hold:not(.pressing) .fp-base { animation: fp-idle 2.4s ease-in-out infinite; }
@keyframes fp-idle { 50% { color: rgba(139,255,189,.45); } }
.hold-core::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%;
  background: linear-gradient(180deg, transparent, rgba(30,232,121,.18), transparent); animation: fp-sweep 2.4s ease-in-out infinite; }
.hold.pressing .hold-core::after { animation: none; opacity: 0; }
@keyframes fp-sweep { to { top: 100%; } }
.hold.pressing .hold-core { animation: none; }
/* liberado */
.hold.ok .fp-fill { clip-path: none; color: #fff; filter: drop-shadow(0 0 10px var(--accent)); }
.hold.ok .hold-core { background: radial-gradient(circle, rgba(30,232,121,.45), #0d2c1a); }


.follow-more .tt { width: 16px; height: 16px; color: #fff; filter: drop-shadow(-1px -1px 0 #25f4ee) drop-shadow(1px 1px 0 #fe2c55); }

/* ================= TIKTOK ================= */
.tiktok-section { margin-top: 36px; }
.tt-frame { position: relative; min-height: 420px; padding: 10px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,26,23,.9), rgba(12,13,13,.95)); border: 1px solid rgba(139,255,189,.2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 20px 50px rgba(0,0,0,.45), 0 0 30px rgba(30,232,121,.12); }
.tt-frame::before { content: ""; position: absolute; left: 15%; right: 15%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #25f4ee, #fe2c55, transparent); box-shadow: 0 0 12px #25f4ee; }
.tt-frame .tiktok-embed, .tt-frame iframe { border-radius: 14px !important; }
.tt-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-size: 13px; transition: opacity .4s; }
.tt-loading svg { width: 34px; height: 34px; color: #fff; filter: drop-shadow(-2px -2px 0 #25f4ee) drop-shadow(2px 2px 0 #fe2c55); animation: breathe 1.6s ease-in-out infinite; }
.tt-frame.ready .tt-loading { opacity: 0; pointer-events: none; }
.tt-frame.ready { min-height: 0 !important; }

/* ================= ETIQUETAS DAS PLATAFORMAS ================= */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -2px 0 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #eafff2;
  background: rgba(0,0,0,.38); border: 1px solid rgba(139,255,189,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.tag svg { width: 14px; height: 14px; flex: none; color: var(--accent-2); }
.tag[data-kind="live"] svg { color: #fff; }
.tag[data-kind="live"] { border-color: rgba(255,59,78,.55); }
.tag[data-kind="sport"] svg { color: #fff; }
.tag[data-kind="esports"] svg { color: #b58cff; }
.tag[data-kind="crash"] svg { color: #ff5a5a; }
.tag[data-kind="pix"] svg { color: #32d2c3; }
/* entrada em cascata */
.platform .tag { animation: tag-in .5s cubic-bezier(.2,1.3,.4,1) both; }
.platform .tag:nth-child(2) { animation-delay: .08s; } .platform .tag:nth-child(3) { animation-delay: .16s; } .platform .tag:nth-child(4) { animation-delay: .24s; }
@keyframes tag-in { from { opacity: 0; transform: translateY(6px) scale(.9); } }
/* no tema cassino as etiquetas ganham borda dourada */
.cassino .tag { background: rgba(10,30,18,.65); border-color: rgba(255,201,40,.55); color: #fff6d8; }
.cassino .tag svg { color: #ffc928; }
.cassino .tag[data-kind="live"] svg, .cassino .tag[data-kind="sport"] svg { color: #fff; }
.cassino .tag[data-kind="crash"] svg { color: #ff6b6b; }

/* ================= CARD "LANÇAMENTO • EM BREVE" ================= */
.platform.soon { cursor: default; --soon: #b58cff; --soon-2: #e2d4ff; }
.platform.soon .badge { color: var(--soon-2); }
.platform.soon .badge i { background: var(--soon); box-shadow: 0 0 8px var(--soon); animation: blink 1.2s infinite; }
.soon-name { position: relative; color: transparent !important; text-shadow: none !important;
  background: linear-gradient(100deg, #8f7aa8 0%, #8f7aa8 35%, #fff 50%, #8f7aa8 65%, #8f7aa8 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; animation: sheen 3s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(181,140,255,.35)); }
.platform.soon .platform-action, .cassino .platform.soon .platform-action {
  color: var(--soon-2); background: rgba(20,12,32,.72); border: 1.5px dashed rgba(181,140,255,.55);
  box-shadow: inset 0 0 20px rgba(181,140,255,.12); }
.platform.soon .play, .cassino .platform.soon .play {
  background: radial-gradient(circle at 35% 30%, #c9a8ff, #7b4fd6 60%, #3d2470); color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 14px rgba(181,140,255,.6); }
.platform.soon .play::before, .platform.soon .play::after { border-color: var(--soon); }
.platform.soon .play svg { margin-left: 0; }
.platform.soon .platform-action strong { letter-spacing: .06em; text-transform: uppercase; }
.platform.soon .platform-action small { opacity: .8; }
.soon-dots { display: inline-flex; gap: 4px; padding-right: 4px; }
.soon-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--soon-2); animation: soon-dot 1.2s ease-in-out infinite; }
.soon-dots i:nth-child(2) { animation-delay: .15s; } .soon-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes soon-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
/* tema padrão: borda roxa */
body:not(.cassino) .platform.soon { border-color: rgba(181,140,255,.35); background: linear-gradient(160deg, rgba(28,16,44,.92), rgba(20,20,22,.92) 60%); }
/* tema cassino: luzes da borda em roxo */
.cassino .platform.soon .cas-lights .l1 { stroke: #e2d4ff; filter: drop-shadow(0 0 3px #b58cff); }
.cassino .platform.soon .cas-lights .l2 { stroke: #b58cff; }
