/* Easter Egg - Rosa com N.I.N.A. */

/* Trigger Button - Rosa flutuante no canto */
.easter-egg-trigger {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #FF1493, #C71585);
  border: 2px solid #FF00FF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 998;
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
  font-size: 1.8rem;
  user-select: none;
  backdrop-filter: blur(2px);
}

.easter-egg-trigger:hover {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.8), 
              0 0 60px rgba(255, 0, 255, 0.6);
  animation: pulse-rose 0.6s ease-in-out infinite;
}

.easter-egg-trigger.active {
  opacity: 1;
  animation: pulse-rose 0.6s ease-in-out infinite;
}

/* Animação de pulso da rosa */
@keyframes pulse-rose {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5),
                0 0 30px rgba(255, 0, 255, 0.3);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 20, 147, 1),
                0 0 60px rgba(255, 0, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5),
                0 0 30px rgba(255, 0, 255, 0.3);
  }
}

/* Animação de flor desabrindo */
@keyframes bloom {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* Animação de pétalas caindo */
@keyframes petal-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(500px) rotate(720deg);
    opacity: 0;
  }
}

/* Modal Overlay */
.easter-egg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeIn 0.3s ease-in-out;
}

.easter-egg-overlay.active {
  display: flex;
}

/* Animação de fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.easter-egg-modal {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid #FF00FF;
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 50px rgba(255, 0, 255, 0.5),
              0 0 100px rgba(255, 20, 147, 0.3),
              inset 0 0 30px rgba(255, 0, 255, 0.1);
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Rosa no centro do modal */
.easter-egg-rose {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  animation: bloom 1s ease-in-out;
  filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8));
}

/* Título com brilho */
.easter-egg-title {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #FF1493, #FF00FF, #00FFF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  animation: glow-text 2s ease-in-out infinite;
}

@keyframes glow-text {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3),
                 0 0 20px rgba(255, 20, 147, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.6),
                 0 0 40px rgba(255, 20, 147, 0.4);
  }
}

/* Mensagem inspiradora */
.easter-egg-message {
  font-size: 1.1rem;
  color: #00FFF5;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  text-shadow: 0 0 10px rgba(0, 255, 245, 0.3);
}

/* Assinatura N.I.N.A. */
.easter-egg-signature {
  font-size: 0.9rem;
  color: #FF1493;
  margin-bottom: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Container de botões */
.easter-egg-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botões */
.easter-egg-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 1px;
}

/* Botão Fechar */
.easter-egg-btn-close {
  color: #FF1493;
  border-color: #FF1493;
  background: rgba(255, 20, 147, 0.1);
}

.easter-egg-btn-close:hover {
  background: rgba(255, 20, 147, 0.3);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
  transform: translateY(-2px);
}

/* Botão Blog */
.easter-egg-btn-blog {
  color: #00FFF5;
  border-color: #00FFF5;
  background: rgba(0, 255, 245, 0.1);
}

.easter-egg-btn-blog:hover {
  background: rgba(0, 255, 245, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 245, 0.5);
  transform: translateY(-2px);
}

/* Botão Contato */
.easter-egg-btn-contact {
  color: #FF00FF;
  border-color: #FF00FF;
  background: rgba(255, 0, 255, 0.1);
}

.easter-egg-btn-contact:hover {
  background: rgba(255, 0, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  transform: translateY(-2px);
}

/* Petálas caindo (efeito decorativo) */
.easter-egg-petal {
  position: fixed;
  pointer-events: none;
  font-size: 2rem;
  z-index: 997;
}

.easter-egg-petal-fall {
  animation: petal-fall 3s ease-in forwards;
}

/* Responsivo */
@media (max-width: 600px) {
  .easter-egg-trigger {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .easter-egg-modal {
    padding: 2rem;
    max-width: 95%;
    border-radius: 15px;
  }

  .easter-egg-title {
    font-size: 1.5rem;
  }

  .easter-egg-message {
    font-size: 1rem;
  }

  .easter-egg-buttons {
    gap: 0.5rem;
  }

  .easter-egg-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Scrollbar customizada no modal */
.easter-egg-modal::-webkit-scrollbar {
  width: 8px;
}

.easter-egg-modal::-webkit-scrollbar-track {
  background: rgba(255, 0, 255, 0.1);
  border-radius: 10px;
}

.easter-egg-modal::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF1493, #FF00FF);
  border-radius: 10px;
}

.easter-egg-modal::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF00FF, #00FFF5);
}
