/* =============================================
   BIBLIOTECA MÍSTICA — ESTILOS GLOBAIS
   ============================================= */

:root {
  --purple-darkest: #0a0010;
  --purple-deep:    #120020;
  --purple-dark:    #1e0035;
  --purple-mid:     #3d0066;
  --purple-accent:  #6a00b8;
  --purple-bright:  #9b30ff;
  --purple-light:   #c77dff;
  --purple-glow:    #e0aaff;
  --purple-ultra:   #f0d0ff;
  --gold:           #d4a017;
  --gold-light:     #f5c842;
  --gold-glow:      rgba(212,160,23,0.4);
  --crimson:        #8b0000;
  --crimson-glow:   rgba(139,0,0,0.4);
  --white:          #ffffff;
  --text-main:      #e8d5ff;
  --text-dim:       #a678c8;
  --card-bg:        rgba(20,0,40,0.85);
  --card-border:    rgba(106,0,184,0.5);
  --input-bg:       rgba(30,0,53,0.7);
  --shadow-purple:  0 0 40px rgba(155,48,255,0.4);
  --shadow-gold:    0 0 20px rgba(212,160,23,0.5);
  --radius:         16px;
  --transition:     cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--purple-darkest);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Login: sem scroll — página estática */
body.login-page {
  overflow: hidden;
}

/* Dashboard: scroll vertical liberado */
body.dashboard-page {
  overflow-y: auto;
}

/* ========= SCROLLBAR ========= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--purple-deep); }
::-webkit-scrollbar-thumb { background: var(--purple-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-bright); }

/* =============================================
   TELA DE LOGIN
   ============================================= */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, var(--purple-dark) 0%, var(--purple-deep) 40%, var(--purple-darkest) 100%);
}

/* Canvas de partículas */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Neblina mística */
.mist-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(106,0,184,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(61,0,102,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(30,0,53,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: mistPulse 8s ease-in-out infinite alternate;
}

@keyframes mistPulse {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

/* Container principal */
.login-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px;
  width: 100%;
  max-width: 480px;
}

/* =============================================
   OLHO MÍSTICO ANIMADO
   ============================================= */

.eye-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.eye-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,48,255,0.1) 0%, rgba(106,0,184,0.04) 50%, transparent 70%);
  animation: glowRingPulse 5s ease-in-out infinite;
  pointer-events: none;
  will-change: opacity, transform;
}

.eye-glow-ring::before {
  content: '';
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  border: 1px solid rgba(155,48,255,0.12);
  animation: glowRingPulse 7s ease-in-out infinite reverse;
}

.eye-glow-ring::after {
  content: '';
  position: absolute;
  inset: 62px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.08);
  animation: glowRingPulse 9s ease-in-out infinite;
}

@keyframes glowRingPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.eye-socket {
  position: relative;
  width: 260px;
  height: 240px;
  animation: socketGlow 4s ease-in-out infinite;
  will-change: filter;
  /* contain removido: bloqueia JS transforms em filhos no iOS Safari */
}

@keyframes socketGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 22px rgba(155,48,255,0.8))
      drop-shadow(0 0 55px rgba(155,48,255,0.4))
      drop-shadow(0 0 110px rgba(106,0,184,0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 38px rgba(155,48,255,1))
      drop-shadow(0 0 95px rgba(155,48,255,0.6))
      drop-shadow(0 0 170px rgba(106,0,184,0.42));
  }
}

/* Raio dourado saindo do ápice da pirâmide */
.eye-socket::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(to top, rgba(212,160,23,0.85), transparent);
  filter: blur(0.8px);
  pointer-events: none;
  z-index: 20;
}

/* Sem raio inferior — triângulo não tem vértice na base */
.eye-socket::after { content: none; }

.eye-white {
  position: absolute;
  inset: 0;
  /* Triângulo — Olho da Providência / pirâmide */
  clip-path: polygon(50% 2%, 2% 98%, 98% 98%);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 62% 52% at 50% 52%,
      rgba(55,0,100,0.88) 0%,
      rgba(22,0,44,0.95) 42%,
      rgba(4,0,10,1) 80%
    );
}

