/* PlayBunnyAI — age gate estilo furry */

.age-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(1rem + env(safe-area-inset-top, 0px))
    1rem
    calc(1rem + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 122, 26, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 80% 80%, rgba(255, 154, 60, 0.12), transparent 50%),
    linear-gradient(165deg, #1a100c 0%, #0c0908 45%, #070605 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow: auto;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}

.age-gate-modal.is-open {
  opacity: 1;
  visibility: visible;
}

html.age-gate-skip .age-gate-modal {
  display: none;
}

.age-gate-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.age-gate-video-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 58% at 50% 52%, rgba(8, 4, 2, 0.72), rgba(8, 4, 2, 0.35) 70%, transparent 100%),
    linear-gradient(180deg, rgba(8, 4, 2, 0.55) 0%, rgba(8, 4, 2, 0.15) 30%, rgba(8, 4, 2, 0.15) 70%, rgba(8, 4, 2, 0.7) 100%);
}

/* Atmosfera decorativa */
.age-gate-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.age-gate-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.age-gate-orb--a {
  width: min(55vw, 22rem);
  height: min(55vw, 22rem);
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 122, 26, 0.45);
  animation: age-gate-orb-pulse 7s ease-in-out infinite;
}

.age-gate-orb--b {
  width: min(40vw, 16rem);
  height: min(40vw, 16rem);
  bottom: 5%;
  right: -5%;
  background: rgba(255, 154, 60, 0.28);
  animation: age-gate-orb-pulse 9s ease-in-out infinite 1.5s;
}

@keyframes age-gate-orb-pulse {
  0%,
  100% {
    opacity: 0.4;
    scale: 1;
  }
  50% {
    opacity: 0.7;
    scale: 1.08;
  }
}

.age-gate-paw {
  position: absolute;
  color: #ff7a1a;
  opacity: 0.14;
  font-size: 1.6rem !important;
  user-select: none;
  animation: age-gate-paw-float 8s ease-in-out infinite;
}

.age-gate-paw--1 {
  top: 12%;
  left: 8%;
  transform: rotate(-22deg);
}

.age-gate-paw--2 {
  top: 18%;
  right: 10%;
  transform: rotate(18deg);
  font-size: 1.25rem !important;
  animation-delay: 1.2s;
}

.age-gate-paw--3 {
  bottom: 16%;
  left: 12%;
  transform: rotate(12deg);
  font-size: 1.1rem !important;
  animation-delay: 2s;
}

.age-gate-paw--4 {
  bottom: 22%;
  right: 14%;
  transform: rotate(-14deg);
  animation-delay: 0.6s;
}

@keyframes age-gate-paw-float {
  0%,
  100% {
    translate: 0 0;
    opacity: 0.12;
  }
  50% {
    translate: 0 -8px;
    opacity: 0.22;
  }
}

/* Card central */
.age-gate-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 26rem);
  margin: 1.25rem auto 0;
  padding: 1.75rem 1.45rem 1.65rem;
  border-radius: 1.85rem !important;
  border: 1.5px solid rgba(255, 138, 48, 0.5);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 122, 26, 0.28), transparent 55%),
    linear-gradient(165deg, rgba(28, 20, 16, 0.96) 0%, rgba(14, 10, 9, 0.98) 55%, rgba(10, 8, 7, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 160, 80, 0.08) inset,
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 56px rgba(255, 122, 26, 0.16);
  text-align: center;
  color: #fff8f2;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1.15, 0.36, 1);
}

.age-gate-modal.is-open .age-gate-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Orelhas */
.age-gate-ear {
  position: absolute;
  top: -1.4rem;
  width: 1.55rem;
  height: 2.75rem;
  border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, #ff9a4a 0%, #ff7a1a 55%, #e85f0a 100%);
  box-shadow: 0 4px 14px rgba(255, 122, 26, 0.35);
  pointer-events: none;
  z-index: 2;
}

.age-gate-ear::after {
  content: "";
  position: absolute;
  inset: 22% 28% 18% 28%;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffe0c2, #ffb87a);
  opacity: 0.9;
}

