:root {
  --color-bg: #0b0d12;
  --color-fg: #f5efe6;
  --color-muted: #aab3c2;
  --color-amber: #ffb76b;
  --color-amber-soft: #ffd59a;
  --color-amber-deep: #ff8b4c;
  --color-ember: #ffcf8a;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-panel: rgba(255, 255, 255, 0.05);
  --color-card: rgba(5, 6, 10, 0.55);

  --radius-xs: 0.4rem;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2.5rem;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --font-size-xs: 0.65rem;
  --font-size-sm: 0.85rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.8rem;
  --font-size-2xl: 3rem;

  --letter-space-wide: 0.3em;
  --letter-space-wider: 0.35em;

  --font-display: "display", "display Fallback";
  --font-body: "body", "body Fallback";
}

@font-face {
  font-family: display;
  src: url("/fonts/Cinzel-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "display Fallback";
  src: local("Arial");
  ascent-override: 77.71%;
  descent-override: 29.62%;
  line-gap-override: 0%;
  size-adjust: 125.6%;
}

@font-face {
  font-family: body;
  src: url("/fonts/SpaceGrotesk-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "body Fallback";
  src: local("Arial");
  ascent-override: 88.78%;
  descent-override: 26.34%;
  line-gap-override: 0%;
  size-adjust: 110.84%;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body), "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
}

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

.cx-layout-body {
  margin: 0;
}

.cx-shake-wrapper {
  min-height: 100vh;
  transform-origin: center center;
}

.cx-shake-wrapper.cx-impact-shake {
  animation: cx-impact-shake 520ms ease-out;
}

.cx-impact-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.cx-impact-overlay[data-state="playing"] {
  opacity: 1;
  visibility: visible;
}

.cx-impact-overlay[data-state="settled"] {
  opacity: 0.22;
  visibility: visible;
}

.cx-impact-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes cx-impact-shake {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-6px, 3px, 0);
  }
  40% {
    transform: translate3d(5px, -4px, 0);
  }
  60% {
    transform: translate3d(-3px, 2px, 0);
  }
  80% {
    transform: translate3d(2px, -1px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-impact-overlay {
    transition: none;
  }
}

.cx-route-root {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-fg);
}

.cx-route-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at top,
    rgba(255, 183, 107, 0.3),
    rgba(11, 12, 16, 0.92) 55%,
    rgba(5, 6, 10, 1) 100%
  );
}

.cx-route-halo {
  position: absolute;
  top: -10rem;
  left: 50%;
  width: 32.5rem;
  height: 32.5rem;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(
    circle,
    rgba(255, 210, 140, 0.18),
    rgba(60, 32, 16, 0.2) 55%,
    transparent 70%
  );
  pointer-events: none;
}

.cx-route-glow-primary {
  position: absolute;
  top: 7rem;
  right: 4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 179, 80, 0.12);
  filter: blur(32px);
  pointer-events: none;
}

.cx-route-glow-secondary {
  position: absolute;
  top: 12rem;
  left: 3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(255, 197, 128, 0.12);
  filter: blur(32px);
  pointer-events: none;
}

.cx-route-shell {
  position: relative;
  margin: 0 auto;
  max-width: 70rem;
  padding: 3rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  min-height: calc(100vh + var(--space-8));
}

.cx-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wider);
  text-transform: uppercase;
  color: rgba(199, 207, 218, 0.75);
}

.cx-footer-link {
  color: inherit;
  text-decoration: none;
}

.cx-footer-link:hover,
.cx-footer-link:focus-visible {
  color: rgba(230, 235, 243, 0.92);
}

.cx-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.75);
}

.cx-eyebrow {
  margin: 0;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(170, 179, 194, 0.8);
}

.cx-body-text {
  margin: 0;
  font-size: var(--font-size-md);
  color: rgba(209, 219, 234, 0.82);
}

.cx-subkicker {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(199, 207, 218, 0.9);
}

.cx-badge {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 210, 140, 0.4);
  background: rgba(255, 210, 140, 0.12);
  padding: 0.3rem 1rem;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: #ffe4b8;
}

.cx-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-amber-soft);
}

.cx-button {
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
  background: var(--color-ember);
  color: #1a1410;
}

.cx-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #ffe0b2;
}

.cx-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.cx-button-secondary:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

.cx-button-danger {
  background: #f06b5a;
  color: #1a0e0b;
}