/* Overlay de piscar — fade over triângulo */
.eye-blink-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 8, 0.97);
  opacity: 0;
  z-index: 8;
  pointer-events: none;
}

/* Frame SVG do triângulo */
.eye-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 15;
}

.eye-frame .tri-main {
  animation: triGlowPulse 4s ease-in-out infinite;
}

@keyframes triGlowPulse {
  0%, 100% { opacity: 0.75; }
  50%       { opacity: 1;    }
}

/* Veias — orientadas para o olho vertical */
.eye-vein {
  position: absolute;
  pointer-events: none;
}
/* Veia subindo para o ponto superior */
.eye-vein-1 {
  width: 1.5px; height: 58px;
  top: 7%; left: calc(50% + 5px);
  background: linear-gradient(to bottom, transparent, rgba(160,40,40,0.3), transparent);
  transform: rotate(6deg);
}
/* Veia descendo para o ponto inferior */
.eye-vein-2 {
  width: 1px; height: 48px;
  bottom: 8%; left: calc(50% - 8px);
  background: linear-gradient(to top, transparent, rgba(160,40,40,0.25), transparent);
  transform: rotate(-4deg);
}
/* Veia horizontal esquerda */
.eye-vein-3 {
  width: 48px; height: 1px;
  top: 38%; left: 9%;
  background: linear-gradient(to right, transparent, rgba(160,40,40,0.2), transparent);
  transform: rotate(18deg);
}
/* Veia horizontal direita */
.eye-vein-4 {
  width: 42px; height: 1px;
  top: 56%; right: 10%;
  background: linear-gradient(to left, transparent, rgba(160,40,40,0.18), transparent);
  transform: rotate(-14deg);
}

/* Íris — muito mais detalhada */
.eye-iris {
  position: absolute;
  width: 96px;
  height: 96px;
  top: 60%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0a0010 0%, #0a0010 18%,
      #3d0066 22%, #6a00b8 32%, #8b20d4 40%,
      #9b30e8 46%, #7a18c0 52%,
      #5800a0 58%, #3d0066 66%,
      #2a0050 75%, #1a0030 85%, #0a0010 100%);
  box-shadow:
    0 0 20px rgba(155,48,255,1),
    0 0 40px rgba(106,0,184,0.8),
    0 0 70px rgba(80,0,160,0.4),
    inset 0 0 15px rgba(0,0,0,0.6),
    inset 0 0 5px rgba(200,150,255,0.1);
  will-change: transform;
}

/* Fibras da íris — camada 1: raios */
.eye-iris::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(180,80,255,0.18) 0deg 2deg,
    transparent 2deg 8deg,
    rgba(120,0,200,0.12) 8deg 10deg,
    transparent 10deg 16deg
  );
  animation: irisSpin 25s linear infinite;
}

/* Fibras da íris — camada 2: anel de criptas */
.eye-iris::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(220,160,255,0.12) 0deg 3deg,
    transparent 3deg 12deg
  );
  box-shadow: inset 0 0 8px rgba(155,48,255,0.3);
  animation: irisSpin 18s linear infinite reverse;
}

.eye-iris-pattern {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(180,100,255,0.15);
  background: radial-gradient(circle, transparent 55%, rgba(155,48,255,0.08) 70%, transparent 100%);
}

@keyframes irisSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Pupila — vertical, mística, como um gato/réptil/demônio */
.eye-pupil {
  position: absolute;
  width: 26px;
  height: 52px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 28%, #2a0050 0%, #0f0018 35%, #000000 70%);
  box-shadow:
    0 0 8px rgba(0,0,0,1),
    0 0 16px rgba(0,0,0,0.8),
    inset 0 0 6px rgba(155,48,255,0.2);
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1), height 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* Reflexo de luz na pupila */
.eye-reflection {
  position: absolute;
  width: 7px; height: 11px;
  top: 12%; left: 18%;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  filter: blur(1.5px);
  transform: rotate(-15deg);
}

