@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080A;
  --surface: #131416;
  --surface-2: #151618;
  --surface-3: #1C1E21;
  --border: rgba(244, 244, 246, 0.08);
  --border-strong: rgba(244, 244, 246, 0.16);
  --accent: #F28C47;
  --accent-hover: #FAA05C;
  --accent-soft: rgba(242, 140, 71, 0.14);
  --text: #F4F4F6;
  --muted: #8F949D;
  --green: #3DD68C;
  --green-soft: rgba(61, 214, 140, 0.12);
  --amber: #F5B749;
  --amber-soft: rgba(245, 183, 73, 0.12);
  --red: #F06265;
  --red-soft: rgba(240, 98, 101, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1140px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(900px 460px at 50% -10%, rgba(242, 140, 71, 0.09), transparent 70%), var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #07080A;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.top-banner {
  background: linear-gradient(90deg, rgba(242, 140, 71, 0.14), rgba(19, 20, 22, 0.96) 40%, rgba(242, 140, 71, 0.12));
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.top-banner-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 28px 6px 0;
  position: relative;
  text-align: center;
  flex-wrap: wrap;
}
.top-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #07080A;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.top-banner-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.top-banner-link:hover { color: var(--accent-hover); }
.top-banner-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}
.top-banner-close:hover { color: var(--text); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15.5px;
  color: #FFFFFF;
  flex: 0 0 auto;
  transition: opacity 0.15s ease;
}
.brand:hover {
  opacity: 0.9;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover,
.nav-trigger:hover,
.nav-drop.is-open .nav-trigger {
  color: #FFFFFF;
  background: var(--surface-2);
}
.nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: var(--surface-3);
  border-color: var(--border);
}
.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-caret {
  font-size: 9px;
  opacity: 0.65;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-drop.is-open .nav-caret,
.nav-drop:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 285px;
  max-width: 350px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(16, 18, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: none !important;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}
.nav-drop.is-open > .nav-menu {
  display: flex !important;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover > .nav-menu {
    display: flex !important;
  }
}
.nav-menu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 13px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.14s ease, transform 0.14s ease;
}
.nav-menu-item:hover {
  background: var(--surface-3);
  transform: translateX(2px);
}
.nav-menu-item strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.nav-menu-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-login:hover {
  border-color: rgba(242, 140, 71, 0.5);
  background: #22252A;
}
.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}
.nav-user-pill img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logout {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.nav-logout:hover {
  color: var(--text);
  border-color: rgba(240, 98, 101, 0.45);
}
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 140, 71, 0.42);
  color: var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-admin:hover {
  background: rgba(242, 140, 71, 0.24);
  color: var(--accent-hover);
}
.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #07080A;
  transition: background 0.15s ease, transform 0.14s ease;
}
.nav-discord:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.site-nav a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Landing showcase */
.landing-hero {
  text-align: center;
  padding: 46px 0 36px;
  position: relative;
}
.landing-hero h1 {
  font-size: clamp(36px, 5.8vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 auto 16px;
}
.landing-hero .lead {
  margin: 0 auto 26px;
  max-width: 54ch;
  font-size: 16.5px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn.pill {
  border-radius: 999px;
  padding: 11px 22px;
}
.hero-terms {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hero-terms a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* Interactive Multi Loader App Mockup */
.loader-window {
  margin: 28px auto 0;
  max-width: 1020px;
  background: linear-gradient(180deg, rgba(21, 22, 24, 0.96), rgba(13, 14, 16, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.72), 0 0 80px rgba(242, 140, 71, 0.08);
  overflow: hidden;
  text-align: left;
}
.loader-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.loader-title-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.loader-title-left img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.loader-crumb {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
}
.loader-win-dots {
  display: inline-flex;
  gap: 7px;
}
.loader-win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244, 244, 246, 0.14);
}
.loader-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 390px;
}
.loader-sidebar {
  padding: 16px;
  background: rgba(13, 14, 16, 0.7);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.loader-side-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px 6px;
}
.loader-games-nav {
  display: grid;
  gap: 6px;
}
.loader-game-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 13px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.loader-game-btn:hover {
  background: var(--surface-2);
  color: #FFFFFF;
  transform: translateX(3px);
}
.loader-game-btn.active {
  background: var(--surface-3);
  border-color: rgba(242, 140, 71, 0.45);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: translateX(2px);
}
.loader-game-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.loader-game-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.loader-game-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loader-game-btn .dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
}
.dot.available { background: var(--green); }
.dot.development { background: var(--accent); }
.dot.maintenance { background: var(--amber); }
.dot.unavailable { background: var(--red); }

