/* ============================================================
   CINEMATOGRAPHIC ANIMATIONS & GLASSMORPHISM
   Adicione este arquivo ao HTML original com: <link rel="stylesheet" href="anima.css">
============================================================ */

body { background: linear-gradient(135deg, #0a0e1a 0%, #0f1420 50%, #0a0e1a 100%) !important; background-attachment: fixed; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent2)) !important; box-shadow: 0 0 10px rgba(79,142,247,.4) !important; }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 10px rgba(79,142,247,.3), var(--shadow); } 50% { box-shadow: 0 0 25px rgba(79,142,247,.6), var(--shadow); } }
@keyframes floatIn { 0% { opacity: 0; transform: translateY(30px) rotateX(-10deg); } 100% { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

#sidebar { background: rgba(15, 20, 32, 0.8) !important; backdrop-filter: blur(10px); border-right: 1px solid rgba(79,142,247,.2) !important; animation: fadeInLeft 0.6s ease-out; }
#sidebar .logo { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: fadeInDown 0.8s ease-out 0.1s both; }
#sidebar .logo i { filter: drop-shadow(0 0 8px rgba(79,142,247,.4)); }
#sidebar nav { animation: fadeInLeft 0.6s ease-out 0.2s both; }
#sidebar nav a { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
#sidebar nav a::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent2)); transform: scaleY(0); transform-origin: center; transition: transform 0.3s ease; }
#sidebar nav a:hover::before, #sidebar nav a.active::before { transform: scaleY(1); }
#sidebar nav a:hover i { filter: drop-shadow(0 0 6px rgba(79,142,247,.6)); }
#sidebar .sync-status { border-top: 1px solid rgba(79,142,247,.2) !important; animation: fadeInUp 0.6s ease-out 0.3s both; }
#sync-dot { animation: glowPulse 2s ease-in-out infinite; }

#main { animation: fadeInRight 0.6s ease-out 0.1s both; }
#topbar { animation: fadeInDown 0.6s ease-out 0.2s both; }
#topbar h1 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.card { background: rgba(21, 29, 47, 0.6) !important; backdrop-filter: blur(10px); border: 1px solid rgba(79,142,247,.15) !important; box-shadow: 0 8px 32px rgba(0,0,0,.3) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; animation: fadeInUp 0.6s ease-out both; }
.card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(79,142,247,.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.card:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.cards-grid .card:nth-child(1) { animation-delay: 0.3s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.4s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.5s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.6s; }
.card-green .card-value { text-shadow: 0 0 10px rgba(34,197,94,.4); }
.card-red .card-value { text-shadow: 0 0 10px rgba(239,68,68,.4); }
.card-blue .card-value { text-shadow: 0 0 10px rgba(79,142,247,.4); }
.card-yellow .card-value { text-shadow: 0 0 10px rgba(245,158,11,.4); }
.card-purple .card-value { text-shadow: 0 0 10px rgba(168,85,247,.4); }

.chart-box { background: rgba(21, 29, 47, 0.6) !important; backdrop-filter: blur(10px); border: 1px solid rgba(79,142,247,.15) !important; box-shadow: 0 8px 32px rgba(0,0,0,.3) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: fadeInUp 0.6s ease-out both; }
.chart-box:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; }
.chart-box h3 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn { position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255,255,255,.2); transition: left 0.5s ease; z-index: 0; }
.btn:hover::before { left: 100%; }
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)) !important; box-shadow: 0 0 15px rgba(79,142,247,.3) !important; }
.btn-primary:hover { box-shadow: 0 0 25px rgba(79,142,247,.6) !important; transform: translateY(-2px); }
.btn-success { background: linear-gradient(135deg, var(--green), #16a34a) !important; box-shadow: 0 0 15px rgba(34,197,94,.3) !important; }
.btn-success:hover { box-shadow: 0 0 25px rgba(34,197,94,.6) !important; transform: translateY(-2px); }
.btn-danger { background: linear-gradient(135deg, var(--red), #dc2626) !important; box-shadow: 0 0 15px rgba(239,68,68,.3) !important; }
.btn-danger:hover { box-shadow: 0 0 25px rgba(239,68,68,.6) !important; transform: translateY(-2px); }
.btn-secondary { background: rgba(26, 37, 64, 0.8) !important; border: 1px solid rgba(79,142,247,.2) !important; }
.btn-secondary:hover { border-color: var(--accent) !important; box-shadow: 0 0 15px rgba(79,142,247,.3) !important; }

.btn-filter { background: rgba(26, 37, 64, 0.8) !important; border: 1px solid rgba(79,142,247,.2) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.btn-filter::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(79,142,247,.2); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn-filter:hover::before { width: 300px; height: 300px; }
.btn-filter:hover, .btn-filter.active { box-shadow: 0 0 15px rgba(79,142,247,.4) !important; }
.btn-filter.zpz.active { box-shadow: 0 0 15px rgba(34,197,94,.4) !important; }
.btn-filter.uber.active { box-shadow: 0 0 15px rgba(245,158,11,.4) !important; }
.btn-filter.fogos.active { box-shadow: 0 0 15px rgba(168,85,247,.4) !important; }
.btn-filter.enigma.active { box-shadow: 0 0 15px rgba(79,142,247,.4) !important; }

.form-box { background: rgba(21, 29, 47, 0.6) !important; backdrop-filter: blur(10px); border: 1px solid rgba(79,142,247,.15) !important; box-shadow: 0 8px 32px rgba(0,0,0,.3) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: fadeInUp 0.6s ease-out both; }
.form-box:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; }
.form-box h3 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.form-group input, .form-group select, .form-group textarea { background: rgba(15, 20, 32, 0.6) !important; border: 1px solid rgba(79,142,247,.2) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(5px); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 15px rgba(79,142,247,.3), inset 0 0 10px rgba(79,142,247,.1) !important; background: rgba(15, 20, 32, 0.8) !important; }

.table-box { background: rgba(21, 29, 47, 0.6) !important; backdrop-filter: blur(10px); border: 1px solid rgba(79,142,247,.15) !important; box-shadow: 0 8px 32px rgba(0,0,0,.3) !important; animation: fadeInUp 0.6s ease-out both; }
.table-box:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; }
.table-box h3 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; border-bottom: 1px solid rgba(79,142,247,.2) !important; }
thead th { background: rgba(15, 20, 32, 0.8) !important; border-bottom: 1px solid rgba(79,142,247,.2) !important; }
tbody tr { border-bottom: 1px solid rgba(79,142,247,.1) !important; transition: all 0.3s ease; }
tbody tr:hover { background: rgba(79,142,247,.08) !important; transform: scale(1.01); }

.badge-green { box-shadow: 0 0 8px rgba(34,197,94,.3); }
.badge-red { box-shadow: 0 0 8px rgba(239,68,68,.3); }
.badge-yellow { box-shadow: 0 0 8px rgba(245,158,11,.3); }
.badge-blue { box-shadow: 0 0 8px rgba(79,142,247,.3); }
.badge-purple { box-shadow: 0 0 8px rgba(168,85,247,.3); }

.progress-bar-fill { box-shadow: 0 0 15px rgba(79,142,247,.5); }
.progress-header .goal-pct { text-shadow: 0 0 8px rgba(79,142,247,.4); }

.agenda-day { background: rgba(26, 37, 64, 0.6) !important; border: 1px solid rgba(79,142,247,.2) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(5px); }
.agenda-day:hover { border-color: var(--accent) !important; background: rgba(79,142,247,.1) !important; box-shadow: 0 0 15px rgba(79,142,247,.2) !important; transform: translateY(-2px); }
.agenda-day.today .day-num { text-shadow: 0 0 8px rgba(79,142,247,.4); }
.ev-zpz { box-shadow: 0 0 8px rgba(34,197,94,.3); }
.ev-uber { box-shadow: 0 0 8px rgba(245,158,11,.3); }
.ev-fogos { box-shadow: 0 0 8px rgba(168,85,247,.3); }
.ev-enigma { box-shadow: 0 0 8px rgba(79,142,247,.3); }
.ev-pessoal { box-shadow: 0 0 8px rgba(249,115,22,.3); }

.emocio-card { background: rgba(21, 29, 47, 0.6) !important; border: 1px solid rgba(79,142,247,.15) !important; backdrop-filter: blur(10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: floatIn 0.6s ease-out both; }
.emocio-card:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; transform: translateY(-4px); }
.emocio-card .time-badge { background: rgba(79,142,247,.2) !important; box-shadow: 0 0 8px rgba(79,142,247,.3); }
input[type="range"] { filter: drop-shadow(0 0 4px rgba(79,142,247,.3)); }

.task-item { background: rgba(26, 37, 64, 0.6) !important; border: 1px solid rgba(79,142,247,.15) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(5px); }
.task-item:hover { border-color: rgba(79,142,247,.4) !important; background: rgba(79,142,247,.08) !important; transform: translateX(4px); }
.task-item input[type="checkbox"] { filter: drop-shadow(0 0 4px rgba(79,142,247,.2)); }
.task-item .task-del:hover { filter: drop-shadow(0 0 6px rgba(239,68,68,.4)); }

.dream-item { background: rgba(21, 29, 47, 0.6) !important; border: 1px solid rgba(79,142,247,.15) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: floatIn 0.6s ease-out both; backdrop-filter: blur(10px); }
.dream-item:hover { border-color: rgba(79,142,247,.4) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; transform: translateY(-4px); }
.dream-item h4 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.roi-card { background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(79,142,247,.1)) !important; border: 1px solid rgba(168,85,247,.3) !important; backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(168,85,247,.1) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: floatIn 0.6s ease-out both; }
.roi-card:hover { border-color: rgba(168,85,247,.5) !important; box-shadow: 0 8px 32px rgba(168,85,247,.2), 0 0 20px rgba(168,85,247,.1) !important; transform: translateY(-4px); }
.roi-card .roi-value { background: linear-gradient(135deg, var(--purple), #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 20px rgba(168,85,247,.3); }

.saldo-banner { background: linear-gradient(135deg, rgba(79,142,247,.15), rgba(108,99,255,.1)) !important; border: 1px solid rgba(79,142,247,.3) !important; backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(79,142,247,.1) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: floatIn 0.6s ease-out both; }
.saldo-banner:hover { border-color: rgba(79,142,247,.5) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2), 0 0 20px rgba(79,142,247,.1) !important; }
.saldo-banner .saldo-value { background: linear-gradient(135deg, var(--green), #16a34a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 20px rgba(34,197,94,.3); }

#toast { background: rgba(21, 29, 47, 0.9) !important; backdrop-filter: blur(10px); border: 1px solid rgba(79,142,247,.3) !important; box-shadow: 0 8px 32px rgba(79,142,247,.2) !important; }
#loading { background: linear-gradient(135deg, #0a0e1a 0%, #0f1420 100%); }
#loading .spinner { border: 4px solid rgba(79,142,247,.2); box-shadow: 0 0 20px rgba(79,142,247,.4); }
#menu-toggle { transition: all 0.3s ease; }
#menu-toggle:hover { filter: drop-shadow(0 0 8px rgba(79,142,247,.4)); }
#overlay { backdrop-filter: blur(5px); }
.tab-pane { animation: fadeInUp 0.4s ease-out; }
.mini-stat { background: rgba(26, 37, 64, 0.6) !important; border: 1px solid rgba(79,142,247,.15) !important; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.mini-stat:hover { border-color: rgba(79,142,247,.4) !important; background: rgba(79,142,247,.08) !important; }
.mini-stat .ms-value { text-shadow: 0 0 8px rgba(79,142,247,.3); }
tr.status-pago td { text-shadow: 0 0 6px rgba(34,197,94,.2); }
tr.status-fechado td:first-child { text-shadow: 0 0 6px rgba(245,158,11,.2); }
.date-range-custom input { background: rgba(15, 20, 32, 0.6) !important; border: 1px solid rgba(79,142,247,.2) !important; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.date-range-custom input:focus { border-color: var(--accent) !important; box-shadow: 0 0 10px rgba(79,142,247,.3) !important; }
.mood-display { animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.month-nav { animation: fadeInDown 0.6s ease-out both; }
.month-nav h3 { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.month-nav button { background: rgba(26, 37, 64, 0.6) !important; border: 1px solid rgba(79,142,247,.2) !important; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.month-nav button:hover { border-color: var(--accent) !important; box-shadow: 0 0 10px rgba(79,142,247,.3) !important; }
.tipo-entrada { text-shadow: 0 0 6px rgba(34,197,94,.2); }
.tipo-saida { text-shadow: 0 0 6px rgba(239,68,68,.2); }
.relatorio-box { background: rgba(15, 20, 32, 0.8) !important; border: 1px solid rgba(79,142,247,.2) !important; backdrop-filter: blur(5px); box-shadow: inset 0 0 10px rgba(79,142,247,.1) !important; }
.saldo-neg { text-shadow: 0 0 10px rgba(239,68,68,.4) !important; }
.toggle-line-btn .dot { box-shadow: 0 0 8px currentColor; transition: box-shadow 0.3s ease; }
.toggle-line-btn:hover .dot { box-shadow: 0 0 16px currentColor; }
.filter-row { animation: fadeInDown 0.6s ease-out both; }
.form-actions { animation: fadeInUp 0.6s ease-out 0.2s both; }
.progress-list { animation: fadeInUp 0.6s ease-out both; }
.agenda-grid { animation: fadeInUp 0.6s ease-out both; }
.task-list { animation: fadeInUp 0.6s ease-out both; }
.section-title { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: fadeInDown 0.6s ease-out both; }
.section-title::after { background: linear-gradient(90deg, rgba(79,142,247,.3), transparent); }
