/* Age gate overlay — HGE brand, full-viewport block, z-index above all nav/content */

#hge-age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a08;
  /* No opacity animation — content must be fully hidden on load */
}

#hge-age-gate.hge-ag-hidden {
  display: none;
}

.hge-ag-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 185, 120, 0.05) 0%, transparent 70%),
    #0a0a08;
}

.hge-ag-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 48px 48px;
  max-width: 480px;
  width: calc(100% - 48px);
  border: 1px solid rgba(212, 185, 120, 0.18);
  background: rgba(14, 14, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hge-ag-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 32px;
  opacity: 0.92;
}

.hge-ag-rule {
  width: 40px;
  height: 1px;
  background: rgba(212, 185, 120, 0.4);
  margin: 0 auto 28px;
  border: none;
}

.hge-ag-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d4b978;
  margin-bottom: 20px;
}

.hge-ag-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 2.1rem;
  line-height: 1.25;
  color: #e8e0cc;
  margin-bottom: 12px;
  font-style: italic;
}

.hge-ag-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #9a8a6a;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hge-ag-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 28px;
}

.hge-ag-btn-yes,
.hge-ag-btn-no {
  display: block;
  width: 100%;
  padding: 15px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.hge-ag-btn-yes {
  background: #d4b978;
  color: #0a0a08;
}

.hge-ag-btn-yes:hover {
  background: #e8d4a0;
  opacity: 1;
}

.hge-ag-btn-no {
  background: transparent;
  color: #9a8a6a;
  border: 1px solid rgba(212, 185, 120, 0.18);
}

.hge-ag-btn-no:hover {
  border-color: rgba(212, 185, 120, 0.35);
  color: #e8e0cc;
}

.hge-ag-disclaimer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #5a4a2a;
  line-height: 1.6;
  max-width: 340px;
}

/* No scroll on body while gate active */
body.hge-ag-active {
  overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .hge-ag-panel {
    padding: 44px 28px 36px;
    border-left: none;
    border-right: none;
    max-width: 100%;
    width: 100%;
  }

  .hge-ag-heading {
    font-size: 1.75rem;
  }

  .hge-ag-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
  }
}
