:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: rgba(12, 12, 12, 0.84);
  --panel-strong: rgba(18, 18, 18, 0.94);
  --white: #f7f7f2;
  --paper: #d9d9d2;
  --muted: #aaa9a1;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.5);
  --green: #4dff88;
  --donate: #24e06f;
  --discord: #5865f2;
  --gold: #ffd84d;
  --max-width: 1180px;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Black", Impact, Haettenschweiler, sans-serif;
  --slash: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.08), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(88, 101, 242, 0.12), transparent 24%),
    linear-gradient(180deg, #020202 0%, #080808 48%, #020202 100%);
  font-family: var(--font-ui);
  letter-spacing: 0;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(108deg, transparent 0 14%, rgba(255, 255, 255, 0.04) 14.1% 14.45%, transparent 14.55% 48%, rgba(88, 101, 242, 0.055) 48.1% 48.45%, transparent 48.55%),
    linear-gradient(172deg, transparent 0 68%, rgba(255, 255, 255, 0.04) 68.1% 68.45%, transparent 68.55%);
  opacity: 0.72;
  animation: bg-slash-flow 16s ease-in-out infinite alternate;
}

body::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1.45px),
    linear-gradient(90deg, transparent 0 49.5%, rgba(255, 255, 255, 0.032) 49.5% 50.5%, transparent 50.5%);
  background-position: left 38px top 120px, center;
  background-size: 22px 22px, 280px 100%;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  animation: bg-grid-twinkle 6s steps(2, end) infinite, bg-grid-drift 24s linear infinite;
}

.site-shell::before {
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(255, 255, 255, 0.075) 49%, rgba(88, 101, 242, 0.08) 50%, transparent 56%),
    linear-gradient(110deg, transparent 0 66%, rgba(255, 255, 255, 0.07) 66.3% 66.8%, transparent 67.1%);
  opacity: 0.24;
  transform: translateX(-24%) skewX(-9deg);
  animation: bg-scan-beam 11s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.site-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(126deg, transparent 0 56%, rgba(255, 255, 255, 0.12) 56.1% 56.25%, transparent 56.45%),
    linear-gradient(126deg, transparent 0 72%, rgba(77, 255, 136, 0.08) 72.1% 72.22%, transparent 72.42%),
    linear-gradient(126deg, transparent 0 36%, rgba(88, 101, 242, 0.09) 36.08% 36.22%, transparent 36.42%);
  opacity: 0.22;
  transform: translate3d(-6%, 6%, 0);
  animation: bg-energy-lines 9s ease-in-out infinite alternate;
}

@keyframes bg-grid-twinkle {
  0%,
  100% {
    opacity: 0.17;
  }

  50% {
    opacity: 0.29;
  }
}

@keyframes bg-grid-drift {
  from {
    background-position: left 38px top 120px, center;
  }

  to {
    background-position: left 82px top 164px, center;
  }
}

@keyframes bg-slash-flow {
  from {
    transform: translate3d(-18px, 10px, 0) scale(1.015);
    opacity: 0.54;
  }

  to {
    transform: translate3d(22px, -12px, 0) scale(1.035);
    opacity: 0.86;
  }
}

@keyframes bg-scan-beam {
  0% {
    transform: translateX(-38%) skewX(-9deg);
    opacity: 0;
  }

  18%,
  42% {
    opacity: 0.3;
  }

  62%,
  100% {
    transform: translateX(34%) skewX(-9deg);
    opacity: 0;
  }
}

@keyframes bg-energy-lines {
  from {
    transform: translate3d(-8%, 6%, 0);
    opacity: 0.12;
  }

  to {
    transform: translate3d(6%, -4%, 0);
    opacity: 0.3;
  }
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72));
  backdrop-filter: blur(14px);
}

.brand,
.top-actions {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 14px;
  height: 58px;
}

.brand-logo,
.brand-fallback {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px #050505, 0 0 22px rgba(255, 255, 255, 0.22);
}

