:root {
  --ink: #080808;
  --charcoal: #111111;
  --panel: #181818;
  --paper: #ffffff;
  --soft: #f5f4f1;
  --line: #dfd9cf;
  --muted: #6d6860;
  --gold: #c59b45;
  --gold-dark: #9b7330;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(18px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus,
.site-header nav a[aria-current="page"],
footer nav a:hover,
footer nav a:focus {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  color: var(--paper);
  background: var(--gold-dark);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(155, 115, 48, 0.22);
}

.header-actions {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(197, 155, 69, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #3b2b12, #14120d);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.profile-toggle:hover,
.profile-toggle:focus {
  outline: 3px solid rgba(197, 155, 69, 0.22);
  border-color: var(--gold);
}

.profile-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 80;
  width: min(540px, calc(100vw - 28px));
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 30px);
  color: #ffffff;
  border: 1px solid rgba(197, 155, 69, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(197, 155, 69, 0.08), transparent),
    rgba(20, 19, 15, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.profile-popover[hidden] {
  display: none;
}

.profile-popover .support-tag {
  color: var(--gold);
}

.profile-popover h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.profile-popover p {
  margin: 0;
  color: #c9e6ff;
  font-size: 19px;
  line-height: 1.55;
}

.hero {
  min-height: calc(100vh - 230px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(38px, 5vw, 64px) clamp(18px, 6vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 36%, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(95deg, #050505 0%, #090909 44%, #1d1d1d 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 690px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(60px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 26px 0 0;
  color: #d7d0c4;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-actions,
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button.primary,
.button.gold {
  color: var(--ink);
  background: linear-gradient(135deg, #e5c36e, var(--gold));
  box-shadow: 0 16px 42px rgba(197, 155, 69, 0.26);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button.light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-stage {
  min-height: 430px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.logo-plinth {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.18;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08) 42%, transparent 62%),
    linear-gradient(160deg, #f8f8f5, #cfcac0 55%, #777 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.46);
  transform: rotateX(5deg) rotateY(-5deg);
  overflow: hidden;
}

.logo-plinth::before {
  content: "";
  position: absolute;
  inset: auto 10% 7% 10%;
  height: 17%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.42), transparent);
  filter: blur(18px);
}

.logo-plinth img {
  position: relative;
  z-index: 1;
  width: min(62%, 340px);
  aspect-ratio: 1;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading p,
.gexora-copy > p:first-child,
.community > div > p:first-child {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.gexora h2,
.community h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
}

.platforms,
.focus {
  padding: clamp(62px, 8vw, 108px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-list a,
.platform-list article {
  min-height: 178px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
}

.platform-list > :last-child {
  border-right: 0;
}

.platform-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 950;
}

.platform-list strong {
  font-size: 17px;
}

.platform-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.gexora {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 48%, rgba(197, 155, 69, 0.15), transparent 30%),
    linear-gradient(140deg, #050505, #141414);
}

.gexora-copy p:not(:first-child),
.community p:not(:first-child) {
  max-width: 560px;
  color: #d2cbc0;
  font-size: 18px;
  line-height: 1.65;
}

.url-link {
  display: block;
  margin-top: 20px;
  color: #d2cbc0;
  font-weight: 800;
  text-decoration: none;
}

.gexora-preview {
  display: block;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  text-decoration: none;
  transform: rotate(-1deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.browser-bar strong {
  margin-left: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-body {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 38px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at top, rgba(197, 155, 69, 0.22), transparent 32%),
    #171717;
}

.preview-body h3 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: 0.16em;
}

.preview-body p {
  margin: 0;
  color: #d5ccbd;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-row {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.preview-row span {
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(197, 155, 69, 0.12));
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.focus-grid article {
  padding: 30px 24px 8px;
  border-right: 1px solid var(--line);
}

.focus-grid article:last-child {
  border-right: 0;
}

.focus-grid span,
.team-grid span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-grid h3,
.team-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.focus-grid p,
.team-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.team {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
  color: var(--paper);
  background: var(--ink);
}

.team .section-heading p {
  color: var(--gold);
}

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

.team-extra-grid {
  display: contents;
}

.team-extra-grid[hidden] {
  display: none;
}

#teamToggle {
  min-height: 48px;
  display: block;
  margin: 32px auto 0;
  padding: 12px 22px;
  color: var(--ink);
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#teamToggle:hover {
  filter: brightness(1.08);
}

#teamToggle:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.team-member {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.team-member summary {
  position: relative;
  min-height: 124px;
  display: flex;
  align-items: center;
  padding: 30px 68px 30px 34px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}

.team-member summary::-webkit-details-marker {
  display: none;
}

.team-member summary::after {
  content: "+";
  position: absolute;
  right: 30px;
  color: var(--gold);
  font-size: 30px;
  font-weight: 400;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-member[open] summary::after {
  transform: rotate(45deg);
}

.team-member summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.team-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-member[open] .team-reveal {
  grid-template-rows: 1fr;
}

.team-reveal > div {
  min-height: 0;
  overflow: hidden;
  padding: 0 34px;
}

.team-member[open] .team-reveal > div {
  padding-bottom: 32px;
}

.team-role {
  display: inline-block;
  margin-bottom: 10px;
}

.team-grid p {
  color: #c9c1b4;
  max-width: 360px;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(62px, 8vw, 106px) clamp(18px, 6vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 50%, rgba(197, 155, 69, 0.38), transparent 28%),
    linear-gradient(135deg, #19120a, #050505 60%);
}

.community-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.help-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.help-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 6vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 38%, rgba(197, 155, 69, 0.28), transparent 28%),
    linear-gradient(135deg, #050505, #191919);
}

.help-hero > div {
  max-width: 850px;
}

.help-hero p:first-child {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.help-hero h1 {
  margin: 0;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.88;
}

.help-hero p:not(:first-child) {
  max-width: 680px;
  color: #d2cbc0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.standalone-help {
  border-top: 1px solid var(--line);
}

.help-copy p:first-child,
.thanks-panel > p:first-child,
.support-tag {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.support-tag {
  display: inline-block;
}

.help-copy h2,
.thanks-panel h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
}

.help-copy p:not(:first-child),
.thanks-panel p:not(:first-child) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.help-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(197, 155, 69, 0.08), transparent),
    var(--soft);
  box-shadow: var(--shadow);
}

.support-panel {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 46px);
  color: var(--paper);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(197, 155, 69, 0.34), transparent 28%),
    linear-gradient(135deg, #050505, #181818);
  box-shadow: var(--shadow);
}

.support-panel .support-tag {
  color: var(--gold);
}

.support-panel h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.94;
}

.support-panel p {
  max-width: 560px;
  margin: 0;
  color: #d2cbc0;
  font-size: 18px;
  line-height: 1.65;
}

.support-panel .button {
  justify-self: start;
}

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

.shop-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(197, 155, 69, 0.08), transparent),
    var(--soft);
}

.shop-grid h3 {
  margin: 18px 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.shop-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.shop-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.shop-body {
  color: #dbe7f3;
  background:
    radial-gradient(circle at 18% 0%, rgba(102, 192, 244, 0.18), transparent 28%),
    linear-gradient(180deg, #101823 0%, #16202d 42%, #0b1118 100%);
}

.shop-header {
  background: rgba(14, 22, 32, 0.94);
  border-bottom-color: rgba(102, 192, 244, 0.18);
}

.shop-header .brand,
.shop-header nav a {
  color: #dbe7f3;
}

.shop-header nav a {
  opacity: 0.78;
}

.shop-header nav a:hover,
.shop-header nav a:focus,
.shop-header nav a[aria-current="page"] {
  color: #66c0f4;
  opacity: 1;
}

.shop-page {
  min-height: 100vh;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding: clamp(52px, 8vw, 100px) clamp(18px, 6vw, 86px) clamp(34px, 5vw, 72px);
}

.shop-hero-copy p:first-child,
.steam-toolbar p,
.library-strip p,
.admin-heading p {
  margin: 0 0 10px;
  color: #66c0f4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shop-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(64px, 11vw, 156px);
  line-height: 0.88;
}

.shop-hero-copy p:not(:first-child) {
  max-width: 680px;
  color: #b9c7d6;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.shop-account-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(102, 192, 244, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(102, 192, 244, 0.14), transparent),
    rgba(21, 32, 45, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.shop-account-panel .support-tag {
  color: #66c0f4;
}

.shop-account-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.shop-account-panel p {
  margin: 0;
  color: #b9c7d6;
  line-height: 1.55;
}

.shop-message {
  padding: 12px 13px;
  color: #d6f0ff;
  border: 1px solid rgba(102, 192, 244, 0.25);
  border-radius: 8px;
  background: rgba(102, 192, 244, 0.12);
  font-weight: 800;
}

.shop-login-form {
  display: grid;
  gap: 12px;
}

.shop-login-form input,
.admin-login input,
.admin-upload input,
.admin-upload select,
.admin-upload textarea,
.price-editor input,
.price-editor select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: #ffffff;
  border: 1px solid rgba(102, 192, 244, 0.22);
  border-radius: 4px;
  background: #101822;
  font: inherit;
}

.admin-upload input[type="color"] {
  padding: 4px;
}

.shop-login-form input:focus,
.admin-login input:focus,
.admin-upload input:focus,
.admin-upload select:focus,
.admin-upload textarea:focus,
.price-editor input:focus,
.price-editor select:focus {
  outline: 3px solid rgba(102, 192, 244, 0.18);
  border-color: #66c0f4;
}

.installer-note {
  margin: 0;
  color: #acb8c5;
  font-size: 13px;
  line-height: 1.5;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.steam-button,
.google-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #75b022, #5c8f1c);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.steam-button:hover,
.steam-button:focus,
.google-login:hover,
.google-login:focus {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.steam-button.secondary {
  background: linear-gradient(135deg, #2a475e, #1b2838);
}

.steam-button.ghost,
.steam-button.muted {
  background: rgba(255, 255, 255, 0.12);
}

.steam-button.small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 13px;
}

.google-login {
  background: #ffffff;
  color: #17202b;
}

.google-login.disabled {
  cursor: default;
  opacity: 0.62;
  transform: none;
}

.steam-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  padding: 0 clamp(18px, 6vw, 86px) clamp(64px, 8vw, 112px);
}

.steam-sidebar {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(102, 192, 244, 0.14);
  border-radius: 8px;
  background: rgba(12, 18, 26, 0.72);
}

.steam-sidebar span {
  color: #66c0f4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.steam-sidebar a {
  padding: 10px 12px;
  color: #b9c7d6;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
}

.steam-sidebar a:hover,
.steam-sidebar a:focus {
  color: #ffffff;
  background: rgba(102, 192, 244, 0.12);
}

.steam-content {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.steam-toolbar,
.library-strip,
.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.steam-toolbar h2,
.library-strip h2,
.admin-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.steam-toolbar > span,
.library-strip > span {
  color: #8aa6bf;
  font-weight: 900;
}

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

.steam-card {
  min-width: 0;
  border: 1px solid rgba(102, 192, 244, 0.12);
  border-radius: 8px;
  background: #16202d;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.steam-cover {
  min-height: 190px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, var(--cover), #0b1118);
}

.steam-cover span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 28px;
  font-weight: 950;
  text-transform: uppercase;
}

.steam-cover img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

.steam-card-body {
  min-height: 236px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
}

.steam-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
}

.steam-card p {
  margin: 0;
  color: #9fb2c5;
  line-height: 1.55;
}

.steam-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: #c7d5e0;
  border-radius: 4px;
  background: #0b1118;
  font-size: 13px;
  font-weight: 900;
}

.library-strip,
.admin-shop {
  padding: 24px;
  border: 1px solid rgba(102, 192, 244, 0.14);
  border-radius: 8px;
  background: rgba(12, 18, 26, 0.7);
}

.admin-shop {
  display: grid;
  gap: 20px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
}

.admin-upload {
  display: grid;
  grid-template-columns: 1fr 160px 72px;
  gap: 12px;
}

.admin-upload label,
.price-editor label {
  display: grid;
  gap: 7px;
  color: #f4e6c6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-upload label:has(textarea),
.admin-upload label:has(input[name="download_url"]),
.admin-upload label:has(input[name="thumbnail_url"]),
.admin-upload label:has(input[type="file"]),
.admin-upload button {
  grid-column: 1 / -1;
}

.price-editor {
  display: grid;
  gap: 10px;
}

.price-editor form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 72px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(102, 192, 244, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.price-editor form label:has(input[name="download_url"]),
.price-editor form label:has(input[name="thumbnail_url"]),
.price-editor form label:has(textarea),
.price-editor form label:has(input[type="file"]),
.price-editor form button {
  grid-column: 1 / -1;
}

.price-editor strong {
  color: #ffffff;
}

.shop-footer {
  color: #8aa6bf;
  background: #0b1118;
  border-top-color: rgba(102, 192, 244, 0.14);
}

.hidden-admin-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 28px;
  padding: clamp(24px, 6vw, 86px);
}

.hidden-admin-page .brand {
  color: #ffffff;
}

.hidden-admin-panel {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(102, 192, 244, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(102, 192, 244, 0.14), transparent),
    rgba(21, 32, 45, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.hidden-admin-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.96;
}

.hidden-admin-panel input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: #ffffff;
  border: 1px solid rgba(102, 192, 244, 0.22);
  border-radius: 4px;
  background: #101822;
  font: inherit;
}

.shop-body {
  color: #f7f3eb;
  background:
    radial-gradient(circle at 16% 0%, rgba(197, 155, 69, 0.24), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #050505 0%, #15110b 48%, #080808 100%);
}

.shop-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

.shop-header .brand,
.shop-header nav a {
  color: var(--ink);
}

.shop-header nav a:hover,
.shop-header nav a:focus,
.shop-header nav a[aria-current="page"] {
  color: var(--gold-dark);
}

.shop-hero-copy p:first-child,
.steam-toolbar p,
.library-strip p,
.admin-heading p {
  color: var(--gold);
}

.shop-account-panel,
.steam-sidebar,
.library-strip,
.admin-shop,
.hidden-admin-panel {
  border-color: rgba(197, 155, 69, 0.24);
  background:
    linear-gradient(145deg, rgba(197, 155, 69, 0.12), transparent),
    rgba(17, 17, 17, 0.92);
}

.shop-account-panel .support-tag,
.hidden-admin-panel .support-tag {
  color: var(--gold);
}

.steam-button,
.google-login {
  color: var(--ink);
  background: linear-gradient(135deg, #e5c36e, var(--gold));
}

.steam-button.secondary {
  color: var(--paper);
  background: linear-gradient(135deg, #2a2926, #111111);
  border: 1px solid rgba(197, 155, 69, 0.3);
}

.steam-button.danger {
  color: #ffffff;
  background: linear-gradient(135deg, #8b1d1d, #4e1111);
}

.steam-sidebar span,
.steam-sidebar a:hover,
.steam-sidebar a:focus {
  color: var(--gold);
}

.steam-sidebar a:hover,
.steam-sidebar a:focus {
  background: rgba(197, 155, 69, 0.12);
}

.steam-card {
  border-color: rgba(197, 155, 69, 0.18);
  background: #171717;
}

.steam-cover {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, var(--cover), #050505);
}

.price-pill {
  color: #f4e6c6;
  background: #080808;
  border: 1px solid rgba(197, 155, 69, 0.2);
}

.empty-shop {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-height: 240px;
  align-content: center;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(197, 155, 69, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(197, 155, 69, 0.12), transparent),
    rgba(17, 17, 17, 0.9);
}

.empty-shop h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.98;
}

.empty-shop p {
  max-width: 620px;
  margin: 0;
  color: #cfc7ba;
  font-size: 18px;
  line-height: 1.55;
}

.library-shell {
  grid-template-columns: 1fr;
}

.shop-footer {
  background: var(--paper);
  border-top-color: var(--line);
}

.help-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.help-form input,
.help-form select,
.help-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.help-form textarea {
  min-height: 150px;
  resize: vertical;
}

.help-form input:focus,
.help-form select:focus,
.help-form textarea:focus {
  outline: 3px solid rgba(197, 155, 69, 0.22);
  border-color: var(--gold-dark);
}

.full-field,
.help-form button,
.form-error {
  grid-column: 1 / -1;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  color: #7a1d1d;
  background: #fff2f2;
  border: 1px solid #edb6b6;
  border-radius: 8px;
  font-weight: 900;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.thanks-body {
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 36%, rgba(197, 155, 69, 0.34), transparent 28%),
    linear-gradient(135deg, #050505, #181818);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(22px, 6vw, 86px);
}

.thanks-body .brand {
  color: var(--paper);
}

.thanks-panel {
  max-width: 760px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4);
}

.thanks-panel p:not(:first-child) {
  color: #d2cbc0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 6vw, 86px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .header-cta {
    justify-self: start;
  }

  .hero,
  .gexora,
  .community,
  .help-section,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 360px;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .platform-list > :nth-child(2n),
  .focus-grid article:nth-child(2n) {
    border-right: 0;
  }

  .platform-list > :nth-child(-n+4),
  .focus-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .community-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }

  .site-header nav,
  footer nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .platforms,
  .gexora,
  .focus,
  .team,
  .community,
  .help-hero,
  .help-section,
  .support-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .community-actions {
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .platform-list,
  .focus-grid,
  .team-grid,
  .help-form {
    grid-template-columns: 1fr;
  }

  .platform-list a,
  .platform-list article,
  .focus-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-list > :last-child,
  .focus-grid article:last-child {
    border-bottom: 0;
  }

  .gexora-preview {
    transform: none;
  }

  .preview-body {
    min-height: 280px;
    padding: 28px 18px;
  }

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

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
