﻿:root {
  --bg: #050505;
  --bg-2: #11110e;
  --panel: rgba(6, 6, 8, 0.76);
  --panel-strong: rgba(8, 7, 12, 0.92);
  --text: #f7f2ff;
  --muted: #c9bddf;
  --line: rgba(104, 220, 255, 0.26);
  --line-strong: rgba(174, 245, 255, 0.58);
  --gold: #8cf1ff;
  --gold-deep: #1186b4;
  --purple: #a544ff;
  --green: #8cf1ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
  --glow-green: 0 0 32px rgba(104, 220, 255, 0.24);
  --glow-purple: 0 0 34px rgba(127, 51, 255, 0.28);
  --radius: 14px;
}

/* Full-site GhostPK logo colorway: black steel, silver text, icy cyan glow. */
:root {
  --bg: #03070d;
  --bg-2: #081018;
  --panel: rgba(5, 12, 18, 0.78);
  --panel-strong: rgba(6, 13, 20, 0.94);
  --text: #f7fdff;
  --muted: #b9d4dd;
  --line: rgba(104, 220, 255, 0.26);
  --line-strong: rgba(174, 245, 255, 0.62);
  --gold: #8cf1ff;
  --gold-deep: #1186b4;
  --purple: #50d8ff;
  --green: #8cf1ff;
  --glow-green: 0 0 32px rgba(104, 220, 255, 0.28);
  --glow-purple: 0 0 34px rgba(180, 243, 255, 0.18);
}

.site-nav,
.nav-toggle {
  border-color: rgba(104, 220, 255, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(180deg, rgba(6, 16, 24, 0.92), rgba(2, 6, 11, 0.86)) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5), inset 0 0 28px rgba(104, 220, 255, 0.08), var(--glow-purple) !important;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .nav-play {
  color: #f7fdff !important;
  background: rgba(104, 220, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(104, 220, 255, 0.28), 0 0 22px rgba(104, 220, 255, 0.2) !important;
}

.ghostpk-hero::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.04), rgba(3, 7, 13, 0.52) 70%, #03070d 100%),
    radial-gradient(circle at 50% 32%, rgba(104, 220, 255, 0.2), transparent 25rem),
    url("../img/member-pk-left-bottom-final.png?v=20260726-logo-colors") center 42% / cover no-repeat !important;
}

.ghostpk-hero::after {
  background: linear-gradient(180deg, transparent, #03070d 78%) !important;
}

.ghostpk-style-home,
.ghostpk-style-home main {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.05), rgba(3, 7, 13, 0.94) 42%, #03070d 100%),
    #03070d !important;
}

.ghostpk-hero-logo {
  filter: brightness(1.18) contrast(1.14) drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.86)) drop-shadow(0 0 1.7rem rgba(104, 220, 255, 0.46)) !important;
}

.ghostpk-hero-text,
.ghostpk-about p,
.ghostpk-quick-start span,
.ghostpk-footer span {
  color: #c8e7f2 !important;
}

.ghostpk-button {
  border-color: rgba(174, 245, 255, 0.52) !important;
  color: #f7fdff !important;
}

.ghostpk-button-primary {
  background:
    linear-gradient(180deg, rgba(174, 245, 255, 0.44), rgba(17, 134, 180, 0.94)),
    #0b8dbb !important;
}

.ghostpk-button-secondary {
  background:
    linear-gradient(180deg, rgba(82, 95, 108, 0.66), rgba(20, 30, 39, 0.96)),
    #17232e !important;
}

.ghostpk-kicker,
.ghostpk-quick-start a:hover strong,
.ghostpk-footer a {
  color: #8cf1ff !important;
}

.ghostpk-video-panel,
.ghostpk-quick-start a {
  border-color: rgba(104, 220, 255, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(104, 220, 255, 0.09), rgba(0, 0, 0, 0.52)),
    rgba(0, 0, 0, 0.44) !important;
}

