/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('cookies.jpeg') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(4px) brightness(0.7);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

/* Card container */
.card {
  background-color: rgba(54, 57, 63, 0.92);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 500px;
  text-align: center;
}

/* Header */
.title-animate {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: color 0.5s ease;
}

/* Info text */
.info-text {
  font-size: 0.9rem;
  color: #faa61a;
  font-style: italic;
  margin-bottom: 0.8rem;
}

/* Labels */
.label {
  font-size: 1rem;
  font-weight: 500;
  color: #b9bbbe;
  margin: 0.8rem 0 0.4rem;
  text-align: left;
}

/* Input and Textarea shared style */
input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background-color: #40444b;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Textarea specific */
textarea {
  height: 120px;
  resize: none;
}

/* Button */
button {
  background-color: #5865f2;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #4752c4;
}

/* Status message */
.status-message {
  margin-top: 1rem;
  font-weight: 500;
}

/* Bounce animation */
@keyframes bounceOnce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-10px); }
  50%  { transform: translateY(5px); }
  70%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.animate-bounce {
  animation: bounceOnce 0.6s ease;
}

/* Rainbow effect */
@keyframes rainbow {
  0%   { color: red; }
  16%  { color: orange; }
  33%  { color: yellow; }
  50%  { color: green; }
  66%  { color: blue; }
  83%  { color: indigo; }
  100% { color: violet; }
}

.animate-bounce.rainbow {
  animation: bounceOnce 2s ease, rainbow 2s ease;
}


.popup {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background-color: #2f3136;
  color: #ffffff;
  border: 2px solid #7289da;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.hidden {
  display: none;
}

