/* Access Gate — Dark theme Rhinov (extracted from XavLab Qwik claim page) */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #030712 0%, #111827 50%, #030712 100%);
  color: #f9fafb;
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-wrapper {
  max-width: 28rem;
  width: 100%;
}

.card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  text-align: center;
}

.footer {
  text-align: center;
  font-size: 0.625rem;
  color: rgba(55, 65, 81, 0.8);
  margin-top: 1.5rem;
}

/* Icon circles */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 1.75rem; height: 1.75rem; }

.icon-circle.blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.icon-circle.amber { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.icon-circle.green { background: rgba(16, 185, 129, 0.1); color: #34d399; }
.icon-circle.red { background: rgba(239, 68, 68, 0.1); color: #f87171; }
.icon-circle.gray { background: rgba(107, 114, 128, 0.1); color: #6b7280; }

/* Typography */
h1 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
h1.small { font-size: 1.125rem; margin-bottom: 0.25rem; }
.sub { font-size: 0.875rem; color: #9ca3af; margin-bottom: 1.5rem; line-height: 1.5; }
.sub-small { font-size: 0.75rem; color: #6b7280; margin-bottom: 1.25rem; }
.sub-tiny { font-size: 0.75rem; color: #6b7280; margin-bottom: 1.25rem; }
.legal { font-size: 0.6875rem; color: #4b5563; line-height: 1.5; margin-bottom: 1.25rem; }
.legal.center { text-align: center; margin-top: 1rem; margin-bottom: 0; }

/* Info box */
.info-box {
  background: rgba(31, 41, 55, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}
.info-row + .info-row { margin-top: 0.375rem; }
.info-label { font-size: 0.75rem; color: #6b7280; }
.info-value { font-size: 0.875rem; color: #f9fafb; font-weight: 500; }
.mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: 0.8125rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s;
  text-decoration: none;
  color: #fff;
}
.btn-primary { background: #2563eb; }
.btn-primary:hover { background: #3b82f6; }
.btn-primary:disabled { background: rgba(55, 65, 81, 0.8); color: #6b7280; cursor: not-allowed; }
.btn-full { width: 100%; }
.btn-icon { width: 1rem; height: 1rem; }

/* Code input */
.code-input-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.code-input-wrap input {
  width: 8rem;
  text-align: center;
  font-size: 1.5rem;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  letter-spacing: 0.5em;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.8);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #f9fafb;
  outline: none;
}
.code-input-wrap input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.code-input-wrap input::placeholder { color: #374151; }

/* Error box */
.error-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: #f87171;
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(31, 41, 55, 0.8);
  border-radius: 2px;
  margin: 1.25rem 0;
  overflow: hidden;
}
.progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.375rem;
}

.spin { animation: spin 1.5s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