.ghost-audio-button {
  color: #03121c !important;
  border-color: rgba(174, 245, 255, 0.72) !important;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.85), transparent 1.15rem),
    linear-gradient(135deg, #e8fbff, #75e5ff 48%, #1186b4) !important;
  box-shadow: 0 0 34px rgba(104, 220, 255, 0.36), 0 14px 42px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.28) !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.9)),
    radial-gradient(circle at 10% 12%, rgba(104, 220, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(127, 51, 255, 0.22), transparent 30rem),
    linear-gradient(145deg, var(--bg), var(--bg-2));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    url("../img/ghostpk-pack/login-hero.png?v=20260718-pack") center top / cover no-repeat fixed;
  opacity: 0.48;
  filter: saturate(1.1) contrast(1.08);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(104, 220, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 51, 255, 0.34) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.topbar,
.panel,
.hero-art-frame,
.board-card,
.subpage-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-color: rgba(104, 220, 255, 0.34);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.54), var(--glow-purple);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 178px;
  height: auto;
  object-fit: contain;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-link {
  min-width: 112px;
  padding: 0 18px;
  border-color: rgba(104, 220, 255, 0.22);
  background: linear-gradient(180deg, rgba(11, 14, 8, 0.82), rgba(4, 4, 7, 0.72));
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 18px rgba(104, 220, 255, 0.05);
}

.nav-link:hover,
.nav-link:focus-visible,
.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(104, 220, 255, 0.12) inset, var(--glow-green);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: linear-gradient(180deg, rgba(8, 38, 52, 0.66), rgba(4, 12, 20, 0.76));
}

.nav-link.play {
  color: #f0ffd2;
  border-color: rgba(104, 220, 255, 0.44);
  box-shadow: inset 0 0 24px rgba(104, 220, 255, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
  min-height: clamp(650px, calc(100vh - 92px), 820px);
  padding: 26px 0 22px;
}

.home-hero {
  position: relative;
  overflow: visible;
}

.hero-copy,
.launcher-strip {
  min-width: 0;
  max-width: 100%;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 8px -28px 8%;
  z-index: -1;
  border: 1px solid rgba(104, 220, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 12%, rgba(104, 220, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 72% 22%, rgba(127, 51, 255, 0.3), transparent 28rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.44) 46%, rgba(5, 5, 5, 0.82)),
    url("../img/ghostpk-pack/login-hero.png?v=20260718-pack") center top / cover no-repeat;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.72), inset 0 0 90px rgba(0, 0, 0, 0.58);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  line-height: 0.95;
}

.hero-copy h1,
.subpage-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(56px, 6.2vw, 92px);
  letter-spacing: -0.055em;
  text-shadow: 0 0 24px rgba(127, 51, 255, 0.34), 0 5px 0 rgba(0, 0, 0, 0.44);
}

.lede {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.55;
}

.launcher-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(680px, 100%);
  padding: 14px;
  border: 1px solid rgba(104, 220, 255, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.4)),
    url("../img/ghostpk-pack/banner-download.png?v=20260718-pack") center / cover no-repeat;
  box-shadow: var(--glow-purple);
}

.launcher-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.launcher-strip strong {
  color: var(--text);
  font-size: 20px;
}

.launcher-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(104, 220, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(104, 220, 255, 0.28), rgba(5, 47, 70, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(127, 51, 255, 0.32), transparent 4rem);
  color: #f4ffd7;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--glow-green);
}

.cta {
  min-height: 50px;
  padding: 0 24px;
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.84);
}

.cta.primary {
  border-color: rgba(104, 220, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(104, 220, 255, 0.3), rgba(5, 47, 70, 0.88)),
    linear-gradient(90deg, rgba(127, 51, 255, 0.24), transparent);
  box-shadow: inset 0 0 24px rgba(104, 220, 255, 0.16), var(--glow-green);
}

.cta.secondary {
  border-color: rgba(127, 51, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(127, 51, 255, 0.28), rgba(26, 9, 52, 0.86)),
    linear-gradient(90deg, rgba(104, 220, 255, 0.18), transparent);
  box-shadow: inset 0 0 22px rgba(127, 51, 255, 0.18), var(--glow-purple);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(680px, 100%);
  margin: 0 0 18px;
}

