* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Cairo', sans-serif;
  background:
    radial-gradient(ellipse 85% 55% at 50% -10%, rgba(124, 58, 237, 0.35), transparent 62%),
    radial-gradient(circle at 16% 85%, rgba(217, 119, 6, 0.16), transparent 35%),
    linear-gradient(160deg, #1d0b33 0%, #120622 55%, #0b0416 100%);
  color: #fff;
}

.contact-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 18px 42px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6d994;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 16px;
}

.back-link:hover {
  color: #fff;
}

.contact-card {
  background: linear-gradient(145deg, rgba(41, 20, 68, 0.9), rgba(19, 8, 36, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.12) inset;
  backdrop-filter: blur(8px);
}

.contact-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px;
}

.contact-head {
  text-align: center;
}

.contact-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.78);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.contact-head h1 {
  margin: 0 0 7px;
  font-size: clamp(1.6rem, 3.3vw, 2rem);
}

.contact-head p {
  margin: 0 0 20px;
  color: #ddd6fe;
  line-height: 1.8;
  font-size: 0.96rem;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.support-form label {
  font-weight: 700;
  color: #f8f2ff;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  color: #f5f3ff;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: #b9a6d9;
}

.support-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  margin-top: 10px;
  border: none;
  border-radius: 13px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706 65%, #b45309);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.4);
}

.form-notice {
  min-height: 24px;
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-notice.is-error {
  color: #fca5a5;
}

.form-notice.is-success {
  color: #86efac;
}

@media (max-width: 640px) {
  .contact-card {
    padding: 18px;
    border-radius: 16px;
  }
}