.brand-logo {
  display: block;
  object-fit: cover;
}

.brand-logo.is-hidden {
  display: none;
}

.brand-fallback {
  display: none;
  place-items: center;
  color: #000;
  font-weight: 900;
}

.brand-fallback.is-visible {
  display: grid;
}

.brand-name {
  overflow: hidden;
  max-width: 46vw;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.6vw, 1.65rem);
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  text-shadow: 3px 3px 0 #000, 0 0 18px rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.top-actions {
  min-height: 44px;
  gap: 12px;
  justify-content: flex-end;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  height: 44px;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  clip-path: var(--slash);
}

.language-button,
.nav-link,
.nav-button,
.ghost-button,
.discord-button,
.donate-button,
.copy-button,
.modal-close,
.footer-link,
.footer-docs,
.executor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  clip-path: var(--slash);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.language-button {
  position: relative;
  height: 38px;
  min-width: 72px;
  padding: 8px 12px 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.language-button::before {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  content: "";
  background: var(--line-strong);
  opacity: 0.55;
}

.language-button[data-lang="pt"]::before {
  background: linear-gradient(90deg, #229e45 0 33%, #f7d044 33% 66%, #2347a7 66% 100%);
}

.language-button[data-lang="en"]::before {
  background: linear-gradient(90deg, #24458f 0 34%, #fff 34% 66%, #c9363e 66% 100%);
}

.language-button[aria-pressed="true"] {
  color: #000;
  background: #fff;
}

.nav-link,
.nav-button,
.ghost-button,
.footer-docs {
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

.nav-link,
.nav-button {
  height: 44px;
  padding: 0 20px;
}

.nav-button,
.ghost-button,
.copy-button,
.modal-close,
.footer-docs {
  cursor: pointer;
}

.nav-link:hover,
.nav-button:hover,
.ghost-button:hover,
.footer-docs:hover {
  color: #000;
  border-color: #fff;
  background: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 18% 82%, rgba(255, 255, 255, 0.08)),
    #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.hero::before {
  top: 0;
  left: 0;
  width: 18%;
  height: 64px;
  border-top: 7px solid #fff;
  border-left: 7px solid #fff;
  opacity: 0.88;
}

.hero::after {
  right: 22px;
  bottom: 20px;
  width: 170px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #fff 0 16px, transparent 16px 25px);
  opacity: 0.78;
}

.hero-content {
  position: relative;
  display: grid;
  min-height: clamp(520px, 72vh, 700px);
  align-items: end;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: cover;
  object-position: center;
  filter: contrast(1.12) brightness(0.86);
}

.hero-content::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 48%, rgba(0, 0, 0, 0.28));
}

.hero-copy-block,
.hero-actions {
  position: relative;
  z-index: 3;
}

.hero-copy-block {
  max-width: 780px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(18px, 4vw, 36px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000, 0 0 14px rgba(255, 255, 255, 0.18);
}

.hero h1,
.section-heading h2,
.group-title-row h3,
.modal-header h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 #000, 0 0 26px rgba(255, 255, 255, 0.3);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 650;
  line-height: 1.75;
  text-shadow: 2px 2px 0 #000;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(26px, 4vw, 52px);
}

.discord-button,
.donate-button,
.ghost-button {
  min-height: 58px;
  padding: 17px 30px;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.discord-button {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 30%),
    var(--discord);
  box-shadow: 9px 9px 0 #000, 0 0 26px rgba(88, 101, 242, 0.42);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.donate-button {
  color: #041308;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 30%),
    var(--donate);
  box-shadow: 9px 9px 0 #000, 0 0 26px rgba(36, 224, 111, 0.42);
}

.ghost-button {
  color: var(--paper);
}

.discord-button:hover,
.donate-button:hover {
  filter: brightness(1.1);
  transform: translate(-2px, -2px);
}

.discord-button:hover {
  box-shadow: 12px 12px 0 #000, 0 0 36px rgba(88, 101, 242, 0.55);
}

.donate-button:hover {
  box-shadow: 12px 12px 0 #000, 0 0 36px rgba(36, 224, 111, 0.55);
}

.loadstring-section,
.executors-section,
.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.loadstring-section {
  position: relative;
  padding: 78px 0 52px;
}

.executors-section {
  padding: 58px 0 90px;
}

.section-banner {
  display: block;
  width: 100%;
  max-height: 240px;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  object-fit: cover;
  object-position: center;
  filter: contrast(1.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 4px 4px 0 #000, 0 0 18px rgba(255, 255, 255, 0.18);
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.8;
}

.section-heading-wide {
  max-width: 880px;
}

.executor-heading {
  display: grid;
  gap: 12px;
}

.code-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%),
    rgba(3, 3, 3, 0.92);
  box-shadow: 12px 12px 0 rgba(255, 255, 255, 0.07), 0 18px 60px rgba(0, 0, 0, 0.32);
  clip-path: var(--slash);
}