.hero-stats article {
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(104, 220, 255, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 0%, rgba(104, 220, 255, 0.14), transparent 4rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.34));
  box-shadow: inset 0 0 24px rgba(127, 51, 255, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.3;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-height: 146px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.hero-art {
  position: relative;
  min-height: 650px;
}

.hero-art-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-color: rgba(127, 51, 255, 0.38);
  background: linear-gradient(180deg, rgba(15, 13, 10, 0.94), rgba(6, 6, 6, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68), var(--glow-purple);
}

.hero-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.96;
}

.hero-art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.64)),
    radial-gradient(circle at 50% 15%, rgba(104, 220, 255, 0.1), transparent 42%);
}

.hero-art-note {
  position: relative;
  z-index: 1;
  margin: auto 20px 20px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(104, 220, 255, 0.28);
  background: rgba(4, 4, 4, 0.76);
}

.home-note {
  display: grid;
  align-content: end;
  min-height: 220px;
}

.home-note img {
  width: 92px;
  margin-bottom: 16px;
}

.note-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-art-note p,
.board-card li span,
.board-card li strong {
  margin: 0;
}

.hero-art-note p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.subpage-layout {
  display: grid;
  gap: 14px;
  padding: 24px 0 18px;
}

.subpage-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.subpage-hero .lede {
  margin-bottom: 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.board-card {
  min-height: 260px;
  padding: 18px;
  background: var(--panel-strong);
}

.board-card h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.thread-list li {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(231, 197, 110, 0.18);
  background: rgba(0, 0, 0, 0.34);
}

.thread-list li span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.thread-list li strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .topbar,
  .subpage-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: flex-start;
  }

  .nav-link {
    min-width: auto;
    flex: 1 1 calc(50% - 8px);
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
  }

  .hero-copy h1,
  .subpage-hero h1 {
    font-size: 54px;
  }

  .lede {
    font-size: 19px;
  }

  .stat-grid,
  .hero-stats,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .launcher-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .launcher-strip a {
    width: 100%;
  }

  .hero-art {
    min-height: 420px;
  }

}

@media (max-width: 520px) {
  .nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-copy h1,
  .subpage-hero h1 {
    max-width: min(100%, 7.4em);
    font-size: 38px;
    overflow-wrap: normal;
  }

  .hero-copy {
    width: min(100%, 340px);
    max-width: calc(100vw - 24px);
  }

  .lede {
    width: min(100%, 340px);
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

  .lede,
  .hero-art-note p,
  .stat-card span,
  .thread-list li strong {
    font-size: 17px;
  }

  .hero-art {
    min-height: 340px;
  }

}

/* Simplified homepage pass: keep one strong focal point, remove repeated art noise. */
.landing-page body::before {
  opacity: 0.34;
}

body::before {
  opacity: 0.34;
  filter: saturate(0.95) contrast(1.02);
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: calc(100vh - 150px);
  padding: 34px 0 48px;
  text-align: center;
}

.home-hero::before {
  inset: 10px -20px;
  border-color: rgba(104, 220, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.95)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 24%, transparent 72%, rgba(5, 5, 5, 0.72)),
    radial-gradient(circle at 50% 22%, rgba(104, 220, 255, 0.12), transparent 24rem),
    url("../img/ghostpk-pack/login-hero.png?v=20260718-pack") center 38% / cover no-repeat;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.72), inset 0 0 150px rgba(0, 0, 0, 0.8);
}

.home-hero .hero-copy {
  width: min(720px, 100%);
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid rgba(104, 220, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 0%, rgba(127, 51, 255, 0.18), transparent 26rem);
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.66), inset 0 0 70px rgba(0, 0, 0, 0.38);
}

.home-hero h1 {
  font-size: clamp(48px, 5.2vw, 74px);
}

.home-hero .lede {
  max-width: 610px;
  margin-right: auto;
  margin-left: auto;
  font-size: 20px;
}

.home-hero .launcher-strip {
  width: min(560px, 100%);
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58)),
    url("../img/ghostpk-pack/banner-download.png?v=20260718-pack") center / cover no-repeat;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.4);
}

.hero-art,
.hero-stats {
  display: none;
}

