/* Stránka podpory. Kontaktný formulár má rovnaký vzhľad ako na hlavnej stránke —
   pravidlá sú skopírované zo style.css, celý ten súbor by sa bil so štýlom podstránky. */
:root {
  --font-headings: 'Montserrat', sans-serif;
  --color-text: #ffffff;
  --color-text-muted: #A1A1AA;
  --color-accent: #FFF200;
  --color-accent-glow: rgba(255, 242, 0, 0.25);
}

.container--support { max-width: 1100px; }

.hud-contact-section {
  margin-top: 4rem;
  width: 100%;
  text-align: left;
}

.hud-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hud-contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}

.hud-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hud-contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 242, 0, 0.25);
  background-color: rgba(255, 242, 0, 0.08);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hud-contact-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hud-contact-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  max-width: 34rem;
}

.hud-contact-email-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.hud-contact-email-card:hover {
  border-color: rgba(255, 242, 0, 0.45);
  background-color: rgba(255, 242, 0, 0.06);
  transform: translateY(-1px);
}

.hud-contact-email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background-color: rgba(255, 242, 0, 0.12);
  color: var(--color-accent);
  flex-shrink: 0;
}

.hud-contact-email-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hud-contact-email-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hud-contact-email-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hud-contact-email-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;
}

.hud-contact-form-container {
  height: 100%;
}

.hud-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #434343;
  background-color: #0c0c0c;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hud-contact-form:focus-within {
  border-color: rgba(255, 242, 0, 0.35);
  box-shadow: 0 20px 40px -20px rgba(255, 242, 0, 0.15);
}

@media (min-width: 640px) {
  .hud-contact-form {
    padding: 2rem;
  }
}

.hud-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hud-form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.hud-form-field input,
.hud-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #434343;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: #080808;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hud-form-field input:focus,
.hud-form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 242, 0, 0.6);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.hud-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.hud-contact-submit {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 9999px;
  background-color: var(--color-accent);
  color: #080808;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hud-contact-submit::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  top: 0;
  left: -100px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
}

.hud-contact-submit:hover:not(:disabled):not(.is-sent) {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hud-contact-submit:hover:not(:disabled):not(.is-sent)::before {
  animation: hud-google-play-shine 1.5s ease-out infinite;
}

.hud-contact-submit.is-sent {
  background-color: #22c55e;
  color: #ffffff;
  cursor: default;
  pointer-events: none;
  transform: none;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.hud-contact-submit.is-sent::before {
  display: none;
}

.hud-form-status {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hud-form-status.is-success {
  border: 1px solid rgba(255, 242, 0, 0.35);
  background-color: rgba(255, 242, 0, 0.08);
  color: var(--color-text);
}

.hud-form-status.is-error {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background-color: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

@keyframes hud-google-play-shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* Prepísanie všeobecných pravidiel podstránky */
.hud-contact-section { margin-top: 0; }
.hud-contact-form { box-sizing: border-box; }
.hud-contact-title { border-bottom: 0; padding-bottom: 0; }
.hud-contact-form input,
.hud-contact-form textarea { margin: 0; }

.hud-support-details {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hud-support-details h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1rem;
  color: var(--color-text);
}

.hud-support-details p { margin: 0 0 0.5rem; }
