/**
 * 18+ splash gate — dark luxury gold, matches maribor-club.
 * Root #mmd-age-gate avoids clash with checkout/register .mmd-age-gate checkbox rows.
 * localStorage only (no cookies). Not identity verification.
 */

#mmd-age-gate.mmd-age-gate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-direction: row !important;
}

#mmd-age-gate.mmd-age-gate[hidden] {
  display: none !important;
}

#mmd-age-gate .mmd-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(198, 167, 94, 0.08), transparent 55%),
    #0a0a0b;
}

#mmd-age-gate .mmd-age-gate__card {
  position: relative;
  width: min(420px, 100%);
  text-align: center;
  padding: 40px 28px 28px;
  border-radius: 16px;
  border: 1px solid rgba(198, 167, 94, 0.35);
  background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
  margin: 0;
}

#mmd-age-gate .mmd-age-gate__logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 94, 0.35);
  padding: 6px;
  background: #0a0a0b;
  box-sizing: border-box;
}

#mmd-age-gate .mmd-age-gate__brand {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: #f2ede3;
  font-weight: 500;
  display: block;
  text-transform: none;
}

#mmd-age-gate .mmd-age-gate__subbrand {
  margin: 4px 0 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #c6a75e;
  text-transform: uppercase;
  display: block;
}

#mmd-age-gate .mmd-age-gate__title {
  margin: 28px 0 10px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: #f2ede3;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: none;
}

#mmd-age-gate .mmd-age-gate__text {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.5;
  color: #9a948a;
  text-transform: none;
  letter-spacing: normal;
}

#mmd-age-gate .mmd-age-gate__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

#mmd-age-gate .mmd-age-gate__btn {
  min-width: 120px;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

#mmd-age-gate .mmd-age-gate__btn--yes {
  border: none;
  background: #c6a75e;
  color: #0a0a0b;
}

#mmd-age-gate .mmd-age-gate__btn--yes:hover {
  filter: brightness(1.05);
}

#mmd-age-gate .mmd-age-gate__btn--yes:focus-visible {
  outline: 2px solid #f2ede3;
  outline-offset: 2px;
}

#mmd-age-gate .mmd-age-gate__btn--no {
  border: 1px solid rgba(198, 167, 94, 0.4);
  background: transparent;
  color: #c8c2b8;
}

#mmd-age-gate .mmd-age-gate__btn--no:hover {
  border-color: #c6a75e;
  color: #f2ede3;
}

#mmd-age-gate .mmd-age-gate__btn--no:focus-visible {
  outline: 2px solid rgba(198, 167, 94, 0.7);
  outline-offset: 2px;
}

#mmd-age-gate .mmd-age-gate__fine {
  margin: 22px 0 0;
  font-size: 11px;
  color: #6e6960;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 420px) {
  #mmd-age-gate .mmd-age-gate__actions {
    flex-direction: column;
  }
  #mmd-age-gate .mmd-age-gate__btn {
    width: 100%;
  }
  #mmd-age-gate .mmd-age-gate__card {
    padding: 32px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mmd-age-gate,
  #mmd-age-gate .mmd-age-gate__btn {
    transition: none !important;
  }
}
