/* ============================= */
/* AGE GATE OVERLAY */
/* ============================= */

#age-gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-align: center;
}

/* Flou + assombrissement derrière */
body.agegate-active {
  overflow: hidden;
}

body.agegate-active::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
}

/* Boîte centrale */
.age-gate-box {
  position: relative;
  z-index: 10000;
  max-width: 420px;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  color: #fff;
  font-family: sans-serif;
}

/* Boutons */
.age-gate-buttons {
  margin-top: 20px;
}

.age-gate-buttons button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s ease;
}

#age-yes {
  background: #28a745;
  color: white;
}

#age-yes:hover {
  background: #34d058;
}

#age-no {
  background: #dc3545;
  color: white;
}

#age-no:hover {
  background: #ff4c5f;
}