/* ===================== AGE GATE MODAL ===================== */

.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.age-gate__logo {
  margin-bottom: clamp(8px, 2.5vw, 16px);
  /* cap logo to 60px max and keep it responsive */
  width: clamp(32px, 6vw, 60px);
  max-width: 60px;
}

.age-gate__logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ensure logo container centers its content */
.age-gate__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-gate.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.age-gate__content {
  background: #fff;
  border-radius: 12px;
  padding: clamp(40px, 6vw, 60px);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
  
}

.age-gate__content img {
  max-width: 100px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-gate__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 200;
  color: var(--color-dark);
  margin-bottom: clamp(20px, 3vw, 30px);
  line-height: 1.2;
}

.age-gate__description {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--color-dark-grey);
  margin-bottom: clamp(30px, 4vw, 50px);
  line-height: 1.6;
}

.age-gate__buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.age-gate__buttons .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 600px) {
  .age-gate__content {
    padding: 30px 20px;
  }

  .age-gate__buttons {
    gap: 12px;
  }
}

/* Strong override to ensure logo never exceeds 60px (diagnostic fallback) */
.age-gate .age-gate__logo,
.age-gate .age-gate__logo img {
  max-width: 60px !important;
  width: 100% !important;
  height: auto !important;
}

/* Stronger override: make logo container full width and center the image inside it */
.age-gate .age-gate__logo {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.age-gate .age-gate__logo img {
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Ensure the decline button chevron/icon is black on hover */
.age-gate .age-gate__btn--no,
.age-gate .age-gate__btn--no:hover {
  color: #111 !important;
}

.age-gate .age-gate__btn--no .btn__icon svg {
  fill: currentColor !important;
}

/* Make the right (decline) button stand out on dark backgrounds */
.age-gate .age-gate__btn--no {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: none !important;
}

.age-gate .age-gate__btn--no:hover {
  background: #f4f4f4 !important;
  color: black !important;
}