.cx-button-danger:hover:not(:disabled) {
  background: #ff8b7d;
}

.cx-button-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.6rem;
}

.cx-button-md {
  padding: 0.8rem 1.6rem;
  font-size: 0.7rem;
}

.cx-button-lg {
  padding: 1rem 2.1rem;
  font-size: 0.75rem;
}

.cx-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cx-input,
.cx-select,
.cx-textarea {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 10, 0.5);
  padding: 0.8rem 1.1rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
}

.cx-textarea {
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  line-height: 1.6;
  resize: none;
  overflow: hidden;
  min-height: 7rem;
}

.cx-input::placeholder,
.cx-textarea::placeholder {
  color: rgba(170, 179, 194, 0.8);
}

.cx-input:focus,
.cx-select:focus,
.cx-textarea:focus {
  outline: none;
  border-color: rgba(255, 210, 140, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 210, 140, 0.16);
}

.cx-field-label {
  display: block;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(170, 179, 194, 0.8);
}

.cx-field-label-tight {
  line-height: 1.2;
}

.cx-error-tooltip {
  position: absolute;
  left: 50%;
  top: -0.55rem;
  transform: translate(-50%, -100%);
  margin: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 140, 120, 0.6);
  background: rgba(24, 12, 12, 0.92);
  color: rgba(255, 214, 208, 0.95);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  max-width: min(100%, 22rem);
  pointer-events: none;
  text-align: center;
  z-index: 2;
}

.cx-error-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  width: 0.6rem;
  height: 0.6rem;
  background: rgba(24, 12, 12, 0.92);
  border-right: 1px solid rgba(255, 140, 120, 0.6);
  border-bottom: 1px solid rgba(255, 140, 120, 0.6);
  transform: translateX(-50%) rotate(45deg);
}

.cx-input-error {
  border-color: rgba(255, 120, 100, 0.8) !important;
  box-shadow: 0 0 0 2px rgba(255, 120, 100, 0.18) !important;
}

.cx-status-success {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.9);
}

.cx-status-error {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(255, 140, 120, 0.95);
}

.cx-home-root {
  display: grid;
  gap: var(--space-7);
}

.cx-home-primary {
  display: flex;
}

.cx-home-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cx-home-stack-tight {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cx-home-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cx-home-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  color: #ffffff;
}

.cx-home-subtitle {
  margin: 0;
  font-size: var(--font-size-lg);
  color: rgba(255, 226, 187, 0.9);
}

.cx-focus-list {
  display: grid;
  gap: var(--space-3);
}

.cx-focus-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-card);
  padding: var(--space-3) var(--space-4);
  color: rgba(218, 228, 240, 0.85);
}

.cx-panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-panel);
  backdrop-filter: blur(16px);
  padding: var(--space-7) var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cx-panel-title {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #ffffff;
}

.cx-panel-text {
  margin: var(--space-3) 0 0;
  font-size: 0.95rem;
  color: rgba(209, 219, 234, 0.82);
}

.cx-callout {
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 10, 0.6);
  padding: var(--space-5);
}

.cx-callout-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
  color: rgba(209, 219, 234, 0.82);
  font-size: 0.95rem;
}

.cx-countdown {
  display: grid;
  gap: var(--space-4);
}

.cx-countdown-item {
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.6);
  padding: var(--space-4);
}

.cx-countdown-label {
  margin: 0;
  font-size: 0.6rem;
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(170, 179, 194, 0.8);
}

