* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: #e6e6e6;

  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(
    -45deg,
    #0f1012,
    #18191c,
    #121316,
    #1c1d21
  );
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
}

.card {
  width: 100%;
  max-width: 520px;
  background: rgba(30, 31, 34, 0.92);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);

  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffffff;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #2a2b2f;
  background: #1f2023;
  color: white;
  margin-bottom: 12px;
  font-size: 14px;
}

textarea {
  resize: none;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #5865f2;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.messages {
  height: 350px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 12px;
}

.message {
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #2b2d31;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.message.staff {
  background: #3a3d42;
}

.message .username {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  opacity: 0.7;
}

.close-btn {
  margin-top: 8px;
  background: #ed4245;
}

.status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 10px;
  background: #2a2b2f;
}

/* Mobile */
@media (max-width: 600px) {
  .card {
    padding: 18px;
  }

  .messages {
    height: 280px;
  }
}

.about-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2a2b2f;
  font-size: 14px;
  opacity: 0.8;
}

.about-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  color: #ffffff;
}

.about-section p {
  margin-bottom: 8px;
  line-height: 1.5;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

