:root {
  --gl-bg: #F6F7F4;
  --gl-white: #FFFFFF;
  --gl-pine: #0B2B21;
  --gl-pine-deep: #061A14;
  --gl-ink: #131E1A;
  --gl-sub: #475852;
  --gl-border: #D5DFDA;
  --gl-gold: #D99B26;
  --gl-gold-h: #BA8017;
  --gl-jade: #0E7C5B;
  --gl-jade-bg: #E6F5EF;
  --gl-head: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --gl-body: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--gl-bg);
  color: var(--gl-ink);
  font-family: var(--gl-body);
  font-size: 15.5px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gl-pine); text-decoration: none; }
a:hover { text-decoration: underline; }

.gl-mob-bar {
  display: none;
  background: var(--gl-pine-deep);
  color: #FFF;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--gl-gold);
}
.gl-mob-bar img { height: 28px; width: auto; }
.gl-mob-btn {
  background: rgba(255,255,255,0.12);
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  padding: 6px 11px;
  font-size: 18px;
  cursor: pointer;
}

.gl-frame {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
}

.gl-rail {
  background: var(--gl-pine-deep);
  color: #DCE8E2;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 2px solid rgba(217,155,38,0.35);
}
.gl-rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gl-gold);
  font-family: var(--gl-head);
  font-weight: 700;
  font-size: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.gl-rail-brand img { height: 30px; width: auto; }
.gl-rail-brand:hover { text-decoration: none; }

.gl-rail-nav { display: flex; flex-direction: column; gap: 4px; }
.gl-rail-nav a {
  color: #C4D8CE;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
}
.gl-rail-nav a:hover, .gl-rail-nav a.is-on {
  background: rgba(217,155,38,0.18);
  color: var(--gl-gold);
  text-decoration: none;
}

.gl-rail-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gl-rail-langs a {
  text-align: center;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
  color: #C4D8CE;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 5px;
}
.gl-rail-langs a.is-on, .gl-rail-langs a:hover {
  background: var(--gl-gold);
  border-color: var(--gl-gold);
  color: #061A14;
  text-decoration: none;
}