/* Segundo reflexo menor */
.eye-reflection-2 {
  position: absolute;
  width: 4px; height: 4px;
  bottom: 20%; right: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  filter: blur(1px);
}

/* Limbo — borda escura ao redor da íris */
.eye-limbus {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,0.5), inset 0 0 12px rgba(0,0,0,0.4);
  pointer-events: none;
}

/* Pálpebras — forma mais anatômica */
.eyelid {
  position: absolute;
  left: -2px; right: -2px;
  height: 52%;
  z-index: 10;
  pointer-events: none;
}

.eyelid-top {
  top: -2px;
  transform-origin: top center;
  background:
    radial-gradient(ellipse at 50% 0%, #1e0035 0%, #120020 50%, #0a0010 100%);
  border-radius: 0 0 100% 100% / 0 0 90% 90%;
  transform: scaleY(0);
  /* JS controla a animação */
}

.eyelid-bottom {
  bottom: -2px;
  transform-origin: bottom center;
  background:
    radial-gradient(ellipse at 50% 100%, #1e0035 0%, #120020 50%, #0a0010 100%);
  border-radius: 100% 100% 0 0 / 90% 90% 0 0;
  transform: scaleY(0.05);
  /* JS controla a animação */
}

/* Sombra da pálpebra superior sobre o olho */
.eyelid-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
  border-radius: 0 0 50% 50%;
}

/* Cílios — mais longos e curvados */
.lashes {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-around;
  z-index: 11;
  pointer-events: none;
}

.lashes-top {
  top: -3px;
  align-items: flex-end;
}

.lashes-bottom {
  bottom: -3px;
  align-items: flex-start;
}

.lashes span {
  display: block;
  width: 1.5px;
  background: linear-gradient(to top, #0a0010, #4a00a0);
  border-radius: 1px;
}

.lashes-top span { height: 18px; transform-origin: bottom center; }
.lashes-top span:nth-child(1) { transform: rotate(-38deg); height: 11px; }
.lashes-top span:nth-child(2) { transform: rotate(-22deg); height: 16px; }
.lashes-top span:nth-child(3) { transform: rotate(-10deg); height: 20px; }
.lashes-top span:nth-child(4) { transform: rotate(-3deg);  height: 22px; }
.lashes-top span:nth-child(5) { transform: rotate(0deg);   height: 23px; }
.lashes-top span:nth-child(6) { transform: rotate(0deg);   height: 22px; }
.lashes-top span:nth-child(7) { transform: rotate(8deg);   height: 20px; }
.lashes-top span:nth-child(8) { transform: rotate(20deg);  height: 16px; }
.lashes-top span:nth-child(9) { transform: rotate(36deg);  height: 11px; }

.lashes-bottom span { height: 10px; transform-origin: top center; }
.lashes-bottom span:nth-child(1) { transform: rotate(35deg);  height: 7px; }
.lashes-bottom span:nth-child(2) { transform: rotate(12deg);  height: 10px; }
.lashes-bottom span:nth-child(3) { transform: rotate(0deg);   height: 11px; }
.lashes-bottom span:nth-child(4) { transform: rotate(-12deg); height: 10px; }
.lashes-bottom span:nth-child(5) { transform: rotate(-35deg); height: 7px; }

/* Cílios */
.lashes {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-around;
  z-index: 11;
  pointer-events: none;
}

.lashes-top {
  top: -2px;
  align-items: flex-end;
}

.lashes-bottom {
  bottom: -2px;
  align-items: flex-start;
}

.lashes span {
  display: block;
  width: 2px;
  background: linear-gradient(to top, #1a0030, #6a00b8);
  border-radius: 1px;
}

.lashes-top span { height: 14px; transform-origin: bottom center; }
.lashes-top span:nth-child(1) { transform: rotate(-30deg); height: 10px; }
.lashes-top span:nth-child(2) { transform: rotate(-15deg); height: 14px; }
.lashes-top span:nth-child(3) { transform: rotate(-5deg);  height: 16px; }
.lashes-top span:nth-child(4) { transform: rotate(0deg);   height: 17px; }
.lashes-top span:nth-child(5) { transform: rotate(0deg);   height: 18px; }
.lashes-top span:nth-child(6) { transform: rotate(0deg);   height: 17px; }
.lashes-top span:nth-child(7) { transform: rotate(5deg);   height: 16px; }
.lashes-top span:nth-child(8) { transform: rotate(15deg);  height: 14px; }
.lashes-top span:nth-child(9) { transform: rotate(30deg);  height: 10px; }

.lashes-bottom span { height: 8px; transform-origin: top center; }
.lashes-bottom span:nth-child(1) { transform: rotate(30deg);  height: 6px; }
.lashes-bottom span:nth-child(2) { transform: rotate(10deg);  height: 8px; }
.lashes-bottom span:nth-child(3) { transform: rotate(0deg);   height: 9px; }
.lashes-bottom span:nth-child(4) { transform: rotate(-10deg); height: 8px; }
.lashes-bottom span:nth-child(5) { transform: rotate(-30deg); height: 6px; }

/* Legenda do olho */
.eye-caption {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--purple-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.7;
  animation: captionPulse 4s ease-in-out infinite;
}

@keyframes captionPulse {
  0%, 100% { opacity: 0.4; letter-spacing: 4px; }
  50%       { opacity: 0.9; letter-spacing: 6px; }
}

/* =============================================
   CARD DE LOGIN
   ============================================= */

.login-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    var(--shadow-purple),
    0 0 80px rgba(106,0,184,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* Brilho superior do card */
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
  opacity: 0.8;
}

/* Padrão de fundo sutil no card */
.login-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(155,48,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(212,160,23,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.login-card-inner {
  padding: 40px 36px;
  position: relative;
  z-index: 2;
}

/* ===== HEADER DO LOGIN ===== */
.login-header {
  text-align: center;
  margin-bottom: 36px;
}

/* Sigil decorativo */
.sigil {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  position: relative;
}

.sigil::before, .sigil::after {
  content: '⛤';
  position: absolute;
  font-size: 50px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--purple-bright);
  text-shadow: 0 0 20px var(--purple-bright), 0 0 40px rgba(155,48,255,0.5);
  animation: sigilSpin 30s linear infinite;
}

.sigil::after {
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold);
  animation: sigilSpinReverse 20s linear infinite;
  opacity: 0.5;
  font-size: 40px;
}

@keyframes sigilSpin        { from { transform: translate(-50%,-50%) rotate(0deg); }   to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes sigilSpinReverse { from { transform: translate(-50%,-50%) rotate(0deg); }   to { transform: translate(-50%,-50%) rotate(-360deg); } }

.login-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-glow);
  text-shadow: 0 0 20px rgba(155,48,255,0.8), 0 0 40px rgba(155,48,255,0.4);
  letter-spacing: 2px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.login-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== FORMULÁRIO ===== */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-icon {
  color: var(--purple-bright);
  font-size: 0.6rem;
}

.label-sub {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(166,120,200,0.55);
  letter-spacing: 1px;
  text-transform: none;
  margin-top: 2px;
  padding-left: 16px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 18px;
  padding-right: 50px;
  background: var(--input-bg);
  border: 1px solid rgba(106,0,184,0.4);
  border-radius: 10px;
  color: var(--text-main);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s var(--transition), box-shadow 0.3s var(--transition);
  backdrop-filter: blur(10px);
}

.input-wrapper input::placeholder {
  color: rgba(166,120,200,0.5);
  font-style: italic;
  font-size: 0.85rem;
}

.input-wrapper input:focus {
  border-color: var(--purple-bright);
  box-shadow:
    0 0 0 3px rgba(155,48,255,0.15),
    0 0 20px rgba(155,48,255,0.2);
}

.input-wrapper input:focus + .input-glow {
  opacity: 1;
}

.input-glow {
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Botão mostrar/ocultar senha */
.toggle-password {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.toggle-password svg {
  width: 18px; height: 18px;
}

.toggle-password:hover { color: var(--purple-light); }

/* Erro do formulário */
.form-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  text-align: center;
  min-height: 20px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-error.visible { opacity: 1; }

/* ===== BOTÃO DE LOGIN ===== */
.btn-login {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  margin-top: -8px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-accent) 50%, var(--purple-mid) 100%);
  background-size: 200% 200%;
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow:
    0 4px 20px rgba(106,0,184,0.5),
    0 0 40px rgba(155,48,255,0.2);
  animation: btnGradient 4s ease infinite;
}

@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.btn-login:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(106,0,184,0.7),
    0 0 60px rgba(155,48,255,0.4);
}

.btn-login:active:not(:disabled) { transform: translateY(0); }

.btn-login:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-text { position: relative; z-index: 2; }

.btn-loader {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: inherit;
  z-index: 3;
}

.btn-loader.active { display: flex; }

.loader-rune {
  width: 24px; height: 24px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FOOTER DO LOGIN ===== */
.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.login-footer a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-footer a:hover { color: var(--purple-glow); }

/* =============================================
   VELAS DECORATIVAS
   ============================================= */

.candle {
  position: fixed;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.candle-left  { left: 40px; }
.candle-right { right: 40px; }

.candle-body {
  width: 22px;
  height: 80px;
  background: linear-gradient(180deg, #f5f0e8 0%, #e8dcc8 100%);
  border-radius: 3px 3px 2px 2px;
  position: relative;
  box-shadow: inset -3px 0 6px rgba(0,0,0,0.15);
}

.drip {
  position: absolute;
  width: 8px;
  height: 12px;
  background: rgba(245,240,232,0.9);
  border-radius: 0 0 50% 50%;
}

.d1 { top: -2px; left: 3px; }
.d2 { top: 4px; right: 2px; height: 8px; }

.flame {
  position: relative;
  width: 16px;
  height: 28px;
  margin-bottom: -4px;
}

.flame, .flame-inner {
  background: radial-gradient(ellipse at 50% 80%, #fff5b8, #ffb347, #ff6b00, transparent);
  border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  animation: flicker 1.8s ease-in-out infinite alternate;
  filter: blur(0.5px);
}

.flame-inner {
  position: absolute;
  width: 8px; height: 16px;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 80%, #fff9d0, #ffe57a, transparent);
  animation-duration: 1.2s;
}

@keyframes flicker {
  0%   { transform: scaleX(1)   scaleY(1)    rotate(-1deg); }
  33%  { transform: scaleX(0.9) scaleY(1.05) rotate(1deg); }
  66%  { transform: scaleX(1.1) scaleY(0.95) rotate(-0.5deg); }
  100% { transform: scaleX(0.95) scaleY(1.08) rotate(0.5deg); }
}

/* =============================================
   DASHBOARD (PAINEL DO ALUNO)
   ============================================= */

.dashboard-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 0%, var(--purple-dark) 0%, var(--purple-deep) 40%, var(--purple-darkest) 80%);
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  background: rgba(10,0,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(106,0,184,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--purple-bright));
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.navbar-brand-text {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1rem;
  color: var(--purple-glow);
  text-shadow: 0 0 10px rgba(155,48,255,0.6);
  letter-spacing: 1px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-greeting {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.navbar-greeting span {
  color: var(--purple-light);
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(106,0,184,0.4);
  border-radius: 8px;
  background: rgba(61,0,102,0.3);
  color: var(--text-dim);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-logout:hover {
  border-color: var(--purple-bright);
  color: var(--purple-light);
  background: rgba(106,0,184,0.2);
  box-shadow: 0 0 15px rgba(155,48,255,0.2);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  padding: 60px 40px 50px;
  text-align: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(106,0,184,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(61,0,102,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-rune {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 12px var(--purple-bright));
  animation: runeGlow 4s ease-in-out infinite;
}

@keyframes runeGlow {
  0%, 100% { filter: drop-shadow(0 0 12px var(--purple-bright)); opacity: 0.9; }
  50%       { filter: drop-shadow(0 0 25px var(--purple-bright)) drop-shadow(0 0 50px rgba(155,48,255,0.4)); opacity: 1; }
}

.hero-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--purple-glow);
  text-shadow: 0 0 30px rgba(155,48,255,0.7), 0 0 60px rgba(155,48,255,0.3);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Separador decorativo */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  margin: 0 0 40px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106,0,184,0.5), transparent);
}

.divider-symbol {
  color: var(--purple-bright);
  font-size: 1rem;
  text-shadow: 0 0 10px var(--purple-bright);
}

/* ===== SEÇÃO DE CONTEÚDO ===== */
.content-section {
  padding: 0 40px 80px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 28px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 3px; height: 20px;
  background: linear-gradient(to bottom, var(--purple-bright), var(--purple-mid));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--purple-bright);
}

.content-count {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: rgba(166,120,200,0.5);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ===== SEÇÃO GRUPO ===== */
#groupSection {
  max-width: 1100px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.group-section-header {
  margin-bottom: 20px;
}

.group-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.group-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple-light);
  opacity: 0.7;
  text-align: center;
}

.group-card {
  width: 100%;
  max-width: 220px;
  background: linear-gradient(145deg, rgba(61,0,102,0.35) 0%, rgba(10,0,16,0.6) 100%);
  border: 1px solid rgba(155,48,255,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(106,0,184,0.18);
}

.group-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.group-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(30,0,53,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.3;
}

.group-card-footer {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.group-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.group-btn {
  display: inline-block;
  padding: 13px 40px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-accent) 100%);
  border: 1px solid rgba(155,48,255,0.4);
  border-radius: 8px;
  color: var(--purple-glow);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 18px rgba(106,0,184,0.25);
  width: 100%;
  text-align: center;
}

.group-btn:hover {
  background: linear-gradient(135deg, var(--purple-accent) 0%, var(--purple-bright) 100%);
  box-shadow: 0 0 30px rgba(155,48,255,0.45);
}

/* ===== GRID DE CONTEÚDOS ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card de conteúdo */
.content-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20,0,40,0.7);
  border: 1px solid rgba(106,0,184,0.2);
  cursor: pointer;
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s ease;
  group: true;
  text-decoration: none;
  display: block;
  /* lazy load: começa invisível */
  opacity: 0;
  transform: translateY(20px);
  animation: cardReveal 0.5s var(--transition) forwards;
}

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

.content-card:nth-child(1) { animation-delay: 0.05s; }
.content-card:nth-child(2) { animation-delay: 0.1s; }
.content-card:nth-child(3) { animation-delay: 0.15s; }
.content-card:nth-child(4) { animation-delay: 0.2s; }
.content-card:nth-child(5) { animation-delay: 0.25s; }
.content-card:nth-child(6) { animation-delay: 0.3s; }
.content-card:nth-child(7) { animation-delay: 0.35s; }
.content-card:nth-child(8) { animation-delay: 0.4s; }

.content-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.6),
    0 0 30px rgba(155,48,255,0.25);
  border-color: rgba(155,48,255,0.5);
}