.cx-countdown-value {
  margin-top: var(--space-3);
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.cx-signup {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(5, 6, 10, 0.6);
  padding: var(--space-3);
  width: 100%;
}

.cx-signup-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.cx-signup-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.cx-signup-field {
  width: 100%;
}

.cx-signup-button {
  white-space: nowrap;
}

.cx-shake {
  animation: cx-notify-shake 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.cx-contact-content {
  display: grid;
  gap: var(--space-7);
}

.cx-contact-header {
  max-width: 38rem;
  display: grid;
  gap: var(--space-4);
}

.cx-contact-eyebrow {
  margin: 0;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(255, 206, 150, 0.75);
}

.cx-contact-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-family: var(--font-display), "Times New Roman", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cx-contact-subtitle {
  margin: 0;
  font-size: var(--font-size-lg);
  color: rgba(255, 236, 210, 0.9);
}

.cx-contact-description {
  margin: 0;
  color: rgba(170, 179, 194, 0.9);
}

.cx-contact-panel {
  position: relative;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.cx-contact-form {
  display: grid;
  gap: var(--space-5);
}

.cx-contact-field {
  display: grid;
  gap: var(--space-2);
}

.cx-contact-input-wrap,
.cx-contact-select-wrap {
  position: relative;
}

.cx-select {
  padding: 0.8rem 3rem 0.8rem 1.1rem;
  appearance: none;
}

.cx-select-placeholder {
  color: rgba(170, 179, 194, 0.8);
}

.cx-select-icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.cx-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cx-checkout-root {
  min-height: 100vh;
  padding: var(--space-7) var(--space-4);
  background: radial-gradient(circle at top right, rgba(255, 210, 140, 0.12), transparent 55%)
    var(--color-bg);
}

.cx-checkout-content {
  display: grid;
  gap: var(--space-6);
  max-width: 78rem;
  margin: 0 auto;
}

.cx-checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.75);
  padding: var(--space-7) var(--space-6);
}

.cx-checkout-header {
  display: grid;
  gap: var(--space-3);
}

.cx-checkout-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #ffffff;
}

.cx-checkout-description {
  margin: 0;
  font-size: var(--font-size-lg);
  color: rgba(209, 219, 234, 0.82);
}

.cx-checkout-section {
  display: grid;
  gap: var(--space-3);
}

.cx-checkout-section-title {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.75);
}

.cx-checkout-grid {
  display: grid;
  gap: var(--space-3);
}

.cx-checkout-actions {
  display: flex;
  justify-content: flex-start;
}

.cx-payment-options {
  display: grid;
  gap: var(--space-3);
}

.cx-payment-option {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.5);
  cursor: pointer;
}

.cx-payment-radio {
  appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0;
  position: relative;
}

.cx-payment-radio:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--color-amber);
}

.cx-payment-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.85);
}

.cx-payment-description {
  font-size: 0.9rem;
  color: rgba(199, 207, 218, 0.9);
}

.cx-summary {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.6);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
}

.cx-summary-eyebrow {
  margin: 0;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(170, 179, 194, 0.8);
}

.cx-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  color: rgba(209, 219, 234, 0.85);
  font-size: 0.95rem;
}

.cx-summary-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.cx-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-3);
}

.cx-perf-root {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-fg);
  overflow: hidden;
}

.cx-perf-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 120, 0.2), rgba(11, 13, 18, 0.85) 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 210, 140, 0.12), transparent 55%);
  pointer-events: none;
}

.cx-perf-shell {
  position: relative;
  margin: 0 auto;
  max-width: 72rem;
  padding: 3.5rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cx-perf-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 42rem;
}

.cx-perf-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-family: var(--font-display), "Cinzel", serif;
  letter-spacing: 0.04em;
  margin: 0;
}

.cx-perf-subtitle {
  margin: 0;
  color: rgba(209, 219, 234, 0.82);
  font-size: var(--font-size-md);
}

.cx-perf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cx-perf-grid {
  display: grid;
  gap: var(--space-4);
}

.cx-perf-card {
  background: rgba(7, 8, 12, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cx-perf-metric-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: rgba(240, 244, 255, 0.85);
}

.cx-perf-phase-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-3);
}

.cx-perf-phase-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 210, 140, 0.75);
}

.cx-perf-report {
  background: rgba(7, 8, 12, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.cx-perf-report-hint {
  margin: 0;
  color: var(--color-muted);
}

.cx-perf-textarea {
  width: 100%;
  min-height: 16rem;
  background: rgba(9, 10, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: rgba(235, 241, 248, 0.9);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 0.75rem;
  padding: var(--space-3);
  resize: vertical;
}

.cx-error-root {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-fg);
}

.cx-error-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at top,
    rgba(255, 183, 107, 0.26),
    rgba(11, 12, 16, 0.92) 55%,
    rgba(5, 6, 10, 1) 100%
  );
}

.cx-error-shell {
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  max-width: 56rem;
  padding: 3.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  transform: translateY(-2rem);
}

.cx-error-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
}

.cx-error-message {
  margin: 0;
  max-width: 42rem;
  color: rgba(236, 238, 245, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cx-error-actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cx-error-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(236, 238, 245, 0.9);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cx-error-home-link:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.95);
}