@media (max-width: 780px) {
  .home-hero {
    min-height: auto;
    padding-top: 18px;
  }

}

.ghost-audio-button {
  position: fixed;
  right: clamp(0.9rem, 2.4vw, 1.45rem);
  bottom: clamp(0.9rem, 2.4vw, 1.45rem);
  z-index: 50;
  display: inline-grid;
  place-items: center;
  width: 4.15rem;
  height: 4.15rem;
  border: 1px solid rgba(104, 220, 255, 0.72);
  border-radius: 999px;
  color: #071004;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 1.15rem),
    linear-gradient(135deg, #e8fbff, #8cf1ff 48%, #1186b4);
  box-shadow:
    0 0 30px rgba(104, 220, 255, 0.36),
    0 14px 42px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  cursor: pointer;
  isolation: isolate;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ghost-audio-button:hover,
.ghost-audio-button:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 0 44px rgba(104, 220, 255, 0.56),
    0 18px 54px rgba(0, 0, 0, 0.56),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  outline: none;
}

.ghost-audio-button:active {
  transform: translateY(0) scale(0.98);
}

.ghost-audio-button__pulse {
  position: absolute;
  inset: -0.34rem;
  z-index: -1;
  border: 1px solid rgba(104, 220, 255, 0.46);
  border-radius: inherit;
  opacity: 0;
}

.ghost-audio-button.is-playing .ghost-audio-button__pulse {
  animation: ghost-audio-pulse 700ms ease-out;
}

.ghost-audio-button__label {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-left: 0.1rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

@keyframes ghost-audio-pulse {
  0% {
    opacity: 0.95;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 560px) {
  .ghost-audio-button {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Shared header used by every public page. */
.landing-page .page-shell {
  padding-top: 6.2rem;
}

.site-header {
  position: fixed;
  top: 0.45rem;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1260px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
}

.site-nav,
.nav-toggle {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    linear-gradient(180deg, rgba(12, 13, 16, 0.9), rgba(5, 5, 8, 0.78));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48), inset 0 0 28px rgba(104, 220, 255, 0.08), var(--glow-purple);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 1.35rem;
  overflow: visible;
}

.site-nav a {
  padding: 0.72rem 0.82rem;
  border-radius: 0.85rem;
  color: rgba(240, 230, 208, 0.76);
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(104, 220, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(104, 220, 255, 0.24), 0 0 18px rgba(127, 51, 255, 0.14);
}

.site-nav .nav-play {
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(104, 220, 255, 0.42);
}

.site-nav .nav-play:hover,
.site-nav .nav-play:focus-visible {
  color: #8cf1ff;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 0 14px rgba(104, 220, 255, 0.78);
}

.site-nav .nav-logo {
  display: grid;
  place-items: center;
  width: 4.9rem;
  height: 4.9rem;
  margin: 0 0.7rem;
  padding: 0;
  border: 1px solid rgba(104, 220, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(104, 220, 255, 0.22), transparent 62%),
    rgba(0, 0, 0, 0.74);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.58), 0 0 34px rgba(104, 220, 255, 0.26), inset 0 0 24px rgba(127, 51, 255, 0.12);
}

.nav-logo img {
  display: block;
  width: 4.55rem;
  height: 4.55rem;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 18px rgba(104, 220, 255, 0.28));
}

.nav-toggle {
  display: none;
  min-height: 3.25rem;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 1000px) {
  .site-nav {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, max-content) 6.25rem repeat(3, max-content) minmax(0, 1fr);
    column-gap: 0.95rem;
    justify-items: center;
    align-items: center;
    width: min(78rem, calc(100vw - 1rem));
    margin: 0 auto;
  }

  .site-nav > a[href="index.html"]:not(.nav-logo) {
    grid-column: 2;
  }

  .site-nav > a[href="vote.html"] {
    grid-column: 3;
  }

  .site-nav > a[href="/hiscores"] {
    grid-column: 4;
  }

  .site-nav .nav-logo {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 5;
    transform: none;
  }

  .site-nav > a[href="/store"] {
    grid-column: 6;
  }

  .site-nav > a[href="competition.html"] {
    grid-column: 7;
  }

  .site-nav > a[href="play.html"] {
    grid-column: 8;
  }
}

/* Strongest header logo fix. Keep this last so older nav rules cannot override it. */
.site-nav .nav-logo {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  grid-column: 5 !important;
  width: 11.6rem !important;
  height: 4.65rem !important;
  margin: 0 1.2rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.site-nav .nav-logo img {
  width: 11.6rem !important;
  height: 4.65rem !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

@media (min-width: 1000px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) repeat(3, max-content) 12.7rem repeat(3, max-content) minmax(0, 1fr) !important;
    column-gap: 0.78rem !important;
    align-items: center !important;
  }
}

@media (max-width: 999px) {
  .site-nav .nav-logo {
    width: 10rem !important;
    height: 4rem !important;
    margin: 0 auto !important;
  }

  .site-nav .nav-logo img {
    width: 10rem !important;
    height: 4rem !important;
  }
}

/* Final nav order: logo, then Play Now directly beside it, then Store, then Competition. */
@media (min-width: 1000px) {
  .site-nav > a[href="play.html"] {
    grid-column: 6 !important;
  }

  .site-nav > a[href="/store"] {
    grid-column: 7 !important;
  }

  .site-nav > a[href="competition.html"] {
    grid-column: 8 !important;
  }
}

.site-nav .nav-play {
  padding-right: 1.05rem !important;
  padding-left: 1.05rem !important;
  color: #f7ffd8 !important;
  background: rgba(104, 220, 255, 0.18) !important;
  box-shadow: inset 0 0 0 1px rgba(104, 220, 255, 0.3), 0 0 22px rgba(104, 220, 255, 0.2) !important;
}

@media (max-width: 999px) {
  .landing-page .page-shell {
    padding-top: 5.8rem;
  }

  .site-header {
    top: 0.65rem;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(21rem, calc(100vw - 2rem));
    padding: 0.85rem;
    min-height: 0;
  }

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

  .site-nav .nav-logo {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto;
  }

  .nav-logo img {
    width: 4rem;
    height: 4rem;
  }
}

/* 2026-07-25 homepage hookup pass: stronger front page plus live data cards. */
.home-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr) !important;
  place-items: stretch !important;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: calc(100vh - 120px);
  text-align: left;
}

