:root {
  --bg: #0f1318;
  --bg-panel: rgba(18, 23, 31, 0.84);
  --bg-card: rgba(24, 31, 41, 0.86);
  --bg-input: rgba(11, 16, 24, 0.92);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --scroll-track: rgba(255, 255, 255, 0.05);
  --scroll-thumb: rgba(139, 92, 246, 0.3);
  --scroll-thumb-hover: rgba(196, 181, 253, 0.45);
  --ink: #edf2f7;
  --muted: #9eacbc;
  --line: rgba(151, 169, 191, 0.18);
  --accent: #8b5cf6;
  --accent-strong: #c4b5fd;
  --accent-soft: rgba(139, 92, 246, 0.2);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(64, 120, 192, 0.18), transparent 26%),
    linear-gradient(135deg, #0c1015 0%, #121820 45%, #0f141b 100%);
}

code {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(151, 169, 191, 0.12);
  vertical-align: top;
  font-size: 0.95rem;
}

th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 32px;
}

.background-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.7;
}

.orb-a {
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.52), rgba(139, 92, 246, 0));
}

.orb-b {
  bottom: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(64, 120, 192, 0.3), rgba(64, 120, 192, 0));
}

.auth-layout,
.dashboard-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  width: min(100%, 1680px);
  margin: 0 auto;
}

.auth-layout {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  align-items: stretch;
}

.dashboard-shell {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: start;
}

.form-panel,
.admin-panel {
  border-radius: 28px;
}

.admin-panel,
.form-panel {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 24px;
  width: 100%;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
}

.dashboard-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.admin-content-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}

.admin-side-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-tab {
  border: 1px solid rgba(151, 169, 191, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  color: var(--muted);
  background: rgba(25, 33, 44, 0.78);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.side-tab.is-active {
  border-color: rgba(139, 92, 246, 0.36);
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.admin-tab-panels,
.admin-tab-panel {
  min-width: 0;
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.tab {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab.is-active {
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.auth-card,
.result-card {
  border: 1px solid rgba(151, 169, 191, 0.12);
  border-radius: 24px;
  background: var(--bg-card);
}

.auth-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.result-card {
  padding: 20px;
}

.table-card {
  overflow: hidden;
}

.table-wrap {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.table-wrap::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}

.form-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.form-subtitle {
  margin: 0;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.field span {
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-input);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input:focus {
  border-color: rgba(139, 92, 246, 0.88);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
  transform: translateY(-1px);
}

.field select {
  width: 100%;
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.inline-form-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.field-wide {
  grid-column: span 2;
}

.field-custom-key {
  grid-column: span 2;
}

.field-duration {
  max-width: 110px;
}

.submit-button,
.ghost-button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.submit-button {
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(91, 33, 182, 0.3);
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.ghost-button {
  background: var(--bg-soft);
  color: var(--ink);
}

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

.toolbar-inline-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: max-content;
}

.bulk-select {
  min-width: 150px;
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-input);
}

.search-input {
  min-width: 220px;
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-input);
}

.generated-key-box {
  width: 100%;
  border: 1px dashed rgba(139, 92, 246, 0.38);
  border-radius: 18px;
  padding: 16px;
  background: rgba(30, 20, 48, 0.86);
  color: var(--accent-strong);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.generated-key-box.is-empty {
  color: var(--muted);
  cursor: default;
}

.key-code-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.key-code-button:hover {
  text-decoration: underline;
}

.ghost-button.danger {
  background: rgba(255, 96, 96, 0.14);
  color: #ff8b8b;
}

.status-message {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}

.status-message.is-error {
  color: #ff8b8b;
}

.status-message.is-success {
  color: #7ee2a5;
}

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

.license-key-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.license-key-list-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.license-key-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(151, 169, 191, 0.12);
  border-radius: 8px;
  background: rgba(15, 20, 28, 0.72);
}

.license-key-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.license-key-main strong,
.license-key-main span {
  overflow-wrap: anywhere;
}

.info-item {
  border: 1px solid rgba(151, 169, 191, 0.12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(15, 20, 28, 0.9);
}

.info-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  margin: 0;
  font-weight: 700;
  word-break: break-word;
}

.result-header,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.result-header p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.staff-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-weight: 700;
}

.staff-badge.is-active {
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
  background: rgba(255, 255, 255, 0.08);
}

.status-pill.is-online,
.status-pill.is-active {
  background: rgba(67, 191, 120, 0.16);
  color: #75d99e;
}

.status-pill.is-offline,
.status-pill.is-unused {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.status-pill.is-expired,
.status-pill.is-revoked {
  background: rgba(255, 96, 96, 0.16);
  color: #ff8b8b;
}

.status-pill.is-suspended {
  background: rgba(255, 170, 86, 0.16);
  color: #ffb86d;
}

.action-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 280px;
}

.action-button {
  padding: 10px 12px;
  border-radius: 12px;
}

.delta-input {
  width: 76px;
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: var(--bg-input);
  color: var(--ink);
}

.table-meta-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  color: var(--muted);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
}

.pagination-info {
  color: var(--muted);
  font-size: 0.92rem;
}

.checkbox-cell {
  width: 44px;
}

.hwid-scroll {
  max-width: 260px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  line-height: 1.5;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.hwid-scroll::-webkit-scrollbar {
  height: 8px;
}

.hwid-scroll::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.hwid-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.hwid-scroll::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 999px;
}

.table-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.table-wrap th:first-child,
.table-wrap td:first-child {
  width: 44px;
  min-width: 44px;
  text-align: center;
  vertical-align: middle;
}

.hwid-scroll code {
  white-space: nowrap;
}

.pre-wrap {
  max-width: 260px;
}

pre {
  margin: 0;
  overflow: auto;
  border-radius: 18px;
  padding: 16px;
  background: #0c1118;
  color: #edf2f7;
  line-height: 1.55;
}

.is-hidden {
  display: none;
}

.landing-body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: url("/assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.falling-stars {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.falling-star {
  position: absolute;
  display: block;
  width: 260px;
  height: 3px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(210, 246, 255, 0.98), rgba(255, 255, 255, 1));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.75), 0 0 28px rgba(140, 226, 255, 0.42);
  transform: translate3d(-120px, -120px, 0) rotate(32deg);
  animation: fallingStar 3.8s linear infinite;
  will-change: transform, opacity;
}

.falling-star::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 34px rgba(140, 226, 255, 0.5);
  transform: translateY(-50%);
}

.falling-star::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 84px;
  height: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: translateY(-50%);
  filter: blur(5px);
}