.loader-guide-card {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-decoration: none;
  display: grid;
  gap: 4px;
  transition: border-color 0.14s ease;
}
.loader-guide-card:hover { border-color: rgba(242, 140, 71, 0.45); }
.loader-guide-card strong { font-size: 12.5px; color: var(--text); }
.loader-guide-card span { font-size: 11.5px; color: var(--muted); }

.loader-stage {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  overflow: hidden;
  background: var(--surface-2);
}
.loader-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.9);
  transition: opacity 0.2s ease;
}
.loader-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.35) 0%, rgba(13, 14, 16, 0.94) 82%);
  pointer-events: none;
}
.loader-stage-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}
.loader-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.loader-stage-logo {
  max-height: 44px;
  max-width: 180px;
  object-fit: contain;
}
.loader-stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.loader-meta-chip {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(28, 30, 33, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Marquee / edition strip */
.edition-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.edition-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.edition-strip-item:hover { border-color: rgba(242, 140, 71, 0.4); }
.edition-strip-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
.edition-strip-item strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.edition-strip-item .badge { margin-left: auto; }

/* Pillar metrics */
.pillars-section {
  margin-top: 64px;
  text-align: center;
}
.pillars-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pillar {
  padding: 20px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pillar strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
  color: var(--text);
}
.pillar span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* Stacked deck showcase */
.bento-showcase {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.deck-visual {
  position: relative;
  min-height: 340px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, rgba(242, 140, 71, 0.24), rgba(19, 20, 22, 0.95) 72%);
  border: 1px solid var(--border-strong);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  overflow: hidden;
}
.deck-mini-card {
  background: rgba(19, 20, 22, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.deck-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 140, 71, 0.55);
}
.deck-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.deck-mini-top img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.deck-mini-card strong { font-size: 14px; display: block; }
.deck-mini-card small { font-size: 12px; color: var(--muted); }
.feature-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
}
.feature-check-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

main {
  flex: 1;
  padding: 40px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.02em;
}
h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease, color 0.16s ease;
}
.btn.primary {
  background: var(--accent);
  color: #07080A;
}
.btn.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn.secondary {
  background: var(--surface-3);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn.secondary:hover:not(:disabled) {
  border-color: rgba(242, 140, 71, 0.45);
  background: #22252A;
}
.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}
.btn.is-loading {
  opacity: 0.72;
  cursor: progress;
}
.btn.is-error {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(240, 98, 101, 0.4);
}

.hero-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}
.hero-brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-brand-box img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.hero-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.section {
  margin-top: 48px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.game-card:hover {
  border-color: rgba(242, 140, 71, 0.4);
  transform: translateY(-2px);
}
.game-media {
  position: relative;
  height: 156px;
  background: var(--surface-3);
  overflow: hidden;
}
.game-media img.art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.15) 0%, rgba(19, 20, 22, 0.96) 100%);
}
.game-logo {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  max-height: 36px;
  max-width: 150px;
  object-fit: contain;
}
.game-body {
  padding: 18px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.editions-list {
  display: grid;
  gap: 8px;
}
.edition-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.edition-name {
  font-size: 13.5px;
  font-weight: 600;
}
.edition-meta {
  font-size: 12px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge.available { color: var(--green); background: var(--green-soft); }
.badge.development { color: var(--accent); background: var(--accent-soft); }
.badge.maintenance { color: var(--amber); background: var(--amber-soft); }
.badge.unavailable { color: var(--red); background: var(--red-soft); }

.filter-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-sm);
}
.filter-tab {
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
}
.filter-tab.active {
  background: var(--surface-3);
  color: var(--text);
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 14px;
  margin-bottom: 18px;
}
.alert.warn {
  border-color: rgba(245, 183, 73, 0.35);
  background: var(--amber-soft);
  color: #FCE2B0;
}
.alert.error {
  border-color: rgba(240, 98, 101, 0.35);
  background: var(--red-soft);
  color: #FFC7C8;
}
.alert.success,
.alert.ok {
  border-color: rgba(61, 214, 140, 0.35);
  background: var(--green-soft);
  color: #C7F8DF;
}