.home-hero::before {
  inset: 4px -24px 32px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.5) 50%, rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at 18% 20%, rgba(104, 220, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 74% 18%, rgba(165, 68, 255, 0.32), transparent 30rem),
    url("../img/ghostpk-pack/login-hero.png?v=20260718-pack") center 32% / cover no-repeat;
}

.home-hero .hero-copy {
  width: min(780px, 100%);
  margin: 0;
  text-align: left;
}

.home-hero h1 {
  max-width: 780px;
  font-size: clamp(52px, 6.4vw, 96px);
}

.home-hero .lede {
  max-width: 690px;
  margin-right: 0;
  margin-left: 0;
  font-size: clamp(19px, 2vw, 24px);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.home-actions .cta {
  border-radius: 8px;
}

.home-hero .launcher-strip {
  width: min(660px, 100%);
  margin: 0 0 16px;
}

.home-hero .hero-stats {
  display: grid !important;
  width: min(660px, 100%);
  margin: 0;
}

.home-hero .hero-stats article {
  min-height: 86px;
}

.home-hero .hero-stats strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.home-command-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(104, 220, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    radial-gradient(circle at 50% 0%, rgba(104, 220, 255, 0.15), transparent 16rem),
    linear-gradient(180deg, rgba(8, 6, 14, 0.94), rgba(0, 0, 0, 0.78));
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.62), var(--glow-purple);
  backdrop-filter: blur(16px);
}

.home-command-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    url("../img/ghostpk-pack/loading-screen.png?v=20260718-pack") center top / cover no-repeat;
  mix-blend-mode: screen;
}

.home-command-panel > * {
  position: relative;
  z-index: 1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(104, 220, 255, 0.18);
}

.panel-header span,
.home-feature-grid article span,
.home-section-title a {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--text);
  font-family: "Cinzel", serif;
  font-size: 18px;
}