.star-a {
  top: 10%;
  left: 4%;
  animation-delay: 0s;
}

.star-b {
  top: 22%;
  left: 52%;
  width: 180px;
  animation-delay: 1.2s;
}

.star-c {
  top: 38%;
  left: 18%;
  width: 240px;
  animation-delay: 2.4s;
}

.star-d {
  top: 16%;
  left: 70%;
  width: 200px;
  animation-delay: 3.3s;
}

.star-e {
  top: 52%;
  left: 58%;
  width: 170px;
  animation-delay: 4.1s;
}

.star-f {
  top: 68%;
  left: 12%;
  width: 210px;
  animation-delay: 4.8s;
}

.star-g {
  top: 6%;
  left: 34%;
  width: 200px;
  animation-delay: 0.6s;
}

.star-h {
  top: 30%;
  left: 78%;
  width: 240px;
  animation-delay: 1.7s;
}

.star-i {
  top: 58%;
  left: 40%;
  width: 180px;
  animation-delay: 2.8s;
}

.star-j {
  top: 74%;
  left: 68%;
  width: 220px;
  animation-delay: 3.5s;
}

.star-k {
  top: 44%;
  left: 4%;
  width: 200px;
  animation-delay: 1s;
}

.star-l {
  top: 82%;
  left: 26%;
  width: 250px;
  animation-delay: 2.1s;
}

@keyframes fallingStar {
  0% {
    opacity: 0;
    transform: translate3d(-120px, -120px, 0) rotate(32deg);
  }
  8% {
    opacity: 0.9;
  }
  32% {
    opacity: 1;
    transform: translate3d(180px, 180px, 0) rotate(32deg);
  }
  44% {
    opacity: 0;
    transform: translate3d(320px, 320px, 0) rotate(32deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(320px, 320px, 0) rotate(32deg);
  }
}

.landing-nav,
.landing-hero,
.landing-band,
.landing-split,
.landing-cta {
  position: relative;
  z-index: 4;
}

.landing-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(151, 169, 191, 0.14);
  background: rgba(10, 15, 22, 0.74);
  backdrop-filter: blur(18px);
}

.brand-mark,
.landing-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand-mark,
.landing-links a,
.nav-login,
.primary-action,
.secondary-action,
.discord-cta {
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.landing-links {
  justify-content: center;
  gap: 26px;
}

.landing-links a {
  color: var(--muted);
  font-weight: 700;
}

.landing-links a:hover,
.nav-login:hover {
  color: var(--ink);
}

.nav-login {
  border: 1px solid rgba(151, 169, 191, 0.22);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
}

.landing-hero,
.landing-band,
.landing-split,
.landing-cta {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
}

.landing-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: 118px 0 72px;
}

