:root {
  color-scheme: dark;
  --page: #06111f;
  --ink: #f2f8ff;
  --muted: #adc5dc;
  --quiet: #7d9ab6;
  --blue: #65c7ff;
  --blue-soft: rgba(101, 199, 255, 0.15);
  --purple: #d689ff;
  --purple-soft: rgba(214, 137, 255, 0.18);
  --panel: rgba(10, 29, 50, 0.72);
  --panel-strong: rgba(14, 42, 70, 0.84);
  --border: rgba(138, 199, 244, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 6%, rgba(101, 199, 255, 0.26), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(214, 137, 255, 0.22), transparent 33%),
    radial-gradient(circle at 55% 92%, rgba(32, 97, 163, 0.22), transparent 38%),
    linear-gradient(180deg, #071b32, #06111f 54%, #040b15);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-nav,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(7, 18, 33, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #e5f7ff;
  font-weight: 850;
  font-size: 15px;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(101, 199, 255, 0.18);
}

.site-nav nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav nav a:hover,
.site-footer nav a:hover {
  color: var(--blue);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.nav-cta,
.primary-action {
  color: #160c24;
  background: linear-gradient(180deg, #f0d6ff, #cf7dff 55%, #a855f7);
  border: 1px solid rgba(250, 224, 255, 0.52);
  box-shadow: 0 16px 34px rgba(174, 91, 255, 0.24);
}

.nav-cta {
  padding: 0 18px;
}

.primary-action {
  padding: 0 22px;
}

.secondary-action {
  color: #dcefff;
  background: rgba(16, 45, 74, 0.68);
  border: 1px solid rgba(130, 195, 245, 0.22);
  padding: 0 18px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 68px;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 22px;
  box-shadow: 0 0 48px rgba(101, 199, 255, 0.18), 0 0 38px rgba(214, 137, 255, 0.12);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: 0;
  color: #f4faff;
}

.hero-copy p {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #dcefff;
  background: rgba(16, 45, 74, 0.62);
  border: 1px solid rgba(130, 195, 245, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-width: 0;
}

.preview-glow {
  position: absolute;
  inset: -28px 28px 18px;
  background:
    radial-gradient(circle at 72% 18%, rgba(214, 137, 255, 0.28), transparent 38%),
    radial-gradient(circle at 22% 65%, rgba(101, 199, 255, 0.24), transparent 38%);
  filter: blur(4px);
}

.preview-shell {
  position: relative;
  min-height: 500px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(12, 37, 62, 0.88), rgba(6, 18, 32, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
}

.preview-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 10px;
  color: var(--muted);
  font-size: 12px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(160, 206, 242, 0.3);
}

.preview-topbar span:first-child {
  background: var(--purple);
}

.preview-topbar strong {
  margin-left: auto;
  color: var(--blue);
}

.preview-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 150px;
  gap: 10px;
}

.preview-side,
.preview-main,
.preview-detail,
.pick-card,
.feature-grid article,
.steps article,
.showcase,
.final-cta,
.content-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.preview-side,
.preview-detail {
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
}

.preview-side b,
.preview-detail b {
  display: block;
  color: #eef9ff;
  font-size: 13px;
  margin-bottom: 16px;
}

.preview-side span,
.preview-detail span {
  display: block;
  margin-top: 12px;
}

.preview-main {
  padding: 12px;
}

.pick-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(21, 71, 112, 0.72), rgba(18, 37, 63, 0.7)),
    var(--panel);
}

.pick-card strong {
  color: #f4fbff;
  font-size: 16px;
}

.pick-card p {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
}

.pick-card button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #160c24;
  background: linear-gradient(180deg, #f0d6ff, #c978ff);
  font-weight: 900;
}

.card-stack {
  position: relative;
  width: 82px;
  height: 88px;
}

.card-stack i {
  position: absolute;
  width: 50px;
  height: 72px;
  bottom: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, #62c8ff, #0d3670);
  border: 1px solid rgba(174, 226, 255, 0.48);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.card-stack i:nth-child(1) {
  left: 2px;
  transform: rotate(-13deg);
}

.card-stack i:nth-child(2) {
  left: 20px;
  transform: rotate(2deg);
}

.card-stack i:nth-child(3) {
  left: 36px;
  background: linear-gradient(180deg, #eda8ff, #7d2fe2);
  transform: rotate(13deg);
}

.fake-table {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.fake-table span {
  height: 44px;
  border-radius: 14px;
  background: rgba(7, 20, 35, 0.72);
  border: 1px solid rgba(130, 195, 245, 0.12);
}

.fake-table .active {
  background: linear-gradient(90deg, rgba(214, 137, 255, 0.23), rgba(101, 199, 255, 0.08));
  border-color: rgba(214, 137, 255, 0.34);
}

.art-card {
  height: 112px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(214, 137, 255, 0.72), rgba(101, 199, 255, 0.18)),
    url("/assets/vault-shuffle-icon.png") center / cover;
  border: 1px solid rgba(214, 137, 255, 0.25);
  margin-bottom: 16px;
}

.section-band,
.feature-grid,
.showcase,
.product-proof,
.final-cta,
.page-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-band {
  padding: 54px 0 34px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2,
.showcase h2,
.product-proof h2,
.final-cta h2,
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  color: #f4faff;
}

.section-heading p,
.showcase p,
.product-proof p,
.final-cta p,
.page-hero p,
.content-panel p,
.content-panel li,
.feature-grid p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
}

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

.steps article,
.feature-grid article {
  padding: 22px;
}

.steps article span {
  display: inline-flex;
  color: var(--purple);
  font-weight: 950;
  margin-bottom: 28px;
}

.steps h3,
.feature-grid h2 {
  color: #eff9ff;
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 32px 0 54px;
}

.showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  margin-bottom: 54px;
  overflow: hidden;
}

.showcase p {
  margin: 16px 0 22px;
}

.showcase img {
  border-radius: 22px;
  border: 1px solid rgba(130, 195, 245, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.product-proof {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  margin-bottom: 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(214, 137, 255, 0.20), transparent 36%),
    linear-gradient(135deg, rgba(10, 29, 50, 0.74), rgba(7, 22, 40, 0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.product-proof p {
  margin: 16px 0 22px;
}

.workflow-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
  background: rgba(6, 18, 32, 0.72);
  border: 1px solid rgba(130, 195, 245, 0.14);
  border-radius: 26px;
}

.workflow-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3fbff;
  font-size: 14px;
  font-weight: 900;
}

.workflow-head img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(101, 199, 255, 0.18), 0 0 24px rgba(214, 137, 255, 0.10);
}

.workflow-steps {
  display: grid;
  gap: 10px;
}

.workflow-steps span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #dcefff;
  background: rgba(14, 42, 70, 0.66);
  border: 1px solid rgba(130, 195, 245, 0.14);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 780;
}

.workflow-steps span::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple), var(--blue));
  box-shadow: 0 0 16px rgba(214, 137, 255, 0.32);
}

