@font-face {
  font-family: "NVIDIA Sans";
  src: url("/Users/jayian/Downloads/gfn_vendor_x86_64/master/files/mall/assets/hashed/NVIDIASans_W_Rg.33fb51adcc625f4e.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NVIDIA Sans";
  src: url("/Users/jayian/Downloads/gfn_vendor_x86_64/master/files/mall/assets/hashed/NVIDIASans_W_Md.14ea224b997bf6e0.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NVIDIA Sans";
  src: url("/Users/jayian/Downloads/gfn_vendor_x86_64/master/files/mall/assets/hashed/NVIDIASans_W_Bd.5aafff8b08f9a971.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070807;
  --panel: #141615;
  --panel-soft: #1b1e1c;
  --stroke: rgba(255, 255, 255, 0.1);
  --green: #76b900;
  --green-hot: #9cff00;
  --text: #f4f6f3;
  --muted: #a4aaa4;
  --dim: #747a74;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  --radius-lg: 18px;
  --radius-md: 12px;
  --safe-x: 22px;
  --safe-y: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 960px;
  min-height: 720px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(118, 185, 0, 0.16), transparent 28vw),
    linear-gradient(135deg, #070807 0%, #101210 55%, #050605 100%);
  font-family: "NVIDIA Sans", "Aptos", "Segoe UI", sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.42;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background:
    url("/Users/jayian/Downloads/gfn_vendor_x86_64/master/files/mall/assets/img/spotlight-bg.webp") center / cover,
    #050505;
  transition: opacity 360ms var(--ease), visibility 360ms var(--ease);
}

body.is-ready .splash {
  visibility: hidden;
  opacity: 0;
}

.splash__logo {
  width: 210px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
}

.deck-shell {
  min-height: 100vh;
  padding-bottom: 54px;
}

.deck-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: center;
  height: 62px;
  padding: 9px var(--safe-x);
  border-bottom: 1px solid var(--stroke);
  background: rgba(7, 8, 7, 0.94);
  backdrop-filter: blur(16px);
}

.deck-brand {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  border-radius: 10px;
}

.deck-brand img {
  width: 138px;
}

.deck-tabs {
  display: flex;
  gap: 7px;
  justify-content: center;
}

.deck-tab {
  display: grid;
  min-width: 82px;
  min-height: 38px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deck-tab.is-active,
.deck-tab:hover {
  border-color: rgba(118, 185, 0, 0.42);
  color: var(--text);
  background: rgba(118, 185, 0, 0.16);
}

.deck-status {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 12px;
}

.deck-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(118, 185, 0, 0.86);
}

.deck-profile {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--stroke);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.deck-profile img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.deck-main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 14px var(--safe-x) 18px;
}

.deck-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 12px;
  margin-bottom: 16px;
}

.resume-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.resume-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.08));
}

.resume-card__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/Users/jayian/Downloads/gfn_vendor_x86_64/master/files/mall/assets/img/Marquee_Hero_Image_Fallback.webp") center right / cover;
}

.resume-card__content {
  width: min(460px, 62%);
  padding: 22px 24px;
}

.resume-card__content p {
  max-width: 360px;
  margin-bottom: 16px;
  font-size: 13px;
}

.resume-card__actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-stack {
  display: grid;
  gap: 12px;
}

.mini-panel,
.info-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--panel), #0d0f0e);
  box-shadow: var(--shadow);
}

.mini-panel {
  min-height: 119px;
  padding: 15px;
}

.mini-panel strong {
  display: block;
  margin: 6px 0 5px;
  font-size: 20px;
}

.mini-panel p {
  font-size: 12px;
}

.mini-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-panel__row strong {
  margin: 0;
  font-size: 17px;
}

.queue-track {
  height: 8px;
  margin: 13px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.queue-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-hot));
  transition: width 280ms var(--ease);
}

.library-section {
  margin-bottom: 16px;
  scroll-margin-top: 76px;
}

.section-bar {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 10px;
}

.eyebrow {
  color: var(--green-hot);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.searchbar {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.searchbar span {
  display: grid;
  place-items: center;
  color: var(--green-hot);
  font-size: 11px;
  font-weight: 800;
}

.searchbar__input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.searchbar__input::placeholder {
  color: var(--dim);
}

.button,
.chip {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.button {
  padding: 0 16px;
}

.button--primary {
  color: #071006;
  background: linear-gradient(135deg, var(--green-hot), var(--green));
}

.button--secondary,
.chip {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.07);
}

.chip {
  min-height: 34px;
  padding: 0 11px;
  color: var(--muted);
  font-size: 11px;
}

.chip.is-active {
  border-color: rgba(118, 185, 0, 0.54);
  color: var(--text);
  background: rgba(118, 185, 0, 0.18);
}

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

.game-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  transition: transform 140ms var(--ease), border-color 140ms var(--ease);
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 185, 0, 0.38);
}

.game-card__art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #090b0a;
}

.game-card__body {
  padding: 10px;
}

.game-card__meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  letter-spacing: -0.015em;
}

.game-card p {
  display: -webkit-box;
  min-height: 32px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-card__badges {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.badge {
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--green-hot);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottom-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 12px;
  scroll-margin-top: 76px;
}

.info-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.info-card img {
  width: 100%;
  border-radius: var(--radius-md);
}

.info-card p {
  margin: 7px 0 11px;
  font-size: 11px;
}

.settings-card {
  display: block;
}

.settings-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.settings-pill {
  padding: 5px 8px;
  border: 1px solid rgba(118, 185, 0, 0.36);
  border-radius: 999px;
  color: var(--green-hot);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.setting {
  display: grid;
  gap: 8px;
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.setting span {
  color: var(--muted);
  font-weight: 800;
}

.setting select {
  min-height: 34px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: var(--text);
  background: #111313;
  font-size: 11px;
}

.deck-controls {
  position: fixed;
  right: var(--safe-x);
  bottom: var(--safe-y);
  left: var(--safe-x);
  z-index: 18;
  display: flex;
  gap: 8px;
  justify-content: center;
  pointer-events: none;
}

.deck-controls span {
  padding: 6px 9px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7, 8, 7, 0.78);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.deck-controls strong {
  color: var(--green-hot);
}

.focusable {
  position: relative;
  outline: none;
}

.focusable:focus-visible,
.focusable.is-spatial-focus {
  box-shadow:
    0 0 0 2px #050505,
    0 0 0 4px var(--green),
    0 0 20px rgba(118, 185, 0, 0.46);
}

.focusable.is-spatial-focus::after {
  position: absolute;
  inset: -5px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(156, 255, 0, 0.58);
  border-radius: inherit;
}

.toast {
  position: fixed;
  right: var(--safe-x);
  bottom: 56px;
  z-index: 22;
  max-width: 320px;
  padding: 10px 12px;
  border: 1px solid rgba(118, 185, 0, 0.42);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(13, 15, 14, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

@media (max-width: 1100px) {
  body {
    min-width: 320px;
  }

  .deck-topbar {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }

  .deck-brand img {
    width: 112px;
  }

  .deck-status span:not(.deck-status__dot),
  .deck-profile span {
    display: none;
  }

  .deck-dashboard,
  .bottom-panels {
    grid-template-columns: 1fr;
  }

  .section-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

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