/* =============================================
   AGE GATE POPUP — playchoiceguide.com
   ============================================= */

/* Overlay */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 17, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.age-gate-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* Card */
.age-gate-card {
  background: var(--green-dark);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 20px;
  padding: 52px 48px 44px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition: transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Decorative ring behind icon */
.age-gate-card::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Icon badge */
.age-gate-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-serif);
  margin-bottom: 28px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

/* Logo inside popup */
.age-gate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 32px;
  opacity: 0.7;
}
.age-gate-logo svg {
  width: 24px; height: 24px;
}
.age-gate-logo em { color: var(--gold); font-style: italic; }

/* Heading */
.age-gate-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Subtitle */
.age-gate-sub {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Buttons */
.age-gate-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.age-gate-btn-yes {
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.age-gate-btn-yes:hover {
  background: #d4b86a;
  transform: translateY(-1px);
}

.age-gate-btn-no {
  background: transparent;
  color: rgba(245, 240, 232, 0.55);
  border: 1.5px solid rgba(245, 240, 232, 0.2);
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.age-gate-btn-no:hover {
  border-color: rgba(245, 240, 232, 0.45);
  color: rgba(245, 240, 232, 0.8);
}

/* Legal note */
.age-gate-legal {
  font-size: 0.73rem;
  color: rgba(245, 240, 232, 0.28);
  line-height: 1.6;
}
.age-gate-legal a {
  color: rgba(201, 168, 76, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.age-gate-legal a:hover { color: var(--gold); }

/* Hide body scroll when popup is open */
body.age-gate-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .age-gate-card {
    padding: 40px 28px 36px;
  }
  .age-gate-btns {
    grid-template-columns: 1fr;
  }
  .age-gate-title { font-size: 1.45rem; }
}
