/* Fest Gold Events - Age restriction modal */

.fge-age {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fge-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(7, 10, 30, 0.95) 0, rgba(0, 0, 0, 0.95) 55%);
  backdrop-filter: blur(14px);
}

.fge-age__dialog {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin: 1.5rem;
  padding: 1.9rem 1.8rem 1.7rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, rgba(255, 244, 219, 0.14), rgba(5, 7, 20, 0.98));
  border: 1px solid rgba(212, 181, 118, 0.7);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 244, 219, 0.06);
  color: #f7f2e5;
  text-align: center;
}

.fge-age__badge {
  position: absolute;
  top: -1.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fff3d2 0, #d93b4b 38%, #5b0914 82%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #050714;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 244, 219, 0.2);
}

.fge-age__title {
  margin-top: 0.9rem;
  margin-bottom: 0.6rem;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fge-age__desc {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(247, 242, 229, 0.9);
}

.fge-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.fge-age__btn {
  flex: 1 1 8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.fge-age__btn--primary {
  background: linear-gradient(120deg, #d4b576, #fbe7b8);
  color: #050714;
}

.fge-age__btn--secondary {
  background: transparent;
  border-color: rgba(247, 242, 229, 0.6);
  color: #f7f2e5;
}

.fge-age__btn:focus-visible {
  outline: 2px solid #f5d48a;
  outline-offset: 3px;
}

.fge-age__btn--secondary:hover {
  background: rgba(247, 242, 229, 0.08);
}

.fge-age__btn--primary:hover {
  filter: brightness(1.06);
}

.fge-age__note {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(247, 242, 229, 0.8);
}

@media (max-width: 600px) {
  .fge-age__dialog {
    margin: 1.25rem;
    padding-inline: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fge-age,
  .fge-age * {
    transition: none !important;
    animation: none !important;
  }
}
