/* ============================================================
   ORÁCULO MÍSTICO — style.css
   Estilo cinematográfico inspirado em Unreal Engine
   ============================================================ */

/* ---------- VARIÁVEIS ---------- */
:root {
  --c-void: #020804;
  --c-deep: #050d12;
  --c-arcane: #0a1a1f;
  --c-teal: #00d4c8;
  --c-teal-dim: #00897f;
  --c-teal-glow: rgba(0, 212, 200, 0.18);
  --c-gold: #c8a84b;
  --c-gold-glow: rgba(200, 168, 75, 0.25);
  --c-amber: #ff9f1c;
  --c-violet: #7b2fff;
  --c-violet-dim: rgba(123, 47, 255, 0.3);
  --c-white: #e8f0ef;
  --c-smoke: rgba(0, 180, 170, 0.04);

  --portal-size: min(420px, 72vw);
  --font-display: 'Cinzel Decorative', serif;
  --font-serif: 'Cinzel', serif;
  --font-body: 'IM Fell English', serif;

  --ease-portal: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #020804 !important;
  color: var(--c-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ---------- BG CANVAS ---------- */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- CURSOR CUSTOMIZADO ---------- */
.cursor-outer {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--c-teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s var(--ease-portal),
    width 0.2s, height 0.2s,
    border-color 0.3s;
  mix-blend-mode: screen;
  z-index: 20000;
}

.cursor-inner {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--c-teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.04s, background 0.3s;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px var(--c-teal);
}

.cursor-hover .cursor-outer {
  width: 60px;
  height: 60px;
  border-color: var(--c-gold);
  border-width: 2px;
}

.cursor-hover .cursor-inner {
  background: var(--c-gold);
  box-shadow: 0 0 12px var(--c-gold);
}

@media (pointer: coarse) {

  .cursor-outer,
  .cursor-inner {
    display: none;
  }

  html,
  body {
    cursor: default;
  }
}

/* ---------- LOADING ---------- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--c-void);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-rune {
  font-size: 2.5rem;
  color: var(--c-teal);
  animation: spin 2s linear infinite;
  text-shadow: 0 0 20px var(--c-teal);
}

.loading-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-teal-dim);
  animation: pulse-opacity 1.5s ease-in-out infinite;
}

.loading-bar-wrap {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-teal), var(--c-gold));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--c-teal);
}

/* ---------- SCENE / LAYOUT ---------- */
.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

/* ---------- DEPTH LAYERS ---------- */
.depth-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.stars-layer {
  z-index: 1;
}

.fog-layer {
  z-index: 2;
}

/* ---------- FOG BLOBS ---------- */
.fog-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: fog-drift 18s ease-in-out infinite;
}

.fog-blob-1 {
  width: 60vw;
  height: 40vw;
  background: radial-gradient(ellipse, rgba(0, 180, 165, 0.10) 0%, transparent 70%);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.fog-blob-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(ellipse, rgba(123, 47, 255, 0.08) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation-delay: -6s;
}

.fog-blob-3 {
  width: 40vw;
  height: 30vw;
  background: radial-gradient(ellipse, rgba(200, 168, 75, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes fog-drift {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  20% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
    transform: translateY(-30px) scale(1.08);
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

/* ---------- RUNAS FLUTUANTES ---------- */
.runes-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.floating-rune {
  position: absolute;
  font-family: var(--font-serif);
  color: var(--c-teal);
  opacity: 0;
  animation: rune-float var(--dur, 12s) ease-in-out var(--delay, 0s) infinite;
  text-shadow: 0 0 10px var(--c-teal);
  user-select: none;
}

@keyframes rune-float {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }

  20% {
    opacity: var(--op, 0.15);
  }

  80% {
    opacity: var(--op, 0.15);
  }

  100% {
    opacity: 0;
    transform: translateY(-30px) scale(1.1);
  }
}

/* ---------- TITLE AREA ---------- */
.title-area {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 2.5rem;
  pointer-events: none;
  animation: fade-down 1.5s var(--ease-portal) both;
  animation-delay: 0.4s;
}

.eyebrow-text {
  font-family: var(--font-serif);
  font-size: clamp(0.55rem, 1.2vw, 0.75rem);
  letter-spacing: 0.5em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  opacity: 0.8;
  animation: pulse-opacity 3s ease-in-out infinite;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg,
      var(--c-white) 0%,
      var(--c-teal) 40%,
      var(--c-gold) 70%,
      var(--c-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(0, 212, 200, 0.4));
  letter-spacing: 0.08em;
}

.main-title span {
  font-size: 1.2em;
  display: block;
}

.subtitle-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  color: rgba(232, 240, 239, 0.55);
  margin-top: 0.8rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* ---------- PORTAL SECTION ---------- */
.portal-section {
  position: relative;
  z-index: 10;
}

.portal-container {
  position: relative;
  width: var(--portal-size);
  height: var(--portal-size);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-up 1.5s var(--ease-portal) both;
  animation-delay: 0.8s;
}

/* --- ANÉIS DE ENERGIA --- */
.energy-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  inset: -8%;
  border: 1.5px solid rgba(0, 212, 200, 0.25);
  animation: ring-spin 12s linear infinite;
  box-shadow: 0 0 20px rgba(0, 212, 200, 0.1), inset 0 0 20px rgba(0, 212, 200, 0.05);
}

.ring-2 {
  inset: -14%;
  border: 1px solid rgba(200, 168, 75, 0.15);
  animation: ring-spin 20s linear infinite reverse;
  box-shadow: 0 0 30px rgba(200, 168, 75, 0.08);
  border-style: dashed;
}

.ring-3 {
  inset: -20%;
  border: 1px solid rgba(123, 47, 255, 0.10);
  animation: ring-spin 35s linear infinite;
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- ÓRBITAS DE SÍMBOLOS --- */
.symbol-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-outer {
  inset: -2%;
  animation: orbit-rotate 25s linear infinite;
}

.orbit-inner {
  inset: 12%;
  animation: orbit-rotate 15s linear infinite reverse;
}

@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.orbital-symbol,
.orbital-symbol-inner {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 0 calc(var(--portal-size) / 2 + 4px);
  transform: translateX(-50%) rotate(calc(var(--i) * 45deg));
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  color: var(--c-teal);
  text-shadow: 0 0 10px var(--c-teal);
  opacity: 0.6;
}

.orbital-symbol-inner {
  top: 2%;
  transform-origin: 0 calc(var(--portal-size) * 0.36);
  transform: translateX(-50%) rotate(calc(var(--i) * 60deg));
  color: var(--c-gold);
  text-shadow: 0 0 8px var(--c-gold);
  opacity: 0.5;
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
}

/* --- PORTAL CANVAS --- */
.portal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* --- AURA --- */
.portal-aura {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 212, 200, 0.12) 0%, transparent 65%);
  animation: aura-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.portal-aura-2 {
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123, 47, 255, 0.06) 0%, transparent 60%);
  animation: aura-pulse 5s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes aura-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* --- PORTAL CORE (botão) --- */
.portal-core {
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s var(--ease-portal);
}

.portal-core:hover .core-inner-glow {
  opacity: 1;
}

.core-inner-glow {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 200, 0.25) 0%, transparent 70%);
  opacity: 0.5;
  transition: opacity 0.3s;
  animation: core-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes core-glow-pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.core-eye {
  position: relative;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 200, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 212, 200, 0.3), inset 0 0 15px rgba(0, 212, 200, 0.2);
}

.eye-iris {
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-teal) 0%, var(--c-violet) 60%, transparent 100%);
  animation: iris-spin 8s linear infinite;
  box-shadow: 0 0 10px var(--c-teal);
}

