/* Reset e base geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

/* 🎥 Vídeo de fundo */
video#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

/* Container principal - mais moderno */
.container {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.95));
  backdrop-filter: blur(10px);
  width: 450px;
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Título com animação */
h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Parágrafo */
p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Cards dos botões - design moderno */
.menu-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-card {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.menu-card:hover::before {
  left: 100%;
}

.menu-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
}

.menu-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* Ícone do card */
.card-icon {
  font-size: 48px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.menu-card:nth-child(1) .card-icon { animation-delay: 0s; }
.menu-card:nth-child(2) .card-icon { animation-delay: 0.2s; }
.menu-card:nth-child(3) .card-icon { animation-delay: 0.4s; }

/* Conteúdo do card */
.card-content {
  flex: 1;
  text-align: left;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.card-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Cores específicas dos cards */
.kids { 
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
}
.kids:hover {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.3));
}

.peso {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(46, 125, 50, 0.2));
}
.peso:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(46, 125, 50, 0.3));
}

.admin {
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.2), rgba(48, 63, 159, 0.2));
}
.admin:hover {
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.3), rgba(48, 63, 159, 0.3));
}

/* ⚠️ Alerta de nova tarefa - mais chamativo */
.alerta-painel {
  margin: 20px 0 0 0;
  padding: 15px 25px;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(135deg, #ff1744, #f50057);
  box-shadow: 0 0 30px rgba(255, 23, 68, 0.6),
              0 5px 15px rgba(0, 0, 0, 0.3);
  animation: alertPulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

@keyframes alertPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 23, 68, 0.9);
  }
}

.alerta-painel::before {
  content: '🔔';
  position: absolute;
  left: 15px;
  font-size: 20px;
  animation: ring 1s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

/* Rodapé moderno */
.rodape {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.logo-footer {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s;
}

.logo-footer:hover {
  transform: scale(1.1);
}

.painel-rodape {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.painel-rodape p {
  margin: 0;
  font-size: 12px;
  color: #ccc;
}

.painel-rodape span {
  color: #00ff88;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Partículas flutuantes */
.particle {
  position: fixed;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* 📱 Responsividade */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 30px 20px;
    max-width: 400px;
  }

  h1 {
    font-size: 26px;
  }

  .card-icon {
    font-size: 36px;
  }

  .card-title {
    font-size: 16px;
  }

  .rodape {
    bottom: 10px;
  }

  .logo-footer {
    width: 60px;
  }
}

