/* ==========================================================================
   3RR Game — pages/contact.css
   Centred concierge desk card with two floating Telegram call badges
   anchored to its corners.
   ========================================================================== */

.desk {
  position: relative;
  padding-block: clamp(1.75rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.desk__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(90% 70% at 50% 30%, rgba(5, 7, 15, 0.55) 0%, rgba(5, 7, 15, 0.92) 72%);
  pointer-events: none;
}

.desk__inner {
  position: relative;
  z-index: 4;
}

.desk__head {
  max-width: 46rem;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.desk__title {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-h1);
}

.desk__lead { margin: 0 auto; }

/* --------------------------------------------------------------------------
   The card and its floating call badges
   -------------------------------------------------------------------------- */
.desk__card-wrap {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  padding-top: 3.5rem;
}

.desk__card {
  position: relative;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  border: 1px solid rgba(36, 235, 255, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(170deg, rgba(17, 33, 63, 0.96) 0%, rgba(7, 14, 32, 0.97) 100%);
  box-shadow: var(--shadow-card), 0 0 60px rgba(36, 235, 255, 0.12);
  overflow: visible;
}

/* Little brass desk bell on the counter. */
.desk__bell {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 74px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--color-cyan-neon), transparent);
  box-shadow: 0 0 18px rgba(36, 235, 255, 0.7);
}

.desk__card-title {
  margin-bottom: 0.4rem;
  font-size: var(--fs-h3);
  text-align: center;
}

.desk__card-sub {
  max-width: 46ch;
  margin: 0 auto var(--space-md);
  font-size: var(--fs-sm);
  line-height: 1.7;
  text-align: center;
  color: var(--color-text-secondary);
}

.desk__row { display: grid; gap: 0; }

.desk__legal {
  margin: var(--space-sm) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-muted);
}

.desk__note {
  max-width: 46rem;
  margin: var(--space-md) auto 0;
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--color-text-muted);
}

/* Call badges — anchored above the card on mobile, to its corners on desktop */
.desk__call {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding: 0.6rem 1.05rem 0.6rem 0.6rem;
  border: 1px solid rgba(41, 171, 226, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(41, 171, 226, 0.22) 0%, rgba(7, 14, 32, 0.96) 62%);
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 26px rgba(41, 171, 226, 0.22);
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
  animation: call-float 5.5s var(--ease-in-out) infinite;
}

.desk__call--news { animation-delay: 1.8s; }

.desk__call:hover,
.desk__call:focus-visible {
  transform: translateY(-3px);
  border-color: #29ABE2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 34px rgba(41, 171, 226, 0.45);
}

@keyframes call-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.desk__call-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #37BBFE 0%, #007DBB 100%);
  box-shadow: 0 0 18px rgba(41, 171, 226, 0.6);
}

.desk__call-mark svg { width: 1.15rem; height: 1.15rem; fill: #fff; }

.desk__call-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.25;
}

.desk__call-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.desk__call-meta {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7FD3F5;
}

@media (min-width: 768px) {
  .desk__card { padding: var(--space-xl) var(--space-lg) var(--space-lg); }
  .desk__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
}

@media (min-width: 1200px) {
  .desk__card-wrap { padding-top: 0; }

  .desk__call {
    position: absolute;
    z-index: 5;
    margin: 0;
  }

  .desk__call--support { top: -1.4rem; left: -3.5rem; }
  .desk__call--news { bottom: -1.4rem; right: -3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .desk__call { animation: none; }
}
