/* Sakuero Age Gate v1.1 (Brand: #e55474) */
/* Drop-in replacement for sakuero-age-gate.css */
:root{
  --ag-brand: #e55474;
  --ag-brand-600: #d74c6b;   /* hover */
  --ag-brand-700: #c24561;   /* active/focus ring */
  --ag-brand-soft: #fde8ee;  /* subtle bg/tint */
  --ag-backdrop: rgba(15,23,42,.72);
  --ag-card-bg: #ffffff;
  --ag-text: #0f172a;
  --ag-muted: #475569;
  --ag-radius: 14px;
  --ag-space: 18px;
  --ag-shadow: 0 20px 35px rgba(0,0,0,.25);
}

.agegate-open{ overflow: hidden; }

#ageGateOverlay{
  position: fixed; inset: 0; z-index: 999999;
  background: var(--ag-backdrop);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
#ageGateOverlay.is-active{ display: flex; }

#ageGate{
  width: 100%; max-width: 560px;
  background: var(--ag-card-bg); color: var(--ag-text);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  padding: calc(var(--ag-space) * 1.2);
  border: 1px solid #f1f5f9;
}
#ageGate header{ margin-bottom: var(--ag-space); }
#ageGate h2{
  margin: 0 0 8px 0; font-size: 1.5rem; line-height: 1.3;
  position: relative; padding-left: 14px;
}
#ageGate h2::before{
  content: ""; position: absolute; left: 0; top: .2em; bottom: .2em;
  width: 4px; border-radius: 2px; background: var(--ag-brand);
}
#ageGate p{ margin: 0 0 var(--ag-space) 0; color: var(--ag-muted); line-height: 1.7; }
#ageGate .ag-actions{ display: flex; gap: 12px; margin-top: var(--ag-space); flex-wrap: wrap; }

#ageGate a{ color: var(--ag-brand); text-decoration: underline; }
#ageGate a:hover{ color: var(--ag-brand-600); }

#ageGate button{
  appearance: none; border: 0; font-weight: 700; cursor: pointer;
  padding: 12px 16px; border-radius: 10px;
  transition: transform .02s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
#ageGate button:active{ transform: translateY(1px); }

#ag-yes{
  background: var(--ag-brand); color: #fff;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
#ag-yes:hover{ background: var(--ag-brand-600); }
#ag-yes:focus-visible{
  outline: none; box-shadow: 0 0 0 3px var(--ag-brand-700), 0 0 0 6px #fff;
}

#ag-no{
  background: transparent; color: var(--ag-brand);
  border: 2px solid var(--ag-brand);
}
#ag-no:hover{ background: var(--ag-brand-soft); color: var(--ag-brand-700); border-color: var(--ag-brand-600); }
#ag-no:focus-visible{
  outline: none; box-shadow: 0 0 0 3px var(--ag-brand-700), 0 0 0 6px #fff;
}

#ageGate small{ display:block; margin-top: 8px; color:#6b7280; }

/* Soft brand tint at the top */
#ageGate::after{
  content: ""; display:block; height: 6px;
  background: linear-gradient(90deg, var(--ag-brand), var(--ag-brand-600));
  border-radius: 999px; margin-top: var(--ag-space);
}

/* Reduce size on small screens */
@media (max-width: 480px){
  #ageGate h2{ font-size: 1.3rem; }
  #ageGate{ padding: calc(var(--ag-space) * .9); }
}