.home-status-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px;
  padding: 14px;
  border: 1px solid rgba(104, 220, 255, 0.22);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.46);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(104, 220, 255, 0.12), 0 0 24px rgba(104, 220, 255, 0.66);
}

.home-status-card strong {
  display: block;
  color: var(--text);
  font-size: 22px;
}

.home-status-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.home-quick-grid a {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(104, 220, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(104, 220, 255, 0.08), rgba(127, 51, 255, 0.08)),
    rgba(0, 0, 0, 0.36);
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-quick-grid a:hover,
.home-quick-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(104, 220, 255, 0.46);
  box-shadow: var(--glow-green);
}

.home-quick-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.home-leaderboard {
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px solid rgba(127, 51, 255, 0.26);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.42);
}

.home-section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.home-section-title h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.leaderboard-section-title {
  display: none;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 70px;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(104, 220, 255, 0.1);
  color: var(--muted);
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.leaderboard-row strong {
  min-width: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-head {
  min-height: auto;
  padding-top: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-rank strong {
  color: #f4ffd7;
  text-shadow: 0 0 12px rgba(104, 220, 255, 0.36);
}

.home-feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: -18px 0 42px;
}

.home-feature-grid article {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(104, 220, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84)),
    rgba(0, 0, 0, 0.46);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
}

.home-feature-grid img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  opacity: 0.9;
}

.home-feature-grid article div {
  padding: 18px;
}

.home-feature-grid h2 {
  margin: 7px 0 9px;
  font-size: clamp(26px, 3vw, 36px);
}

.home-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .home-hero {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .home-command-panel {
    width: min(760px, 100%);
    margin: 0 auto 28px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .home-hero .hero-copy {
    text-align: center;
  }

  .home-hero .lede,
  .home-hero .launcher-strip,
  .home-hero .hero-stats {
    margin-right: auto;
    margin-left: auto;
  }

  .home-actions {
    justify-content: center;
  }

  .home-actions .cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .home-hero .hero-copy {
    padding: 20px 14px;
  }

  .home-quick-grid,
  .home-hero .hero-stats {
    grid-template-columns: 1fr;
  }

  .leaderboard-row {
    grid-template-columns: 44px minmax(0, 1fr) 52px;
    font-size: 14px;
  }
}

/* 2026-07-26 GhostPK homepage layout. */
.ghostpk-style-home {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.92) 42%, #050505 100%),
    #050505;
}

.ghostpk-style-home::before {
  opacity: 0;
}

.ghostpk-style-home::after {
  opacity: 0.05;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.ghostpk-style-home .page-shell {
  width: 100%;
  padding: 0;
}

.ghostpk-style-home main {
  overflow: hidden;
}

.ghostpk-hero {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 72vh;
  padding: 7.2rem 1.25rem 4.5rem;
  text-align: center;
  isolation: isolate;
}

.ghostpk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.42) 70%, #050505 100%),
    radial-gradient(circle at 50% 32%, rgba(104, 220, 255, 0.24), transparent 25rem),
    url("../img/member-pk-left-bottom-final.png?v=20260726-no-snakes") center 42% / cover no-repeat;
}

.ghostpk-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: 11rem;
  background: linear-gradient(180deg, transparent, #050505 78%);
}

.ghostpk-hero-logo {
  width: min(38rem, 86vw);
  max-height: 46vh;
  margin-bottom: 1.15rem;
  object-fit: contain;
  filter: brightness(1.28) contrast(1.12) drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.86)) drop-shadow(0 0 1.7rem rgba(104, 220, 255, 0.42));
}

.ghostpk-hero-text {
  width: min(46rem, calc(100vw - 2rem));
  margin: 0 auto 1.35rem;
  color: #e8dfca;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.9);
}

.ghostpk-hero-actions,
.ghostpk-about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.ghostpk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 3.4rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(104, 220, 255, 0.42);
  border-radius: 0.25rem;
  color: #f7ffd8;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.45), inset 0 0 1.4rem rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.ghostpk-button:hover,
.ghostpk-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(211, 255, 96, 0.76);
  filter: brightness(1.1);
}

