:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #12151a;
  --panel-2: #191d24;
  --panel-3: #20242d;
  --text: #f6f7fb;
  --muted: #9ca3b4;
  --soft: #687082;
  --line: rgba(255,255,255,.09);
  --red: #ef3035;
  --red-dark: #971a24;
  --gold: #d5a72f;
  --cyan: #2fd4c7;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0,0,0,.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 75% 10%, rgba(239, 48, 53, .14), transparent 34rem),
    radial-gradient(circle at 20% 44%, rgba(47, 212, 199, .08), transparent 26rem),
    linear-gradient(180deg, #0c0d11 0%, #07080a 44%, #0a0b0d 100%);
  color: var(--text);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, .78);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.brand,
.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.brand-mini span,
.mock-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(145deg, #ff151f, #b80e19);
  color: #050506;
  box-shadow: 0 0 24px rgba(239,48,53,.48);
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.brand-word {
  color: var(--red);
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: #c6cad5;
  font-size: 14px;
}

.nav-links a,
.header-action,
.primary-button,
.secondary-button {
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-links a:hover {
  color: white;
}

.header-action,
.primary-button,
.secondary-button,
.loader-detail button,
.module-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.header-action,
.primary-button,
.loader-detail button,
.module-list button {
  background: linear-gradient(180deg, #ff373d, #d8242e);
  color: white;
  box-shadow: 0 12px 28px rgba(239,48,53,.28);
}

.header-action {
  padding: 0 18px;
  font-size: 14px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #e8ebf2;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.section-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 54px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.brand-word,
.eyebrow {
  font-family: Rajdhani, Inter, sans-serif;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .95;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.15;
}

.hero-text,
.section-heading p,
.access-section p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats span {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font-size: 13px;
}

.hero-stats strong {
  color: white;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -24px 16px 36px -20px;
  border: 1px solid rgba(239,48,53,.2);
  border-radius: 22px;
  transform: rotate(-2deg);
  background: linear-gradient(135deg, rgba(239,48,53,.12), rgba(47,212,199,.06));
  filter: blur(.2px);
}

.loader-window,
.menu-preview,
.access-section,
.process-list article,
.workflow-grid article,
.browser-card,
.tool-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}

.loader-window {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(239,48,53,.45);
  background: rgba(0,0,0,.42);
}

.brand-mini {
  color: var(--red);
  font-size: 13px;
}

.brand-mini span {
  width: 26px;
  height: 26px;
  font-size: 18px;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 18px 0 0 #d8d9dd;
}

.loader-body {
  display: grid;
  grid-template-columns: 150px minmax(330px, 1fr) 184px;
  gap: 10px;
  padding: 14px;
  background: #0c0d10;
}

.loader-sidebar,
.loader-list,
.loader-detail {
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}

.loader-sidebar {
  padding: 16px 10px;
  text-align: center;
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-weight: 800;
}

.premium-pill {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(239,48,53,.22);
  color: #ff757a;
  font-size: 11px;
}

.loader-sidebar ul {
  display: grid;
  gap: 9px;
  padding: 18px 0 0;
  margin: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.loader-sidebar li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  text-align: left;
}

.loader-sidebar b {
  color: #66ea72;
  font-weight: 700;
  white-space: nowrap;
  font-size: 11px;
}

.loader-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
}

.search-line {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.game-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.game-row.active {
  border: 1px solid var(--red);
  background: rgba(239,48,53,.14);
}

.game-icon {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(145deg, #272b33, #111318);
  color: #ff474d;
  font-family: Rajdhani, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.game-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-icon img.is-missing {
  display: none;
}

.game-icon b {
  position: relative;
  z-index: 1;
}

.game-icon:has(img.is-loaded) b {
  display: none;
}

.game-row strong,
.game-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-row strong {
  color: #e8e9ef;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.game-row small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
}

.favorite-star {
  color: var(--red);
  font-size: 18px;
  line-height: 1;
}

.game-row em,
.online-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5ef06a;
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
}

.game-row em::before,
.online-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.loader-detail {
  padding: 12px;
}

.poster-card {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(239,48,53,.78) 49% 55%, transparent 56%),
    radial-gradient(circle at 52% 44%, rgba(255,255,255,.17), transparent 28%),
    #15171d;
}

.poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.poster-card img.is-missing {
  display: none;
}

.poster-card span {
  position: relative;
  z-index: 1;
  transform: rotate(-90deg) translateX(24px);
  color: rgba(239,48,53,.78);
  font-family: Rajdhani, sans-serif;
  font-size: 42px;
  font-weight: 800;
}

.loader-detail h3 {
  margin: 16px 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(16px, 1.5vw, 18px);
}

.loader-detail button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 780px;
}

.tools-section,
.split-section,
.browser-section,
.workflow-section,
.access-section {
  padding: 92px 0;
}

.auth-card {
  overflow: hidden;
}

.auth-window {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(8,9,11,.72);
}

.auth-window strong,
.auth-window code {
  display: block;
}

.auth-window code {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
  white-space: normal;
}

.auth-window button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ff373d, #d8242e);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  overflow: hidden;
  min-height: auto;
  border-radius: var(--radius);
  padding: 12px;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 3px solid var(--accent);
  pointer-events: none;
}

.tool-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(0,0,0,.22)),
    repeating-linear-gradient(112deg, transparent 0 22px, rgba(255,255,255,.025) 23px 24px),
    radial-gradient(circle at 64% 40%, color-mix(in srgb, var(--accent) 58%, transparent), transparent 30%),
    #16191f;
}