.workflow-pick {
  padding: 16px;
  background: linear-gradient(135deg, rgba(214, 137, 255, 0.18), rgba(101, 199, 255, 0.12));
  border: 1px solid rgba(214, 137, 255, 0.22);
  border-radius: 20px;
}

.workflow-pick small {
  display: block;
  margin-bottom: 7px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.workflow-pick strong {
  color: #f5fbff;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.05;
}

.final-cta {
  padding: 48px;
  margin-bottom: 54px;
  text-align: center;
}

.final-cta p {
  max-width: 560px;
  margin: 14px auto 24px;
}

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--quiet);
  border-top: 1px solid rgba(130, 195, 245, 0.12);
}

.site-footer span {
  color: var(--blue);
  font-weight: 850;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-shell {
  width: min(1040px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.login-card,
.login-preview {
  background: rgba(10, 29, 50, 0.76);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.login-card {
  padding: 34px;
}

.login-brand {
  margin-bottom: 44px;
}

.login-kicker {
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.login-card h1 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 720px;
}

.login-card p:not(.login-kicker):not(.login-note) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.steam-login-button {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 34px rgba(101, 199, 255, 0.16);
}

.steam-login-button img {
  width: 180px;
  height: 35px;
}

.login-note {
  max-width: 520px;
  margin-top: 18px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.55;
}

.login-error {
  max-width: 520px;
  margin-top: 18px;
  color: #ffc1cf;
  background: rgba(54, 22, 42, 0.58);
  border: 1px solid rgba(255, 138, 161, 0.24);
  border-radius: 16px;
  padding: 12px 14px;
  line-height: 1.5;
}

.login-preview {
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
}

.mini-window {
  height: 100%;
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr);
  background: linear-gradient(135deg, rgba(12, 37, 62, 0.88), rgba(6, 18, 32, 0.92));
  border: 1px solid rgba(130, 195, 245, 0.18);
  border-radius: 24px;
  padding: 12px;
}

.mini-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
}

.mini-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(160, 206, 242, 0.3);
}

.mini-top span:first-child {
  background: var(--purple);
}

.mini-top b {
  margin-left: auto;
}

.mini-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 92px;
  gap: 10px;
}

.mini-rail,
.mini-side,
.mini-list i {
  background: rgba(7, 20, 35, 0.72);
  border: 1px solid rgba(130, 195, 245, 0.12);
  border-radius: 18px;
}

.mini-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mini-list i {
  height: 74px;
}

.mini-list i:first-child {
  background: linear-gradient(90deg, rgba(214, 137, 255, 0.24), rgba(101, 199, 255, 0.08));
  border-color: rgba(214, 137, 255, 0.32);
}

.page-main {
  padding: 70px 0 54px;
}

.page-hero {
  max-width: 820px;
  margin-bottom: 28px;
}

.page-hero p {
  margin-top: 16px;
  font-size: 17px;
}

.content-panel {
  padding: 28px;
  margin-bottom: 14px;
}

.content-panel h2 {
  margin-bottom: 12px;
  color: #f3faff;
}

.content-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

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

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav nav {
    display: none;
  }

  .hero,
  .showcase,
  .product-proof,
  .section-heading,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-preview {
    min-height: 360px;
  }

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

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

  .preview-side,
  .preview-detail {
    display: none;
  }

  .steps,
  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-nav,
  .site-footer,
  .hero,
  .section-band,
  .feature-grid,
  .showcase,
  .product-proof,
  .final-cta,
  .page-main,
  .login-shell {
    width: min(100% - 22px, 1180px);
  }

  .site-brand span {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    padding: 0 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-shell {
    min-height: 380px;
  }

  .pick-card {
    grid-template-columns: 1fr;
  }

  .showcase,
  .product-proof,
  .final-cta,
  .content-panel {
    padding: 22px;
  }
}