.cx-notfound-shell {
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  max-width: 72rem;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cx-notfound-section-root {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 100%;
  flex: 1;
  justify-content: flex-start;
}

.cx-notfound-root {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 100vh;
}

.cx-notfound-root-fullscreen {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 100vh;
}

.cx-notfound-hidden {
  display: none;
}

.cx-notfound-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.cx-notfound-eyebrow {
  margin: 0;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-space-wide);
  text-transform: uppercase;
  color: rgba(255, 206, 150, 0.75);
}

.cx-notfound-subtitle {
  margin: var(--space-2) 0 0;
  font-size: var(--font-size-lg);
  color: rgba(255, 236, 210, 0.9);
}

.cx-notfound-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cx-notfound-title {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  font-family: var(--font-display), "Times New Roman", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cx-notfound-description {
  margin: 0;
  color: rgba(170, 179, 194, 0.9);
  max-width: 48rem;
}

.cx-notfound-cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.cx-notfound-game-bleed[hidden] {
  display: none !important;
}

.cx-notfound-game-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cx-notfound-game-bleed-fullscreen {
  position: fixed;
  top: var(--game-viewport-top, 0px);
  left: var(--game-viewport-left, 0px);
  width: var(--game-viewport-width, 100vw);
  height: var(--game-viewport-height, 100vh);
  z-index: 40;
  margin: 0;
  background: rgba(6, 8, 12, 0.98);
  display: flex;
  align-items: stretch;
  touch-action: none;
}

.cx-notfound-game-card {
  position: relative;
  border-radius: 0;
  border: 1px solid var(--color-border);
  background: rgba(8, 9, 13, 0.88);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: clamp(26rem, 70vh, 52rem);
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-game-card-fullscreen {
  position: relative;
  border-radius: 0;
  border: none;
  background: rgba(8, 9, 13, 0.96);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  height: 100%;
  flex: 1;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-hud-wrap {
  padding: calc(var(--space-2) + env(safe-area-inset-top, 0px))
    calc(var(--space-3) + env(safe-area-inset-right, 0px)) var(--space-2)
    calc(var(--space-3) + env(safe-area-inset-left, 0px));
  max-width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-hud-shell {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.cx-notfound-hud-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cx-notfound-hud-row::-webkit-scrollbar {
  display: none;
}

.cx-notfound-hud-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: rgba(170, 179, 194, 0.85);
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

.cx-notfound-hud-sub {
  color: rgba(255, 207, 138, 0.7);
  letter-spacing: 0.04em;
}

.cx-notfound-hud-value {
  font-size: var(--font-size-lg);
  font-variant-numeric: tabular-nums;
  color: var(--color-ember);
}

.cx-notfound-hud-hint {
  font-size: var(--font-size-sm);
  font-variant-numeric: tabular-nums;
  color: rgba(255, 218, 170, 0.85);
}

.cx-notfound-hud-value em {
  font-style: normal;
  color: rgba(255, 207, 138, 0.6);
  font-size: 0.75em;
  letter-spacing: 0.06em;
  margin-left: 0.4rem;
}

.cx-notfound-health-pips {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  height: 1.4rem;
}

.cx-notfound-health-pip,
.cx-notfound-health-pip-active {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 207, 138, 0.4);
  background: transparent;
}

.cx-notfound-health-pip-active {
  background: rgba(255, 183, 107, 0.6);
  border-color: rgba(255, 183, 107, 0.85);
  box-shadow: 0 0 8px rgba(255, 183, 107, 0.4);
}

.cx-notfound-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: rgba(255, 225, 190, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--font-size-xs);
}

.cx-notfound-progress-label {
  color: rgba(255, 210, 170, 0.75);
}

.cx-notfound-progress-track {
  width: 100%;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.cx-notfound-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 180, 120, 0.9), rgba(255, 120, 90, 0.95));
  box-shadow: 0 0 12px rgba(255, 150, 110, 0.6);
}

.cx-notfound-game-surface {
  position: relative;
  flex: 1;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 190, 140, 0.16), rgba(8, 10, 14, 0.98));
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-game-surface-fullscreen {
  position: relative;
  flex: 1;
  border-radius: 0;
  border: none;
  background: radial-gradient(circle at top, rgba(255, 190, 140, 0.18), rgba(8, 10, 14, 0.98));
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-game-surface:focus {
  outline: none;
}

.cx-notfound-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.cx-notfound-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.cx-notfound-impact-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.cx-notfound-tutorial-hints {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 214, 170, 0.9);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.cx-notfound-tutorial-hints[hidden] {
  display: none !important;
}

.cx-notfound-rotate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 214, 170, 0.9);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-align: center;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cx-notfound-rotate-overlay[hidden] {
  display: none !important;
}

