img[src="/robinhood-logo.svg"] {
  height: 1.15rem;
  width: auto;
}

#cf-human-box {
  width: 100%;
}

.human-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 18.5rem;
  margin: 0 auto;
  padding: 0.7rem 0.85rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1b2030;
  color: #e6e6e6;
  cursor: pointer;
  text-align: left;
}

.human-check:hover {
  border-color: rgba(255, 215, 0, 0.35);
}

.human-box {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 0.2rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #0b0e14;
  position: relative;
}

.human-check.is-wait .human-box {
  border-color: #ffd700;
  animation: human-spin 0.7s linear infinite;
  border-right-color: transparent;
  border-radius: 999px;
}

.human-check.is-ok .human-box {
  border-color: #22c55e;
  background: #22c55e;
}

.human-check.is-ok .human-box::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.08rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #0b0e14;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.human-label {
  font-size: 0.875rem;
  line-height: 1.3;
}

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

/* Interactive states that the original React app toggled at runtime */
#mobile-menu.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

nav.is-hidden {
  transform: translateY(-100%);
}

body.menu-lock {
  overflow: hidden;
}

[data-faq-panel].is-open {
  grid-template-rows: 1fr !important;
}

[data-faq-panel].is-open > div {
  opacity: 1 !important;
}

[data-faq] svg.is-open {
  transform: rotate(180deg);
}

[data-reveal] {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

[data-reveal].is-in {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transition: none;
  }
}

.is-hidden,
[data-auth-panel].is-hidden,
[data-step].is-hidden,
#quest-board.is-hidden,
#auth-shell.is-hidden {
  display: none !important;
}

div.grid.is-open {
  grid-template-rows: 1fr !important;
}

div.grid.is-open > div {
  opacity: 1 !important;
}

[data-roadmap-panel].is-hidden {
  display: none !important;
}

@media (min-width: 640px) {
  [data-roadmap-panel].is-hidden {
    display: block !important;
  }
}

[data-ref-panel].is-open {
  grid-template-rows: 1fr !important;
}

[data-ref-panel].is-open > div {
  opacity: 1 !important;
}

[data-name-meta].is-open,
[data-name-price].is-open {
  grid-template-rows: 1fr !important;
}

[data-name-meta].is-open > div,
[data-name-price].is-open > div {
  opacity: 1 !important;
}

#copy-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.task-done {
  opacity: 0.55;
}

.task-done [data-task-action] {
  pointer-events: none;
}

.gate-root {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #0b0e14;
}

.gate-bg {
  position: absolute;
  inset: 0;
}

.gate-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.gate-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 20, 0.55) 0%, rgba(11, 14, 20, 0.72) 45%, rgba(11, 14, 20, 0.94) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 215, 0, 0.08), transparent 55%);
}

.gate-center {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.gate-brand {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffd700;
  margin-bottom: 1.75rem;
}

.gate-title {
  font-family: inherit;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  margin-bottom: 0.5rem;
}

.gate-name {
  color: rgba(255, 215, 0, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-height: 1.2em;
  margin-bottom: 2rem;
}

.gate-status {
  color: rgba(230, 230, 230, 0.78);
  font-size: 0.9rem;
  min-height: 1.4em;
  margin-bottom: 1.25rem;
}

.gate-track {
  width: min(28rem, 86vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.gate-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c9a227, #ffd700);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
  transition: width 180ms linear;
}

.gate-pct {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.gate-warn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(6px);
}

.gate-warn-card {
  width: min(26rem, 100%);
  background: #141824;
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.gate-warn-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.08);
  color: #ffd700;
}

.gate-warn-title {
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}

.gate-warn-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(230, 230, 230, 0.7);
  margin-bottom: 1.5rem;
}

.gate-warn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #ffd700;
  color: #0b0e14;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid #ffd700;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms, color 200ms;
}

.gate-warn-btn:hover {
  background: transparent;
  color: #ffd700;
}

.gate-warn-btn:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gate-bar {
    transition: none;
  }
}