.landing-copy {
  width: min(100%, 760px);
  max-width: 760px;
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(5, 10, 18, 0.5);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #93f4bb;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 0;
  color: #cfdae7;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.discord-cta,
.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.primary-action,
.secondary-action,
.discord-cta {
  height: 56px;
  width: auto;
  padding: 0 20px;
  font-weight: 800;
  box-sizing: border-box;
}

.primary-action {
  gap: 14px;
  border: 1px solid rgba(216, 229, 92, 0.34);
  color: #12160d;
  background: #efff6b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 34px rgba(239, 255, 107, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 229, 92, 0.5);
  background: #f4ff6f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 18px 36px rgba(239, 255, 107, 0.22);
}

.primary-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.secondary-action {
  border: 1px solid rgba(151, 169, 191, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.discord-cta {
  gap: 14px;
  border: 1px solid rgba(151, 169, 191, 0.22);
  color: #f7f8fb;
  font-weight: 800;
  background: rgba(17, 18, 28, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.discord-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(22, 24, 37, 0.9);
}

.discord-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.discord-link {
  width: 58px;
  height: 58px;
  color: #fff;
  background: #5865f2;
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.discord-link:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-link svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.video-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: rgba(3, 6, 12, 0.9);
  cursor: grab;
  user-select: none;
}

.video-stage:active {
  cursor: grabbing;
}

.sample-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transform-origin: center center;
  transition: opacity 280ms ease;
  background: #04070d;
}

.sample-video.is-active {
  opacity: 1;
}

.sample-video.sample-video-wide {
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.video-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.video-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.video-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.product-visual {
  border: 1px solid rgba(151, 169, 191, 0.18);
  border-radius: 26px;
  padding: 18px;
  background: rgba(14, 20, 29, 0.78);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.visual-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(151, 169, 191, 0.42);
}

.visual-panel,
.visual-grid article {
  border: 1px solid rgba(151, 169, 191, 0.14);
  background: rgba(255, 255, 255, 0.065);
}

.visual-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-radius: 20px;
  padding: 20px;
}

.visual-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.visual-panel h2,
.section-intro h2,
.landing-split h2,
.landing-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.visual-panel h2 {
  font-size: 1.65rem;
}

.status-pill {
  align-self: start;
  border-radius: 999px;
  padding: 8px 12px;
  color: #baffd5;
  background: rgba(46, 204, 113, 0.16);
  font-size: 0.84rem;
  font-weight: 800;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.visual-grid article {
  min-height: 116px;
  border-radius: 18px;
  padding: 18px;
}

.visual-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.visual-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.visual-timeline {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.visual-timeline span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(147, 244, 187, 0.72), rgba(96, 165, 250, 0.42), rgba(255, 255, 255, 0.08));
}

.visual-timeline span:nth-child(2) {
  width: 82%;
}

.visual-timeline span:nth-child(3) {
  width: 64%;
}

.landing-band,
.landing-split,
.landing-cta {
  font-family: "Space Grotesk", sans-serif;
  padding: 78px 0;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(5, 10, 18, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.section-intro h2,
.landing-split h2,
.landing-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.detail-list h3 {
  margin: 14px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.detail-list p {
  margin: 0;
  color: #b8c4d1;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.65;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(5, 10, 18, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.detail-list {
  display: grid;
  gap: 22px;
}

.detail-list div {
  padding-left: 20px;
  border-left: 3px solid rgba(147, 244, 187, 0.5);
}

.landing-cta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 24px;
  margin-top: 34px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 32px;
  background: rgba(5, 10, 18, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

@media (max-width: 1180px) {
  .dashboard-shell,
  .auth-layout {
    grid-template-columns: 1fr;
  }
}

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

  .landing-links {
    display: none;
  }

  .landing-hero,
  .landing-split {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    align-items: start;
    padding-top: 104px;
  }

  .landing-cta {
    align-items: flex-start;
  }

  .inline-form,
  .inline-form-compact {
    grid-template-columns: 1fr;
  }

  .admin-content-shell {
    grid-template-columns: 1fr;
  }

  .admin-side-tabs {
    flex-direction: row;
    overflow-x: auto;
  }

  .toolbar-inline-group {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px;
  }

  .landing-nav {
    padding: 14px 18px;
  }

  .brand-mark {
    max-width: 52vw;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .landing-hero,
  .landing-band,
  .landing-split,
  .landing-cta {
    width: min(100% - 28px, 1180px);
  }

  .landing-copy h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .discord-cta {
    width: 100%;
  }

  .product-visual {
    border-radius: 20px;
    padding: 14px;
  }

  .video-controls {
    justify-content: stretch;
    gap: 10px;
  }

  .video-nav {
    width: 100%;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .landing-band,
  .landing-split {
    padding: 54px 0;
  }

  .landing-cta {
    margin-bottom: 28px;
    padding: 24px;
  }

  .admin-panel,
  .form-panel {
    padding: 20px;
  }

  .auth-card,
  .result-card {
    padding: 18px;
  }
}