.tool-art::before {
  content: "SLASH";
  position: absolute;
  left: -13px;
  bottom: 42px;
  color: color-mix(in srgb, var(--accent) 74%, transparent);
  font-family: Rajdhani, sans-serif;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 800;
  line-height: 1;
  transform: rotate(-90deg);
}

.tool-art::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 26px;
  width: 170px;
  height: 170px;
  border: 24px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(14deg);
  opacity: .55;
}

.tool-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.tool-art img.is-missing {
  display: none;
}

.tool-art span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(92px, 12vw, 144px);
  height: clamp(92px, 12vw, 144px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  color: white;
  font-family: Rajdhani, sans-serif;
  font-size: 36px;
  font-weight: 800;
  box-shadow: 0 20px 70px color-mix(in srgb, var(--accent) 34%, transparent);
}

.tool-art:has(img.is-loaded) span {
  display: none;
}

.tool-card h3 {
  margin: 16px 6px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-card p {
  margin: 0 6px 4px;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.left-heading {
  position: sticky;
  top: 104px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list article,
.workflow-grid article {
  border-radius: var(--radius);
  padding: 26px;
}

.process-list span,
.workflow-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(239,48,53,.16);
  color: #ff6b70;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
}

.process-list h3,
.workflow-grid h3 {
  margin-bottom: 8px;
}

.process-list p,
.workflow-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.interface-section {
  padding: 92px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,24,31,.72), rgba(8,9,11,.68));
}

.browser-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .75fr;
  gap: 18px;
  align-items: stretch;
}

.browser-card {
  overflow: hidden;
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(239,48,53,.11), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.browser-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.browser-toolbar span {
  color: white;
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.browser-toolbar b,
.browser-toolbar em {
  font-size: 12px;
}

.browser-toolbar em {
  color: #9fb3d9;
  font-style: normal;
  text-transform: uppercase;
}

.favorite-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.favorite-strip div {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(19,23,30,.86);
}

.favorite-strip h3,
.favorite-strip p {
  margin-bottom: 12px;
}

.favorite-strip p {
  min-height: 44px;
  color: #c8d2e4;
  font-size: 13px;
}

.favorite-strip button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #e93a40, #b7212b);
  color: white;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.mini-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}

.star-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #d72b32;
  color: white;
}

.setting-toggles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 22px;
}

.setting-toggles span {
  min-height: 54px;
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 700;
}

.settings-sliders {
  display: grid;
  gap: 17px;
}

.settings-sliders label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e7ecf7;
  font-size: 13px;
  font-weight: 800;
}

.settings-sliders b {
  color: var(--red);
}

.settings-sliders span {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}

.settings-sliders i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.dialog-card {
  display: grid;
  gap: 14px;
}

.hotkey-dialog,
.color-picker {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,18,26,.9);
}

.hotkey-dialog {
  padding: 14px;
}

.hotkey-dialog div,
.hotkey-dialog p,
.rgb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hotkey-dialog button,
.hotkey-dialog span,
.hotkey-dialog small {
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: #cf2b32;
  color: white;
  font-weight: 800;
}

.hotkey-dialog div button {
  display: grid;
  place-items: center;
  width: 28px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}

.hotkey-dialog small {
  background: transparent;
  color: var(--muted);
}

.hotkey-dialog p {
  margin: 14px 0 0;
  color: var(--muted);
}

.color-picker {
  padding: 10px;
}

.color-area {
  height: 134px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, white, #8b0000),
    linear-gradient(180deg, transparent, black);
  background-blend-mode: normal, multiply;
}

.hue-line {
  height: 12px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
}

.rgb-row span {
  display: grid;
  place-items: center;
  min-height: 34px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: #111;
}

.interface-shell {
  width: min(1360px, calc(100% - 36px));
}

.menu-preview {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  min-height: 590px;
  border-radius: 12px;
}

.mock-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 12px;
  border-right: 1px solid rgba(239,48,53,.3);
  background: rgba(10,11,15,.92);
}

.mock-logo {
  margin-bottom: 18px;
}

.mock-nav button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #a9afbf;
  text-align: left;
}

.mock-nav button.selected {
  background: linear-gradient(90deg, rgba(239,48,53,.72), rgba(239,48,53,.38));
  color: white;
}

.connection-box {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
}

.connection-box b,
.connection-box small {
  display: block;
}

.connection-box b {
  color: var(--red);
  margin-bottom: 6px;
}