.cx-notfound-rotate-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
  background: rgba(8, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cx-notfound-rotate-sub {
  color: rgba(255, 214, 170, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.cx-notfound-pause-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 3;
}

.cx-notfound-pause-overlay[hidden] {
  display: none !important;
}

.cx-notfound-pause-panel {
  width: min(28rem, 90vw);
  background: rgba(10, 12, 18, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  text-align: center;
}

.cx-notfound-pause-title {
  margin: 0;
  font-size: var(--font-size-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-notfound-pause-subtitle {
  margin: 0;
  color: rgba(170, 179, 194, 0.9);
}

.cx-notfound-pause-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cx-notfound-gameover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 4;
}

.cx-notfound-gameover-overlay[hidden] {
  display: none !important;
}

.cx-notfound-gameover-modal {
  width: min(34rem, 90vw);
  background: rgba(10, 12, 18, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  text-align: center;
}

.cx-notfound-gameover-header h2 {
  margin: 0;
  font-size: var(--font-size-xl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-notfound-gameover-header p {
  margin: 0.3rem 0 0;
  color: rgba(170, 179, 194, 0.9);
}

.cx-notfound-gameover-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.cx-notfound-gameover-stats span {
  display: block;
  color: rgba(170, 179, 194, 0.8);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
}

.cx-notfound-gameover-stats strong {
  font-size: var(--font-size-lg);
  font-variant-numeric: tabular-nums;
  color: var(--color-ember);
}

.cx-notfound-name-entry {
  display: grid;
  gap: var(--space-2);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
}

.cx-notfound-name-entry[hidden] {
  display: none !important;
}

.cx-notfound-name-row {
  display: flex;
  gap: var(--space-2);
}

.cx-notfound-name-row .cx-input {
  flex: 1 1 auto;
  min-width: 0;
}

.cx-notfound-leaderboard {
  display: grid;
  gap: var(--space-2);
  text-align: left;
}

.cx-notfound-leaderboard[hidden] {
  display: none !important;
}

.cx-notfound-leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-notfound-leaderboard ol {
  list-style: decimal;
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.4rem;
}

.cx-notfound-leaderboard li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.cx-notfound-leaderboard-empty {
  color: rgba(170, 179, 194, 0.7);
  font-style: italic;
}

.cx-notfound-reset-link {
  background: none;
  border: none;
  color: var(--color-ember);
  cursor: pointer;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-notfound-gameover-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

[data-testid="game-surface"][data-orientation-locked="true"] .cx-notfound-tutorial-hints {
  display: none;
}

.cx-honeypot {
  display: none;
}

@keyframes cx-notify-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

@media (min-width: 640px) {
  .cx-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cx-signup-row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
  }

  .cx-signup-field {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .cx-signup-button {
    flex: 0 0 auto;
    margin-left: auto;
  }

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

@media (min-width: 1024px) {
  .cx-route-shell {
    padding-top: 4rem;
  }

  .cx-home-root {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cx-contact-content {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .cx-checkout-content {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .cx-notfound-shell {
    padding-top: 4rem;
  }
}

@media (min-width: 960px) {
  .cx-perf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cx-notfound-game-card {
    padding: var(--space-3);
    min-height: clamp(22rem, 65vh, 40rem);
  }

  .cx-notfound-game-card-fullscreen {
    padding: var(--space-2);
  }

  .cx-notfound-tutorial-hints {
    flex-direction: column;
    align-items: center;
  }

  .cx-notfound-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cx-notfound-title {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .cx-notfound-header-row {
    flex-direction: column;
  }

  .cx-notfound-cta-row {
    align-self: flex-start;
  }

  .cx-notfound-gameover-stats {
    grid-template-columns: 1fr;
  }

  .cx-notfound-name-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .cx-shake {
    animation: cx-notify-shake-mobile 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  }
}

@keyframes cx-notify-shake-mobile {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-shake {
    animation: none;
  }
}
