.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.age-gate-overlay.active {
  display: block;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.88)),
    radial-gradient(circle at top, rgba(56, 126, 182, 0.24), transparent 45%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.age-gate-modal {
  position: relative;
  z-index: 2;
  width: min(92vw, 640px);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px auto;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 55%, #eef6fd 100%);
  border: 1px solid #d8e5f2;
  border-radius: 30px;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 24px 22px 22px;
}

.age-gate-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.age-gate-logo {
  display: block;
  width: min(250px, 68vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.age-gate-kicker {
  margin: 0 0 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #4a93c8;
}

.age-gate-title {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 0.98;
  font-weight: 900;
  color: #0f172a;
}

.age-gate-description {
  margin: 14px auto 0;
  max-width: 540px;
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
  color: #66758f;
}

.age-gate-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dfe9f4;
  border-radius: 22px;
}

.age-gate-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #12203f;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}

.age-gate-point i {
  color: #4a93c8;
  flex-shrink: 0;
}

.age-gate-checkboxes {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.age-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8e5f2;
  border-radius: 18px;
  background: #ffffff;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.age-gate-check input {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  accent-color: #387eb6;
  flex-shrink: 0;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.age-gate-btn {
  min-height: 56px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.age-gate-btn:hover {
  transform: translateY(-1px);
}

.age-gate-btn-primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, #4ea0de 0%, #387eb6 100%);
  box-shadow: 0 16px 30px rgba(56, 126, 182, 0.28);
}

.age-gate-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.age-gate-btn-secondary {
  border: 2px solid #cbd9e8;
  background: #ffffff;
  color: #12203f;
}

.age-gate-footer {
  margin: 14px 8px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: #7a869d;
}

.age-gate-locked {
  overflow: hidden !important;
  height: 100vh;
}

.age-gate-modal::-webkit-scrollbar {
  width: 8px;
}

.age-gate-modal::-webkit-scrollbar-thumb {
  background: rgba(74, 147, 200, 0.35);
  border-radius: 999px;
}

@media (max-width: 640px) {
  .age-gate-modal {
    width: min(94vw, 640px);
    max-height: calc(100vh - 14px);
    margin: 7px auto;
    padding: 18px 16px 18px;
    border-radius: 24px;
  }

  .age-gate-logo-wrap {
    margin-bottom: 10px;
  }

  .age-gate-logo {
    width: min(220px, 64vw);
  }

  .age-gate-kicker {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .age-gate-title {
    font-size: 28px;
    line-height: 1.02;
  }

  .age-gate-description {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 10px;
  }

  .age-gate-points {
    margin-top: 14px;
    padding: 12px;
    gap: 8px;
    border-radius: 18px;
  }

  .age-gate-point {
    font-size: 13px;
    line-height: 1.3;
  }

  .age-gate-checkboxes {
    gap: 10px;
    margin-top: 14px;
  }

  .age-gate-check {
    padding: 12px;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 16px;
  }

  .age-gate-check input {
    width: 18px;
    height: 18px;
  }

  .age-gate-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .age-gate-btn {
    min-height: 50px;
    font-size: 17px;
  }

  .age-gate-footer {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.45;
  }
}