.content-card:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.5),
    0 0 24px rgba(155,48,255,0.45);
  border-color: rgba(155,48,255,0.75);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

/* Ripple do card */
.card-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(155,48,255,0.25);
  transform: scale(0);
  pointer-events: none;
  animation: cardRipple 0.5s ease-out forwards;
  z-index: 10;
}

@keyframes cardRipple {
  to { transform: scale(4); opacity: 0; }
}

/* Thumbnail / Capa */
.card-thumb {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-dark));
}

.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85) saturate(1.1);
}

.content-card:hover .card-thumb img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.2);
}

/* Placeholder quando não tem imagem */
.card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid));
  font-size: 4rem;
  filter: drop-shadow(0 0 20px var(--purple-bright));
}

/* Overlay do card */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,0,16,0.95) 0%, rgba(10,0,16,0.4) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover .card-overlay { opacity: 1; }

@media (hover: none) {
  .card-overlay { display: none; }
}

.card-overlay-btn {
  padding: 8px;
  border: 1px solid rgba(155,48,255,0.6);
  border-radius: 6px;
  background: rgba(106,0,184,0.3);
  color: var(--purple-light);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-align: center;
  backdrop-filter: blur(5px);
  text-transform: uppercase;
}

/* Glow badge de categoria */
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  max-width: calc(100% - 20px);
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cores aleatórias determinísticas para o badge */
.badge-color-1 { background: rgba(61,0,102,0.85);  border: 1px solid rgba(155,48,255,0.45); color: #c77dff; }
.badge-color-2 { background: rgba(90,0,60,0.80);   border: 1px solid rgba(220,80,180,0.45); color: #ffb0e8; }
.badge-color-3 { background: rgba(0,60,80,0.80);   border: 1px solid rgba(0,180,220,0.40);  color: #80d8f0; }
.badge-color-4 { background: rgba(40,30,0,0.85);   border: 1px solid rgba(212,160,23,0.45); color: #d4a017; }
.badge-color-5 { background: rgba(0,70,30,0.80);   border: 1px solid rgba(50,200,100,0.40); color: #80e6a8; }

/* Info do card */
.card-info {
  padding: 14px 16px;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.card-caption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  color: rgba(215, 210, 225, 0.85);
}

.card-count {
  opacity: 0.6;
  font-size: 0.68rem;
}

/* ── Paginação ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  padding-bottom: 12px;
}

.pag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61,0,102,0.6);
  border: 1px solid rgba(155,48,255,0.35);
  color: var(--purple-light);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.pag-btn:hover:not(:disabled) {
  background: rgba(106,0,184,0.75);
  border-color: rgba(155,48,255,0.7);
  transform: scale(1.08);
}

.pag-btn.pag-disabled,
.pag-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pag-info {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--purple-light);
  opacity: 0.7;
  min-width: 48px;
  text-align: center;
}

/* Barra de progresso do card */
.card-progress {
  margin: 8px 16px 14px;
  height: 3px;
  background: rgba(106,0,184,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.card-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-mid), var(--purple-bright));
  border-radius: 2px;
  box-shadow: 0 0 6px var(--purple-bright);
  transition: width 1s var(--transition);
}

/* ===== ESTADO VAZIO ===== */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  gap: 16px;
  opacity: 0;
  animation: cardReveal 0.5s ease 0.2s forwards;
}

.empty-state-icon {
  font-size: 4rem;
  filter: drop-shadow(0 0 20px var(--purple-bright));
  animation: runeGlow 4s ease-in-out infinite;
}

.empty-state-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.empty-state-text {
  font-size: 0.85rem;
  color: rgba(166,120,200,0.5);
  max-width: 340px;
  line-height: 1.7;
}

/* ===== LOADING SKELETON ===== */
.skeleton-card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20,0,40,0.5);
  border: 1px solid rgba(106,0,184,0.1);
}

.skeleton-thumb {
  aspect-ratio: 3/4;
  background: linear-gradient(
    90deg,
    rgba(61,0,102,0.2) 25%,
    rgba(106,0,184,0.15) 50%,
    rgba(61,0,102,0.2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(61,0,102,0.2) 25%,
    rgba(106,0,184,0.15) 50%,
    rgba(61,0,102,0.2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.short { width: 60%; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  padding: 14px 20px;
  border-radius: 10px;
  background: rgba(20,0,40,0.95);
  border: 1px solid rgba(106,0,184,0.4);
  backdrop-filter: blur(15px);
  color: var(--text-main);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(155,48,255,0.2);
  transform: translateX(120%);
  transition: transform 0.4s var(--transition);
  max-width: 300px;
}

.toast.show { transform: translateX(0); }
.toast.error { border-color: rgba(200,50,50,0.5); box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(200,50,50,0.2); }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .navbar-greeting { display: none; }
  .hero-banner { padding: 40px 20px 36px; }
  .content-section { padding: 0 16px 60px; }
  .divider { padding: 0 16px; }
  .content-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .candle { display: none; }
  .login-card-inner { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .login-container { padding: 16px; gap: 20px; }
  .eye-socket { width: 190px; height: 175px; }
  .eye-iris   { width: 76px;  height: 76px; }
  .eye-pupil  { width: 20px;  height: 40px; }
  .eye-glow-ring { width: 240px; height: 240px; }

  /* ── Otimizações de performance mobile ── */

  /* backdrop-filter é extremamente caro no Android — substituir por opacidade */
  .login-card-inner,
  .content-card,
  .navbar,
  .toast {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Reduzir box-shadow em cascata no mobile */
  .eye-iris {
    box-shadow:
      0 0 14px rgba(155,48,255,0.9),
      0 0 28px rgba(106,0,184,0.6);
  }

  /* Simplificar socketGlow no mobile — uma única camada de drop-shadow */
  .eye-socket {
    animation: socketGlowMobile 4s ease-in-out infinite;
  }

  @keyframes socketGlowMobile {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(155,48,255,0.8)); }
    50%       { filter: drop-shadow(0 0 28px rgba(155,48,255,1));   }
  }

  /* Glow-ring: desligar as duas bordas animadas extras (pseudoelementos) */
  .eye-glow-ring::before,
  .eye-glow-ring::after { display: none; }

  /* mist-overlay: animação cara — pausar no mobile */
  .mist-overlay { animation: none; }
}

/* =============================================
   ANDROID PERFORMANCE MODE
   Detectado via JS inline no <head>:
   if(/Android/i.test(navigator.userAgent))
     document.documentElement.classList.add('android')
   ============================================= */

/* 1. Desligar elementos pesados */
.android #particles-canvas  { display: none; }
.android .mist-overlay       { display: none; }
.android .eye-socket,
.android .eye-glow-ring      { display: none; }
.android .sigil              { display: none; }
.android .sigil::before,
.android .sigil::after       { animation: none; }
.android .flame,
.android .flame-inner        { animation: none; }

/* 2. Fundo estático (sem animação) */
.android.login-page {
  background: radial-gradient(ellipse at 50% 40%, #1e0035 0%, #120020 45%, #0a0010 100%);
}

/* 3. Layout da página: coluna, altura exata da viewport */
.android.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh; /* dvh = viewport real, exclui barra de endereço Android */
  min-height: unset;
  overflow: hidden;
}

/* 4. Container: tamanho natural, centralizado pelo pai */
.android .login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 20px;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

/* 5. eye-wrapper: separador entre a frase e o card */
.android .eye-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 0 28px; /* espaço acima e abaixo da frase, afastando do card */
}

/* 6. "Eu te vejo..." — pulsando com CSS puro (sem JS, sem custo extra) */
.android .eye-caption {
  font-size: 0.82rem;
  letter-spacing: 4px;
  text-align: center;
  margin: 0;
  opacity: 0.7;
  animation: captionPulse 4s ease-in-out infinite; /* reutiliza keyframe já definido */
}

/* 7. Card: sem backdrop-filter (GPU), sombra simplificada */
.android .login-card {
  width: 100%;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 0 28px rgba(106,0,184,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.android .login-card-inner {
  padding: 24px 22px 22px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 8. Header: menos espaço sem o sigil */
.android .login-header {
  margin-bottom: 20px;
}

/* 9. Título: sombra estática (sem animação) */
.android .login-title {
  text-shadow: 0 0 16px rgba(155,48,255,0.7);
}

/* 10. Dashboard: desligar backdrop-filter em todos os cards */
.android .content-card,
.android .navbar,
.android .toast {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