.eye-pupil {
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: var(--c-void);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

@keyframes iris-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.portal-enter-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  /* Agora sempre visível */
  transition: all 0.4s var(--ease-portal);
  pointer-events: none;

  /* Fundo mágico e visibilidade */
  background: radial-gradient(circle, rgba(10, 26, 31, 0.8) 0%, rgba(2, 4, 8, 0.4) 100%);
  backdrop-filter: blur(10px);
  padding: 12px 25px;
  border-radius: 60px;
  border: 1px solid var(--c-teal-glow);
  box-shadow: 0 0 30px var(--c-teal-glow),
    inset 0 0 15px rgba(0, 212, 200, 0.1);
  margin-top: 20px;
  transform: translateY(10px);
}

.portal-enter-text span {
  font-family: var(--font-serif);
  font-size: clamp(0.6rem, 1.2vw, 0.8rem);
  letter-spacing: 0.4em;
  color: var(--c-teal);
  text-shadow: 0 0 15px var(--c-teal);
  text-transform: uppercase;
  font-weight: 700;
}

.enter-sub {
  font-family: var(--font-body) !important;
  font-style: italic;
  font-size: clamp(0.5rem, 1vw, 0.65rem) !important;
  letter-spacing: 0.25em !important;
  color: var(--c-white) !important;
  opacity: 0.8;
}

