/* =========================================================
   AGE GATE — Noble Circle Club
   ========================================================= */

.age-gate-open {
  overflow: hidden;
}

/* ── Full-screen container ─────────────────────────────── */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

/* ── Blurred dark overlay ──────────────────────────────── */

.age-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 9, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── Card ──────────────────────────────────────────────── */

.age-gate__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 25rem;
  background: var(--color-panel);
  border: 1px solid rgba(201, 154, 69, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: age-gate-card-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* inner blue ring */
.age-gate__card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(30, 17, 239, 0.1);
  border-radius: calc(var(--radius-xl) - 2px);
  pointer-events: none;
}

/* gold top hairline accent */
.age-gate__card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold),
    transparent
  );
  border-radius: 999px;
}

@keyframes age-gate-card-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* ── Logo ──────────────────────────────────────────────── */

.age-gate__logo {
  margin-bottom: 1.5rem;
}

.age-gate__logo img {
  height: 2.75rem;
  width: auto;
}

/* ── 18+ badge — poker chip inspired ──────────────────── */

.age-gate__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: rgba(30, 17, 239, 0.08);
  border: 2px solid var(--color-gold);
  outline: 1px solid rgba(201, 154, 69, 0.22);
  outline-offset: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

/* ── Title ─────────────────────────────────────────────── */

.age-gate__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

/* ── Question text ─────────────────────────────────────── */

.age-gate__text {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 30ch;
  text-align: center;
  margin: 0 0 1.75rem;
}

/* ── Buttons ───────────────────────────────────────────── */

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.age-gate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.age-gate__button:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.age-gate__button--yes {
  background-color: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.age-gate__button--yes:hover {
  background-color: #3525ff;
  border-color: #3525ff;
}

.age-gate__button--no {
  background-color: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
}

.age-gate__button--no:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Legal note ────────────────────────────────────────── */

.age-gate__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.55;
  max-width: 36ch;
  text-align: center;
  margin: 0 0 0.625rem;
}

/* ── Brand line ────────────────────────────────────────── */

.age-gate__brand {
  font-size: 0.6875rem;
  color: rgba(201, 154, 69, 0.45);
  letter-spacing: 0.06em;
  max-width: 38ch;
  text-align: center;
  margin: 0;
}

/* ── Responsive ────────────────────────────────────────── */

@media (min-width: 480px) {
  .age-gate__card {
    padding: 3rem 2.5rem 2.25rem;
  }

  .age-gate__actions {
    flex-direction: row;
  }
}