.gl-rail-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}
.gl-btn-orange { background: var(--gl-gold); color: #061A14; }
.gl-btn-orange:hover { background: var(--gl-gold-h); color: #FFF; }
.gl-btn-navy { background: var(--gl-pine); color: #FFF; }
.gl-btn-navy:hover { background: var(--gl-pine-deep); }
.gl-btn-line { background: var(--gl-white); color: var(--gl-pine); border-color: var(--gl-border); }
.gl-btn-line:hover { border-color: var(--gl-pine); }
.gl-btn-rail-ghost { background: rgba(255,255,255,0.08); color: #FFF; border-color: rgba(255,255,255,0.22); }

.gl-main { padding: 26px 34px 82px; max-width: 1060px; }

.gl-hero {
  background: linear-gradient(135deg, #0B2B21 0%, #061A14 100%);
  color: #FFF;
  border: 1px solid rgba(217,155,38,0.35);
  border-radius: 10px;
  padding: 28px 30px;
  margin-bottom: 24px;
}
.gl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217,155,38,0.18);
  color: #F3C45A;
  border: 1px solid rgba(217,155,38,0.4);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.gl-hero h1 {
  font-family: var(--gl-head);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  margin: 0 0 10px;
  color: #FFF;
}
.gl-hero p { margin: 0 0 20px; color: #C4D8CE; font-size: 16px; }
.gl-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.gl-card {
  background: var(--gl-white);
  border: 1px solid var(--gl-border);
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 22px;
}
.gl-card h2 {
  font-family: var(--gl-head);
  font-size: 23px;
  margin: 0 0 12px;
  color: var(--gl-pine-deep);
  border-left: 4px solid var(--gl-gold);
  padding-left: 11px;
}
.gl-card p { margin: 0 0 14px; color: #22302B; }
.gl-card p:last-child { margin-bottom: 0; }

.gl-switch-bar {
  display: inline-flex;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: 7px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.gl-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gl-sub);
  cursor: pointer;
}
.gl-switch-btn img { width: 18px; height: 18px; border-radius: 50%; }
.gl-switch-btn.is-on { background: var(--gl-pine); color: #FFF; }
.gl-region-pane { display: none; }
.gl-region-pane.is-on { display: block; }

.gl-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.gl-spec-item { background: var(--gl-bg); border: 1px solid var(--gl-border); border-radius: 7px; padding: 12px 14px; }
.gl-spec-item span { display: block; font-size: 12px; color: var(--gl-sub); }
.gl-spec-item strong { font-size: 15px; color: var(--gl-pine-deep); }

.gl-search-box {
  width: 100%;
  max-width: 360px;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-radius: 6px;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.gl-tbl-wrap { overflow-x: auto; border: 1px solid var(--gl-border); border-radius: 8px; margin-top: 10px; }
.gl-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.gl-tbl th { background: var(--gl-pine); color: #FFF; text-align: left; padding: 11px 14px; white-space: nowrap; }
.gl-tbl td { padding: 11px 14px; border-bottom: 1px solid #E5ECE8; }
.gl-tbl tr:nth-child(even) td { background: #F9FBF9; }
.gl-tbl tr:last-child td { border-bottom: none; }
.gl-tag {
  display: inline-block;
  background: var(--gl-jade-bg);
  color: var(--gl-jade);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12.5px;
}

.gl-timeline { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.gl-timeline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-left: 4px solid var(--gl-pine);
  border-radius: 7px;
}
.gl-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gl-pine);
  color: var(--gl-gold);
  font-family: var(--gl-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-timeline h3 { margin: 0 0 4px; font-size: 15.5px; color: var(--gl-pine-deep); }
.gl-timeline p { margin: 0; font-size: 14px; color: var(--gl-sub); }

/* Uncut Game Shelf */
.gl-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gl-game {
  border: 1px solid var(--gl-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--gl-white);
  display: flex;
  flex-direction: column;
}
.gl-game-pic {
  height: 148px;
  padding: 10px;
  background: linear-gradient(180deg, #10362A 0%, #071D16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-game-pic img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gl-game-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gl-game-info h3 { margin: 0; font-size: 15px; color: var(--gl-pine-deep); }
.gl-game-info p { margin: 0; font-size: 12.5px; color: var(--gl-sub); }
.gl-game-info .gl-btn { margin-top: auto; width: 100%; padding: 7px 10px; font-size: 13px; }

.gl-4d { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.gl-4d div {
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: 7px;
  padding: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}
.gl-4d img { height: 38px; width: auto; margin: 0 auto 6px; object-fit: contain; }

.gl-faq details {
  border: 1px solid var(--gl-border);
  border-radius: 7px;
  padding: 13px 16px;
  margin-bottom: 10px;
  background: var(--gl-bg);
}
.gl-faq summary { font-weight: 700; cursor: pointer; color: var(--gl-pine-deep); }
.gl-faq details p { margin: 8px 0 0; font-size: 14.5px; color: var(--gl-sub); }

.gl-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gl-border); font-size: 13px; color: var(--gl-sub); }

.gl-sticky-mob {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gl-white);
  border-top: 1px solid var(--gl-border);
  padding: 10px 14px;
  gap: 10px;
  z-index: 60;
}

@media (max-width: 960px) {
  .gl-mob-bar { display: flex; }
  .gl-frame { grid-template-columns: 1fr; }
  .gl-rail { display: none; position: static; height: auto; }
  .gl-rail.is-open { display: flex; }
  .gl-main { padding: 18px 16px 82px; }
  .gl-hero, .gl-card { padding: 20px 18px; }
  .gl-spec-grid, .gl-shelf { grid-template-columns: 1fr; }
  .gl-4d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gl-sticky-mob { display: grid; grid-template-columns: 1fr 1fr; }
}
