.contact-container {
  max-width: 700px;
  margin: 6% auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: 'Acme', sans-serif;
  border: 2px solid rgba(96, 170, 255, 0.4);
}

.contact-container h1 {
  font-family: 'Stoneage', sans-serif;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #60AAFF, #4080FF);
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 10px;
}

.contact-container p {
  text-align: center;
  color: #ccc;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input,
textarea {
  background-color: #001f3f;
  color: #fff;
  border: 1px solid #4080FF;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #60AAFF;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Info Box */
.info-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #60AAFF;
  padding: 12px;
  border-radius: 10px;
  color: #ccc;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-icon {
  font-size: 1.4rem;
  color: #60AAFF;
}

/* CAPTCHA */
#captcha-checkbox {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border: 1px solid #4080FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#captcha-checkbox:hover {
  background-color: rgba(96, 170, 255, 0.08);
}

#captcha-checkbox input {
  width: 18px;
  height: 18px;
}

#captcha-warning {
  color: #ff4b4b;
  font-size: 0.9rem;
  display: none;
}

/* CAPTCHA Modal */
#captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
}

#captcha-content {
  background-color: #001f3f;
  border: 2px solid #60AAFF;
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(96, 170, 255, 0.3);
  animation: slideIn 0.3s ease-out;
  position: relative;
  color: #fff;
}

#captcha-content h2 {
  font-family: 'Stoneage', sans-serif;
  color: #60AAFF;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

#captcha-content p {
  font-size: 1rem;
  margin-bottom: 15px;
}

#captcha_image {
  width: 180px;
  height: 180px;
  margin-bottom: 15px;
  transition: transform 0.4s ease-in-out;
  border-radius: 8px;
}

.captcha-controls {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
  gap: 10px;
}

.captcha-controls button {
  background: #4080FF;
  border: none;
  color: white;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.captcha-controls button:hover {
  background-color: #60AAFF;
  transform: scale(1.05);
}

#close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

#close-modal:hover {
  color: #60AAFF;
}

.submit-captcha {
  background: #60AAFF;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

.submit-captcha:hover {
  background-color: #4080FF;
  transform: scale(1.05);
}

#error-message {
  color: #FF4B4B;
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;
}

/* AGB Checkbox */
.agb-checkbox {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border: 1px solid #4080FF;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.4;
}

.agb-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
}

.agb-checkbox a {
  color: #60AAFF;
  text-decoration: underline;
}

.agb-checkbox a:hover {
  color: #4080FF;
}

/* Submit */
button[type="submit"] {
  background: linear-gradient(to right, #60AAFF, #4080FF);
  border: none;
  padding: 14px;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

#captcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid #60AAFF;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

#captcha-label:hover {
  background-color: rgba(96, 170, 255, 0.05);
  border-color: #4080FF;
  transform: scale(1.01);
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #60AAFF;
  background: transparent;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}

#captcha-check:checked+#captcha-label .custom-checkbox {
  background-color: #60AAFF;
  border-color: #60AAFF;
}

#captcha-check:checked+#captcha-label .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#captcha-check[readonly] {
  pointer-events: none;
}

button[type="submit"]:hover {
  background: linear-gradient(to right, #4080FF, #60AAFF);
  transform: scale(1.03);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .contact-container {
    margin: 10% 5%;
    padding: 25px;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  button {
    font-size: 1rem;
  }

  #captcha_image {
    width: 150px;
    height: 150px;
  }
}