/* Rhein 1905 — Age Gate
 * Branded full-screen modal, must match rhein.css palette.
 * Initially hidden — JS reveals it if no cookie is present.
 */

.rhein-agegate[hidden] { display: none !important; }

.rhein-agegate {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
}

.rhein-agegate__backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(161,136,90,0.18), transparent 60%),
    rgba(22,19,17,0.96);
  backdrop-filter: blur(8px);
}

.rhein-agegate__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #FBF8F1;
  color: #2B1F17;
  padding: 3rem 2.25rem 2.25rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(161,136,90,0.4);
  animation: rhein-agegate-in .5s ease-out both;
}

@keyframes rhein-agegate-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.rhein-agegate__crest {
  width: 84px; height: 84px;
  margin: 0 auto 1.25rem;
  border: 1px solid #A1885A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: #FBF8F1;
}
.rhein-agegate__crest span {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #A1885A;
  line-height: 1;
}
.rhein-agegate__crest small {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: #A1885A;
  margin-top: 2px;
  font-weight: 600;
}

.rhein-agegate__title {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
  color: #2B1F17;
}

html[lang^="zh"] .rhein-agegate__title,
html[lang^="zh"] .rhein-agegate__crest span {
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
}

.rhein-agegate__lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6B5E4E;
  margin: 0 0 2rem;
  font-weight: 300;
}

.rhein-agegate__actions {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.rhein-agegate__btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.rhein-agegate__btn--yes {
  background: #2B1F17;
  color: #F5EFE3;
  border-color: #2B1F17;
}
.rhein-agegate__btn--yes:hover {
  background: #A1885A;
  border-color: #A1885A;
  color: #fff;
}
.rhein-agegate__btn--no {
  background: transparent;
  color: #6B5E4E;
  border-color: #E5DDC9;
}
.rhein-agegate__btn--no:hover {
  background: #E5DDC9;
  color: #2B1F17;
}

.rhein-agegate__warning {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B2A2A;
  font-weight: 600;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid #E5DDC9;
}

/* Lock body scroll when gate is visible */
html.rhein-agegate-locked,
html.rhein-agegate-locked body {
  overflow: hidden !important;
  height: 100vh !important;
}