/* ---------- BOTTOM AREA ---------- */
.bottom-area {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 2rem;
  animation: fade-up 1.5s var(--ease-portal) both;
  animation-delay: 1.2s;
  pointer-events: auto; /* Permite cliques nos links */
}

.hint-text {
  font-family: var(--font-serif);
  font-size: clamp(0.55rem, 1vw, 0.7rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(0, 212, 200, 0.4);
  margin-bottom: 0.4rem;
}

.hint-icon {
  display: inline-block;
  animation: spin 8s linear infinite;
  margin: 0 0.5em;
}

.small-mystical {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.6rem, 1.1vw, 0.75rem);
  color: rgba(232, 240, 239, 0.2);
  letter-spacing: 0.05em;
}

/* ---------- TRANSITION OVERLAY ---------- */
.transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 7000;
  pointer-events: none;
  display: none;
}

.transition-overlay.active {
  display: block;
}

.warp-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warp-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--c-teal);
  opacity: 0;
  animation: warp-expand 0.8s ease-out forwards;
  box-shadow: 0 0 20px var(--c-teal);
}

@keyframes warp-expand {
  0% {
    opacity: 0.8;
    transform: scale(0);
  }

  100% {
    opacity: 0;
    transform: scale(10);
  }
}

.flash-white {
  position: absolute;
  inset: 0;
  background: #020804 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat;
  opacity: 0;
  transition: opacity 0.15s ease;
  animation: move-stars 150s linear infinite;
}

@keyframes move-stars {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -10000px 5000px;
  }
}

.flash-white.active {
  opacity: 1;
}

/* ---------- KEYFRAMES GLOBAIS ---------- */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-opacity {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ---------- ESTADO: PORTAL ATIVADO ---------- */
.portal-activated .portal-container {
  animation: portal-suck 2.5s var(--ease-portal) forwards !important;
}

.portal-activated .title-area,
.portal-activated .bottom-area {
  animation: fade-away 1s ease forwards !important;
}

@keyframes portal-suck {
  0% {
    transform: scale(1);
  }

  60% {
    transform: scale(2.5);
  }

  100% {
    transform: scale(8);
    opacity: 0;
  }
}

@keyframes fade-away {
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  :root {
    --portal-size: min(320px, 82vw);
  }

  .main-title {
    letter-spacing: 0.04em;
  }

  .title-area {
    margin-bottom: 1.8rem;
  }

  .bottom-area {
    margin-top: 1.5rem;
  }

  .fog-blob {
    filter: blur(50px);
  }
}

@media (max-height: 650px) {
  .title-area {
    margin-bottom: 1rem;
  }

  .bottom-area {
    display: none;
  }

  .eyebrow-text {
    display: none;
  }
}

/* ============================================================
   PIX SUPPORT PANEL
   ============================================================ */

.pix-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-family: var(--font-serif);
}

/* ---- Toggle button ---- */
.pix-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(2, 8, 4, 0.85);
  border: 1px solid rgba(0, 212, 200, 0.45);
  border-radius: 40px;
  color: var(--c-teal);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 15px rgba(0, 212, 200, 0.15),
    inset 0 0 12px rgba(0, 212, 200, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}

.pix-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,200,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pix-toggle:hover {
  border-color: rgba(0, 212, 200, 0.8);
  box-shadow:
    0 0 28px rgba(0, 212, 200, 0.3),
    inset 0 0 20px rgba(0, 212, 200, 0.08);
  color: #fff;
}

.pix-toggle:hover::before { opacity: 1; }

.pix-toggle-icon {
  font-size: 14px;
  animation: pixStarPulse 2.2s ease-in-out infinite;
  color: var(--c-gold);
}

@keyframes pixStarPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

.pix-toggle-label {
  font-size: 11px;
  letter-spacing: 2px;
}