.code-panel code {
  display: block;
  min-width: 0;
  overflow-x: auto;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  color: #fff;
  background: #000;
  font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: nowrap;
}

.copy-button {
  min-width: 126px;
  border: 0;
  color: #000;
  background: #fff;
  transition: transform 180ms ease, filter 180ms ease;
}

.copy-button:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

.copy-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: #fff;
  font-weight: 800;
}

.executor-group {
  margin-top: 34px;
}

.executor-platform-section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 22% 82%, rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.group-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.group-title-row h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 4px 4px 0 #000, 0 0 18px rgba(255, 255, 255, 0.22);
}

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

.recommended-star {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.25em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 216, 77, 0.7), 2px 2px 0 #000;
}

.executor-card {
  position: relative;
  display: flex;
  min-height: 116px;
  align-items: center;
  overflow: hidden;
  padding: 22px 22px 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 28% 82%, rgba(255, 255, 255, 0.06)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  clip-path: var(--slash);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.executor-card::before {
  position: absolute;
  top: 0;
  right: 14px;
  width: 58px;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 16px);
  opacity: 0.7;
}

.executor-card:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28% 78%, rgba(255, 255, 255, 0.1)),
    var(--panel-strong);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.executor-card h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.7vw, 1.26rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000, 0 0 16px rgba(255, 255, 255, 0.2);
  overflow-wrap: anywhere;
}

.executor-platform {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 2px 2px 0 #000;
}

.executor-badges {
  position: absolute;
  right: 18px;
  bottom: 12px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: none;
}

.executor-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.badge-free {
  color: #06150b;
  background: var(--green);
  box-shadow: 0 0 14px rgba(77, 255, 136, 0.28);
}

.badge-paid {
  color: #130e02;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 216, 77, 0.22);
}

.badge-outdated {
  color: #fff;
  background: #e04444;
  box-shadow: 0 0 14px rgba(224, 68, 68, 0.28);
}

.status-dot {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.status-dot::after {
  position: absolute;
  inset: -6px;
  content: "";
  border-radius: inherit;
  opacity: 0.25;
}

.status-dot-available {
  background: var(--green);
  box-shadow: 0 0 18px rgba(77, 255, 136, 0.76);
  animation: status-dot-pulse 2.4s ease-in-out infinite;
}

.status-dot-available::after {
  background: var(--green);
  animation: status-dot-glow 2.4s ease-in-out infinite;
}

@keyframes status-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(77, 255, 136, 0.58);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 22px rgba(77, 255, 136, 0.86);
    transform: scale(1.12);
  }
}

@keyframes status-dot-glow {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.9);
  }

  50% {
    opacity: 0.28;
    transform: scale(1.18);
  }
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 24% 82%, rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  clip-path: var(--slash);
  font-weight: 700;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 20px;
  width: 86px;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 16px);
  opacity: 0.62;
}

.footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 4px #050505, 0 0 22px rgba(255, 255, 255, 0.18);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #000, 0 0 18px rgba(255, 255, 255, 0.18);
}

.footer-brand p {
  margin: 0;
  margin-top: 6px;
  color: var(--paper);
  font-size: 0.95rem;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(255, 255, 255, 0.12);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-link,
.footer-docs {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid transparent;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.footer-donate {
  color: #041308;
  background: var(--donate);
  box-shadow: 5px 5px 0 rgba(36, 224, 111, 0.18);
}

.footer-discord {
  color: #fff;
  background: var(--discord);
  box-shadow: 5px 5px 0 rgba(88, 101, 242, 0.2);
}

.docs-modal,
.executor-modal {
  width: min(720px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  color: var(--white);
  background: #050505;
  box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.1), 0 24px 80px rgba(0, 0, 0, 0.75);
}

.executor-modal {
  width: min(520px, calc(100% - 32px));
}

.docs-modal::backdrop,
.executor-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(7px);
}

.executor-modal[open] {
  animation: modal-shell-in 180ms ease-out both;
}

.executor-modal[open]::backdrop {
  animation: modal-backdrop-in 180ms ease-out both;
}

.executor-modal[open] .modal-content {
  animation: executor-modal-grow 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: center;
}

.modal-content {
  padding: 22px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0;
}

.modal-close {
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
}

.modal-close:hover {
  color: #000;
  border-color: #fff;
  background: #fff;
}

.modal-banner {
  display: block;
  width: 100%;
  max-height: 170px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  object-position: center;
}

.modal-body {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.modal-body p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  line-height: 1.6;
}

.executor-modal-body {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.executor-modal-body p {
  margin: 0;
  color: var(--paper);
  font-weight: 800;
  line-height: 1.5;
}

.executor-direct-warning {
  padding: 12px 14px;
  border: 1px solid rgba(255, 216, 77, 0.28);
  color: #f5dda0;
  background: rgba(255, 216, 77, 0.08);
  box-shadow: inset 3px 0 0 rgba(255, 216, 77, 0.75);
}

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

.executor-link {
  min-height: 54px;
  padding: 15px;
  text-align: center;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.executor-direct {
  color: #000;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.12);
}

.executor-official {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.executor-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.executor-link.is-disabled,
.executor-link.is-disabled:hover {
  color: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

@keyframes modal-shell-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-backdrop-in {
  from {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
  }

  to {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(7px);
  }
}

@keyframes executor-modal-grow {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.reveal-on-scroll {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  body::after,
  .site-shell::before,
  .site-shell::after,
  .status-dot-available,
  .status-dot-available::after,
  .executor-modal[open],
  .executor-modal[open]::backdrop,
  .executor-modal[open] .modal-content {
    animation: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .executor-grid,
  .executor-name-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding-top: 18px;
  }

  .brand {
    justify-content: center;
  }

  .brand-name {
    max-width: none;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    width: min(100% - 20px, 1480px);
  }

  .hero-content {
    min-height: 600px;
  }

  .hero-banner {
    object-position: 38% center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .discord-button,
  .donate-button,
  .ghost-button {
    width: 100%;
  }

  .code-panel {
    grid-template-columns: 1fr;
  }

  .copy-button {
    min-height: 50px;
  }

  .executor-grid,
  .executor-name-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .top-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .language-button {
    flex: 1;
  }

  .nav-link,
  .nav-button,
  .footer-link,
  .footer-docs {
    width: 100%;
  }

  .brand-name {
    white-space: normal;
  }

  .hero-content {
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 17vw, 5rem);
  }

  .section-heading h2 {
    font-size: clamp(2.3rem, 14vw, 3.5rem);
  }

  .modal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .executor-modal-actions {
    grid-template-columns: 1fr;
  }
}
