/* Entry popup — matches hero announcement brown box (demo.html only) */

.demo-entry-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.demo-entry-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 25, 0.55);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.demo-entry-popup__panel {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  max-width: 42rem;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem 4.5rem 1.75rem 1.5rem;
  border: 1px solid rgba(166, 124, 82, 0.4);
  border-radius: 0.75rem;
  background: rgba(107, 68, 35, 0.9);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

.demo-entry-popup__announcement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.demo-entry-popup__now {
  margin-top: 0.35rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.demo-entry-popup__message {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.demo-entry-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.demo-entry-popup__close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.demo-entry-popup__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

html.demo-entry-popup-open {
  overflow: hidden;
}

html.demo-entry-popup-open body {
  overflow: hidden;
}
