/* Contact page redesign inspired by practical game-site contact cards. */
.contact-page .page-main {
  padding-top: clamp(48px, 7vw, 84px);
}

.contact-page .page-shell {
  width: min(1320px, 100%);
}

.contact-page .contact-intro {
  text-align: left;
  margin: 0 0 clamp(30px, 5vw, 58px);
}

.contact-page .contact-eyebrow {
  margin: 0 0 10px;
  color: #ffb23f;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-page .page-title {
  text-transform: none;
  letter-spacing: -0.055em;
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 12px 36px rgba(0,0,0,.35);
  font-size: clamp(3.1rem, 7vw, 5.9rem);
}

.contact-page .page-subtitle {
  max-width: 680px;
  margin: 14px 0 0;
  margin-inline: 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  text-align: left;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: stretch;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px) clamp(28px, 6vw, 78px);
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 20px;
  background: #1a111c;
  box-shadow: 0 28px 85px rgba(0,0,0,.34);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
}

.contact-card__label {
  margin: 0 0 14px;
  color: rgba(255,178,63,.84);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.contact-card h2 span {
  color: #fff176;
}

.contact-card p:not(.contact-card__label) {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.74);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.72;
}

.contact-action,
.contact-email-box {
  margin-top: auto;
}

.contact-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1;
  padding: 0 28px;
  border: 0;
  border-top: 4px solid rgba(255,255,255,.38);
  border-radius: 0;
  background: #8faee9;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(25,37,69,.38);
  box-shadow: 0 5px 0 #5d74ad, 0 14px 24px rgba(0,0,0,.28);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 7px 0 #5d74ad, 0 18px 28px rgba(0,0,0,.32);
  outline: none;
}


.contact-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.contact-action--discord {
  align-items: center;
}

.contact-action--discord > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-action:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #5d74ad, 0 10px 18px rgba(0,0,0,.25);
}

.contact-action .contact-discord-icon,
.contact-discord-icon {
  display: block;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  max-width: 24px !important;
  min-height: 24px;
  max-height: 24px !important;
  flex: 0 0 24px;
  align-self: center;
  margin: 0;
  position: relative;
  top: 0;
  background: #fff;
  -webkit-mask: url('/assets/images/brand/icon-discord.svg') center / contain no-repeat;
  mask: url('/assets/images/brand/icon-discord.svg') center / contain no-repeat;
  transform: none;
}

.contact-email-box {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 26px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: #593c31;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 28px rgba(0,0,0,.22);
}

.contact-email-link {
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  line-height: 1;
}

.contact-email-link:hover,
.contact-email-link:focus-visible {
  color: #fff176;
  outline: none;
}

.contact-copy {
  appearance: none;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.contact-copy:hover,
.contact-copy:focus-visible,
.contact-copy.copied {
  color: #fff;
  background: rgba(0,0,0,.28);
  outline: none;
}

.contact-help-strip {
  margin: clamp(24px, 4vw, 42px) auto 0;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.065);
  background: #130b18;
  box-shadow: 0 20px 55px rgba(0,0,0,.24);
}

.contact-help-strip h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.045em;
  font-weight: 950;
}

.contact-help-strip p {
  max-width: 1050px;
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.68;
}

.contact-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-help-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255,178,63,.18);
  border-radius: 999px;
  background: rgba(255,178,63,.08);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.contact-help-links a:hover,
.contact-help-links a:focus-visible {
  border-color: rgba(255,178,63,.45);
  background: rgba(255,178,63,.14);
  outline: none;
}

@media (max-width: 920px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .contact-panel {
    padding: 28px 20px;
  }

  .contact-action,
  .contact-email-box {
    width: 100%;
  }

  .contact-action {
    padding-inline: 18px;
  }

  .contact-email-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
  }

  .contact-email-link,
  .contact-copy {
    width: 100%;
    text-align: center;
  }

  .contact-help-links a {
    flex: 1 1 160px;
  }
}
