* {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
}

body {
  background: linear-gradient(
    135deg,
    #0d0d2b 0%,
    #1a0033 25%,
    #0d1b3c 50%,
    #1a0033 75%,
    #0d0d2b 100%
  );
  background-attachment: fixed;
  font-size: 1em;
  color: #0f172a;
  justify-content: center;
  margin: auto;
  display: grid;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 200, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

#title {
  background: linear-gradient(135deg, #00d9ff 0%, #8b5cf6 50%, #ff006e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.2));
}

#subtitle {
  color: #a7f3d0;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(167, 243, 208, 0.2);
}

fieldset {
  border: 0;
}

input,
select,
textarea,
button {
  border-radius: 8px;
}

.field {
  margin-bottom: 1em;
}

.field label {
  margin-bottom: 0.2em;
  color: #1e293b;
  display: block;
  font-weight: 600;
}

fieldset.group .field {
  float: left;
  margin-right: 1em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"] {
  width: 160px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  padding: 0.7em 0.8em;
  border: 2px solid #d4d4ff;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f5ff 100%);
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #0f172a;
  font-size: 0.95em;
}

textarea {
  width: 100%;
  height: 100px;
  font-family: inherit;
}

.field select option {
  padding-right: 1em;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f5ff 100%);
  color: #0f172a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-color: #8b5cf6;
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.15),
    0 0 20px rgba(139, 92, 246, 0.25),
    inset 0 0 10px rgba(139, 92, 246, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.button {
  font-size: 1.1em;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #00d9ff 100%);
  border: none;
  color: #ffffff;
  padding: 0.9em 2em;
  font-weight: 600;
  margin: auto;
  display: block;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(139, 92, 246, 0.4),
    0 0 20px rgba(0, 217, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #22d3ee 100%);
  box-shadow:
    0 6px 25px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(0, 217, 255, 0.3);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

#check {
  display: inline-block;
}

#support-type label,
#check label {
  margin-bottom: 0.4em;
}

#check label {
  display: inline-block;
  margin-right: 1em;
}

#white-background {
  background: rgba(255, 255, 255, 0.95);
  display: inline-block;
  padding: 40px;
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin: 20px auto;
  max-width: 600px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
  accent-color: #8b5cf6;
}

.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-left: 4px solid #10b981;
  color: #065f46;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left: 4px solid #ef4444;
  color: #7f1d1d;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.success,
.error {
  display: none;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: left;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.required-mark {
  color: #ff006e;
  font-size: 0.85em;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(255, 0, 110, 0.3);
}

.phone-label-span {
  display: none;
}

#cat {
  display: none;
}

#privacy {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #d4d4ff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
}

#privacy a {
  background: linear-gradient(135deg, #8b5cf6 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

#privacy a:hover {
  text-decoration: underline;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.privacy h2 {
  background: linear-gradient(135deg, #8b5cf6 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 2em;
  margin-bottom: 0.8em;
  border-bottom: 2px solid #d4d4ff;
  padding-bottom: 0.7em;
  font-size: 1.5em;
}

.privacy p {
  margin-bottom: 1em;
  line-height: 1.7;
  color: #475569;
}

.privacy a {
  background: linear-gradient(135deg, #8b5cf6 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-weight: 600;
}

.privacy a:hover {
  text-decoration: underline;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

@media (max-width: 411px) {
  #white-background {
    border-radius: 0;
  }

  .error,
  .success {
    margin-left: 10px;
    margin-right: 10px;
  }

  .field input[type="text"],
  .field input[type="email"],
  .field input[type="number"] {
    width: 330px;
  }
}
