body.pg-lock-scroll {
  overflow: hidden;
  height: 100%;
}

.pg-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 9, 17, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pg-age-overlay.is-open {
  display: flex;
}

.pg-age-modal {
  width: min(100%, 32rem);
  border-radius: 1.35rem;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: linear-gradient(165deg, rgba(15, 55, 58, 0.98) 0%, rgba(6, 17, 31, 0.98) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: 2rem 1.75rem 1.75rem;
  color: var(--pg-cream);
  animation: pg-rise 0.45s ease both;
}

.pg-age-modal-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  background: linear-gradient(145deg, var(--pg-teal-bright), var(--pg-teal));
  color: var(--pg-navy);
  font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.35);
}

.pg-age-modal h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pg-white);
  margin: 0 0 0.85rem;
}

.pg-age-modal p {
  margin: 0 0 0.9rem;
  color: var(--pg-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.pg-age-modal p strong {
  color: var(--pg-cream);
}

.pg-age-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.35rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.2);
}

.pg-age-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--pg-teal-bright);
  flex-shrink: 0;
  cursor: pointer;
}

.pg-age-check label {
  font-size: 0.92rem;
  color: var(--pg-cream);
  cursor: pointer;
  line-height: 1.55;
}

.pg-age-modal .pg-btn {
  width: 100%;
}

.pg-age-modal .pg-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pg-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3500;
  display: none;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--pg-border);
  background: rgba(6, 17, 31, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.pg-cookie.is-open {
  display: block;
  animation: pg-rise 0.4s ease both;
}

.pg-cookie p {
  margin: 0 0 1rem;
  color: var(--pg-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.pg-cookie p a {
  color: var(--pg-mint);
  text-decoration: underline;
}

.pg-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pg-page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 90% 10%, rgba(13, 148, 136, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, var(--pg-deep) 0%, var(--pg-navy) 100%);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
  overflow: hidden;
}

.pg-page-hero .container {
  max-width: 100%;
}

.pg-page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.5vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--pg-white);
  margin: 0 0 0.85rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  hyphens: auto;
}

.pg-page-hero .lead {
  max-width: 44rem;
  width: 100%;
  margin: 0;
  color: var(--pg-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pg-page-content {
  padding: 3.5rem 0 4.5rem;
  overflow-x: hidden;
}

.pg-page-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--pg-white);
  margin: 2.25rem 0 0.85rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.pg-page-content h2:first-child {
  margin-top: 0;
}

.pg-page-content p,
.pg-page-content li {
  color: var(--pg-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.pg-page-content p {
  margin: 0 0 1.1rem;
}

.pg-page-content ul,
.pg-page-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.pg-page-content a {
  text-decoration: underline;
}

.pg-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid var(--pg-border);
  background: rgba(13, 148, 136, 0.12);
  color: var(--pg-mint);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.pg-contact-email:hover {
  color: var(--pg-gold-soft);
  border-color: rgba(232, 197, 71, 0.4);
}

.pg-faq-item {
  border-bottom: 1px solid rgba(94, 234, 212, 0.12);
  padding: 1.25rem 0;
}

.pg-faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pg-white);
  margin: 0 0 0.55rem;
}

.pg-faq-item p {
  margin: 0;
}

.pg-game-stage-wrap {
  padding: 2.5rem 0 1rem;
}

.pg-game-disclaimer {
  margin: 2rem 0 0;
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(232, 197, 71, 0.3);
  background: rgba(232, 197, 71, 0.06);
}

.pg-game-disclaimer h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pg-gold-soft);
  margin: 0 0 0.75rem;
}

.pg-game-disclaimer p {
  margin: 0 0 0.75rem;
  color: var(--pg-muted);
  font-size: 0.95rem;
}

.pg-game-disclaimer p:last-child {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .pg-cookie {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(100% - 2.5rem, 26rem);
    margin: 0;
  }
}