.ghostpk-button-primary {
  background:
    linear-gradient(180deg, rgba(201, 255, 65, 0.36), rgba(44, 85, 8, 0.96)),
    #0b8dbb;
}

.ghostpk-button-secondary {
  border-color: rgba(174, 129, 65, 0.72);
  background:
    linear-gradient(180deg, rgba(166, 102, 38, 0.66), rgba(72, 38, 12, 0.96)),
    #4f2c10;
}

.ghostpk-welcome,
.ghostpk-news,
.ghostpk-begin,
.ghostpk-footer {
  width: min(1180px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.ghostpk-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 0.75rem 0 2.2rem;
}

.ghostpk-video-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(20rem, 38vw, 29rem);
  border: 1px solid rgba(133, 91, 43, 0.68);
  border-radius: 0.35rem;
  background: #0b0a08;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.56);
}

.ghostpk-video-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.ghostpk-video-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ghostpk-about {
  color: #e8dfca;
}

.ghostpk-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ghostpk-about h1,
.ghostpk-news h2,
.ghostpk-begin h2 {
  margin: 0 0 1rem;
  color: #fff7e7;
  font-family: "Cinzel", serif;
  letter-spacing: 0;
  text-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.65);
}

.ghostpk-about h1 {
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
}

.ghostpk-about p,
.ghostpk-begin p,
.ghostpk-footer p,
.ghostpk-footer span {
  color: #cbbfa8;
  font-size: 1.08rem;
  line-height: 1.6;
}

.ghostpk-about p {
  max-width: 35rem;
  margin-bottom: 1.45rem;
}

.ghostpk-about-actions {
  justify-content: flex-start;
}

.ghostpk-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(1280px, calc(100% - 1rem));
  margin: 0 auto 4.5rem;
  overflow: visible;
  padding-bottom: 0;
}

.ghostpk-gallery img {
  width: 100%;
  height: 13rem;
  border: 1px solid rgba(133, 91, 43, 0.58);
  border-radius: 0.25rem;
  object-fit: cover;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.4);
}

.ghostpk-news {
  padding: 0 0 4.8rem;
  text-align: center;
}

.ghostpk-divider {
  display: block;
  width: min(34rem, 82vw);
  height: 1.5rem;
  margin: 0 auto 1rem;
  background:
    linear-gradient(90deg, transparent, rgba(104, 220, 255, 0.6), rgba(133, 91, 43, 0.9), rgba(104, 220, 255, 0.6), transparent);
  clip-path: polygon(0 48%, 42% 48%, 45% 0, 55% 0, 58% 48%, 100% 48%, 58% 58%, 55% 100%, 45% 100%, 42% 58%, 0 58%);
  opacity: 0.75;
}

.ghostpk-news h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.ghostpk-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}

.ghostpk-news article {
  min-height: 16rem;
  padding: 1.35rem;
  border: 1px solid rgba(133, 91, 43, 0.62);
  border-radius: 0.28rem;
  background:
    linear-gradient(180deg, rgba(21, 16, 10, 0.92), rgba(8, 7, 6, 0.92)),
    #0d0b08;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.44);
}

.ghostpk-news time {
  display: block;
  margin-bottom: 1rem;
  color: #8cf1ff;
  font-weight: 900;
}

.ghostpk-news h3 {
  margin: 0 0 0.65rem;
  color: #fff7e7;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ghostpk-news p {
  color: #cbbfa8;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ghostpk-news article a,
.ghostpk-browse-news,
.ghostpk-footer a {
  color: #8cf1ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ghostpk-browse-news {
  display: inline-flex;
  margin-top: 1.5rem;
}

.ghostpk-begin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 18rem;
  margin-bottom: 0;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(133, 91, 43, 0.64);
  border-radius: 0.35rem;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.82)),
    url("../img/ghostpk-pack/banner-register.png?v=20260726-ghostpk-layout") center / cover no-repeat;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}

.ghostpk-begin h2 {
  max-width: 34rem;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
}

.ghostpk-begin p {
  max-width: 36rem;
  margin-bottom: 0;
}

.ghostpk-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(10rem, 0.7fr));
  gap: 2rem;
  padding: 4rem 0 3rem;
}