.age-gate-ear--left {
  left: calc(50% - 1.95rem);
  transform: translateX(-50%) rotate(-18deg);
}

.age-gate-ear--right {
  left: calc(50% + 1.95rem);
  transform: translateX(-50%) rotate(18deg);
}

.age-gate-kicker {
  margin: 0.35rem 0 1rem;
  color: #ff9a4a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-gate-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 6.5rem;
}

.age-gate-brand .site-brand-logo--age-gate {
  flex-direction: column;
  align-items: center;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  max-width: min(92vw, 22rem);
  gap: 0.65rem;
}

.age-gate-brand .site-brand-logo--age-gate .site-brand-logo__img {
  width: clamp(5.75rem, 22vw, 7.25rem);
  height: clamp(5.75rem, 22vw, 7.25rem);
  border: 3px solid rgba(255, 138, 48, 0.75);
  box-shadow:
    0 0 0 5px rgba(255, 122, 26, 0.14),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 122, 26, 0.35);
}

.age-gate-brand .site-brand-logo--age-gate .site-brand-logo__word {
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}

.age-gate-brand-paw {
  position: absolute;
  color: #ff7a1a;
  opacity: 0.55;
  font-size: 1.25rem !important;
  animation: age-gate-paw-float 3.2s ease-in-out infinite;
  pointer-events: none;
}

.age-gate-brand-paw--a {
  left: calc(50% - 4.4rem);
  top: 0.35rem;
  transform: rotate(-28deg);
}

.age-gate-brand-paw--b {
  right: calc(50% - 4.4rem);
  bottom: 0.85rem;
  transform: rotate(28deg);
  animation-delay: 1.1s;
}

.age-gate-badge {
  display: inline-flex;
  margin: 0 0 0.85rem;
}

.age-gate-badge__mark {
  display: inline-grid;
  place-items: center;
  min-width: 3.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 138, 48, 0.7);
  background: rgba(255, 122, 26, 0.16);
  color: #ffb87a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 0 1rem rgba(255, 122, 26, 0.25);
}

.age-gate-title {
  margin: 0 0 0.85rem;
  max-width: 20rem;
  font-size: clamp(1.55rem, 5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff8f2;
}

.age-gate-text {
  margin: 0 auto 1.55rem;
  max-width: 22rem;
  color: rgba(255, 230, 210, 0.62);
  font-size: clamp(0.86rem, 2vw, 0.95rem);
  font-weight: 450;
  line-height: 1.55;
}

.age-gate-text a {
  color: #ff9a4a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, 0.45);
  transition: color 0.14s ease, border-color 0.14s ease;
}

.age-gate-text a:hover {
  color: #ffd4a8;
  border-bottom-color: #ff7a1a;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.age-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.age-gate-btn:active {
  transform: scale(0.98);
}

.age-gate-btn .material-symbols-outlined {
  font-size: 1.15rem;
}

.age-gate-btn--confirm {
  border: 0;
  background: linear-gradient(135deg, #ff9a3a 0%, #ff7a1a 50%, #e85f0a 100%);
  color: #1a0e08;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow:
    0 10px 28px rgba(255, 122, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.age-gate-btn--confirm:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(255, 122, 26, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.age-gate-btn--deny {
  border: 1.5px solid rgba(255, 138, 48, 0.35);
  background: rgba(255, 122, 26, 0.06);
  color: rgba(255, 230, 210, 0.72);
}

.age-gate-btn--deny:hover {
  background: rgba(255, 122, 26, 0.12);
  border-color: rgba(255, 138, 48, 0.55);
  color: #ffd4a8;
}

body.age-gate-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .age-gate-panel {
    width: min(100%, 28rem);
    padding: 2rem 1.85rem 1.85rem;
  }

  .age-gate-title {
    max-width: 24rem;
  }

  .age-gate-actions {
    max-width: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-gate-orb,
  .age-gate-paw,
  .age-gate-brand-paw,
  .age-gate-panel {
    animation: none;
    transition: opacity 0.2s ease;
  }

  .age-gate-modal.is-open .age-gate-panel {
    transform: none;
  }
}