/* ---- Content drawer ---- */
.pix-content {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 24px 22px 22px;
  width: 380px;
  background: linear-gradient(
    160deg,
    rgba(5, 18, 20, 0.97) 0%,
    rgba(2, 8, 4, 0.95) 100%
  );
  border: 1px solid rgba(0, 212, 200, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 40px rgba(0,0,0,0.7),
    0 0 25px rgba(0, 212, 200, 0.08),
    inset 0 0 30px rgba(0, 212, 200, 0.03);
  animation: pixReveal 0.35s var(--ease-portal) both;
}

.pix-content.open {
  display: flex;
}

@keyframes pixReveal {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Titles ---- */
.pix-title {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-teal);
  text-align: center;
  text-shadow: 0 0 16px rgba(0, 212, 200, 0.6);
  margin: 0;
  line-height: 1.35;
}

.pix-subtitle {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(232, 240, 239, 0.75);
  text-align: center;
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.55;
}

/* ---- QR Code ---- */
.pix-qr-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(200, 168, 75, 0.35);
  background: rgba(2, 8, 4, 0.6);
  border-radius: 8px;
  box-shadow:
    0 0 20px rgba(200, 168, 75, 0.12),
    inset 0 0 15px rgba(200, 168, 75, 0.06);
}

.pix-qr-glow {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, rgba(200,168,75,0.18) 0%, transparent 70%);
  animation: pixQrGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pixQrGlow {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

.pix-qr-img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 4px;
  image-rendering: crisp-edges;
}

/* ---- Email ---- */
.pix-email-block {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 212, 200, 0.05);
  border: 1px solid rgba(0, 212, 200, 0.2);
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.pix-email-icon {
  font-size: 18px;
  color: var(--c-teal);
  opacity: 0.9;
  flex-shrink: 0;
}

.pix-email {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #e8f5f4;
  letter-spacing: 0.1px;
  white-space: nowrap;
  line-height: 1.5;
  flex: 1;
}

/* ---- Copy button ---- */
.pix-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(0, 212, 200, 0.08);
  border: 1px solid rgba(0, 212, 200, 0.3);
  border-radius: 6px;
  color: var(--c-teal);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
  margin-left: 4px;
}

.pix-copy-btn:hover {
  background: rgba(0, 212, 200, 0.18);
  border-color: rgba(0, 212, 200, 0.7);
  box-shadow: 0 0 10px rgba(0, 212, 200, 0.25);
  transform: scale(1.08);
}

.pix-copy-btn:active {
  transform: scale(0.95);
}

.pix-copy-btn.copied {
  background: rgba(0, 200, 100, 0.15);
  border-color: rgba(0, 200, 100, 0.6);
  color: #00c864;
  box-shadow: 0 0 12px rgba(0, 200, 100, 0.25);
}

.pix-copy-icon {
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}


/* ---- Responsive — smaller screens ---- */
@media (max-width: 480px) {
  .pix-panel {
    top: 12px;
    right: 12px;
  }

  .pix-toggle-label { display: none; }

  .pix-toggle {
    padding: 10px 12px;
    border-radius: 50%;
  }

  .pix-content {
    width: max-content;
    max-width: calc(100vw - 32px);
    right: 0;
  }
  
  .pix-email {
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════════════════════
   10. LEGAL FOOTER AND MODAL
══════════════════════════════════════════════════════════ */
.legal-footer {
  margin-top: 15px;
  text-align: center;
}

.legal-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-family: inherit;
  font-size: 11px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.legal-link {
  background: none;
  border: none;
  color: var(--c-teal);
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  margin: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.legal-link:hover {
  opacity: 1;
}

/* Modal Jurídico */
.legal-modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 8, 4, 0.95);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.legal-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 212, 200, 0.2);
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 212, 200, 0.1);
}

.legal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--c-teal);
  font-size: 16px;
  cursor: pointer;
  padding: 15px 20px;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.legal-close:hover {
  color: #fff;
}

.legal-modal-body {
  padding: 0 30px 40px 30px;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.legal-modal-body h2 {
  color: var(--c-teal);
  font-family: 'Cinzel Decorative', cursive;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.legal-modal-body h3 {
  color: #fff;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-modal-body p, .legal-modal-body ul {
  margin-bottom: 15px;
}

.legal-modal-body ul {
  padding-left: 20px;
}

.legal-modal-body li {
  margin-bottom: 5px;
  color: rgba(0, 212, 200, 0.9);
}

.legal-modal-body li span {
  color: rgba(255, 255, 255, 0.8);
}

/* Scrollbar for modal */
.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 200, 0.4);
  border-radius: 3px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 200, 0.7);
}