.ghostpk-footer-brand img {
  width: 14rem;
  margin-bottom: 1rem;
}

.ghostpk-footer h2 {
  margin: 0 0 1rem;
  color: #fff7e7;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
}

.ghostpk-footer nav {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.ghostpk-quick-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.ghostpk-quick-start a {
  min-height: 6.1rem;
  padding: 1.1rem;
  border: 1px solid rgba(104, 220, 255, 0.28);
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, rgba(104, 220, 255, 0.1), rgba(0, 0, 0, 0.5)),
    rgba(0, 0, 0, 0.42);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ghostpk-quick-start a:hover,
.ghostpk-quick-start a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(174, 245, 255, 0.64);
  box-shadow: 0 1.4rem 3.2rem rgba(0, 0, 0, 0.4), 0 0 1.6rem rgba(104, 220, 255, 0.18);
}

.ghostpk-quick-start strong,
.ghostpk-quick-start span {
  display: block;
}

.ghostpk-quick-start strong {
  margin-bottom: 0.35rem;
  color: #fff7e7;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
}

.ghostpk-quick-start span {
  color: #cbbfa8;
  font-size: 1rem;
}

.ghostpk-style-home .ghostpk-footer {
  display: block;
  width: min(920px, calc(100% - 2rem));
  padding: 1.6rem 0 2rem;
  text-align: center;
}

.ghostpk-style-home .ghostpk-footer-brand img {
  width: 8.5rem;
  margin: 0 auto 0.8rem;
}

@media (max-width: 900px) {
  .ghostpk-hero {
    min-height: 78vh;
    padding-top: 7rem;
  }

  .ghostpk-welcome,
  .ghostpk-news-grid,
  .ghostpk-footer {
    grid-template-columns: 1fr;
  }

  .ghostpk-about,
  .ghostpk-news {
    text-align: center;
  }

  .ghostpk-about p {
    margin-right: auto;
    margin-left: auto;
  }

  .ghostpk-about-actions,
  .ghostpk-begin {
    justify-content: center;
  }

  .ghostpk-begin {
    flex-direction: column;
    text-align: center;
  }

  .ghostpk-quick-start {
    grid-template-columns: 1fr;
  }

  .ghostpk-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 2rem, 44rem);
  }

  .ghostpk-gallery img:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .ghostpk-hero {
    min-height: 70vh;
    padding: 6.5rem 1rem 4.5rem;
  }

  .ghostpk-hero-logo {
    max-height: 34vh;
  }

  .ghostpk-button,
  .ghostpk-hero-actions,
  .ghostpk-about-actions {
    width: 100%;
  }

  .ghostpk-gallery {
    display: flex;
    width: calc(100% - 1rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ghostpk-gallery::-webkit-scrollbar {
    display: none;
  }

  .ghostpk-gallery img {
    flex: 0 0 82vw;
    scroll-snap-align: center;
  }
}

/* Keep the homepage nav aligned with the final logo colorway. */
.ghostpk-style-home .site-nav .nav-play,
.ghostpk-style-home .site-nav a:hover,
.ghostpk-style-home .site-nav a[aria-current="page"] {
  color: #f7fdff !important;
  border-color: rgba(174, 245, 255, 0.58) !important;
  background: rgba(104, 220, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(104, 220, 255, 0.28), 0 0 22px rgba(104, 220, 255, 0.2) !important;
  text-shadow: 0 0 14px rgba(104, 220, 255, 0.52) !important;
}

.ghostpk-style-home .ghostpk-hero {
  min-height: 72vh !important;
  padding-top: 7.2rem !important;
  padding-bottom: 4.5rem !important;
}

.ghostpk-style-home .ghostpk-hero-logo {
  width: min(38rem, 86vw) !important;
  max-height: 46vh !important;
}

.ghostpk-style-home .ghostpk-welcome {
  padding-top: 0.75rem !important;
}

/* Keep the transparent GhostPK mark visually centered in every desktop header. */
@media (min-width: 1000px) {
  .site-header .site-nav .nav-logo {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    grid-column: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }
}

.site-header .site-nav .nav-logo {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


