.access-gate-card {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 520px);
  margin: clamp(32px, 8vh, 96px) auto;
  padding: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  text-align: center;
}

.access-gate-card * {
  box-sizing: border-box;
}

.access-gate-mark,
.access-gate-spinner {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 14px;
}

.access-gate-mark {
  background: #e6fffb;
  color: #008673;
  font-size: 24px;
  font-weight: 700;
}

.access-gate-spinner {
  border: 4px solid #ccfbf1;
  border-top-color: #00b09a;
  border-radius: 50%;
  animation: access-gate-spin 0.8s linear infinite;
}

.access-gate-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.2;
}

.access-gate-body {
  max-width: 42ch;
  margin: 0 auto 24px;
  color: #64748b;
  line-height: 1.6;
}

.access-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.access-gate-action {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #00b09a;
  border-radius: 12px;
  background: #fff;
  color: #008673;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.access-gate-action-primary {
  background: #00b09a;
  color: #fff;
}

.access-gate-action:hover {
  filter: brightness(0.96);
}

.access-gate-action:focus-visible,
.access-gate-title:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

@keyframes access-gate-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .access-gate-spinner {
    animation: none;
  }
}

@media (max-width: 390px) {
  .access-gate-card {
    padding: 28px 20px;
  }

  .access-gate-actions {
    flex-direction: column;
  }

  .access-gate-action {
    width: 100%;
  }
}
