@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #2c38b5, #90a6c0);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  padding: 20px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
  animation: pulse 6s infinite;
  z-index: 0;
}

.content {
  z-index: 2;
  max-width: 600px;
  width: 100%;
}

.logo img {
  width: clamp(200px, 32vw, 320px);
  height: auto;
  display: block;
  margin: 0 auto 15px;
  animation: fadeInDown 1.5s ease; /* ➤ animacioni i ri */
}

.subtitle {
  font-size: 1.3rem;
  color: #fff1dc;
  margin: 15px 0 25px;
  animation: fadeInUp 1.5s ease;
  min-height: 40px;
}

.text {
  color: #f5f5f5;
  font-size: 1rem;
  animation: fadeInUp 2s ease;
}

.notify-form {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.notify-form input {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 230px;
  color: #333;
}

.notify-form button {
  background: #383838;
  border: 1px solid #555;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notify-form button:hover {
  background: #4a4a4a;
  border-color: #666;
  transform: translateY(-1px);
}

.loader {
  border: 3px solid #f5f5f5;
  border-top: 3px solid #c9a574;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 35px auto;
  animation: spin 1.2s linear infinite;
}

.social {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  opacity: 0.9;
}

.social img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,0.7));
  transform: translateY(-3px);
  opacity: 1;
}

footer {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: #eee;
  margin-top: 50px;
}

/* ➤ ANIMACIONET */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.sent-message {
  color: #fff;
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 1;
}

@media (max-width: 600px) {
  .logo img {
    max-width: 280px;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .text {
    font-size: 0.95rem;
  }

  .notify-form input {
    width: 200px;
  }
}
