:root {
  --gx-bg: #f7efe4;
  --gx-ink: #2f2430;
  --gx-plum: #5a2f4f;
  --gx-gold: #b78345;
  --gx-soft: #fff7ed;
}

* {
  box-sizing: border-box;
}

body.gx-body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--gx-ink);
  background:
    radial-gradient(circle at 7% 15%, rgba(180, 123, 67, 0.28), transparent 32%),
    radial-gradient(circle at 90% 82%, rgba(121, 60, 113, 0.24), transparent 36%),
    var(--gx-bg);
  min-height: 100vh;
}

a {
  color: inherit;
}

.gx-header {
  width: min(1320px, 100% - 1.2rem);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid rgba(90, 47, 79, 0.2);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(247, 239, 228, 0.95);
  backdrop-filter: blur(4px);
}

.gx-brand img {
  width: min(260px, 62vw);
  display: block;
}

.gx-toggle {
  display: none;
  border: 1px solid rgba(90, 47, 79, 0.45);
  border-radius: 10px;
  background: var(--gx-soft);
  padding: 0.38rem 0.42rem;
  width: 44px;
}

.gx-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gx-plum);
}

.gx-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gx-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(90, 47, 79, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  background: #fffdf9;
}

.gx-nav a:hover,
.gx-nav a:focus-visible {
  border-color: rgba(90, 47, 79, 0.6);
}

.gx-main {
  width: min(1320px, 100% - 1.2rem);
  margin: 1rem auto 2rem;
  display: grid;
  gap: 0.95rem;
}

.gx-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
}

.gx-lead,
.gx-side-note {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(91, 48, 80, 0.25);
  border-radius: 18px;
  padding: 1.1rem;
}

.gx-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #8a6242;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: #3a2334;
}

h1 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(1.65rem, 3.4vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.85rem);
}

p {
  margin: 0;
  line-height: 1.67;
}

.gx-side-note ul {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.55rem;
  line-height: 1.5;
}

.gx-policy-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.gx-policy-row div {
  text-align: center;
  border: 1px solid rgba(91, 48, 80, 0.35);
  border-radius: 14px;
  padding: 0.6rem 0.7rem;
  font-weight: 800;
  background: linear-gradient(100deg, #fff6ea, #fde7cb);
  color: #61384f;
}

.gx-frame-section {
  border: 1px solid rgba(92, 50, 81, 0.35);
  border-radius: 20px;
  background: #fff8ec;
  padding: 1rem;
}

.gx-frame-head p {
  margin-top: 0.45rem;
}

.gx-frame-section iframe {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 14px;
  margin-top: 0.85rem;
  height: min(72vw, 760px);
  background: #000;
}

.gx-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.gx-columns article {
  border: 1px solid rgba(92, 50, 81, 0.25);
  border-radius: 14px;
  background: rgba(255, 251, 245, 0.88);
  padding: 0.9rem;
}

.gx-footer {
  width: min(1320px, 100% - 1.2rem);
  margin: 0 auto;
  border-top: 1px solid rgba(90, 47, 79, 0.28);
  padding: 0.9rem 0 1.4rem;
  text-align: center;
  color: #4f3147;
  display: grid;
  gap: 0.52rem;
}

.gx-footer div {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.gx-footer a {
  color: #67415d;
}

.gx-age-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 17, 30, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 35;
  padding: 1rem;
}

.gx-age-box {
  width: min(570px, 100%);
  border-radius: 16px;
  border: 2px solid rgba(184, 131, 69, 0.55);
  background: #fff3e0;
  padding: 1.1rem;
}

.gx-age-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: #8a623d;
}

.gx-legal-chips {
  margin: 0.8rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gx-legal-chips span {
  border: 1px solid #c19157;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  font-size: 0.84rem;
  background: #fff9f0;
}

.gx-age-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gx-age-buttons button {
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 0.58rem 0.85rem;
  cursor: pointer;
}

.gx-age-buttons button[data-gx-age="yes"] {
  background: var(--gx-plum);
  color: #fff0dc;
}

.gx-age-buttons button[data-gx-age="no"] {
  background: #f3d7b3;
  color: #52344a;
}

body.gx-locked {
  overflow: hidden;
}

body.gx-locked .gx-age-modal {
  display: flex;
}

.gx-play-main {
  width: min(1320px, 100% - 1.2rem);
  margin: 1rem auto 2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 0.88fr 1.12fr;
}

.gx-play-info {
  border: 1px solid rgba(92, 50, 81, 0.25);
  border-radius: 17px;
  background: rgba(255, 250, 241, 0.9);
  padding: 1rem;
}

.gx-play-info ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  line-height: 1.55;
}

.gx-doc {
  width: min(1080px, 100% - 1.2rem);
  margin: 1rem auto 2rem;
  border: 1px solid rgba(91, 48, 80, 0.3);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.9);
  padding: 1rem;
}

.gx-doc h2 {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .gx-banner,
  .gx-columns,
  .gx-play-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gx-header {
    grid-template-columns: auto auto;
  }

  .gx-toggle {
    display: inline-block;
    justify-self: end;
  }

  .gx-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
  }

  .gx-nav.gx-nav-open {
    display: flex;
  }

  .gx-policy-row {
    grid-template-columns: 1fr;
  }

  .gx-frame-section iframe {
    height: 76vw;
    min-height: 430px;
  }
}