.form-card {
  max-width: 520px;
  margin-inline: auto;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
}
.field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap input { padding-right: 92px; }
.toggle-pw {
  position: absolute;
  right: 8px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 7px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 10px;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
details.faq-item p, details.faq-item ul {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-doc {
  display: grid;
  gap: 18px;
}
.legal-doc section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.legal-doc p, .legal-doc li {
  color: var(--muted);
  font-size: 14.5px;
}
.placeholder-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
}

.status-table {
  display: grid;
  gap: 10px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 28px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Vela-inspired components adapted for Silent */
.btn.white-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #07080A;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  padding: 12px 26px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn.white-pill:hover {
  background: #EDEDF0;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
}
.btn.dark-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface-3);
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn.dark-pill:hover {
  background: #25282D;
  border-color: rgba(244, 244, 246, 0.28);
  transform: translateY(-1px);
}
.games-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 16px;
  max-width: 900px;
}
.game-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(21, 22, 24, 0.9);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.14s ease;
}
.game-strip-badge:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.game-strip-badge .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 214, 140, 0.7);
}
.game-strip-badge .dot-soon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}
.badge-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-tag.undetected {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(61, 214, 140, 0.25);
}
.badge-tag.soon {
  background: var(--surface-3);
  color: var(--muted);
}
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  width: min(100% - 32px, var(--max));
  margin: 32px auto 60px;
  align-items: start;
}
.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 18px;
}
.account-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.account-avatar img {
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}
.avatar-fallback {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #07080A;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
}
.account-user-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.account-user-info strong {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-user-info small {
  font-size: 12px;
  color: var(--muted);
}
.user-id-badge {
  font-size: 10.5px;
  font-family: monospace;
  color: var(--muted);
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 5px;
  width: fit-content;
}
.account-nav {
  display: grid;
  gap: 4px;
}
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
}
.account-nav-item:hover {
  color: var(--text);
  background: var(--surface-2);
}
.account-nav-item.active {
  color: #07080A;
  background: #FFFFFF;
  font-weight: 700;
}
.account-nav-item.active svg {
  stroke: #07080A;
}
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.account-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}
.account-stat-card .stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.account-stat-card .stat-label {
  font-size: 12.5px;
  color: var(--muted);
}
.account-stat-card .stat-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.account-panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 28px;
}
.panel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .grid-4, .edition-strip, .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .bento-showcase { grid-template-columns: 1fr; }
  .loader-body { grid-template-columns: 1fr; }
  .loader-sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
  .account-layout { grid-template-columns: 1fr; }
  .account-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: rgba(14, 16, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 20px;
    gap: 10px;
    z-index: 999;
  }
  .site-nav.open { display: flex; }
  .nav-main { flex-direction: column; align-items: stretch; margin-inline: 0; width: 100%; gap: 6px; }
  .nav-drop { width: 100%; display: flex; flex-direction: column; }
  .nav-drop > .nav-trigger { width: 100%; justify-content: space-between; }
  .nav-menu {
    position: static;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    width: 100%;
    gap: 8px;
  }
  .nav-login, .nav-admin, .nav-user-pill, .nav-discord { justify-content: center; }
  .grid-2, .grid-4, .edition-strip, .pillars-grid, .deck-visual, .feature-checklist { grid-template-columns: 1fr; }
}
  .nav-discord { justify-content: center; }
  .grid-2, .grid-4, .edition-strip, .pillars-grid, .deck-visual, .feature-checklist { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Account Dashboard Tabs & Transitions */
.account-tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.account-tab-pane.active {
  display: block;
  animation: accountTabFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes accountTabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.account-nav-item:hover {
  color: #FFFFFF;
  background: var(--surface-2);
  transform: translateX(3px);
}

.account-nav-item.active {
  color: #07080A !important;
  background: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateX(0);
}

.account-nav-item.active svg {
  stroke: #07080A !important;
}

/* Global Transitions Everywhere */
main {
  animation: pageEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageEnter {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.stage-panel {
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage-panel.active {
  animation: stagePanelIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes stagePanelIn {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.edition-card,
.pillar,
.panel,
.store-card,
.account-stat-card,
.account-panel-card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
.edition-card:hover,
.pillar:hover,
.store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 140, 71, 0.38);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65);
}

.btn {
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-1.5px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