.mock-panel {
  padding: 14px;
  background: linear-gradient(160deg, #131720, #0c0e13);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.panel-topline span {
  font-family: Rajdhani, sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-topline b {
  color: #f05b61;
  font-size: 12px;
}

.module-list {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.026);
}

.module-list article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.module-list article:last-child {
  border-bottom: 0;
}

.module-list h3 {
  margin-bottom: 3px;
  font-size: 15px;
}

.module-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hotkey {
  min-width: 50px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(239,48,53,.86);
  color: white;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  text-align: center;
}

.toggle {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #3a4050;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
}

.toggle.on {
  background: var(--red);
}

.toggle.on::after {
  left: 21px;
}

.range-line {
  width: min(260px, 28vw);
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.range-line span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.module-list button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  font-size: 12px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.access-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 72px;
  padding: 34px;
  border-radius: 12px;
}

.access-section h2 {
  margin-bottom: 10px;
}

.access-section p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.reseller-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s ease;
}

.reseller-modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.reseller-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.reseller-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(239,48,53,.34);
  border-radius: 14px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(145deg, rgba(239,48,53,.13), transparent 42%),
    linear-gradient(180deg, #171a22, #0d0f14);
  box-shadow: 0 34px 120px rgba(0,0,0,.72);
}

.reseller-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #cfd3dc;
  font-size: 22px;
  line-height: 1;
}

.reseller-dialog h2 {
  max-width: 680px;
  margin-right: 40px;
  color: var(--text);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
}

.reseller-intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.reseller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.reseller-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.featured-reseller {
  border-color: rgba(239,48,53,.42);
  background: linear-gradient(180deg, rgba(239,48,53,.12), rgba(255,255,255,.04));
}

.reseller-logo-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 28px;
}

.reseller-logo-line strong {
  color: white;
  font-size: 18px;
}

.store-monogram {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ff373d, #991721);
  color: white;
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.reseller-card p {
  color: var(--muted);
  font-size: 14px;
}

.reseller-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.reseller-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ff373d, #d8242e);
  color: white;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(239,48,53,.22);
}

.reseller-link:hover,
.reseller-link:focus,
.reseller-link:visited {
  color: white;
  text-decoration: none;
}

.secondary-reseller-link {
  margin-top: 0;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #e9edf8;
}

.secondary-reseller-link:hover,
.secondary-reseller-link:focus,
.secondary-reseller-link:visited {
  color: #e9edf8;
}

@media (max-width: 1060px) {
  .hero-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    max-width: 860px;
  }

  .left-heading {
    position: static;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browser-grid {
    grid-template-columns: 1fr;
  }

  .reseller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loader-body {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .loader-detail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: center;
  }

  .loader-detail button {
    max-width: 220px;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .tools-section,
  .split-section,
  .browser-section,
  .workflow-section,
  .interface-section {
    padding-block: 58px;
  }

  .loader-body,
  .menu-preview,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .loader-sidebar {
    display: none;
  }

  .mock-nav {
    border-right: 0;
    border-bottom: 1px solid rgba(239,48,53,.3);
  }

  .mock-nav button:nth-of-type(n+5),
  .connection-box {
    display: none;
  }

  .module-list article {
    grid-template-columns: 1fr auto;
  }

  .module-list article .range-line,
  .module-list article button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .favorite-strip,
  .setting-toggles {
    grid-template-columns: 1fr;
  }

  .access-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .reseller-dialog {
    padding: 24px;
  }

  .reseller-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .section-shell,
  .interface-shell {
    width: min(100% - 24px, 1180px);
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 15vw, 58px);
  }

  h2 {
    font-size: clamp(30px, 12vw, 44px);
  }

  .hero-text,
  .section-heading p,
  .access-section p {
    font-size: 16px;
  }

  .loader-list {
    padding: 10px;
  }

  .game-row {
    grid-template-columns: 36px minmax(0, 1fr) 18px auto;
    gap: 8px;
  }

  .game-row em {
    grid-column: auto;
  }

  .loader-detail {
    grid-template-columns: 1fr;
  }

  .access-section {
    padding: 24px;
  }
}

.reseller-dialog,
.reseller-dialog * {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.reseller-dialog .eyebrow {
  color: #ef3035 !important;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.reseller-dialog h2 {
  color: #f6f7fb !important;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
}

.reseller-dialog .reseller-intro {
  color: #9ca3b4 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.reseller-dialog .reseller-link {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ff373d, #d8242e) !important;
  color: #ffffff !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(239,48,53,.22);
}

.reseller-dialog .reseller-link:hover,
.reseller-dialog .reseller-link:focus,
.reseller-dialog .reseller-link:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

.reseller-dialog .secondary-reseller-link {
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
  color: #e9edf8 !important;
}

.reseller-dialog .secondary-reseller-link:hover,
.reseller-dialog .secondary-reseller-link:focus,
.reseller-dialog .secondary-reseller-link:visited {
  color: #e9edf8 !important;
}
