/* Age Gate modal — shared across all 6 dlcprice.com apps */

html.age-gate-pending,
html.age-gate-pending body {
  overflow: hidden !important;
}

#age-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  animation: age-gate-fade-in 0.25s ease-out;
}

#age-gate.age-gate-hiding {
  animation: age-gate-fade-out 0.25s ease-in forwards;
}

@keyframes age-gate-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes age-gate-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

#age-gate .age-gate-card {
  background: #fff;
  color: #222;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

#age-gate .age-gate-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e91e63;
  margin: 0 0 18px;
  line-height: 1.5;
}

#age-gate .age-gate-question {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: #222;
}

#age-gate .age-gate-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

#age-gate button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
  font-family: inherit;
}

#age-gate button.age-gate-yes {
  background: #e91e63;
  color: #fff;
}

#age-gate button.age-gate-yes:hover,
#age-gate button.age-gate-yes:focus-visible {
  background: #d81b60;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
  outline: none;
}

#age-gate button.age-gate-no {
  background: #f5f5f5;
  color: #555;
}

#age-gate button.age-gate-no:hover,
#age-gate button.age-gate-no:focus-visible {
  background: #e0e0e0;
  color: #222;
  outline: none;
}

#age-gate .age-gate-note {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 480px) {
  #age-gate .age-gate-buttons {
    flex-direction: row;
  }
  #age-gate button.age-gate-no {
    flex: 0 0 auto;
    width: auto;
    padding: 14px 20px;
  }
  #age-gate button.age-gate-yes {
    flex: 1 1 auto;
  }
}
