@font-face {
  font-family: "TruenoLt";
  src: url("assets/FONTS/gotham-similar-fonts/gotham-similar-fonts/trueno/TruenoLt.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #04020c;
  --panel: #0f0920;
  --panel-2: #130b2b;
  --line: #32205f;
  --line-soft: #251648;
  --text: #ece8ff;
  --muted: #aaa2d2;
  --purple: #6e2fff;
  --purple-bright: #9f4dff;
  /* Notched displays / home indicator — use with padding, not margin. */
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  /* Navbar rest ↔ scroll-compact: one curve/duration so nothing “stutters” out of sync */
  --cdxx-nav-morph-dur: 0.6s;
  --cdxx-nav-morph-ease: cubic-bezier(0.19, 0.94, 0.24, 1);
  --cdxx-box-font: "TruenoLt", "Gotham", "Gotham Bold", "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --cdxx-cursor-default: url("assets/cursor-static.png") 6 6, auto;
  --cdxx-cursor-hover: url("assets/cursor-selected.png") 6 6, pointer;
  /* Responsive layout tokens */
  --cdxx-bp-mobile: 480px;
  --cdxx-bp-tablet: 768px;
  --cdxx-bp-desktop-sm: 1024px;
  --cdxx-container-max: 1200px;
  --cdxx-gutter-mobile: clamp(14px, 4.2vw, 18px);
  --cdxx-gutter-tablet: clamp(16px, 3vw, 24px);
  --cdxx-gutter-desktop: clamp(18px, 2.5vw, 32px);
  --cdxx-gutter-inline: var(--cdxx-gutter-desktop);
  --cdxx-hero-height: 100vh;
  --cdxx-hero-height: 100dvh;
  --cdxx-section-pad-y: clamp(2.25rem, 5.5vh, 3.75rem);
}

@media (max-width: 1024px) {
  :root {
    --cdxx-gutter-inline: var(--cdxx-gutter-tablet);
  }
}

@media (max-width: 768px) {
  :root {
    --cdxx-gutter-inline: var(--cdxx-gutter-mobile);
    --cdxx-hero-height: clamp(440px, 88dvh, 540px);
    --cdxx-section-pad-y: clamp(2rem, 5vh, 2.75rem);
  }
}

@media (max-width: 480px) {
  :root {
    --cdxx-hero-height: clamp(420px, 82dvh, 500px);
    --cdxx-section-pad-y: 40px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  cursor: var(--cdxx-cursor-default);
}

body.cursor-pressed,
body.cursor-pressed * {
  cursor: var(--cdxx-cursor-hover) !important;
}

:is(
  a,
  button,
  summary,
  label,
  select,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  input[type="range"],
  input[type="file"],
  [role="button"],
  [role="tab"],
  [role="link"],
  [role="menuitem"],
  [role="option"],
  [tabindex]:not([tabindex="-1"]),
  .top-center-icon,
  .btn,
  .hero-brand-interactive,
  .carousel-nav-btn,
  .carousel-card-pivot.category-card,
  .cdxx-how-step,
  .cdxx-filter-chip,
  .cdxx-service-card,
  .cdxx-service-card__btn,
  .cdxx-trust-card--selectable,
  .cdxx-trust-source-icon,
  .cdxx-faq-tab,
  .cdxx-faq-item__trigger,
  .cdxx-all-games-card,
  .cdxx-view-all-games-btn,
  .cdxx-preview-modal__thumb,
  .cdxx-preview-modal__close,
  .cdxx-preview-modal__plan,
  .cdxx-preview-modal__go,
  .cdxx-co2-thumb,
  .cdxx-co2-plan,
  .cdxx-co2-pay__btn,
  .cdxx-co2-gallery-lb__nav,
  .cdxx-co2-gallery-lb__close,
  .cdxx-cart-drawer__close,
  .cdxx-cart-trigger,
  .cdxx-chat-launcher,
  .cdxx-chat-panel button,
  .cdxx-vp__btn,
  .cdxx-vp__big-play
) {
  cursor: var(--cdxx-cursor-hover);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea {
  cursor: text;
}

html {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Reserve gutter so toggling body overflow during modals doesn’t shift layout (esp. overlay scrollbars). */
  scrollbar-gutter: stable;
  background-color: var(--bg);
  color-scheme: dark;
  /* Hide viewport scrollbar; scrolling still works (wheel, touch, keys). */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Discourage drag-to-save / long-press save hints (extensions can still read network/DOM). */
img,
picture,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Shown when context menu / devtools shortcuts are deterred (see cdxx-site-guard.js). */
.cdxx-guard-notice {
  position: fixed;
  z-index: 2147483646;
  top: max(5rem, calc(var(--safe-top) + 4rem));
  left: 50%;
  transform: translate3d(-50%, -10px, 0) scale(0.97);
  max-width: min(92vw, 400px);
  padding: 0.9rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(142, 94, 255, 0.55);
  background: rgba(10, 6, 24, 0.94);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.14) inset,
    0 14px 44px rgba(0, 0, 0, 0.58),
    0 0 32px rgba(110, 47, 255, 0.38);
  color: #ece8ff;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.cdxx-guard-notice.cdxx-guard-notice--visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

/* Nav core icon — red alert when site guard blocks inspect / right-click (cdxx-site-guard.js). */
@keyframes cdxx-guard-icon-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.top-center-icon.cdxx-guard-alert::before {
  background: rgba(255, 55, 85, 0.55);
  opacity: 0.8;
  filter: blur(14px);
}

.top-center-icon.cdxx-guard-alert .ring-outer {
  animation: cdxx-guard-icon-pulse 1.1s ease-in-out infinite;
  box-shadow:
    0 0 18px rgba(255, 70, 100, 0.58),
    0 0 34px rgba(255, 40, 70, 0.32);
  background: #fff0f3;
}

.top-center-icon.cdxx-guard-alert .ring-inner {
  border-color: #e11d48;
  background: #ffe8ec;
  box-shadow: inset 0 0 12px rgba(255, 60, 90, 0.22);
}

.top-center-icon.cdxx-guard-alert::after {
  border-color: rgba(255, 90, 110, 0.5);
  color: #ffc9d0;
}

header.site-header:has(.top-center-icon.cdxx-guard-alert) .nav-status {
  border-color: rgba(255, 80, 100, 0.48);
  background: rgba(40, 8, 16, 0.82);
  color: #ffb4be;
}

header.site-header:has(.top-center-icon.cdxx-guard-alert) .status-dot {
  background: #ff5c7a;
  box-shadow: 0 0 10px rgba(255, 80, 110, 0.75);
}

.cdxx-purchase-toast {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 9998;
  display: block;
  width: min(30rem, calc(100vw - 24px));
  max-width: 480px;
  border-radius: 1rem;
  border: 1px solid rgba(166, 118, 255, 0.62);
  background: linear-gradient(180deg, rgba(16, 10, 34, 0.9) 0%, rgba(10, 6, 22, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(195, 145, 255, 0.22) inset,
    0 14px 36px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(123, 62, 232, 0.34);
  padding: 0.62rem 0.82rem 0.72rem;
  color: #f0eaff;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  pointer-events: none;
  cursor: default;
  overflow: hidden;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.cdxx-purchase-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  cursor: pointer;
}

.cdxx-purchase-toast.is-visible:hover {
  border-color: rgba(196, 150, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(210, 165, 255, 0.3) inset,
    0 16px 40px rgba(0, 0, 0, 0.56),
    0 0 36px rgba(123, 62, 232, 0.44);
}

.cdxx-purchase-toast.is-visible:focus-visible {
  outline: 2px solid rgba(196, 150, 255, 0.95);
  outline-offset: 3px;
}

.cdxx-purchase-toast__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.42rem;
  min-width: 0;
}

.cdxx-purchase-toast__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(170, 120, 255, 0.52);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  background: rgba(102, 54, 192, 0.26);
  font-size: 0.64rem;
  font-family: Orbitron, var(--cdxx-box-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9dcff;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 58%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-purchase-toast__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.cdxx-purchase-toast__meta {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(199, 184, 235, 0.86);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.cdxx-purchase-toast__line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.79rem;
  letter-spacing: 0.035em;
  line-height: 1.4;
  color: rgba(238, 232, 255, 0.96);
}

.cdxx-purchase-toast__text {
  display: inline;
  min-width: 0;
  word-break: break-word;
}

.cdxx-purchase-toast__user {
  font-weight: 700;
  color: #ffffff;
}

.cdxx-purchase-toast__item {
  color: #d8bdff;
  font-weight: 700;
}

.cdxx-purchase-toast__dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3e4ff 0%, #b17fff 48%, #7f4bf3 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 12px rgba(171, 108, 255, 0.72);
  flex: 0 0 auto;
}

.cdxx-purchase-toast.is-clickable {
  cursor: pointer;
}

.cdxx-purchase-toast:not(.is-clickable).is-visible {
  cursor: default;
}

.cdxx-purchase-toast__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(170, 120, 255, 0.35);
  border-radius: 999px;
  background: rgba(16, 10, 34, 0.72);
  color: rgba(233, 220, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cdxx-purchase-toast__close:hover {
  border-color: rgba(196, 150, 255, 0.72);
  background: rgba(102, 54, 192, 0.35);
  color: #fff;
}

.cdxx-purchase-toast__close:focus-visible {
  outline: 2px solid rgba(196, 150, 255, 0.95);
  outline-offset: 2px;
}

.cdxx-purchase-toast__foot {
  margin-top: 0.15rem;
}

.cdxx-purchase-toast__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8bdff;
  word-break: break-word;
}

.cdxx-purchase-toast__cta--fallback {
  color: rgba(199, 184, 235, 0.82);
}

.cdxx-purchase-toast__arrow {
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cdxx-purchase-toast.is-clickable:hover .cdxx-purchase-toast__arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-purchase-toast {
    transition: opacity 0.2s ease;
    transform: none;
  }

  .cdxx-purchase-toast.is-visible {
    transform: none;
  }
}

body.cdxx-modal-open {
  overflow: hidden;
}


.cdxx-cod-variant-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cdxx-cod-variant-modal[hidden] {
  display: none !important;
}

.cdxx-cod-variant-modal[hidden] .cdxx-cod-variant-modal__backdrop,
.cdxx-cod-variant-modal[hidden] .cdxx-cod-variant-modal__panel {
  transition: none !important;
}

.cdxx-cod-variant-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.cdxx-cod-variant-modal__panel {
  position: relative;
  width: min(560px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 7, 20, 0.88);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
  padding: 1rem 1rem 1.1rem;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.32, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.32, 1),
    filter 0.3s ease;
}

.cdxx-cod-variant-modal.is-open .cdxx-cod-variant-modal__backdrop {
  opacity: 1;
}

.cdxx-cod-variant-modal.is-open .cdxx-cod-variant-modal__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.cdxx-cod-variant-modal.is-closing .cdxx-cod-variant-modal__backdrop {
  opacity: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cdxx-cod-variant-modal.is-closing .cdxx-cod-variant-modal__panel {
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.985);
  filter: blur(10px);
}

.cdxx-cod-variant-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cdxx-cod-variant-modal__close::before,
.cdxx-cod-variant-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.82rem;
  height: 1.7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.cdxx-cod-variant-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cdxx-cod-variant-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cdxx-cod-variant-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(196, 181, 253, 0.7);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.35);
}

.cdxx-cod-variant-modal__close:hover::before {
  transform: translate(-50%, -50%) rotate(175deg) scale(0.72);
}

.cdxx-cod-variant-modal__close:hover::after {
  transform: translate(-50%, -50%) rotate(85deg) scale(0.72);
}

.cdxx-cod-variant-modal__close:active::before {
  transform: translate(-50%, -50%) rotate(205deg) scale(0.62);
}

.cdxx-cod-variant-modal__close:active::after {
  transform: translate(-50%, -50%) rotate(115deg) scale(0.62);
}

.cdxx-cod-variant-modal__close:focus-visible {
  outline: 2px solid rgba(196, 181, 253, 0.78);
  outline-offset: 2px;
}

.cdxx-cod-variant-modal__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
}

.cdxx-cod-variant-modal__title {
  margin: 0.25rem 0 0.8rem;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--cdxx-box-font);
  font-weight: 700;
}

.cdxx-cod-variant-modal__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.cdxx-cod-variant-modal__option {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 1.1rem;
  min-height: 27.2rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  background:
    linear-gradient(160deg, rgba(76, 29, 149, 0.38), rgba(30, 18, 64, 0.55)),
    rgba(10, 8, 24, 0.78);
  color: #fff;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

.cdxx-cod-variant-modal__option-content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(88%, 360px);
}

.cdxx-cod-variant-modal__option-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

.cdxx-cod-variant-modal__option-video--blackops {
  transform: scaleX(-1);
}

.cdxx-cod-variant-modal__option:hover,
.cdxx-cod-variant-modal__option:focus-visible {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(205, 181, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(196, 167, 255, 0.52) inset,
    0 0 26px rgba(136, 90, 255, 0.32);
  filter: saturate(1.08);
}

.cdxx-cod-variant-modal__option:hover .cdxx-cod-variant-modal__option-video,
.cdxx-cod-variant-modal__option:focus-visible .cdxx-cod-variant-modal__option-video {
  transform: scale(1.04) scaleX(-1);
}

.cdxx-cod-variant-modal__option-name {
  display: block;
  font-family: var(--cdxx-box-font);
  font-weight: 700;
  font-size: clamp(1.32rem, 2.2vw, 1.8rem);
  line-height: 1.05;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.72),
    0 0 22px rgba(0, 0, 0, 0.48);
}

.cdxx-cod-variant-modal__option-sub {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.96rem;
  color: rgba(241, 236, 255, 0.94);
  font-family: var(--cdxx-box-font);
  font-weight: 700;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(0, 0, 0, 0.42);
}

@media (max-width: 640px) {
  .cdxx-cod-variant-modal__options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-cod-variant-modal__backdrop,
  .cdxx-cod-variant-modal__panel {
    transition: none;
  }

  .cdxx-cod-variant-modal__panel {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-guard-notice {
    transition: none;
    transform: translate3d(-50%, 0, 0);
  }

  .cdxx-guard-notice.cdxx-guard-notice--visible {
    transform: translate3d(-50%, 0, 0);
  }
}

html,
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  /* Full-page art — assets/bgoverall.jpg (bump ?v= when you replace the file). */
  background-color: #04020c;
  background-image: url("assets/bgoverall.jpg?v=1");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  padding-inline: var(--safe-left) var(--safe-right);
  padding-bottom: var(--safe-bottom);
  box-sizing: border-box;
  background-color: var(--bg);
  overflow-x: hidden;
  /* Long words/URLs at extreme zoom shouldn’t force horizontal scroll. */
  overflow-wrap: break-word;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Fade-in for main content + overlay only; header stays visible (script.js removes .cdxx-page-boot). */
.cdxx-page-fade {
  width: 100%;
  max-width: none;
  opacity: 1;
  /* Avoid translate3d(0,0,0) — identity transform creates a containing block and can pin fixed backgrounds. */
  transform: none;
  filter: none;
  transition:
    opacity 0.28s cubic-bezier(0.16, 1, 0.32, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.32, 1),
    filter 0.22s ease;
}

html.cdxx-page-boot .cdxx-page-fade {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(6px);
}

html.cdxx-returning .cdxx-page-fade,
html.cdxx-returning.cdxx-page-boot .cdxx-page-fade {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-page-fade {
    transition: none;
    transform: none;
    filter: none;
  }

  html.cdxx-page-boot .cdxx-page-fade {
    opacity: 1;
  }
}

/* Outgoing navigation: carousel center card → service page, category card links (script.js). */
@media (prefers-reduced-motion: no-preference) {
  html.cdxx-page-nav-out .cdxx-page-fade {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(0, -8px, 0);
    transition:
      opacity 0.12s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.12s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.12s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.cdxx-page-nav-out .cdxx-page-fade {
    opacity: 0;
    transition: none;
  }
}

/* Chat is appended to body — hide until reveal so it doesn’t appear during boot. */
.cdxx-chat-widget {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.32, 1) 0.06s,
    transform 0.72s cubic-bezier(0.16, 1, 0.32, 1) 0.06s;
}

html.cdxx-page-boot .cdxx-chat-widget {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-chat-widget {
    transition: none;
    transform: none;
  }

  html.cdxx-page-boot .cdxx-chat-widget {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Semi-transparent veil over the page background for readability (see index .bg-overlay). */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 3, 18, 0.42) 0%,
    rgba(4, 2, 14, 0.58) 45%,
    rgba(8, 4, 22, 0.48) 100%
  );
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding-bottom: clamp(2rem, 6vh, 4.5rem);
}

main:has(.cdxx-how-it-works:last-child),
main:has(.cdxx-why-choose:last-child),
main:has(.cdxx-trust:last-child),
main:has(.cdxx-faq:last-child) {
  padding-bottom: clamp(1rem, 2.5vh, 1.75rem);
}

.container {
  width: 100%;
  max-width: var(--cdxx-container-max);
  margin: 0 auto;
  padding-left: var(--cdxx-gutter-inline);
  padding-right: var(--cdxx-gutter-inline);
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-top: max(0.55rem, var(--safe-top));
  padding-inline: var(--safe-left) var(--safe-right);
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  pointer-events: none;
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  transition:
    padding-top var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    gap var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    background-color var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    -webkit-backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    box-shadow var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  padding: 0.2rem 3.75rem;
  margin: 0 auto;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(142, 94, 255, 0.42);
  background: rgba(10, 6, 24, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(159, 77, 255, 0.06) inset, 0 8px 18px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transition:
    min-height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    padding var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    background-color var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    border-color var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    -webkit-backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    box-shadow var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 83, 241, 0.34);
  background: rgba(11, 7, 26, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  color: #cfc2ff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  pointer-events: auto;
  transition:
    padding var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    gap var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    font-size var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    background-color var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    border-color var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    -webkit-backdrop-filter var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    box-shadow var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7dffb0;
  box-shadow: 0 0 8px rgba(125, 255, 176, 0.7);
  transition:
    width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.nav-left {
  justify-self: end;
  margin-right: 1.2rem;
  transition: margin-right var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.nav-right {
  justify-self: start;
  margin-left: 1.2rem;
  transition: margin-left var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.top-center-icon {
  position: static;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 0.85rem;
  --mx: 0px;
  --my: 0px;
  isolation: isolate;
  text-decoration: none;
  transition:
    width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    margin var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.top-center-icon::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(140, 76, 255, 0.36);
  filter: blur(12px);
  transform: translate(calc(var(--mx) * 0.28), calc(var(--my) * 0.28));
  /* No transform transition — parallax is driven every frame via --mx/--my (see script.js). */
  transition:
    opacity 200ms ease,
    width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.ring-outer {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f0ecff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(164, 120, 255, 0.28);
  transform: translate(calc(var(--mx) * 0.18), calc(var(--my) * 0.18)) scale(1);
  transition:
    box-shadow 180ms ease,
    width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
  position: relative;
  z-index: 1;
}

.ring-inner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 6px solid #5e22d8;
  background: #f2efff;
  transform: translate(calc(var(--mx) * 0.5), calc(var(--my) * 0.5)) scale(1);
  transition:
    width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    height var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    border-width var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

/* Scroll-compact navbar — html.cdxx-nav-scrolled toggled in script.js */
html.cdxx-nav-scrolled .site-header {
  padding-top: max(0.35rem, var(--safe-top));
  gap: 0.12rem;
  background: rgba(4, 2, 14, 0.58);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html.cdxx-nav-scrolled .nav-wrap {
  min-height: 42px;
  padding: 0.12rem 2.65rem;
  background: rgba(10, 6, 24, 0.78);
  border-color: rgba(142, 94, 255, 0.48);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.1) inset,
    0 6px 16px rgba(0, 0, 0, 0.32);
}

html.cdxx-nav-scrolled .nav-status {
  padding: 0.22rem 0.58rem;
  gap: 0.38rem;
  font-size: 0.75rem;
  background: rgba(11, 7, 26, 0.82);
  border-color: rgba(132, 83, 241, 0.42);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

html.cdxx-nav-scrolled .status-dot {
  width: 0.48rem;
  height: 0.48rem;
}

html.cdxx-nav-scrolled .nav-left {
  margin-right: 0.95rem;
}

html.cdxx-nav-scrolled .nav-right {
  margin-left: 0.95rem;
}

html.cdxx-nav-scrolled .top-center-icon {
  width: 54px;
  height: 54px;
  margin: 0 0.68rem;
}

html.cdxx-nav-scrolled .top-center-icon::before {
  width: 38px;
  height: 38px;
}

html.cdxx-nav-scrolled .ring-outer {
  width: 46px;
  height: 46px;
}

html.cdxx-nav-scrolled .ring-inner {
  width: 28px;
  height: 28px;
  border-width: 5px;
}

html.cdxx-nav-scrolled .nav-links {
  gap: 1.28rem;
}

html.cdxx-nav-scrolled .nav-links a {
  font-size: 0.94rem;
  padding-bottom: 0.38rem;
}

html.cdxx-nav-morph-lock .site-header,
html.cdxx-nav-morph-lock .nav-wrap,
html.cdxx-nav-morph-lock .nav-status,
html.cdxx-nav-morph-lock .nav-left,
html.cdxx-nav-morph-lock .nav-right,
html.cdxx-nav-morph-lock .top-center-icon,
html.cdxx-nav-morph-lock .top-center-icon::before,
html.cdxx-nav-morph-lock .ring-outer,
html.cdxx-nav-morph-lock .ring-inner,
html.cdxx-nav-morph-lock .status-dot,
html.cdxx-nav-morph-lock .nav-links,
html.cdxx-nav-morph-lock .nav-links a {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-wrap,
  .nav-status,
  .nav-left,
  .nav-right,
  .top-center-icon,
  .top-center-icon::before,
  .ring-outer,
  .ring-inner,
  .status-dot,
  .nav-links,
  .nav-links a {
    transition-duration: 0.01ms !important;
  }
}

.top-center-icon:hover .ring-outer {
  box-shadow: 0 0 20px rgba(164, 120, 255, 0.45);
}

.top-center-icon:hover::before {
  opacity: 0.62;
}

.top-center-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%) translateY(-3px);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(149, 92, 255, 0.35);
  background: rgba(8, 5, 21, 0.92);
  color: #d7c8ff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 3;
}

.top-center-icon:hover::after,
.top-center-icon:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.top-center-icon:hover .ring-inner {
  transform: translate(calc(var(--mx) * 0.56), calc(var(--my) * 0.56)) scale(1.04);
}

.nav-links {
  display: flex;
  gap: 1.65rem;
  transition: gap var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease);
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.46rem;
  transition:
    font-size var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    padding-bottom var(--cdxx-nav-morph-dur) var(--cdxx-nav-morph-ease),
    color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #ece7ff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #9a5bff;
  box-shadow: 0 0 10px rgba(154, 91, 255, 0.55);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 140ms ease;
  pointer-events: none;
}

.nav-links a:hover::after,
.nav-links a:active::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

/* First screen only: one full viewport tall/wide; scroll reveals content below (Services, etc.). */
.gaming-hero {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  min-height: var(--cdxx-hero-height);
  height: var(--cdxx-hero-height);
  margin-top: 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: none;
  /* Soft separator only — avoid a hard 1px line jumping when DevTools resizes 100dvh */
  box-shadow: inset 0 -1px 0 rgba(31, 18, 66, 0.45);
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.8;
  mix-blend-mode: normal;
  filter: blur(4px);
  transform: scale(1.06) translateY(-2%);
  transform-origin: center center;
  pointer-events: none;
}

.hero-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.8;
  filter: blur(4px);
  transform: scale(1.06) translateY(-2%);
  transform-origin: center center;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.88;
  background: #000;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: max(0px, env(safe-area-inset-top, 0px)) 1rem 0;
  padding-bottom: clamp(1rem, 4vh, 2.75rem);
  text-align: center;
}

/* CDXX Lobbies title — horizontally centered; vertically just under the fixed nav + “Services Online” cluster. */
.hero-brand-stack {
  position: relative;
  display: block;
  width: min(100%, 960px);
  max-width: 100%;
  margin: 0 auto;
  /* Slightly lower than flush-under-bar; not a big drop */
  margin-top: clamp(4.65rem, 9.6vh, 6.55rem);
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
  perspective-origin: 50% 42%;
}

/* Interactive logo: pointer tilt on .hero-brand-tilt; idle sway on .hero-brand-logo-island. */
.hero-brand-interactive {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: var(--cdxx-cursor-hover);
  position: relative;
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
}

/* Mouse layer — rotateX + translate only (never rotateY; island owns Y sway). */
.hero-brand-tilt {
  display: block;
  width: 100%;
  transform-style: preserve-3d;
  transform: perspective(900px)
    rotateX(var(--logo-rx, 0deg))
    translate3d(var(--logo-tx, 0px), var(--logo-ty, 0px), 0);
  will-change: transform;
}

.hero-brand-interactive:focus {
  outline: none;
}

.hero-brand-interactive:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.85);
  outline-offset: 6px;
  border-radius: 4px;
}

.hero-brand-ripple {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0.9;
  background: radial-gradient(
    circle,
    rgba(200, 160, 255, 0.55) 0%,
    rgba(110, 47, 255, 0.28) 38%,
    transparent 68%
  );
  box-shadow:
    0 0 28px rgba(159, 77, 255, 0.65),
    0 0 56px rgba(110, 47, 255, 0.35);
  animation: hero-brand-ripple-pulse 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-brand-ripple-pulse {
  to {
    transform: translate(-50%, -50%) scale(14);
    opacity: 0;
  }
}

/* CDXX Lobbies logo stack (base + holo duplicate). */
.hero-brand-logo-island {
  position: relative;
  display: block;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 0;
  overflow: visible;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}

.gaming-hero.cdxx-hero-holo-ready .hero-brand-logo-island {
  animation: hero-brand-logo-3d 3.8s ease-in-out infinite alternate;
}

/* Idle Y sway on inner island — ping-pong; no rotateX here (pointer tilt uses rotateX on wrapper). */
@keyframes hero-brand-logo-3d {
  0% {
    transform: rotateY(-10deg) translateZ(42px);
  }
  100% {
    transform: rotateY(10deg) translateZ(50px);
  }
}

.hero-brand {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
  margin-inline: auto;
  vertical-align: bottom;
}

/* Rotating hero taglines — lines stack absolutely; .is-active crossfades. */
.hero-tagline-rotate {
  position: relative;
  margin: clamp(-4.75rem, -15vw, -1.85rem) auto 0;
  min-height: 1.45em;
  width: 100%;
  max-width: min(100%, 38rem);
  margin-inline: auto;
  box-sizing: border-box;
  z-index: 3;
  isolation: isolate;
}

/* Dark veil behind taglines so they stay legible over the logo */
.hero-tagline-rotate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 112%;
  height: 220%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 38%,
    transparent 72%
  );
  filter: blur(6px);
}

.hero-tagline-rotate__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0 0.75rem;
  box-sizing: border-box;
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(0.72rem, 3.55vw, 1.45rem);
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: #f2ecff;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 1),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.9),
    0 8px 28px rgba(0, 0, 0, 0.82),
    0 0 36px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(159, 77, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out;
  z-index: 0;
}

.hero-tagline-rotate__line.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-tagline-rotate {
    min-height: 0;
  }

  .hero-tagline-rotate__line {
    transition: none;
  }

  .hero-tagline-rotate__line:not(.is-active) {
    display: none;
  }

  .hero-tagline-rotate__line.is-active {
    position: relative;
    opacity: 1;
  }
}

/* Solid black matte in the PNG — lighten lets it show the hero video instead of a flat box. */
.hero-brand--base {
  position: relative;
  opacity: 0.92;
  mix-blend-mode: lighten;
  backface-visibility: hidden;
  transform: translateZ(2px);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 28px rgba(124, 58, 237, 0.22));
}

/* Hologram duplicate — glitch runs when .gaming-hero gets .cdxx-hero-holo-ready (see script.js; never toggles <html>). */
.hero-brand--holo {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: lighten;
  filter: saturate(1.85) brightness(1.18) contrast(1.12);
  backface-visibility: hidden;
  transform: translateZ(4px);
}

.gaming-hero.cdxx-hero-holo-ready .hero-brand--holo {
  animation: hero-brand-holo 0.68s steps(10, end) 0.05s both;
}

/* Controlled burst while pointer / keyboard focus on the logo (does not replace load holo). */
.hero-brand-interactive:hover .hero-brand--holo,
.hero-brand-interactive:focus-visible .hero-brand--holo {
  animation: hero-brand-glitch-hover 0.48s steps(8, end) both;
}

@keyframes hero-brand-glitch-hover {
  0% {
    opacity: 0;
    transform: translateZ(0) scale(1) translateX(0) skewX(0deg);
  }
  12% {
    opacity: 0.52;
    transform: translateZ(48px) scale(1.03) translateX(8px) skewX(-5deg);
  }
  22% {
    opacity: 0.1;
    transform: translateZ(20px) translateX(-12px) skewX(4deg);
  }
  35% {
    opacity: 0.58;
    transform: translateZ(72px) scale(1.06) translateX(-8px) skewX(7deg);
  }
  48% {
    opacity: 0.2;
    transform: translateZ(44px) translateX(12px) skewX(-8deg);
  }
  62% {
    opacity: 0.42;
    transform: translateZ(56px) scale(1.04) translateX(4px);
  }
  78%,
  100% {
    opacity: 0;
    transform: translateZ(0) scale(1) translateX(0) skewX(0deg);
  }
}

@keyframes hero-brand-holo {
  0% {
    opacity: 0;
    transform: translateZ(0) scale(1) translateX(0) skewX(0deg);
  }
  7% {
    opacity: 0.45;
    transform: translateZ(28px) scale(1.02) translateX(10px) skewX(-6deg);
  }
  11% {
    opacity: 0.08;
    transform: translateZ(12px) translateX(-14px) skewX(4deg);
  }
  18% {
    opacity: 0.62;
    transform: translateZ(92px) scale(1.09) translateX(-12px) skewX(8deg);
  }
  22% {
    opacity: 0.18;
    transform: translateZ(64px) translateX(16px) skewX(-10deg);
  }
  29% {
    opacity: 0.55;
    transform: translateZ(108px) scale(1.1) translateX(6px) skewX(3deg);
  }
  33% {
    opacity: 0.25;
    transform: translateZ(88px) translateX(-18px) skewX(-5deg);
  }
  41% {
    opacity: 0.48;
    transform: translateZ(72px) scale(1.06) translateX(14px);
  }
  48% {
    opacity: 0.12;
    transform: translateZ(40px) translateX(-8px) skewX(6deg);
  }
  56% {
    opacity: 0.28;
    transform: translateZ(22px) scale(1.02) translateX(4px);
  }
  66% {
    opacity: 0.06;
    transform: translateZ(6px) translateX(-5px);
  }
  78%,
  100% {
    opacity: 0;
    transform: translateZ(0) scale(1) translateX(0) skewX(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-stack {
    margin-top: clamp(4.65rem, 9.6vh, 6.55rem);
  }

  .hero-brand-interactive,
  .hero-brand-tilt {
    transform: none !important;
  }

  .hero-brand-ripple {
    animation: none !important;
    opacity: 0 !important;
  }

  .hero-brand--holo,
  .gaming-hero.cdxx-hero-holo-ready .hero-brand--holo,
  .hero-brand-interactive:hover .hero-brand--holo,
  .hero-brand-interactive:focus-visible .hero-brand--holo {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .gaming-hero.cdxx-hero-holo-ready .hero-brand-logo-island {
    animation: none !important;
    transform: none !important;
  }
}


.eyebrow,
h1,
h2,
h3,
h4 {
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.045em;
}

.eyebrow {
  margin-top: 0;
  color: #8f63ff;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}

h1 span {
  color: #8f41ff;
}

.sub {
  color: var(--muted);
  max-width: 510px;
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(0.9rem, 2.4vh, 1.35rem);
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  max-width: min(92vw, 580px);
  touch-action: manipulation;
}

.hero-actions .btn {
  flex: 0 1 auto;
  justify-content: center;
  padding: 0.62rem 1.38rem;
  font-size: 0.92rem;
}

@media (max-width: 480px) {
  .hero-brand-stack {
    margin-top: clamp(4.75rem, 11.5vh, 6.25rem);
  }

  .hero-tagline-rotate {
    margin-top: clamp(-3.6rem, -13vw, -1.15rem);
  }

  .hero-tagline-rotate__line {
    padding-inline: 0.35rem;
    font-size: clamp(0.68rem, 3.85vw, 1.12rem);
    letter-spacing: 0.06em;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
    width: auto;
    padding: 0.54rem 1.08rem;
    font-size: 0.86rem;
  }
}

.service-categories-section {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  /* Tight to hero bottom border — no negative margin (stays below video). Bottom gap lives on the stage (reflection tail only). */
  padding: max(6px, 0.45rem) 0 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  /* Promote a discrete compositor layer above the hero without isolation (avoids flattening 3D carousel). */
  transform: translate3d(0, 0, 0);
}

/* Homepage carousel — compact block: title, carousel, CTA in one viewport rhythm. */
#services.service-categories-section {
  padding: clamp(84px, 9.5vh, 98px) 0 clamp(48px, 5.5vh, 64px);
  height: auto;
  min-height: 0;
}

#services .service-categories-inner {
  height: auto;
  min-height: 0;
}

#services .service-categories-head {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: clamp(-40px, -4.6vh, -30px) 0 clamp(20px, 2.4vh, 28px);
  padding-bottom: clamp(68px, 7.8vh, 86px);
}

#services .service-categories-head__glitch {
  transform: translateY(clamp(-10px, -1.1vh, -14px));
  padding: clamp(0.14rem, 0.75vw, 0.32rem) clamp(1.25rem, 4vw, 2.75rem)
    clamp(0.08rem, 0.45vw, 0.18rem);
}

#services .service-carousel-wrap {
  margin-top: clamp(-38px, -4.5vh, -28px);
  --cdxx-carousel-stage-pad-top: clamp(6px, 1vh, 12px);
  --cdxx-carousel-reflect-tail: clamp(22px, 3.5vh, 36px);
  --cdxx-carousel-reflect-reserve: clamp(3px, 0.55vh, 6px);
  --cdxx-card-reflect-fog-top-height: clamp(32px, 6.5vw, 56px);
  --cdxx-card-reflect-fog-height: clamp(36px, 6vw, 56px);
  --cdxx-view-all-gap: clamp(12px, 1.4vh, 18px);
  --cdxx-view-all-inset-bottom: calc(
    var(--cdxx-carousel-reflect-reserve) +
      var(--cdxx-carousel-reflect-tail) * 0.5 +
      var(--cdxx-card-reflect-fog-top-height) * 0.16 +
      var(--cdxx-view-all-gap) * 0.7
  );
}

.service-categories-atmosphere {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  background: transparent;
}

.service-categories-atmosphere::after {
  display: none;
}

.service-categories-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.service-categories-head {
  position: relative;
  z-index: 200;
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(36px, 5.5vh, 64px);
  padding: 0 16px;
  /* Same stack as body: avoids Orbitron swap on h2 (global h2 uses Orbitron + display=swap). */
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Glitch plate: type in upper half of the band; extra purple below (matches reference). */
.service-categories-head__glitch {
  position: relative;
  z-index: 0;
  display: inline-grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 0;
  margin-inline: auto;
  max-width: 100%;
  padding: clamp(0.28rem, 1.2vw, 0.5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(0.28rem, 1vw, 0.45rem);
  background-image: url("assets/glitch frame.png");
  background-repeat: no-repeat;
  background-position: center 52%;
  background-size: contain;
  box-sizing: border-box;
}

.service-categories-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(13px, 2.2vw, 16px);
  font-weight: 700;
  color: rgba(205, 192, 255, 0.92);
  text-shadow: 0 0 16px rgba(159, 77, 255, 0.4);
}

.service-categories-head__glitch h2,
.service-categories-head__glitch h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: clamp(28px, 5.5vw, 42px);
  line-height: 1.12;
  color: #fff;
  text-shadow:
    0 0 24px rgba(159, 77, 255, 0.58),
    0 0 48px rgba(110, 47, 255, 0.32),
    0 2px 12px rgba(0, 0, 0, 0.78);
}

/* In-page anchors — clear fixed header when scrolling from nav / hero CTAs */
#services,
.cdxx-how-it-works,
.cdxx-why-choose,
.cdxx-faq,
.cdxx-trust {
  scroll-margin-top: clamp(4.75rem, 10vh, 6.25rem);
}

.cdxx-carousel-swipe-hint {
  display: none;
}

.service-carousel-wrap {
  /*
   * Category cards — portrait ~1 : 1.48 (trading-card proportion). Tuned for 3D carousel + text.
   * Default ≈ 282×418px; focused center ≈ 290×426px. Phone uses vw caps; tablet / short-landscape scale down.
   */
  --cdxx-card-w: 282px;
  --cdxx-card-h: 418px;
  --cdxx-card-w-active: 290px;
  --cdxx-card-h-active: 426px;
  --cdxx-carousel-nav-outside: calc(var(--cdxx-card-w-active) / 2 + 128px);
  /*
   * Stage top padding (must match .carousel-stage padding-top). Nav uses it so arrows align to the
   * center card — not 50% of the whole tall stage (which sat them down by the CTA).
   */
  --cdxx-carousel-stage-pad-top: clamp(32px, 5.5vh, 72px);
  /* Matches script.js panelPositions["0"].y (center panel translateY). */
  --cdxx-carousel-panel-y-active: 44px;
  /* Vertical center of the focused card — nav arrows + swipe hint align here. */
  --cdxx-carousel-nav-y: calc(
    var(--cdxx-carousel-stage-pad-top) + var(--cdxx-carousel-panel-y-active) +
      var(--cdxx-card-h-active) * 0.5
  );
  /* Clear strip between card and mirror (WebKit: fog overlay + box-reflect; Firefox: ::after pool). */
  --cdxx-card-reflect-seam-gap: clamp(10px, 1.4vw, 18px);
  /* Purple fog band at the top of the mirror (hides the hard join with the real card). */
  --cdxx-card-reflect-fog-top-height: clamp(48px, 10vw, 96px);
  /* Taller band = fade reads farther down into the reflection before the bottom disappears. */
  --cdxx-card-reflect-fog-height: clamp(52px, 8vw, 88px);
  /* Mirror strength (luminance mask α × this; Firefox pool opacity × this). */
  --cdxx-card-reflect-mirror-strength: 0.35;
  /* Space under the 3D cards for mirror + purple fog (stage padding-bottom uses this). */
  /* Visible mirror fade (shorter than full ::after mask; avoids dead space under the pool). */
  --cdxx-carousel-reflect-tail: clamp(72px, 13vh, 128px);
  --cdxx-carousel-reflect-reserve: clamp(12px, 2vh, 20px);
  /* View-all CTA: centered on the mirror band (fog + tail under the cards). */
  --cdxx-view-all-inset-bottom: calc(
    var(--cdxx-carousel-reflect-reserve) + var(--cdxx-carousel-reflect-tail) +
      var(--cdxx-card-reflect-fog-top-height) * 0.48 + var(--cdxx-card-reflect-seam-gap) * 0.35
  );

  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  /* Start-aligned so the stage sits tight under the title (nav is absolute; tall min-height + center looked like a huge gap). */
  align-items: start;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Grid cell only — no fill, mask, or frame (carousel sits on the page background). */
.service-carousel-stage-col {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.carousel-stage.service-carousel-stage {
  position: relative;
  width: 100%;
  max-width: none;
  /* Enough for cards + under-card ground cue without excess dead space under the section title. */
  min-height: calc(
    var(--cdxx-carousel-stage-pad-top) + var(--cdxx-card-h-active) +
      var(--cdxx-carousel-panel-y-active) + var(--cdxx-card-reflect-seam-gap) +
      var(--cdxx-card-reflect-fog-top-height) + var(--cdxx-carousel-reflect-tail) +
      var(--cdxx-carousel-reflect-reserve)
  );
  height: auto;
  padding: var(--cdxx-carousel-stage-pad-top) 0 var(--cdxx-carousel-reflect-reserve);
  margin: 0;
  box-sizing: border-box;
  perspective: 1000px;
  /* Lower vanishing point keeps translateZ “pop” from growing up into the heading. */
  perspective-origin: 50% 62%;
  transform-style: preserve-3d;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  user-select: none;
  touch-action: pan-x;
}

/* Invisible until first layout; then smooth fade-in (parallel with card entrance). */
#service-carousel-track {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 1.05s cubic-bezier(0.33, 0, 0.32, 1),
    transform 1.05s cubic-bezier(0.33, 0, 0.32, 1);
  transform: translateY(10px);
  will-change: opacity, transform;
}

#service-carousel-track.carousel-layout-ready {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  #service-carousel-track {
    transition-duration: 0.01ms;
    transform: none;
  }

  #service-carousel-track.carousel-layout-ready {
    transform: none;
  }
}

/* No transition until first layout snaps (avoids “glitch” fly-in from default transform on refresh). */
#service-carousel-track .category-card {
  transition: none;
}

#service-carousel-track.carousel-anim-on .category-card {
  /* Do not transition filter — brightness tweens cause horizontal banding / chroma flash on some GPUs. */
  /* Omit box-shadow from transitions so the center snap glow animation isn’t overridden. */
  transition:
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
    width 480ms cubic-bezier(0.22, 1, 0.36, 1),
    height 480ms cubic-bezier(0.22, 1, 0.36, 1),
    min-width 480ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cdxx-card-w);
  min-width: var(--cdxx-card-w);
  height: var(--cdxx-card-h);
  margin: 0;
  border-radius: 12px;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.carousel-card-pivot.category-card {
  pointer-events: none;
  padding: 0;
  margin-left: calc(var(--cdxx-card-w) / -2);
  margin-top: 0;
  /* No hairline border — 1px rim + 3D tilt read as a hard bright edge on dark bg. */
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  cursor: var(--cdxx-cursor-hover);
}

/*
 * Structural `.card` hook (see index): face in `.category-card-float`; ground cue is CSS-only on the pivot.
 * Pivots stay `position: absolute` from `.category-card` (not `relative`) so carousel layout math holds;
 * `overflow: visible` keeps the floor layer from being clipped.
 */
#service-carousel-track .carousel-card-pivot.category-card.card {
  overflow: visible;
}

/* Disabled: extra layer could peek through subpixel gaps on 3D-rotated panels. */
.carousel-card-pivot.category-card::before {
  display: none;
  content: none;
}

.category-card-float {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  overflow: visible;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.carousel-card-pivot .service-carousel-card {
  pointer-events: auto;
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

/*
 * Energy gate (center card, carousel-anim-on): ~0.95s total
 * 1) Center seam flickers in + power-up (~0–27%)
 * 2) Short hold (~27–40%)
 * 3) Halves split + overlay fades + purple leak expands (40–100%)
 * 4) Float “pop” overlaps the end (delay 0.71s)
 */
.service-carousel-card-shade {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  /* Gate layers stay inside the card face; reflection lives on .category-card-float below. */
  clip-path: inset(-3px 0 0 0);
}

/* Center light leak — radial wash behind the two halves (no extra DOM). */
.service-carousel-card-shade::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 135%;
  height: 135%;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.12);
  transform-origin: center center;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(210, 175, 255, 0.42) 0%,
    rgba(150, 95, 235, 0.18) 38%,
    transparent 64%
  );
}

/* After gate animation, drop shade from the tree (see script.js .cdxx-gate-dismiss). */
.carousel-card-pivot.is-active.cdxx-gate-dismiss .service-carousel-card-shade {
  display: none;
}

/* Bleed past the top/side clip only — do not extend below the card or the mirror reads as “cut off”. */
.service-carousel-card-shade__half {
  position: absolute;
  top: -3px;
  bottom: 0;
  z-index: 1;
  width: calc(51% + 4px);
  height: auto;
  background: rgba(0, 0, 0, 0.7);
  transform: translateX(0);
  opacity: 1;
  will-change: transform, opacity;
}

.service-carousel-card-shade__half--left {
  left: -3px;
  /* Match .service-carousel-card border-radius (was 15px → hairline purple rim in 3D). */
  border-radius: 12px 0 0 12px;
}

.service-carousel-card-shade__half--right {
  right: -3px;
  border-radius: 0 12px 12px 0;
}

/* Center seam — soft violet core + blurred purple bloom (short power-up, then fades as gates run). */
.service-carousel-card-shade__seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-50%) scaleY(0.08) scaleX(1);
  transform-origin: center center;
  opacity: 0;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(190, 150, 255, 0) 12%,
    rgba(230, 200, 255, 0.95) 50%,
    rgba(190, 150, 255, 0) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 6px rgba(188, 140, 255, 0.9),
    0 0 16px rgba(150, 95, 240, 0.65),
    0 0 28px rgba(120, 70, 220, 0.35);
  filter: blur(0.6px);
}

/* Gate seam is center-card only; on side panels opacity:0 + blur/box-shadow still painted a bright vertical streak in some GPUs. */
.carousel-card-pivot:not(.is-active) .service-carousel-card-shade__seam {
  display: none !important;
}

/*
 * Side panels: one flat dim instead of left/right halves (avoids a tall “seam” where the two semi-transparent blocks meet in 3D).
 */
.carousel-card-pivot:not(.is-active) .service-carousel-card-shade {
  background: rgba(0, 0, 0, 0.4);
}

.carousel-card-pivot:not(.is-active) .service-carousel-card-shade__half--left,
.carousel-card-pivot:not(.is-active) .service-carousel-card-shade__half--right {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

#service-carousel-track:not(.carousel-anim-on) .service-carousel-card-shade__half {
  transition: none;
  animation: none;
}

#service-carousel-track:not(.carousel-anim-on) .carousel-card-pivot.is-active .service-carousel-card-shade__half--left {
  transform: translateX(-108%);
  opacity: 0;
}

#service-carousel-track:not(.carousel-anim-on) .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
  transform: translateX(108%);
  opacity: 0;
}

#service-carousel-track:not(.carousel-anim-on) .service-carousel-card-shade__seam {
  opacity: 0;
  animation: none;
  transform: translateX(-50%) scaleY(0.15) scaleX(1);
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot:not(.is-active) .service-carousel-card-shade__half {
  animation: none;
  transition: none;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot:not(.is-active) .service-carousel-card-shade__half--left,
#service-carousel-track.carousel-anim-on .carousel-card-pivot:not(.is-active) .service-carousel-card-shade__half--right {
  transform: translateX(0);
  opacity: 0;
  visibility: hidden;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot:not(.is-active) .service-carousel-card-shade__seam {
  animation: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
  opacity: 0;
  transform: translateX(-50%) scaleY(0.15) scaleX(1);
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--left {
  animation: cdxx-energy-gate-left 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: none;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
  animation: cdxx-energy-gate-right 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: none;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__seam {
  animation: cdxx-energy-gate-seam 0.95s cubic-bezier(0.25, 0.85, 0.35, 1) forwards;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade::before {
  animation: cdxx-energy-gate-leak 0.95s cubic-bezier(0.33, 1, 0.36, 1) forwards;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float {
  animation: cdxx-gate-reveal-pop 0.52s 0.68s both;
  transform-origin: center center;
}

/* Sealed → split: hold until ~48% (~0.2s after seam peak at ~27% on a 0.95s timeline). */
@keyframes cdxx-energy-gate-left {
  0%,
  48% {
    transform: translateX(0);
    opacity: 1;
  }
  58% {
    opacity: 0.82;
  }
  100% {
    transform: translateX(-108%);
    opacity: 0;
  }
}

@keyframes cdxx-energy-gate-right {
  0%,
  48% {
    transform: translateX(0);
    opacity: 1;
  }
  58% {
    opacity: 0.82;
  }
  100% {
    transform: translateX(108%);
    opacity: 0;
  }
}

/* ~0–27%: flicker + power-up; ~27–48%: seam holds; halves split at 48%; seam fades while gates travel. Blur is static on the element (not keyframed). */
@keyframes cdxx-energy-gate-seam {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.06) scaleX(0.9);
  }
  6% {
    opacity: 0.14;
  }
  9% {
    opacity: 0.04;
  }
  16% {
    opacity: 0.72;
    transform: translateX(-50%) scaleY(0.62) scaleX(1.05);
  }
  27% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1) scaleX(1);
  }
  42% {
    opacity: 0.92;
  }
  62% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(1) scaleX(1);
  }
}

@keyframes cdxx-energy-gate-leak {
  0%,
  48% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.12);
  }
  54% {
    opacity: 0.44;
    transform: translate(-50%, -50%) scale(0.68);
  }
  76% {
    opacity: 0.26;
    transform: translate(-50%, -50%) scale(1.04);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Longer ease + tiny late overshoot (per-segment curves) reads smoother than a short snap to 1.054. */
@keyframes cdxx-gate-reveal-pop {
  0% {
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.25, 0.06, 0.2, 1);
  }
  78% {
    transform: scale(1.032);
    animation-timing-function: cubic-bezier(0.33, 0.94, 0.44, 1);
  }
  100% {
    transform: scale(1.028);
  }
}

/*
 * Rim fade: many small steps + same shadow layer count throughout (outers go to alpha 0)
 * so browsers interpolate smoothly; per-step timing eases the middle and slows the tail.
 */
@keyframes cdxx-center-card-rim-fade {
  0% {
    box-shadow:
      0 0 0 2px rgba(210, 165, 255, 0.98),
      0 0 28px rgba(175, 105, 255, 0.55),
      0 0 52px rgba(130, 75, 240, 0.22),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.33, 0, 0.18, 1);
  }
  18% {
    box-shadow:
      0 0 0 2px rgba(210, 165, 255, 0.88),
      0 0 26px rgba(175, 105, 255, 0.46),
      0 0 48px rgba(130, 75, 240, 0.18),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.25, 0, 0.2, 1);
  }
  34% {
    box-shadow:
      0 0 0 2px rgba(210, 165, 255, 0.68),
      0 0 24px rgba(175, 105, 255, 0.34),
      0 0 44px rgba(130, 75, 240, 0.13),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.22, 0, 0.22, 1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(210, 165, 255, 0.48),
      0 0 20px rgba(175, 105, 255, 0.22),
      0 0 38px rgba(130, 75, 240, 0.09),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.2, 0, 0.25, 1);
  }
  64% {
    box-shadow:
      0 0 0 1px rgba(210, 165, 255, 0.3),
      0 0 17px rgba(175, 105, 255, 0.14),
      0 0 32px rgba(130, 75, 240, 0.055),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.18, 0, 0.3, 1);
  }
  78% {
    box-shadow:
      0 0 0 1px rgba(210, 165, 255, 0.14),
      0 0 13px rgba(175, 105, 255, 0.07),
      0 0 26px rgba(130, 75, 240, 0.028),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.12, 0, 0.45, 1);
  }
  90% {
    box-shadow:
      0 0 0 1px rgba(210, 165, 255, 0.04),
      0 0 9px rgba(175, 105, 255, 0.03),
      0 0 18px rgba(130, 75, 240, 0.012),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
    animation-timing-function: cubic-bezier(0.08, 0, 0.55, 1);
  }
  100% {
    box-shadow:
      0 0 0 2px rgba(210, 165, 255, 0),
      0 0 28px rgba(175, 105, 255, 0),
      0 0 52px rgba(130, 75, 240, 0),
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22);
  }
}

@keyframes cdxx-gate-overlay-fade {
  0%,
  46% {
    opacity: 1;
  }
  62% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
  }
}

/* With carousel motion: hold violet bloom until float pop (~0.68s), then drop glow. */
@keyframes cdxx-gate-pivot-glow-out {
  0%,
  56.67% {
    box-shadow:
      0 0 12px rgba(168, 110, 245, 0.14),
      0 0 22px rgba(168, 85, 247, 0.12),
      0 0 36px rgba(142, 94, 255, 0.1),
      0 10px 28px rgba(0, 0, 0, 0.42);
    animation-timing-function: cubic-bezier(0.33, 1, 0.36, 1);
  }
  100% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  }
}

/* Real card face stacks above mirror + fog (reflectionLayer / reflectionFog below). */
#service-carousel-track .carousel-card-pivot .category-card-float.card-content {
  position: relative;
  z-index: 2;
}

/*
 * Reflection host (.category-card-float ≈ reflectionLayer):
 * - Blink/WebKit: `-webkit-box-reflect` with low luminance (dark, subtle mirror).
 * - ::after ≈ reflectionFog: dark purple/black only — no white, no backdrop-filter.
 */
@supports (-webkit-box-reflect: below 0) {
  html:not(.cdxx-perf-calm) #service-carousel-track .carousel-card-pivot.category-card::after {
    content: none;
    display: none;
  }

  /*
   * Luminance mask on the mirror only (not a visible layer). Low α = dark subtle reflection.
   * WebKit uses mask opacity, not paint color — keep stops ≤ 0.32 so it never reads as a white patch.
   */
  html:not(.cdxx-perf-calm) #service-carousel-track .carousel-card-pivot .category-card-float.card-content {
    -webkit-box-reflect: below calc(var(--cdxx-card-reflect-seam-gap) + clamp(-288px, -34vw, -156px))
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.06) 12%,
        rgba(0, 0, 0, 0.18) 28%,
        rgba(0, 0, 0, 0.3) 48%,
        rgba(0, 0, 0, 0.26) 65%,
        rgba(0, 0, 0, 0.1) 86%,
        rgba(0, 0, 0, 0) 100%
      );
  }

  html:not(.cdxx-perf-calm) #service-carousel-track .carousel-card-pivot:not(.is-active) .category-card-float.card-content {
    -webkit-box-reflect: below calc(var(--cdxx-card-reflect-seam-gap) + clamp(-288px, -34vw, -156px))
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.04) 14%,
        rgba(0, 0, 0, 0.14) 32%,
        rgba(0, 0, 0, 0.22) 52%,
        rgba(0, 0, 0, 0.08) 78%,
        rgba(0, 0, 0, 0) 100%
      );
  }

  /* Dark fog on the mirror only — hides the hard join with the real card (no bright haze). */
  html:not(.cdxx-perf-calm) #service-carousel-track .carousel-card-pivot .category-card-float.card-content::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: min(118%, calc(100% + 32px));
    height: calc(var(--cdxx-card-reflect-fog-top-height) + clamp(110px, 22vh, 200px));
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
    border: none;
    box-shadow: none;
    background: linear-gradient(
      180deg,
      rgba(5, 0, 12, 0.96) 0%,
      rgba(18, 0, 40, 0.78) 18%,
      rgba(12, 4, 28, 0.42) 38%,
      rgba(8, 2, 18, 0.14) 58%,
      transparent 80%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 12%,
      rgba(0, 0, 0, 0.55) 35%,
      rgba(0, 0, 0, 0.45) 65%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 12%,
      rgba(0, 0, 0, 0.55) 35%,
      rgba(0, 0, 0, 0.45) 65%,
      transparent 100%
    );
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
  }

  html:not(.cdxx-perf-calm) #service-carousel-track .carousel-card-pivot:not(.is-active) .category-card-float.card-content::after {
    opacity: 0.82;
  }
}

@supports not (-webkit-box-reflect: below 0) {
  #service-carousel-track .carousel-card-pivot.category-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 116%;
    height: calc(var(--cdxx-card-reflect-fog-top-height) + clamp(48px, 18%, 100px));
    transform: translate(-50%, calc(var(--cdxx-card-reflect-seam-gap) + clamp(-172px, -22vw, -96px)))
      scaleY(0.46);
    transform-origin: center top;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: calc(0.38 * var(--cdxx-card-reflect-mirror-strength));
    background:
      linear-gradient(
        180deg,
        rgba(5, 0, 12, 0.92) 0%,
        rgba(18, 0, 40, 0.65) 22%,
        rgba(10, 6, 22, 0.48) 42%,
        rgba(10, 6, 22, 0.38) 62%,
        rgba(8, 4, 18, 0.12) 82%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 74% 92% at 50% 0%,
        rgba(48, 18, 88, 0.18) 0%,
        rgba(22, 8, 42, 0.08) 54%,
        transparent 80%
      );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 12%,
      rgba(0, 0, 0, 0.65) 35%,
      rgba(0, 0, 0, 0.55) 65%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 12%,
      rgba(0, 0, 0, 0.65) 35%,
      rgba(0, 0, 0, 0.55) 65%,
      transparent 100%
    );
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
  }

  .carousel-card-pivot:not(.is-active).category-card::after {
    opacity: calc(0.34 * var(--cdxx-card-reflect-mirror-strength));
  }
}

html.cdxx-perf-calm #service-carousel-track .carousel-card-pivot.category-card::after,
html.cdxx-perf-calm #service-carousel-track .carousel-card-pivot .category-card-float.card-content::after {
  content: none;
  display: none;
}

.category-card.is-active {
  width: var(--cdxx-card-w-active);
  min-width: var(--cdxx-card-w-active);
  height: var(--cdxx-card-h-active);
  /* Tighter bloom than wide 58–64px halos so the rim reads sharper. */
  box-shadow:
    0 0 12px rgba(168, 110, 245, 0.14),
    0 0 24px rgba(168, 85, 247, 0.12),
    0 0 38px rgba(142, 94, 255, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.5);
}

.carousel-card-pivot.category-card.is-active {
  margin-left: calc(var(--cdxx-card-w-active) / -2);
  margin-top: 0;
  border: none;
  box-shadow:
    0 0 12px rgba(168, 110, 245, 0.14),
    0 0 22px rgba(168, 85, 247, 0.12),
    0 0 36px rgba(142, 94, 255, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.42);
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.category-card.is-active {
  animation: cdxx-gate-pivot-glow-out 1.2s forwards;
}

.carousel-stage .carousel-card-pivot.category-card {
  z-index: 1;
}

.service-carousel-card {
  --carousel-card-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* Slightly overscale art so baked-in light fringe on assets/card form.png clips inside the radius. */
  --carousel-card-art-scale: 112%;
  padding: 0.65rem 0.75rem 0.72rem;
  border-radius: 12px;
  border: 0;
  text-align: left;
  cursor: var(--cdxx-cursor-hover);
  font: inherit;
  color: #f3ecff;
  overflow: hidden;
  position: relative;
  display: block;
  background:
    var(--carousel-card-scrim),
    url("assets/card form.png"),
    linear-gradient(180deg, rgba(10, 8, 18, 0.65), rgba(6, 4, 14, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(174, 96, 255, 0.35), transparent 62%),
    linear-gradient(165deg, #1a1232 0%, #0c0818 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover, cover;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  /* Dark inner veil hides PNG rim; replaces the old light hairline inset. */
  box-shadow:
    inset 0 0 0 2px rgba(4, 2, 12, 0.94),
    inset 0 0 16px rgba(0, 0, 0, 0.38);
  -webkit-tap-highlight-color: transparent;
}

/* Per-panel accent (reference-style varied selectors; same art, different neon wash). */
.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="cod"] {
  background:
    var(--carousel-card-scrim),
    url("assets/CALL OF DUTY BLACKOPS7 CARD.png"),
    radial-gradient(circle at 40% 15%, rgba(80, 200, 255, 0.22), transparent 55%),
    linear-gradient(165deg, #142238 0%, #0a1018 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="accounts"] {
  background:
    var(--carousel-card-scrim),
    url("assets/ACCOUNTS CARD.png"),
    radial-gradient(circle at 55% 12%, rgba(255, 200, 120, 0.18), transparent 50%),
    linear-gradient(165deg, #281a32 0%, #100818 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="arc-raiders"] {
  /* Custom art in the same layer stack as other cards (no ::before + mask — avoids vertical “sliver” compositor bugs in some browsers). */
  background:
    var(--carousel-card-scrim),
    url("assets/ARC RAIDERS CARD.png"),
    radial-gradient(circle at 48% 18%, rgba(180, 255, 200, 0.12), transparent 52%),
    linear-gradient(165deg, #122018 0%, #080c10 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="apex"] {
  /* Custom art: same stack as Arc Raiders (no mask) to avoid compositor sliver issues. */
  background:
    var(--carousel-card-scrim),
    url("assets/APEX LEGENDS CARD.png"),
    radial-gradient(circle at 50% 10%, rgba(255, 80, 80, 0.15), transparent 48%),
    linear-gradient(165deg, #281018 0%, #120808 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="borderlands-4"] {
  /* Custom art: same stack as Arc Raiders / Apex (no mask). */
  background:
    var(--carousel-card-scrim),
    url("assets/BORDERLANDS4 CARD.png"),
    radial-gradient(circle at 45% 14%, rgba(255, 220, 60, 0.2), transparent 50%),
    linear-gradient(165deg, #2a2210 0%, #100c08 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="dying-light-beast"] {
  background:
    var(--carousel-card-scrim),
    url("assets/DYING LIGHT CARD.png"),
    radial-gradient(circle at 50% 12%, rgba(120, 200, 100, 0.14), transparent 52%),
    linear-gradient(165deg, #142016 0%, #080c08 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="helldivers-2"] {
  background:
    var(--carousel-card-scrim),
    url("assets/HELLDIVERS2 CARD.png"),
    radial-gradient(circle at 48% 12%, rgba(255, 220, 100, 0.16), transparent 50%),
    linear-gradient(165deg, #282010 0%, #100c06 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="wonderlands"] {
  background:
    var(--carousel-card-scrim),
    url("assets/TINNY TINNAS CARD.png"),
    radial-gradient(circle at 52% 14%, rgba(255, 120, 200, 0.18), transparent 52%),
    linear-gradient(165deg, #281028 0%, #100818 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="battlefield-6"] {
  background:
    var(--carousel-card-scrim),
    url("assets/BATTLEFIELD 6CARD.png"),
    radial-gradient(circle at 50% 10%, rgba(160, 200, 255, 0.16), transparent 50%),
    linear-gradient(165deg, #101c28 0%, #080c14 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="level-up"] {
  background:
    var(--carousel-card-scrim),
    url("assets/FORZA HORIZON6.png"),
    radial-gradient(circle at 48% 12%, rgba(180, 140, 255, 0.22), transparent 52%),
    linear-gradient(165deg, #1c1430 0%, #0c0818 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.service-carousel-card:not(.cdxx-carousel-cms-managed)[data-category="software-business"] {
  background:
    var(--carousel-card-scrim),
    url("assets/SOFTWARE CARD.png"),
    radial-gradient(circle at 50% 12%, rgba(100, 220, 255, 0.14), transparent 52%),
    linear-gradient(165deg, #101828 0%, #060c14 100%);
  background-size: cover, var(--carousel-card-art-scale) var(--carousel-card-art-scale), cover, cover;
  background-position: center, center, center, center;
}

.carousel-card-pivot:not(.is-active) .category-card-float .service-carousel-card {
  filter: none;
  transform: none;
  transition: padding-bottom 0.45s ease;
  /* Drop the 2px inset ring on side cards — with rotateY it reads as a persistent purple edge. */
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.42);
}

/*
 * Center card: avoid filter + inner scale on the face — both re-rasterize text/CTA and read blurry/dim.
 * “Unlocked” pop comes from pivot transform scale (script.js) + brighter type below.
 */
.carousel-card-pivot.is-active .category-card-float .service-carousel-card {
  --carousel-card-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.16) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  filter: none;
  transform: none;
  /* Bold rim until pop; motion path fades it via cdxx-center-card-rim-fade (see below). */
  box-shadow:
    0 0 0 2px rgba(210, 165, 255, 0.98),
    0 0 28px rgba(175, 105, 255, 0.55),
    0 0 52px rgba(130, 75, 240, 0.22),
    inset 0 0 0 2px rgba(4, 2, 12, 0.88),
    inset 0 0 20px rgba(0, 0, 0, 0.22);
  padding-bottom: 2.85rem;
  transition: box-shadow 0.45s ease, padding-bottom 0.45s ease;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
  animation: cdxx-center-card-rim-fade 1.55s ease-out forwards;
  animation-delay: 0.68s;
}

/* Locked (side) cards — softer type */
.carousel-card-pivot:not(.is-active) .category-card-float .service-carousel-card .service-carousel-card-tag {
  color: rgba(198, 186, 228, 0.52);
  text-shadow: none;
  transition: color 0.4s ease;
}

.carousel-card-pivot:not(.is-active) .category-card-float .service-carousel-card .service-carousel-card-title {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.045em;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.12);
  transition:
    color 0.4s ease,
    letter-spacing 0.45s ease,
    text-shadow 0.45s ease;
}

/* Unlocked (center) — crisp, bright type */
.carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-tag {
  color: rgba(248, 242, 255, 0.96);
  letter-spacing: 0.11em;
  text-shadow: 0 0 10px rgba(210, 180, 255, 0.4);
  transition: color 0.45s ease 0.15s, letter-spacing 0.45s ease, text-shadow 0.45s ease;
}

.carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-title {
  color: #fff;
  letter-spacing: 0.028em;
  text-rendering: geometricPrecision;
  /* Lighter halo, weaker black drop — heavy shadow was reading as muddy/dark next to the gate */
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(168, 85, 247, 0.32),
    0 1px 2px rgba(0, 0, 0, 0.45);
  transition:
    color 0.45s ease 0.15s,
    letter-spacing 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.5s ease;
}

/* Unlocked: type + CTA sit ABOVE the gate layer (z5). Side cards keep z4 so the dim veil still covers text. */
.carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-tag,
.carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-title {
  z-index: 8;
}

/* Center: vignette clears after the gate (instant when not animating layout). */
#service-carousel-track:not(.carousel-anim-on) .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-overlay {
  opacity: 0;
}

#service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-overlay {
  animation: cdxx-gate-overlay-fade 0.95s cubic-bezier(0.33, 1, 0.36, 1) forwards;
}

.service-carousel-card:focus-visible {
  outline: 2px solid rgba(180, 120, 255, 0.85);
  outline-offset: 2px;
}

.carousel-card-pivot.is-far .service-carousel-card {
  pointer-events: none;
  visibility: hidden;
}

/* Fully remove far panels from paint (opacity 0 alone can still leave a 1px compositor streak in 3D). */
.carousel-card-pivot.category-card.is-far {
  visibility: hidden;
}

.service-carousel-card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.service-carousel-card-tag {
  position: absolute;
  top: auto;
  /* Eyebrow sits above the CTA band (same vertical region as before), centered. */
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  box-sizing: border-box;
  width: calc(100% - 1.3rem);
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 214, 255, 0.72);
  font-family: var(--cdxx-box-font);
  font-weight: 700;
}

.service-carousel-card-title {
  position: absolute;
  left: 50%;
  top: 0.65rem;
  transform: translateX(-50%);
  z-index: 8;
  box-sizing: border-box;
  width: calc(100% - 1.3rem);
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--cdxx-box-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.22);
}

.service-carousel-card-count {
  display: none;
}

/* Center card only — clear conversion CTA (whole card remains one <button>; tap focused card scrolls to #services). */
.service-carousel-card-cta {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 9;
  display: block;
  box-sizing: border-box;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--cdxx-box-font);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-bright) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Outer violet glow only on :hover / focus-visible (see .is-active rules). */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    visibility 0s linear 0.5s;
}

.carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.48s,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.44s,
    box-shadow 0.22s ease,
    visibility 0s linear 0s;
}

@media (hover: hover) {
  .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-cta:hover {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.1),
      0 2px 14px rgba(122, 51, 255, 0.2),
      0 0 22px rgba(168, 110, 255, 0.2);
  }
}

.carousel-card-pivot.is-active .category-card-float .service-carousel-card:focus-visible .service-carousel-card-cta {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 2px 14px rgba(122, 51, 255, 0.2),
    0 0 22px rgba(168, 110, 255, 0.2);
}

.carousel-card-pivot:not(.is-active) .category-card-float .service-carousel-card .service-carousel-card-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.2s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s;
}

@keyframes cdxx-carousel-nav-sweep {
  0% {
    transform: translate3d(-95%, 0, 0) rotate(-16deg) scaleY(1.05);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate3d(195%, 0, 0) rotate(-16deg) scaleY(1.05);
    opacity: 0;
  }
}

.service-carousel-nav {
  position: absolute;
  /* Center on the active card: stage pad + panel translateY + half card height. */
  top: var(--cdxx-carousel-nav-y);
  transform: translateY(-50%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 20;
  /* 30% smaller than prior 125×61 (70% scale). */
  width: 88px;
  height: 43px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: var(--cdxx-cursor-hover);
  /* Match light-sweep duration so the nudge feels like one motion. */
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.36, 1);
  overflow: hidden;
  border-radius: 6px;
}

.service-carousel-nav::after {
  content: "";
  position: absolute;
  top: -15%;
  left: -50%;
  width: 55%;
  height: 130%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    102deg,
    rgba(255, 255, 255, 0) 36%,
    rgba(255, 252, 255, 0.12) 50%,
    rgba(240, 230, 255, 0.08) 52%,
    rgba(255, 255, 255, 0) 68%
  );
  opacity: 0;
  transform: translate3d(-95%, 0, 0) rotate(-16deg) scaleY(1.05);
}

.service-carousel-nav__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.2s ease;
}

.service-carousel-nav__icon--mirror {
  transform: translateZ(0) scaleX(-1);
}

.service-carousel-nav--prev {
  left: max(4px, calc(50% - var(--cdxx-carousel-nav-outside)));
}

.service-carousel-nav--next {
  right: max(4px, calc(50% - var(--cdxx-carousel-nav-outside)));
}

/* Only the hovered control moves (prev ← / next →), timed with its own sweep. */
.service-carousel-nav.service-carousel-nav--prev:hover {
  transform: translateY(-50%) translateX(-10px) scale(1.06);
}

.service-carousel-nav.service-carousel-nav--next:hover {
  transform: translateY(-50%) translateX(10px) scale(1.06);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* No animation-fill forwards — avoids a stuck compositor “frame” after the sweep. */
  .service-carousel-nav:hover::after {
    animation: cdxx-carousel-nav-sweep 0.4s ease-out;
  }
}

.service-carousel-nav:focus-visible {
  outline: 2px solid rgba(180, 120, 255, 0.85);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .service-carousel-nav::after {
    display: none;
  }
}

@media (max-width: 640px) {
  #services.service-categories-section {
    padding: clamp(80px, 16vh, 96px) 0 clamp(44px, 8vh, 64px);
  }

  #services .service-categories-head {
    align-items: flex-start;
    margin-top: clamp(-38px, -8.5vw, -26px);
    margin-bottom: clamp(16px, 3.8vw, 24px);
    padding-bottom: clamp(64px, 14vw, 86px);
  }

  #services .service-categories-head__glitch {
    transform: translateY(clamp(-8px, -1.8vw, -12px));
  }

  #services .service-carousel-wrap {
    margin-top: clamp(-28px, -6.5vw, -18px);
    --cdxx-carousel-stage-pad-top: clamp(4px, 1vh, 10px);
    --cdxx-carousel-reflect-tail: clamp(24px, 6vw, 40px);
    --cdxx-carousel-reflect-reserve: clamp(4px, 0.8vh, 7px);
    --cdxx-card-reflect-fog-top-height: clamp(28px, 8vw, 48px);
    --cdxx-card-reflect-fog-height: clamp(30px, 7vw, 48px);
    --cdxx-view-all-gap: clamp(10px, 2.8vw, 16px);
    --cdxx-view-all-inset-bottom: calc(
      var(--cdxx-carousel-reflect-reserve) +
        var(--cdxx-carousel-reflect-tail) * 0.48 +
        var(--cdxx-card-reflect-fog-top-height) * 0.14 +
        var(--cdxx-view-all-gap) * 0.65
    );
  }

  .service-categories-section {
    padding: max(5px, 0.4rem) 0 0;
  }

  .service-carousel-wrap {
    --cdxx-carousel-reflect-reserve: clamp(10px, 1.8vh, 16px);
    --cdxx-card-w: min(72vw, 236px);
    --cdxx-card-h: 352px;
    --cdxx-card-w-active: min(76vw, 244px);
    --cdxx-card-h-active: 360px;
    --cdxx-carousel-nav-outside: calc(var(--cdxx-card-w-active) / 2 + 128px);
    --cdxx-carousel-stage-pad-top: clamp(26px, 5vh, 52px);
    --cdxx-carousel-panel-y-active: 40px;
  }

  .service-carousel-nav {
    display: none;
  }

  .carousel-stage.service-carousel-stage {
    min-height: calc(
      var(--cdxx-carousel-stage-pad-top) + var(--cdxx-card-h-active) +
        var(--cdxx-carousel-panel-y-active) + var(--cdxx-card-reflect-seam-gap) +
        var(--cdxx-card-reflect-fog-top-height) + var(--cdxx-carousel-reflect-tail) +
        var(--cdxx-carousel-reflect-reserve)
    );
    height: auto;
    padding: var(--cdxx-carousel-stage-pad-top) 0 var(--cdxx-carousel-reflect-reserve);
    perspective: 920px;
    perspective-origin: 50% 58%;
  }

  .service-carousel-card-tag {
    bottom: 2.95rem;
    font-size: 11px;
  }

  .service-carousel-card-title {
    top: 0.52rem;
    font-size: 13px;
  }

  .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
    padding-bottom: 2.55rem;
  }

  .service-carousel-card-cta {
    font-size: 0.66rem;
    padding: 0.34rem 0.42rem;
    letter-spacing: 0.07em;
  }
}

/* Phone or tablet turned sideways — not much vertical space; compact hero + carousel. */
@media (orientation: landscape) and (max-height: 520px) {
  .site-header {
    gap: 0.14rem;
    padding-top: max(0.35rem, var(--safe-top));
  }

  .nav-status {
    font-size: 0.68rem;
    padding: 0.14rem 0.4rem;
  }

  .gaming-hero {
    min-height: clamp(380px, 92vh, 460px);
    height: auto;
  }

  .hero-content {
    min-height: clamp(380px, 92vh, 460px);
    height: auto;
  }

  .hero-brand-stack {
    margin-top: clamp(4.45rem, 9.5vh, 5.75rem);
  }

  .hero-tagline-rotate {
    margin-top: clamp(-3rem, -12vw, -1rem);
  }

  .hero-tagline-rotate__line {
    font-size: clamp(0.64rem, 3.25vw, 1.06rem);
    letter-spacing: 0.065em;
  }

  .hero-content {
    padding: 0 0.75rem;
    padding-bottom: clamp(0.5rem, 3vh, 1.25rem);
  }

  .hero-actions {
    gap: 0.5rem;
    margin-top: clamp(0.65rem, 2vh, 1rem);
  }

  .hero-actions .btn {
    padding: 0.52rem 1.18rem;
    font-size: 0.86rem;
  }

  .service-carousel-wrap {
    --cdxx-card-w: min(40vw, 220px);
    --cdxx-card-h: 300px;
    --cdxx-card-w-active: min(42vw, 228px);
    --cdxx-card-h-active: 308px;
    --cdxx-carousel-nav-outside: calc(var(--cdxx-card-w-active) / 2 + 112px);
    --cdxx-carousel-stage-pad-top: clamp(22px, 4.5vh, 40px);
    --cdxx-carousel-panel-y-active: 38px;
  }

  .carousel-stage.service-carousel-stage {
    min-height: calc(
      var(--cdxx-carousel-stage-pad-top) + var(--cdxx-card-h-active) +
        var(--cdxx-carousel-panel-y-active) + var(--cdxx-card-reflect-seam-gap) +
        var(--cdxx-card-reflect-fog-top-height) + var(--cdxx-carousel-reflect-tail) +
        var(--cdxx-carousel-reflect-reserve)
    );
    height: auto;
    padding: var(--cdxx-carousel-stage-pad-top) 0 var(--cdxx-carousel-reflect-reserve);
    perspective-origin: 50% 56%;
  }

  .service-categories-section {
    padding: max(4px, 0.35rem) 0 0;
  }

  #services.service-categories-section {
    padding: clamp(72px, 14vh, 92px) 0 clamp(40px, 7vh, 60px);
  }

  #services .service-carousel-wrap {
    --cdxx-carousel-stage-pad-top: clamp(4px, 0.9vh, 10px);
    --cdxx-carousel-reflect-tail: clamp(22px, 5vh, 36px);
    --cdxx-card-reflect-fog-top-height: clamp(26px, 6vw, 44px);
    --cdxx-view-all-gap: clamp(10px, 2vh, 16px);
    --cdxx-view-all-inset-bottom: calc(
      var(--cdxx-carousel-reflect-reserve) +
        var(--cdxx-carousel-reflect-tail) * 0.46 +
        var(--cdxx-card-reflect-fog-top-height) * 0.14 +
        var(--cdxx-view-all-gap) * 0.65
    );
  }

  .service-carousel-wrap {
    --cdxx-carousel-reflect-reserve: clamp(10px, 1.8vh, 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-carousel-card,
  .category-card,
  .service-carousel-card-shade__half,
  .service-carousel-card-shade__seam {
    transition-duration: 0.01ms !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--left,
  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
    animation: none !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__seam {
    animation: none !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade::before {
    animation: none !important;
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0.12) !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float {
    animation: none !important;
    transform: none !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-overlay {
    animation: none !important;
    opacity: 0 !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.category-card.is-active {
    animation: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42) !important;
  }

  #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
    animation: none !important;
  }

  .carousel-card-pivot.is-active.cdxx-gate-dismiss .category-card-float .service-carousel-card {
    box-shadow:
      inset 0 0 0 2px rgba(4, 2, 12, 0.88),
      inset 0 0 20px rgba(0, 0, 0, 0.22) !important;
  }

  .carousel-card-pivot.is-active .service-carousel-card-shade__half--left {
    transform: translateX(-108%);
    opacity: 0;
  }

  .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
    transform: translateX(108%);
    opacity: 0;
  }

  .carousel-card-pivot.is-active .service-carousel-card-shade__seam {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.15) scaleX(1);
    filter: none;
  }

  .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
    transition-delay: 0s !important;
  }

  .service-carousel-card-cta,
  .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-cta {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.btn {
  text-decoration: none;
  border-radius: 9px;
  padding: 0.7rem 1.18rem;
  border: 1px solid transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn.primary,
.btn.small {
  background: linear-gradient(90deg, var(--purple) 0, var(--purple-bright) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 20px rgba(122, 51, 255, 0.4);
}

.btn.ghost {
  border-color: #392264;
  background: #130b28;
}

/* Hero CTAs — split hover: label slides; icon fades in (Idea C). */
.hero-actions .cdxx-btn-split-hover {
  position: relative;
  overflow: hidden;
}

.hero-actions .cdxx-btn-split-hover__track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-actions .cdxx-btn-split-hover__label {
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.hero-actions .cdxx-btn-split-hover__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: content-box;
  width: 0;
  min-width: 0;
  height: 1.15em;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(10px) scale(0.88);
  transition:
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    margin-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-actions .cdxx-btn-split-hover__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-actions .cdxx-btn-split-hover:hover .cdxx-btn-split-hover__label,
.hero-actions .cdxx-btn-split-hover:focus-visible .cdxx-btn-split-hover__label {
  transform: translateX(-6px);
}

.hero-actions .cdxx-btn-split-hover:hover .cdxx-btn-split-hover__icon,
.hero-actions .cdxx-btn-split-hover:focus-visible .cdxx-btn-split-hover__icon {
  width: 1.15em;
  min-width: 1.15em;
  opacity: 1;
  transform: translateX(0) scale(1);
  margin-left: 0.42rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .cdxx-btn-split-hover__label,
  .hero-actions .cdxx-btn-split-hover__icon {
    transition: none;
  }

  .hero-actions .cdxx-btn-split-hover:hover .cdxx-btn-split-hover__label,
  .hero-actions .cdxx-btn-split-hover:focus-visible .cdxx-btn-split-hover__label {
    transform: none;
  }

  .hero-actions .cdxx-btn-split-hover:hover .cdxx-btn-split-hover__icon,
  .hero-actions .cdxx-btn-split-hover:focus-visible .cdxx-btn-split-hover__icon {
    width: 1.15em;
    min-width: 1.15em;
    opacity: 1;
    transform: none;
    margin-left: 0.38rem;
  }
}

.hero-art {
  border: 1px solid #382263;
  border-radius: 16px;
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 56% 47%, #451084 0, #0b061a 58%);
}

.hero-glow {
  position: absolute;
  inset: 13% 8%;
  border: 1px solid rgba(149, 78, 255, 0.48);
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(114, 42, 255, 0.35);
}

.grind-showcase {
  margin-top: 0.35rem;
}

.grind-headline-bar {
  background: #000;
  border-top: 1px solid #1a1228;
  border-bottom: 1px solid #2a1848;
}

.grind-headline-inner {
  padding: 0.7rem 0;
}

.grind-headline {
  margin: 0;
  font-family: Orbitron, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.82rem, 2.4vw, 1.2rem);
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  justify-content: center;
  align-items: baseline;
}

.grind-line1 {
  color: #f4f0ff;
}

.grind-line2 {
  color: #b66cff;
  text-shadow: 0 0 18px rgba(182, 108, 255, 0.45);
}

.grind-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #000;
  padding: 2px 0 0;
}

.grind-panel {
  position: relative;
  min-height: clamp(200px, 32vw, 300px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.82)),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(45, 95, 72, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 55% at 85% 15%, rgba(110, 47, 255, 0.22), transparent 50%),
    linear-gradient(168deg, #141018 0%, #0a0810 45%, #0d0a14 100%);
  border: 1px solid rgba(90, 50, 160, 0.55);
}

.grind-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.grind-panel-tag {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c07fff;
  text-shadow: 0.06em 0 rgba(255, 0, 255, 0.35), -0.06em 0 rgba(0, 255, 200, 0.2);
}

.grind-panel-tag--bottom {
  margin-top: 0.1rem;
}

.grind-glitch {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0614;
  -webkit-text-stroke: 1.5px #c77dff;
  text-stroke: 1.5px #c77dff;
  text-shadow:
    2px 0 rgba(255, 60, 200, 0.35),
    -2px 0 rgba(0, 255, 200, 0.25),
    0 0 24px rgba(182, 108, 255, 0.35);
}

.grind-glitch::before,
.grind-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.grind-glitch::before {
  color: transparent;
  clip-path: inset(0 0 55% 0);
  text-shadow: 2px 0 #ff3ec8;
  opacity: 0.75;
}

.grind-glitch::after {
  color: transparent;
  clip-path: inset(45% 0 0 0);
  text-shadow: -2px 0 #3ee8ff;
  opacity: 0.75;
}

.grind-video-wrap {
  margin-top: 1rem;
}

.grind-showcase .video-center {
  border-color: rgba(90, 50, 160, 0.55);
  background:
    linear-gradient(180deg, rgba(18, 10, 36, 0.92), rgba(6, 4, 14, 0.96)),
    repeating-linear-gradient(0deg, rgba(182, 108, 255, 0.04) 0 1px, transparent 1px 3px);
}

.grind-showcase .video-center-top h2 {
  color: #d8c4ff;
  border-color: rgba(140, 90, 220, 0.45);
}

.grind-showcase .video-nav {
  border-color: rgba(140, 90, 220, 0.45);
  background: linear-gradient(180deg, rgba(60, 36, 100, 0.55), rgba(20, 12, 40, 0.85));
  color: #e8ddff;
}

.grind-showcase .video-main-card {
  border-color: rgba(140, 90, 220, 0.4);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75)),
    radial-gradient(circle at 72% 32%, rgba(110, 47, 255, 0.25), transparent 45%),
    linear-gradient(125deg, #1a1520, #0f0a18 48%, #120a22);
}

.grind-showcase .video-thumb {
  border-color: rgba(100, 70, 170, 0.45);
  background:
    linear-gradient(180deg, rgba(12, 8, 24, 0.35), rgba(8, 5, 18, 0.85)),
    linear-gradient(130deg, #2a1f3d, #120a22);
}

.grind-showcase .video-thumb span {
  color: #d7c8ff;
}

.grind-showcase .video-meta {
  color: #c4b4e8;
}

.video-center,
.mini-grid,
.review-grid,
.card-grid,
.faq-list details,
.site-footer,
.service-card,
.review {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--panel) 0, #0b0718 100%);
}

.video-center {
  margin-top: 1rem;
  padding: 0.9rem;
  border-color: #29416a;
  background:
    linear-gradient(180deg, rgba(8, 22, 42, 0.75), rgba(7, 13, 29, 0.92)),
    repeating-linear-gradient(
      0deg,
      rgba(175, 210, 255, 0.03) 0 1px,
      transparent 1px 3px
    );
}

.video-center-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.45rem;
}

.video-center-top h2 {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d6ecff;
  border: 1px solid rgba(118, 153, 196, 0.35);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.video-stage {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 0.7rem;
  align-items: center;
}

.video-nav {
  border: 1px solid rgba(112, 164, 216, 0.45);
  background: linear-gradient(180deg, rgba(68, 98, 128, 0.5), rgba(24, 42, 61, 0.8));
  color: #d9f1ff;
  border-radius: 6px;
  height: 164px;
  font-size: 2rem;
  line-height: 1;
}

.video-main-card {
  position: relative;
  min-height: 210px;
  border-radius: 6px;
  border: 1px solid rgba(129, 176, 222, 0.34);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 72% 32%, rgba(128, 88, 47, 0.5), transparent 42%),
    linear-gradient(125deg, #6a4932, #2b241e 48%, #15243a);
}

.video-main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
}

.video-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: Orbitron, sans-serif;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.08);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.58);
  color: #f5f8ff;
  font-size: 1.2rem;
}

.video-meta {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #d7ecff;
}

.video-thumbs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.video-thumb {
  position: relative;
  min-height: 62px;
  border-radius: 6px;
  border: 1px solid rgba(92, 139, 186, 0.42);
  background:
    linear-gradient(180deg, rgba(7, 12, 26, 0.2), rgba(7, 12, 26, 0.75)),
    linear-gradient(130deg, #39485b, #13243b);
  display: grid;
  align-content: end;
  padding: 0.35rem 0.45rem;
}

.video-thumb span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: #d7ecff;
}

.video-thumb.active {
  border-color: rgba(188, 220, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(203, 231, 255, 0.35);
}

.section {
  margin-top: 1.4rem;
}

.section h2 {
  text-transform: uppercase;
  font-size: 1.13rem;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 0.95rem;
}

.card-grid,
.mini-grid,
.review-grid {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: none;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 0.92rem;
  min-height: 258px;
  display: flex;
  flex-direction: column;
}

.service-head {
  margin-bottom: 0.45rem;
}

.service-head span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1d113e;
  border: 1px solid #5a319b;
  color: #b893ff;
}

.service-head svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-card ul {
  padding-left: 1rem;
  color: var(--muted);
  min-height: 112px;
  margin-bottom: 0.85rem;
}

.service-card li {
  margin: 0.4rem 0;
  font-size: 0.86rem;
}

.gta {
  background-image: linear-gradient(160deg, rgba(255, 104, 88, 0.15), #0b0718 40%),
    linear-gradient(160deg, var(--panel) 0, #0b0718 100%);
}

.cod {
  background-image: linear-gradient(160deg, rgba(85, 139, 255, 0.15), #0b0718 40%),
    linear-gradient(160deg, var(--panel) 0, #0b0718 100%);
}

.unlocks {
  background-image: linear-gradient(160deg, rgba(170, 98, 255, 0.15), #0b0718 40%),
    linear-gradient(160deg, var(--panel) 0, #0b0718 100%);
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mini-grid article,
.review {
  border: 1px solid #32215f;
  border-radius: 12px;
  padding: 0.92rem 1rem;
  background: linear-gradient(160deg, var(--panel-2), #0d081f);
}

.mini-grid p,
.review span {
  color: var(--muted);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review p {
  color: #ded8ff;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.45rem;
}

.review small {
  color: #8e4eff;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
}

.review strong {
  display: block;
  margin-top: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}

.faq-list details {
  padding: 0.82rem 1rem;
}

.faq-list summary {
  cursor: var(--cdxx-cursor-hover);
  list-style: none;
  font-weight: 500;
  position: relative;
  padding-right: 1.25rem;
  font-size: 0.95rem;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: #b594ff;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.site-footer {
  margin-top: 1.8rem;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 1.4rem 0 0.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 0.9rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  margin: 0.26rem 0;
  font-size: 0.85rem;
}


.newsletter {
  display: flex;
  border: 1px solid #3c2667;
  border-radius: 10px;
  overflow: hidden;
}

.newsletter input {
  flex: 1;
  background: #0f0923;
  border: none;
  color: #eee6ff;
  padding: 0.7rem;
}

.newsletter button {
  border: none;
  color: #fff;
  width: 46px;
  background: linear-gradient(90deg, #6d2df4, #9a4bff);
}

.copyright {
  border-top: 1px solid #28184f;
  margin-top: 1rem;
  padding-top: 0.8rem;
  color: #8b82b5;
}

@media (max-width: 980px) {
  .card-grid,
  .mini-grid,
  .review-grid,
  .video-thumbs,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
}

/* Narrow tablet / large phone width: one column reads better than squeezed two-up. */
@media (max-width: 768px) and (min-width: 641px) {
  .card-grid,
  .mini-grid,
  .review-grid,
  .video-thumbs,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  html,
  body {
    background-attachment: scroll;
  }
}

/* Tablet-sized window: between “big desktop” and “phone” layouts. */
@media (min-width: 641px) and (max-width: 900px) {
  .service-carousel-wrap {
    --cdxx-card-w: 258px;
    --cdxx-card-h: 382px;
    --cdxx-card-w-active: 266px;
    --cdxx-card-h-active: 394px;
    --cdxx-carousel-nav-outside: calc(var(--cdxx-card-w-active) / 2 + 128px);
    --cdxx-carousel-stage-pad-top: clamp(28px, 5vh, 56px);
    --cdxx-carousel-panel-y-active: 42px;
  }

  .service-categories-section {
    padding: max(7px, 0.48rem) 0 0;
  }

  #services.service-categories-section {
    padding: clamp(84px, 11vh, 98px) 0 clamp(48px, 6.5vh, 68px);
  }

  #services .service-categories-head {
    align-items: flex-start;
    margin-top: clamp(-46px, -5.2vh, -34px);
    margin-bottom: clamp(18px, 2.2vh, 26px);
    padding-bottom: clamp(74px, 8.8vh, 96px);
  }

  #services .service-categories-head__glitch {
    transform: translateY(clamp(-8px, -0.9vh, -12px));
  }

  #services .service-carousel-wrap {
    margin-top: clamp(-32px, -4vh, -22px);
    --cdxx-carousel-stage-pad-top: clamp(6px, 1vh, 12px);
    --cdxx-carousel-reflect-tail: clamp(26px, 4.5vh, 42px);
    --cdxx-carousel-reflect-reserve: clamp(4px, 0.7vh, 8px);
    --cdxx-card-reflect-fog-top-height: clamp(30px, 7vw, 52px);
    --cdxx-view-all-gap: clamp(11px, 1.5vh, 17px);
    --cdxx-view-all-inset-bottom: calc(
      var(--cdxx-carousel-reflect-reserve) +
        var(--cdxx-carousel-reflect-tail) * 0.49 +
        var(--cdxx-card-reflect-fog-top-height) * 0.15 +
        var(--cdxx-view-all-gap) * 0.68
    );
  }

  .service-categories-head {
    padding-inline: max(20px, 3vw);
  }

  .service-carousel-wrap {
    --cdxx-carousel-reflect-reserve: clamp(10px, 1.8vh, 16px);
  }

  .carousel-stage.service-carousel-stage {
    min-height: calc(
      var(--cdxx-carousel-stage-pad-top) + var(--cdxx-card-h-active) +
        var(--cdxx-carousel-panel-y-active) + var(--cdxx-card-reflect-seam-gap) +
        var(--cdxx-card-reflect-fog-top-height) + var(--cdxx-carousel-reflect-tail) +
        var(--cdxx-carousel-reflect-reserve)
    );
    height: auto;
    padding: var(--cdxx-carousel-stage-pad-top) 0 var(--cdxx-carousel-reflect-reserve);
    perspective: 970px;
    perspective-origin: 50% 58%;
  }

  .hero-content {
    padding: 0.85rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 0.95rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .top-center-icon {
    width: 52px;
    height: 52px;
    margin: 0 0.55rem;
  }

  .top-center-icon::before {
    width: 38px;
    height: 38px;
  }

  .nav-wrap {
    min-height: 46px;
    padding: 0.16rem 1.1rem;
  }

  .nav-status {
    font-size: 0.78rem;
    padding: 0.26rem 0.55rem;
  }

  .ring-outer {
    width: 40px;
    height: 40px;
  }

  .ring-inner {
    width: 24px;
    height: 24px;
    border-width: 5px;
  }

  /* Re-apply scroll-compact after base mobile nav (same breakpoint wins by source order). */
  html.cdxx-nav-scrolled .top-center-icon {
    width: 46px;
    height: 46px;
    margin: 0 0.45rem;
  }

  html.cdxx-nav-scrolled .top-center-icon::before {
    width: 34px;
    height: 34px;
  }

  html.cdxx-nav-scrolled .nav-wrap {
    min-height: 38px;
    padding: 0.1rem 0.95rem;
  }

  html.cdxx-nav-scrolled .nav-status {
    font-size: 0.74rem;
    padding: 0.22rem 0.48rem;
  }

  html.cdxx-nav-scrolled .ring-outer {
    width: 36px;
    height: 36px;
  }

  html.cdxx-nav-scrolled .ring-inner {
    width: 22px;
    height: 22px;
    border-width: 5px;
  }

  html.cdxx-nav-scrolled .nav-links {
    gap: 0.8rem;
  }

  html.cdxx-nav-scrolled .nav-links a {
    font-size: 0.82rem;
  }

  .grind-panels {
    grid-template-columns: 1fr;
  }

  .grind-headline {
    flex-direction: column;
    gap: 0.1rem;
  }

  .card-grid,
  .mini-grid,
  .review-grid,
  .video-thumbs,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .video-center {
    padding: 0.7rem;
  }

  .video-stage {
    grid-template-columns: 36px 1fr 36px;
    gap: 0.45rem;
  }

  .video-nav {
    height: 144px;
  }
}

@media (max-width: 400px) {
  .nav-links {
    gap: 0.55rem;
  }

  .nav-links a {
    font-size: 0.76rem;
  }

  .nav-wrap {
    padding: 0.14rem 0.65rem;
  }

  .top-center-icon {
    width: 46px;
    height: 46px;
    margin: 0 0.4rem;
  }

  .ring-outer {
    width: 34px;
    height: 34px;
  }

  .ring-inner {
    width: 20px;
    height: 20px;
    border-width: 4px;
  }
}

/*
 * Calm performance preset — same layout & content; lighter GPU path when low-end-mobile is active:
 *   • prefers-reduced-motion, prefers-reduced-data, or update:slow
 *   • NetworkInformation.saveData (Data Saver / “Low data mode”)
 *   • low memory / CPU on phones (see cdxx-perf-bootstrap.js)
 * Capable mobile devices and desktop keep the full look.
 */
html.cdxx-perf-calm .nav-wrap {
  backdrop-filter: blur(6px) saturate(1.02);
  -webkit-backdrop-filter: blur(6px) saturate(1.02);
}

html.cdxx-perf-calm .nav-status {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

html.cdxx-perf-calm.cdxx-nav-scrolled .site-header {
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
}

html.cdxx-perf-calm.cdxx-nav-scrolled .nav-wrap {
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
}

html.cdxx-perf-calm.cdxx-nav-scrolled .nav-status {
  backdrop-filter: blur(6px) saturate(1.04);
  -webkit-backdrop-filter: blur(6px) saturate(1.04);
}

html.cdxx-perf-calm .hero-video {
  filter: blur(2px);
  opacity: 0.72;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .category-card {
  transition-duration: 280ms !important;
}

html.cdxx-perf-calm .service-carousel-card,
html.cdxx-perf-calm .category-card,
html.cdxx-perf-calm .service-carousel-card-shade__half,
html.cdxx-perf-calm .service-carousel-card-shade__seam {
  transition-duration: 0.01ms !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--left,
html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
  animation: none !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade__seam {
  animation: none !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .service-carousel-card-shade::before {
  animation: none !important;
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.12) !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float {
  animation: none !important;
  transform: none !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-overlay {
  animation: none !important;
  opacity: 0 !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.category-card.is-active {
  animation: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42) !important;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active .service-carousel-card-shade__half--left {
  transform: translateX(-108%);
  opacity: 0;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active .service-carousel-card-shade__half--right {
  transform: translateX(108%);
  opacity: 0;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active .service-carousel-card-shade__seam {
  opacity: 0;
  transform: translateX(-50%) scaleY(0.15) scaleX(1);
  filter: none;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
  transition-delay: 0s !important;
}

html.cdxx-perf-calm #service-carousel-track.carousel-anim-on .carousel-card-pivot.is-active .category-card-float .service-carousel-card {
  animation: none !important;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active.cdxx-gate-dismiss .category-card-float .service-carousel-card {
  box-shadow:
    inset 0 0 0 2px rgba(4, 2, 12, 0.88),
    inset 0 0 20px rgba(0, 0, 0, 0.22) !important;
}

html.cdxx-perf-calm .carousel-card-pivot.is-active .category-card-float .service-carousel-card .service-carousel-card-cta {
  transition-delay: 0.12s !important;
  transition-duration: 0.28s !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Category service pages (service-*.html): same bg as home via body + .bg-overlay --- */
.cdxx-category-main {
  position: relative;
  z-index: 1;
  padding-top: clamp(5.5rem, 12vh, 7.5rem);
  padding-bottom: clamp(3rem, 10vh, 6rem);
}

.cdxx-category-wrap {
  padding-inline: clamp(16px, 4vw, 28px);
}

/* Wider content band on service category pages (cards use more horizontal space). */
.cdxx-category-wrap.container {
  width: min(1680px, 100%);
}

.cdxx-category-back {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  max-width: min(100%, 34rem);
  margin-bottom: 1.25rem;
  padding: 0.2rem 0.1rem;
  font-family: Orbitron, var(--cdxx-box-font);
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214, 203, 255, 0.94);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.22s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-category-back__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(170, 120, 255, 0.48);
  background: linear-gradient(145deg, rgba(102, 54, 192, 0.42) 0%, rgba(48, 24, 96, 0.55) 100%);
  color: #f3e8ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 14px rgba(139, 92, 246, 0.28);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.cdxx-category-back__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.cdxx-category-back__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-category-back:hover {
  color: #fff;
  transform: translateX(-3px);
  gap: 0.72rem;
}

.cdxx-category-back:hover .cdxx-category-back__icon {
  border-color: rgba(210, 170, 255, 0.78);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.55) 0%, rgba(76, 38, 150, 0.62) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 18px rgba(167, 120, 255, 0.42);
  transform: translateX(-2px);
}

.cdxx-category-back:focus-visible {
  outline: 2px solid rgba(196, 150, 255, 0.9);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.cdxx-services-hub-nav__btn.cdxx-category-back {
  justify-content: flex-start;
  max-width: none;
  margin-bottom: 0;
  white-space: normal;
  gap: 0.45rem;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.cdxx-services-hub-nav__btn.cdxx-category-back:hover {
  gap: 0.45rem;
  transform: translateY(-1px);
}

.cdxx-services-hub-nav__btn.cdxx-category-back:hover .cdxx-category-back__icon {
  transform: none;
}

.cdxx-services-hub-nav__btn.cdxx-category-back .cdxx-category-back__label {
  text-align: left;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-category-back {
    transition: color 0.2s ease;
  }

  .cdxx-category-back:hover {
    transform: none;
    gap: 0.62rem;
  }

  .cdxx-category-back:hover .cdxx-category-back__icon {
    transform: none;
  }
}

/* --- Standalone checkout page (checkout.html) --- */
.cdxx-checkout {
  margin-top: 0.5rem;
  max-width: 640px;
}

.cdxx-checkout__head {
  margin-bottom: 1rem;
}

.cdxx-checkout__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(198, 178, 240, 0.85);
}

.cdxx-checkout__title {
  margin: 0 0 0.35rem;
  font-family: Orbitron, var(--cdxx-box-font);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: 0.04em;
  color: #f4ecff;
  line-height: 1.2;
}

.cdxx-checkout__category {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(200, 188, 230, 0.88);
}

.cdxx-checkout__card {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(150, 105, 235, 0.45);
  background: rgba(12, 8, 26, 0.72);
  box-shadow:
    0 0 0 1px rgba(200, 160, 255, 0.1) inset,
    0 12px 36px rgba(0, 0, 0, 0.35);
}

.cdxx-checkout__visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(8, 5, 18, 0.9);
  border: 1px solid rgba(130, 90, 210, 0.35);
}

.cdxx-checkout__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cdxx-checkout__img-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(90, 48, 180, 0.35), rgba(20, 12, 40, 0.85));
}

.cdxx-checkout__body {
  min-width: 0;
}

.cdxx-checkout__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.cdxx-checkout__badge {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cdxx-checkout__badge--safe {
  border: 1px solid rgba(120, 230, 170, 0.4);
  background: rgba(10, 36, 22, 0.5);
  color: #c8ffe0;
}

.cdxx-checkout__badge--status {
  border: 1px solid rgba(170, 130, 255, 0.45);
  background: rgba(40, 22, 80, 0.45);
  color: #e8ddff;
}

.cdxx-checkout__plan {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: rgba(210, 200, 240, 0.9);
}

.cdxx-checkout__plan-label {
  color: rgba(180, 165, 220, 0.75);
  margin-right: 0.35rem;
}

.cdxx-checkout__price-row {
  margin: 0 0 0.65rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cdxx-checkout__price-label {
  font-size: 0.78rem;
  color: rgba(190, 178, 225, 0.8);
}

.cdxx-checkout__price {
  font-size: 1.35rem;
  font-family: Orbitron, var(--cdxx-box-font);
  color: #fff;
  letter-spacing: 0.02em;
}

.cdxx-checkout__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cdxx-checkout__platform-chip {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 110, 230, 0.45);
  background: rgba(18, 10, 40, 0.65);
  color: rgba(230, 220, 255, 0.92);
}

.cdxx-checkout__next {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(190, 180, 220, 0.75);
}

@media (max-width: 520px) {
  .cdxx-checkout__card {
    grid-template-columns: 1fr;
  }

  .cdxx-checkout__visual {
    max-height: 180px;
  }
}

/* Fade / soften when leaving a category page for home (see category-page.js). */
@media (prefers-reduced-motion: no-preference) {
  .cdxx-category-page.cdxx-exit-to-home .cdxx-page-fade {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, -12px, 0);
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.34s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-category-page.cdxx-exit-to-home .cdxx-page-fade {
    opacity: 0;
  }
}

html {
  scroll-behavior: smooth;
}

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

/* Category page: glitch plate + type aligned start (original list layout), not centered like home #services */
.cdxx-category-head.service-categories-head {
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  margin-bottom: clamp(6px, 1.2vh, 14px);
}

.cdxx-category-head .service-categories-head__glitch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.2vw, 0.75rem);
  justify-items: start;
  text-align: left;
  margin-inline: 0;
  padding: 0;
  background-image: none;
}

.cdxx-category-head .service-categories-head__glitch h1 {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: clamp(0.28rem, 1.2vw, 0.5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(0.22rem, 0.65vw, 0.38rem);
  background-image: url("assets/glitch frame.png");
  background-repeat: no-repeat;
  background-position: left 52%;
  background-size: contain;
  box-sizing: border-box;
}

.cdxx-category-head .service-categories-head__glitch .cdxx-category-subtitle {
  padding: 0.15rem 0 0;
  color: rgba(236, 228, 255, 0.94);
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(8, 4, 20, 0.75);
  line-height: 1.6;
}

.cdxx-category-head .service-categories-head__glitch:has(#cdxx-cat-subtitle[hidden]) h1 {
  margin-bottom: 0;
}

.cdxx-category-subtitle {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(230, 222, 255, 0.82);
}

.cdxx-category-head .cdxx-category-subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 0;
  margin-inline: 0;
  text-align: left;
}

.cdxx-category-toolbar {
  display: none;
}

#cdxx-cat-search {
  flex: 1 1 auto;
  width: min(620px, 100%);
  max-width: 640px;
  box-sizing: border-box;
  padding: 0.68rem 0.95rem;
  border-radius: 10px;
  border: 2px solid rgba(150, 105, 240, 0.48);
  background: rgba(8, 4, 20, 0.72);
  color: #f3ecff;
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#cdxx-cat-search::placeholder {
  color: rgba(200, 190, 235, 0.45);
}

#cdxx-cat-search:focus {
  border-color: rgba(204, 160, 255, 0.92);
  background: rgba(12, 6, 30, 0.82);
  box-shadow:
    0 0 0 3px rgba(145, 90, 240, 0.34),
    0 0 22px rgba(146, 84, 255, 0.28);
}

.cdxx-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.48rem;
}

.cdxx-filter-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 85, 200, 0.4);
  background: rgba(12, 6, 28, 0.55);
  color: rgba(220, 210, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: var(--cdxx-cursor-hover);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cdxx-filter-chip:hover {
  border-color: rgba(180, 130, 255, 0.65);
  color: #fff;
}

.cdxx-filter-chip.is-active {
  background: linear-gradient(135deg, rgba(120, 60, 220, 0.55), rgba(80, 40, 160, 0.5));
  border-color: rgba(200, 150, 255, 0.75);
  color: #fff;
}

#cdxx-cat-count {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(180, 170, 220, 0.65);
}

.cdxx-category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.cdxx-category-grid.is-switching {
  pointer-events: none;
}

@media (min-width: 1025px) {
  .cdxx-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1720px) {
  .cdxx-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cdxx-category-item {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  box-shadow: none;
}

/* Lock page scroll while service preview is open (html + body — document scroll lives on html in many browsers). */
html.cdxx-preview-modal-open,
body.cdxx-preview-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.cdxx-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.cdxx-preview-modal[hidden] {
  display: none !important;
}

.cdxx-preview-modal[hidden] .cdxx-preview-modal__backdrop,
.cdxx-preview-modal[hidden] .cdxx-preview-modal__panel {
  transition: none !important;
}

.cdxx-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.cdxx-preview-modal__panel {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  max-height: min(92dvh, calc(100vh - 1.5rem));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 18px;
  border: 1px solid rgba(140, 108, 230, 0.44);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(121, 80, 238, 0.26) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(160deg, rgba(23, 14, 48, 0.9), rgba(9, 6, 20, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  padding: clamp(0.68rem, 1.65vw, 0.98rem);
  transform: translate3d(0, 10px, 0) scale(0.985);
  opacity: 0;
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.cdxx-preview-modal.is-open .cdxx-preview-modal__backdrop {
  opacity: 1;
}

.cdxx-preview-modal.is-open .cdxx-preview-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.cdxx-preview-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(220, 204, 255, 0.3);
  background: rgba(24, 14, 52, 0.7);
  color: transparent;
  font-size: 0;
  line-height: 0;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cdxx-preview-modal__close::before,
.cdxx-preview-modal__close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.8px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
}

.cdxx-preview-modal__close::before {
  transform: rotate(45deg);
}

.cdxx-preview-modal__close::after {
  transform: rotate(-45deg);
}

@keyframes cdxx-preview-close-spin-return {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  55% {
    transform: translateY(-1px) scale(1.08) rotate(360deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.cdxx-preview-modal__close:hover,
.cdxx-preview-modal__close:focus-visible {
  animation: cdxx-preview-close-spin-return 0.58s cubic-bezier(0.22, 1, 0.36, 1) 1;
  background: rgba(52, 30, 102, 0.86);
  border-color: rgba(232, 216, 255, 0.65);
  box-shadow:
    0 6px 16px rgba(14, 8, 34, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 14px rgba(168, 120, 255, 0.35);
}

.cdxx-preview-modal__close:focus-visible {
  outline: 2px solid rgba(212, 186, 255, 0.75);
  outline-offset: 2px;
}

.cdxx-preview-modal__title {
  margin: 0 0 0.48rem;
  padding-right: 2.25rem;
  font-family: Orbitron, var(--cdxx-box-font);
  font-size: clamp(1rem, 1.95vw, 1.34rem);
  letter-spacing: 0.03em;
  color: #fff;
}

.cdxx-preview-modal__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(152, 122, 238, 0.34);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.62)),
    var(--cdxx-preview-modal-bg, radial-gradient(circle at 50% 35%, rgba(132, 95, 238, 0.44), rgba(16, 9, 34, 0.98) 72%));
  background-size: cover;
  background-position: center;
}

.cdxx-preview-modal__hero {
  position: relative;
  width: 100%;
}

.cdxx-preview-modal__hero-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(118px, 24vw, 208px);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.cdxx-preview-modal__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.cdxx-preview-modal__hero-video .cdxx-vp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 0;
}

.cdxx-preview-modal__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050210;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.cdxx-preview-modal__hero[data-hero-mode="video"] .cdxx-preview-modal__hero-video {
  opacity: 1;
  transform: translateZ(0) scale(1);
  pointer-events: auto;
  z-index: 1;
  visibility: visible;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.cdxx-preview-modal__hero[data-hero-mode="video"] .cdxx-preview-modal__hero-image {
  opacity: 0;
  transform: translateZ(0) scale(1.02);
  pointer-events: none;
  z-index: 0;
  visibility: hidden;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.38s;
}

.cdxx-preview-modal__hero[data-hero-mode="image"] .cdxx-preview-modal__hero-video {
  opacity: 0;
  transform: translateZ(0) scale(1.02);
  pointer-events: none;
  z-index: 0;
  visibility: hidden;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.38s;
}

.cdxx-preview-modal__hero[data-hero-mode="image"] .cdxx-preview-modal__hero-image {
  opacity: 1;
  transform: translateZ(0) scale(1);
  pointer-events: auto;
  z-index: 1;
  visibility: visible;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.cdxx-preview-modal__hero-img-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  z-index: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cdxx-preview-modal__hero-img-layer.is-front {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.cdxx-preview-modal__dock-video {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(160, 128, 238, 0.44);
  background: rgba(4, 2, 14, 0.95);
  aspect-ratio: 16 / 9;
  min-height: 62px;
  cursor: var(--cdxx-cursor-hover);
  outline: none;
}

/* Same dimming as image thumbs; clears on hover/focus with the play badge. */
.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.52);
  opacity: 1;
  transition: opacity 0.22s ease;
  border-radius: inherit;
}

.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini):hover::before,
.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini):focus-visible::before {
  opacity: 0;
}

/* Decorative play badge — above scrim; fades with hover like image tiles. */
.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  background-color: rgba(8, 4, 20, 0.62);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f3ecff' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% 50%;
  background-size: 16px 16px;
  box-shadow:
    0 0 0 1px rgba(200, 160, 255, 0.38),
    0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transition: opacity 0.22s ease;
}

.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini):hover::after,
.cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini):focus-visible::after {
  opacity: 0;
}

.cdxx-preview-modal__dock-video:focus-visible {
  outline: 2px solid rgba(200, 160, 255, 0.75);
  outline-offset: 2px;
}

.cdxx-preview-modal__dock-video .cdxx-vp {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 0;
}

.cdxx-preview-modal__dock-video .cdxx-vp__video {
  object-fit: cover;
  object-position: center;
}

.cdxx-preview-modal__dock-video .cdxx-vp__btn--fs {
  display: none !important;
}

/* Small dock player: show only the video frame (no play, scrub, time, shade) */
.cdxx-vp--dock-mini .cdxx-vp__big-play,
.cdxx-vp--dock-mini .cdxx-vp__chrome,
.cdxx-vp--dock-mini .cdxx-vp__shade {
  display: none !important;
}

.cdxx-preview-modal__dock {
  display: block;
  padding: 0.38rem 0.42rem 0.42rem;
  border-top: 1px solid rgba(120, 90, 200, 0.28);
  background: rgba(6, 3, 18, 0.55);
}

.cdxx-preview-modal__dock .cdxx-preview-modal__images {
  margin-top: 0;
}

.cdxx-preview-modal__images {
  margin-top: 0.34rem;
}

.cdxx-preview-modal__images-head {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(220, 209, 252, 0.9);
  text-transform: uppercase;
}

.cdxx-preview-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 0.42rem;
  justify-content: start;
  border-radius: 12px;
  padding: 0.12rem;
  background: rgba(14, 8, 30, 0.35);
}

.cdxx-preview-modal__thumbs > * {
  min-width: 0;
}

@keyframes cdxx-preview-thumb-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cdxx-preview-modal__strip-item--enter {
  animation: cdxx-preview-thumb-enter 0.34s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-preview-modal__close {
    transition: none;
  }

  .cdxx-preview-modal__hero-video,
  .cdxx-preview-modal__hero-image,
  .cdxx-preview-modal__hero-img-layer {
    transition: none;
  }

  .cdxx-preview-modal__hero[data-hero-mode="video"] .cdxx-preview-modal__hero-image,
  .cdxx-preview-modal__hero[data-hero-mode="image"] .cdxx-preview-modal__hero-video {
    transform: none;
    visibility: hidden;
  }

  .cdxx-preview-modal__hero[data-hero-mode="video"] .cdxx-preview-modal__hero-video,
  .cdxx-preview-modal__hero[data-hero-mode="image"] .cdxx-preview-modal__hero-image {
    transform: none;
  }

  .cdxx-preview-modal__strip-item--enter {
    animation: none;
  }

  .cdxx-preview-modal__thumb::after,
  .cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini)::before,
  .cdxx-preview-modal__dock-video:has(.cdxx-vp--dock-mini)::after {
    transition: none;
  }
}

.cdxx-preview-modal__thumb {
  position: relative;
  border: 1px solid rgba(160, 128, 238, 0.34);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: rgba(18, 10, 36, 0.72);
  aspect-ratio: 16 / 9;
  min-height: 62px;
}

/* Image tiles only — dark scrim clears on hover/focus (dock video uses its own play badge). */
.cdxx-preview-modal__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.52);
  opacity: 1;
  transition: opacity 0.22s ease;
  border-radius: inherit;
}

.cdxx-preview-modal__thumb:hover::after,
.cdxx-preview-modal__thumb:focus-visible::after {
  opacity: 0;
}

.cdxx-preview-modal__thumb img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cdxx-preview-modal__media-empty {
  margin: 0.48rem 0 0;
  font-size: 0.84rem;
  color: rgba(214, 201, 245, 0.72);
}

.cdxx-preview-modal__sub {
  margin: 0.68rem 0 0.4rem;
  font-family: var(--cdxx-box-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 209, 252, 0.92);
}

.cdxx-preview-modal__plans {
  /* Outer radius + inner radius (minus 1px border) so last row corners line up with the card clip. */
  --cdxx-plans-r-outer: 14px;
  --cdxx-plans-r-inner: 13px;
  border-radius: var(--cdxx-plans-r-outer);
  border: 1px solid rgba(160, 128, 238, 0.42);
  background:
    linear-gradient(168deg, rgba(36, 22, 72, 0.55) 0%, rgba(10, 6, 22, 0.2) 45%, rgba(14, 8, 30, 0.75) 100%),
    rgba(12, 7, 26, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 36px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.cdxx-preview-modal__plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.62rem 0.78rem;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cdxx-preview-modal__plan-icon {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 30px;
  min-height: 30px;
  color: rgba(238, 228, 255, 0.94);
}

.cdxx-preview-modal__plan-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.cdxx-preview-modal__plan--highlight .cdxx-preview-modal__plan-icon {
  color: #c9ffe4;
  filter: drop-shadow(0 0 8px rgba(62, 255, 152, 0.45));
}

.cdxx-preview-modal__plan:not(.cdxx-preview-modal__plan--highlight):hover,
.cdxx-preview-modal__plan:not(.cdxx-preview-modal__plan--highlight):focus-visible {
  background: rgba(146, 106, 236, 0.18);
  transform: translateY(-1px);
}

.cdxx-preview-modal__plan:not(.cdxx-preview-modal__plan--highlight):focus-visible {
  outline: none;
}

.cdxx-preview-modal__plan + .cdxx-preview-modal__plan {
  border-top: 1px solid rgba(120, 92, 210, 0.22);
}

/* Best value: soft green wash only — no inset “green line” (it fought the card corners). */
.cdxx-preview-modal__plan--highlight {
  position: relative;
  border-top: 1px solid rgba(92, 255, 170, 0.5);
  border-radius: 0 0 var(--cdxx-plans-r-inner) var(--cdxx-plans-r-inner);
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(72, 255, 160, 0.06) 0%,
    rgba(130, 88, 220, 0.22) 36%,
    rgba(70, 42, 130, 0.1) 68%,
    rgba(24, 14, 48, 0.14) 100%
  );
}

.cdxx-preview-modal__plan--highlight:hover,
.cdxx-preview-modal__plan--highlight:focus-visible {
  background: linear-gradient(
    160deg,
    rgba(110, 255, 185, 0.18) 0%,
    rgba(158, 114, 245, 0.28) 36%,
    rgba(90, 56, 160, 0.14) 68%,
    rgba(32, 18, 58, 0.2) 100%
  );
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.cdxx-preview-modal__plan-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.cdxx-preview-modal__plan-name {
  font-family: var(--cdxx-box-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(248, 242, 255, 0.98);
  text-transform: capitalize;
}

.cdxx-preview-modal__plan-desc {
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(186, 172, 228, 0.82);
}

.cdxx-preview-modal__plan-badge {
  display: inline-block;
  margin-top: 0.12rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(32, 12, 48, 0.95);
  background: linear-gradient(135deg, #e8d8ff, #c4a0ff);
  box-shadow: 0 0 12px rgba(180, 130, 255, 0.35);
}

.cdxx-preview-modal__plan--highlight .cdxx-preview-modal__plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #03140a;
  background: linear-gradient(135deg, #99ff78, #45f0a2 55%, #1ad7ab);
  border: 1px solid rgba(0, 40, 22, 0.22);
  box-shadow: 0 0 14px rgba(62, 255, 152, 0.35);
  -webkit-font-smoothing: antialiased;
}

.cdxx-preview-modal__plan-price {
  font-family: var(--cdxx-box-font);
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 24px rgba(180, 140, 255, 0.35);
}

.cdxx-preview-modal__plan--highlight .cdxx-preview-modal__plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
}

.cdxx-preview-modal__plan-price-was {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(224, 214, 246, 0.96);
  text-decoration: line-through;
  text-decoration-thickness: 1.35px;
  text-decoration-color: rgba(224, 214, 246, 0.9);
  text-shadow: none;
}


@media (prefers-reduced-motion: reduce) {
  .cdxx-preview-modal__plan {
    transition: none;
  }
}

.cdxx-preview-modal__go {
  margin-top: 0.55rem;
  margin-bottom: 0.15rem;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(220, 198, 255, 0.56);
  background: linear-gradient(135deg, #b799ff 0%, #8f6bf3 44%, #6e49dc 100%);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 800;
  font-family: var(--cdxx-box-font);
  box-shadow:
    0 8px 20px rgba(90, 58, 190, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.cdxx-preview-modal__go:hover,
.cdxx-preview-modal__go:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05) brightness(1.04);
  box-shadow:
    0 12px 28px rgba(102, 65, 210, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 18px rgba(152, 114, 255, 0.34);
}

.cdxx-preview-modal__go:focus-visible {
  outline: 2px solid rgba(212, 186, 255, 0.75);
  outline-offset: 2px;
}

/* Market-style service card (category-page.js): glass panel over page bg; art header + compact body */
.cdxx-service-card {
  --cdxx-svc-accent: #6d5dfc;
  --cdxx-svc-green: #22c55e;
  --cdxx-svc-muted: #9ca3af;
  --cdxx-svc-glass-blur: 16px;
  display: flex;
  flex-direction: column;
  min-height: 258px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 130% at 100% 85%, color-mix(in srgb, var(--cdxx-svc-accent) 24%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 70% 90% at 0% 15%, rgba(109, 93, 252, 0.14) 0%, transparent 54%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 14px,
      rgba(109, 93, 252, 0.03) 14px,
      rgba(109, 93, 252, 0.03) 15px
    );
  border: 1px solid rgba(167, 139, 250, 0.42);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  cursor: var(--cdxx-cursor-hover);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

/* Match “Choose category” modal option cards: lift, glow, saturate, header art zoom */
.cdxx-service-card:hover,
.cdxx-service-card:focus-within {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(205, 181, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(196, 167, 255, 0.52) inset,
    0 0 26px rgba(136, 90, 255, 0.32);
  filter: saturate(1.08);
}

.cdxx-service-card.is-selected {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(205, 181, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(196, 167, 255, 0.52) inset,
    0 0 30px rgba(136, 90, 255, 0.38);
  filter: saturate(1.08);
}

body.cdxx-admin-panel-preview .site-header,
body.cdxx-admin-panel-preview .cdxx-footer,
body.cdxx-admin-panel-preview footer.site-footer,
body.cdxx-admin-panel-preview .site-footer {
  display: none !important;
}

body.cdxx-admin-panel-preview .cdxx-account-float,
body.cdxx-admin-panel-preview #cdxx-account-root,
body.cdxx-admin-panel-preview .cdxx-account-trigger {
  display: none !important;
}

body.cdxx-admin-panel-preview .cdxx-category-back,
body.cdxx-admin-panel-preview .cdxx-category-toolbar,
body.cdxx-admin-panel-preview #cdxx-cat-count,
body.cdxx-admin-panel-preview .service-categories-head,
body.cdxx-admin-panel-preview .cdxx-category-head,
body.cdxx-admin-panel-preview .cdxx-all-games-head {
  display: none !important;
}

body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-category-item:has(.cdxx-service-card:not(.is-selected)) {
  display: none !important;
}

body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-category-item {
  width: 100%;
  min-width: 0;
}

body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-category-main,
body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-category-wrap,
body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-page-fade {
  min-height: 0;
  padding-top: 0;
  width: 100%;
}

body.cdxx-admin-panel-preview.cdxx-admin-panel-focus-single .cdxx-service-card.is-selected {
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
}

.cdxx-service-card.is-selected:hover,
.cdxx-service-card.is-selected:focus-within {
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(210, 186, 255, 0.58) inset,
    0 0 34px rgba(150, 102, 255, 0.42);
}

.cdxx-service-card__header {
  position: relative;
  flex: 1 1 auto;
  min-height: 176px;
  overflow: hidden;
}

.cdxx-service-card__header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 85% 130% at 100% 85%, color-mix(in srgb, var(--cdxx-svc-accent) 42%, transparent) 0%, transparent 58%),
    radial-gradient(ellipse 70% 90% at 0% 15%, rgba(109, 93, 252, 0.22) 0%, transparent 52%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 14px,
      rgba(109, 93, 252, 0.04) 14px,
      rgba(109, 93, 252, 0.04) 15px
    ),
    linear-gradient(168deg, rgba(30, 27, 46, 0.45) 0%, rgba(18, 16, 28, 0.32) 100%);
}

.cdxx-service-card__header-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  pointer-events: none;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Full-width catalog banners (e.g. Warzone header art) */
.cdxx-service-card__header-img--banner {
  opacity: 1;
  object-position: center 42%;
}

.cdxx-service-card__header-bg:has(.cdxx-service-card__header-img--banner) {
  background: linear-gradient(168deg, rgba(12, 8, 22, 0.35) 0%, rgba(8, 5, 16, 0.5) 100%);
}

.cdxx-service-card__header-bg:has(.cdxx-service-card__header-img--banner)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 3, 14, 0.2) 0%, rgba(6, 3, 14, 0.55) 72%, rgba(4, 2, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 2, 10, 0.42) 0%, transparent 42%, transparent 58%, rgba(4, 2, 10, 0.42) 100%);
}

/* Banner art fills header + CTA row (body stays transparent over the same image) */
.cdxx-service-card--banner {
  position: relative;
  background: transparent;
}

.cdxx-service-card--banner > .cdxx-service-card__header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cdxx-service-card--banner .cdxx-service-card__header {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}

.cdxx-service-card--banner .cdxx-service-card__header-img--banner {
  object-position: 58% 28%;
}

.cdxx-service-card--banner .cdxx-service-card__header-bg:has(.cdxx-service-card__header-img--banner)::after {
  /* Title area only — bottom stays clear so the CTA strip tint controls darkness there */
  background:
    linear-gradient(
      180deg,
      rgba(6, 3, 14, 0.2) 0%,
      rgba(6, 3, 14, 0.28) 42%,
      rgba(4, 2, 10, 0.1) 68%,
      transparent 82%
    ),
    linear-gradient(90deg, rgba(4, 2, 10, 0.28) 0%, transparent 42%, transparent 58%, rgba(4, 2, 10, 0.28) 100%);
}

.cdxx-service-card--banner .cdxx-service-card__body {
  position: relative;
  z-index: 1;
  min-height: clamp(4.75rem, 12vw, 5.75rem);
  padding: clamp(0.85rem, 2vw, 1.1rem) 0.6rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: none;
}

/* Footer tint only — buttons/text stay fully opaque above this */
.cdxx-service-card--banner .cdxx-service-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 3, 18, 0.88),
    rgba(8, 3, 18, 0.78)
  );
}

.cdxx-service-card--banner .cdxx-service-card__foot {
  position: static;
  z-index: 1;
  width: 100%;
  height: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

/* Just above the footer line — right: 0.6rem matches .cdxx-service-card__starting (absolute uses padding box edge) */
.cdxx-service-card--banner .cdxx-service-card__actions {
  position: absolute;
  right: 0.6rem;
  bottom: calc(100% + clamp(0.45rem, 1.1vw, 0.65rem));
  z-index: 5;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .cdxx-service-card--banner .cdxx-service-card__actions {
    bottom: calc(100% + clamp(0.4rem, 1.5vw, 0.55rem));
    gap: 0.4rem;
  }
}

/* Banner title: true center of footer strip (buttons float above, not in flow) */
.cdxx-service-card--banner .cdxx-service-card__banner-foot > .cdxx-service-card__hero-title {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(92%, 36rem);
  max-width: calc(100% - 1.2rem);
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--cdxx-box-font);
  font-size: clamp(1.12rem, 2.35vw, 1.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.03em;
  text-wrap: balance;
  padding: 0;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.cdxx-service-card--banner .cdxx-service-card__banner-foot > .cdxx-service-card__hero-title::before {
  display: none;
}

@media (max-width: 768px) {
  .cdxx-service-card--banner .cdxx-service-card__body {
    min-height: clamp(5.25rem, 22vw, 6.25rem);
  }

  .cdxx-service-card--banner .cdxx-service-card__banner-foot > .cdxx-service-card__hero-title {
    width: min(96%, 22rem);
    font-size: clamp(1rem, 3.9vw, 1.38rem);
  }
}

.cdxx-service-card:hover .cdxx-service-card__header-img,
.cdxx-service-card:focus-within .cdxx-service-card__header-img,
.cdxx-service-card.is-selected .cdxx-service-card__header-img {
  transform: scale(1.04);
}

.cdxx-service-card__safe {
  position: absolute;
  z-index: 1;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.56rem 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(34, 197, 94, 0.94);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cdxx-service-card__safe-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.72rem;
  height: 0.72rem;
  font-size: 0.62rem;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #c7ffd8;
  filter:
    drop-shadow(0 0 5px rgba(139, 255, 178, 0.6))
    drop-shadow(0 0 10px rgba(139, 255, 178, 0.42));
  text-shadow:
    0 0 6px rgba(139, 255, 178, 0.78);
  animation: cdxx-safe-pulse 1.15s ease-in-out infinite;
  will-change: transform, filter, text-shadow, opacity;
}

.cdxx-service-card__safe-icon {
  font-size: 0.52rem;
  line-height: 1;
  opacity: 0.95;
}

.cdxx-service-card__safe-live {
  margin-left: 0.1rem;
  padding-left: 0.34rem;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  color: rgba(234, 255, 242, 0.98);
}

.cdxx-service-card__starting {
  position: absolute;
  z-index: 1;
  top: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(219, 198, 255, 0.38);
  background: rgba(20, 12, 44, 0.74);
  box-shadow: 0 0 16px rgba(120, 82, 220, 0.24);
  backdrop-filter: blur(4px);
}

.cdxx-service-card__starting-label {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(215, 199, 250, 0.92);
}

.cdxx-service-card__starting-value {
  font-family: var(--cdxx-box-font);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 14px rgba(178, 142, 255, 0.3);
}

@keyframes cdxx-safe-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    filter:
      drop-shadow(0 0 5px rgba(139, 255, 178, 0.6))
      drop-shadow(0 0 10px rgba(139, 255, 178, 0.42));
    text-shadow:
      0 0 6px rgba(178, 255, 206, 0.82);
  }
  50% {
    transform: scale(1);
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(139, 255, 178, 0.95))
      drop-shadow(0 0 18px rgba(139, 255, 178, 0.72))
      drop-shadow(0 0 30px rgba(139, 255, 178, 0.45));
    text-shadow:
      0 0 10px rgba(198, 255, 220, 1),
      0 0 16px rgba(178, 255, 206, 0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter:
      drop-shadow(0 0 5px rgba(139, 255, 178, 0.6))
      drop-shadow(0 0 10px rgba(139, 255, 178, 0.42));
    text-shadow:
      0 0 6px rgba(178, 255, 206, 0.82);
  }
}

.cdxx-service-card__hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin: 0;
  width: min(84%, 500px);
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--cdxx-box-font);
  font-size: clamp(1.18rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: rgba(246, 242, 255, 0.96);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.75),
    0 0 22px rgba(0, 0, 0, 0.46);
  pointer-events: none;
  border: 0;
  text-decoration: none;
}

.cdxx-service-card__hero-sub {
  position: absolute;
  top: calc(50% + clamp(1.25rem, 2.8vw, 1.95rem));
  left: 50%;
  z-index: 1;
  margin: 0;
  width: min(86%, 520px);
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--cdxx-box-font);
  font-size: clamp(0.68rem, 1.2vw, 0.8rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: rgba(224, 214, 246, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.cdxx-service-card__body {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.08rem;
  padding: 0.7rem 0.78rem 0.78rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 0;
  min-height: 76px;
}

.cdxx-service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0;
  padding-top: 0;
}

.cdxx-service-card__foot--solo {
  justify-content: flex-end;
}

.cdxx-service-card__price {
  font-family: var(--cdxx-box-font);
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.cdxx-service-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cdxx-service-card__btn {
  --cdxx-svc-btn-glyph: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.42rem 0.82rem;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--cdxx-box-font);
  letter-spacing: 0.02em;
  line-height: 1;
  min-height: 34px;
  color: #e5e7eb;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    backdrop-filter 0.2s ease,
    -webkit-backdrop-filter 0.2s ease;
}

.cdxx-service-card__btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: color-mix(in srgb, var(--cdxx-svc-accent) 45%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--cdxx-svc-accent) 22%, transparent);
}

.cdxx-service-card__btn--checkout {
  color: #fff;
  border-color: color-mix(in srgb, var(--cdxx-svc-accent) 58%, rgba(255, 255, 255, 0.22));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cdxx-svc-accent) 62%, #0d091f), color-mix(in srgb, var(--cdxx-svc-accent) 34%, #090612));
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--cdxx-svc-accent) 28%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.cdxx-service-card__btn--preview {
  color: #ddd6fe;
  border-color: rgba(172, 143, 245, 0.45);
  background: rgba(19, 12, 40, 0.7);
}

.cdxx-service-card__btn--checkout:hover {
  border-color: color-mix(in srgb, var(--cdxx-svc-accent) 72%, #fff 12%);
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--cdxx-svc-accent) 36%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset;
}

.cdxx-service-card__btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: var(--cdxx-svc-btn-glyph);
}

.cdxx-service-card__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--cdxx-svc-btn-glyph);
  height: var(--cdxx-svc-btn-glyph);
  line-height: 0;
  opacity: 0.96;
  filter: drop-shadow(0 0 5px rgba(196, 167, 255, 0.32));
}

.cdxx-service-card__btn-icon svg {
  display: block;
}

@keyframes cdxx-preview-eye-blink {
  0%,
  48%,
  52%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.06);
  }
}

.cdxx-service-card__btn-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  transform-origin: center 52%;
  animation: cdxx-preview-eye-blink 3.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-service-card__btn-icon-img {
    animation: none;
  }
}

.cdxx-service-card__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--cdxx-svc-btn-glyph);
  height: var(--cdxx-svc-btn-glyph);
  line-height: 0;
  opacity: 0.94;
}

.cdxx-service-card__btn-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cdxx-service-card__btn--checkout .cdxx-service-card__btn-arrow svg {
  transition: transform 0.2s ease;
  transform: translateY(-0.02em);
}

.cdxx-service-card__btn--checkout:hover .cdxx-service-card__btn-arrow svg {
  transform: translate(0.12rem, -0.02em);
}

@media (max-width: 639px) {
  .cdxx-service-card {
    min-height: 236px;
  }

  .cdxx-service-card__header {
    min-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-service-card,
  .cdxx-service-card__header-img {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .cdxx-service-card:hover,
  .cdxx-service-card:focus-within,
  .cdxx-service-card.is-selected {
    transform: none;
    filter: none;
  }

  .cdxx-service-card:hover .cdxx-service-card__header-img,
  .cdxx-service-card:focus-within .cdxx-service-card__header-img,
  .cdxx-service-card.is-selected .cdxx-service-card__header-img {
    transform: none;
  }
}

.cdxx-vp__video {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  display: block;
  background: #050210;
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-vp__video:focus-visible {
  outline: 2px solid rgba(200, 160, 255, 0.75);
  outline-offset: 3px;
}

.cdxx-vp__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.82);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.cdxx-vp__shade--hidden {
  opacity: 0;
  pointer-events: none;
}

.cdxx-vp__big-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
  border-radius: 50%;
  border: 2px solid rgba(200, 160, 255, 0.55);
  background: rgba(12, 6, 32, 0.72);
  color: #f3ecff;
  cursor: var(--cdxx-cursor-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 28px rgba(140, 80, 220, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.25s ease;
  z-index: 2;
}

.cdxx-vp__big-play:hover {
  transform: scale(1.06);
  background: rgba(40, 20, 90, 0.78);
  border-color: rgba(230, 200, 255, 0.85);
}

.cdxx-vp--playing .cdxx-vp__big-play {
  opacity: 0;
  pointer-events: none;
}

.cdxx-vp--preview-modal .cdxx-vp__chrome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 0.35rem 0.45rem;
  align-items: center;
  flex-wrap: unset;
  padding: 0.42rem 0.5rem 0.48rem;
}

.cdxx-vp--preview-modal .cdxx-vp__seek-wrap {
  grid-column: 1;
  grid-row: 1;
  flex: unset;
  min-width: 0;
}

.cdxx-vp--preview-modal .cdxx-vp__btn--fs {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 32px;
  height: 32px;
}

.cdxx-vp__chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.55rem 0.65rem 0.65rem;
  background: linear-gradient(0deg, rgba(4, 2, 14, 0.94) 0%, rgba(8, 4, 22, 0.55) 55%, transparent 100%);
  border-radius: 0 0 11px 11px;
  cursor: var(--cdxx-cursor-default);
}

.cdxx-vp__btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(150, 110, 220, 0.45);
  background: rgba(14, 8, 32, 0.88);
  color: rgba(240, 230, 255, 0.95);
  cursor: var(--cdxx-cursor-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.cdxx-vp__btn:hover {
  background: rgba(50, 28, 100, 0.75);
  border-color: rgba(210, 170, 255, 0.65);
}

.cdxx-vp__btn:active {
  transform: scale(0.96);
}

.cdxx-vp__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.cdxx-vp__btn--play .cdxx-vp__icon--pause {
  display: none;
}

.cdxx-vp--playing .cdxx-vp__btn--play .cdxx-vp__icon--play {
  display: none;
}

.cdxx-vp--playing .cdxx-vp__btn--play .cdxx-vp__icon--pause {
  display: block;
}

.cdxx-vp__btn--mute .cdxx-vp__icon--vol-off {
  display: none;
}

.cdxx-vp--muted .cdxx-vp__btn--mute .cdxx-vp__icon--vol-on {
  display: none;
}

.cdxx-vp--muted .cdxx-vp__btn--mute .cdxx-vp__icon--vol-off {
  display: block;
}

.cdxx-vp__time {
  display: none !important;
}

.cdxx-vp__seek-wrap {
  flex: 1 1 120px;
  min-width: 0;
  display: flex;
  align-items: center;
}

@property --cdxx-seek-pct {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

/* --cdxx-seek-pct set in JS for filled portion */
.cdxx-vp__seek {
  --cdxx-seek-pct: 0%;
  --cdxx-track-h: 12px;
  --cdxx-thumb-w: 5px;
  --cdxx-thumb-h: 20px;
  width: 100%;
  height: calc(var(--cdxx-track-h) + 8px);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  cursor: var(--cdxx-cursor-hover);
  touch-action: none;
}

/* Range thumbs are not matched by `body *` — mirror site cursors + pressed state */
body.cursor-pressed .cdxx-vp__seek::-webkit-slider-thumb,
body.cursor-pressed .cdxx-vp__seek::-moz-range-thumb {
  cursor: var(--cdxx-cursor-hover) !important;
}

.cdxx-vp__seek::-webkit-slider-runnable-track {
  height: var(--cdxx-track-h);
  border-radius: 999px;
  /* Feathered playhead edge reads smoother than a hard stop while scrubbing/playing. */
  background: linear-gradient(
    90deg,
    rgba(198, 158, 255, 0.94) 0%,
    rgba(175, 130, 248, 0.9) max(0%, calc(var(--cdxx-seek-pct) - 1%)),
    rgba(120, 82, 210, 0.92) var(--cdxx-seek-pct),
    rgba(62, 40, 118, 0.9) min(100%, calc(var(--cdxx-seek-pct) + 1%)),
    rgba(32, 20, 62, 0.92) 100%
  );
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(130, 90, 190, 0.38),
    0 0 18px rgba(100, 60, 160, 0.2);
}

.cdxx-vp__seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: calc(var(--cdxx-track-h) + 6px);
  height: var(--cdxx-track-h);
  border-radius: 999px;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  margin-top: calc(((var(--cdxx-track-h) + 8px) - var(--cdxx-track-h)) / -2);
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-vp__seek::-moz-range-thumb {
  width: calc(var(--cdxx-track-h) + 6px);
  height: var(--cdxx-track-h);
  border-radius: 999px;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  box-sizing: border-box;
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-vp__seek::-moz-range-track {
  height: var(--cdxx-track-h);
  border-radius: 999px;
  background: rgba(28, 18, 58, 0.92);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(120, 80, 180, 0.35),
    0 0 14px rgba(100, 60, 160, 0.22);
}

.cdxx-vp__seek::-moz-range-progress {
  height: var(--cdxx-track-h);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(198, 158, 255, 0.94) 0%,
    rgba(155, 115, 238, 0.9) 45%,
    rgba(120, 82, 210, 0.92) 100%
  );
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cdxx-vp--fs {
  border-radius: 0;
  background: #000;
}

.cdxx-vp--fs .cdxx-vp__video {
  max-height: 100vh;
}

@media (max-width: 520px) {
  .cdxx-vp__chrome {
    padding: 0.45rem 0.5rem 0.55rem;
    gap: 0.35rem;
  }

  .cdxx-vp__btn {
    width: 36px;
    height: 36px;
  }

  .cdxx-vp--preview-modal .cdxx-vp__chrome {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
  }

  .cdxx-vp--preview-modal .cdxx-vp__seek-wrap {
    order: unset;
    flex: unset;
    grid-column: 1;
    grid-row: 1;
  }

  .cdxx-vp--preview-modal .cdxx-vp__btn--fs {
    grid-column: 2;
    grid-row: 1;
  }

  .cdxx-vp:not(.cdxx-vp--preview-modal) .cdxx-vp__seek-wrap {
    order: 5;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-vp__big-play,
  .cdxx-vp__btn,
  .cdxx-vp__shade {
    transition: none;
  }

  .cdxx-vp__big-play:hover {
    transform: none;
  }
}

/* Homepage: How It Works */
.cdxx-how-mobile-detail {
  display: none;
}

.cdxx-how-it-works {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vh, 2rem) 0 clamp(1.25rem, 2.5vh, 1.75rem);
  margin-top: clamp(-1rem, -2vh, -0.35rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(110, 47, 255, 0.14), transparent 62%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(159, 77, 255, 0.08), transparent 55%),
    var(--bg);
  border-top: 1px solid rgba(50, 32, 95, 0.45);
}

.cdxx-how-it-works__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 42%, rgba(110, 47, 255, 0.12), transparent 42%);
  opacity: 0.9;
}

.cdxx-how-it-works__inner {
  position: relative;
  z-index: 1;
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

.cdxx-how-it-works__head.service-categories-head {
  z-index: 1;
  margin: 0 auto clamp(1.5rem, 3.5vw, 2.25rem);
}

.cdxx-why-choose__head.service-categories-head,
.cdxx-trust__head.service-categories-head {
  flex-direction: column;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  max-width: 760px;
}

.cdxx-trust__head.service-categories-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.35rem);
}

.cdxx-trust__head .service-categories-head__glitch {
  width: max-content;
  max-width: min(100%, 920px);
}

#cdxx-trust-title {
  white-space: nowrap;
  font-size: clamp(1.35rem, 3.6vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: 0.025em;
}

@media (max-width: 520px) {
  #cdxx-trust-title {
    font-size: clamp(1.02rem, 4.1vw, 1.28rem);
    letter-spacing: 0.015em;
  }
}

.cdxx-how-it-works__subtitle {
  margin: clamp(0.65rem, 1.8vw, 0.85rem) 0 0;
  max-width: 720px;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
}

.cdxx-how-it-works__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: stretch;
}

.cdxx-how-connect {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.cdxx-how-connect[hidden] {
  display: none;
}

.cdxx-how-connect__path {
  fill: none;
  stroke: rgba(168, 85, 247, 0.88);
  stroke-width: 2;
  stroke-linecap: round;
  filter: url(#cdxx-how-connect-glow);
  opacity: 0.92;
}

.cdxx-how-connect__dot {
  fill: rgba(210, 175, 255, 0.98);
  filter: url(#cdxx-how-connect-glow);
}

.cdxx-how-connect__pulse {
  fill: rgba(168, 85, 247, 0.95);
  filter: url(#cdxx-how-connect-glow);
  opacity: 0;
}

.cdxx-how-connect.is-visible .cdxx-how-connect__pulse {
  opacity: 1;
}

.cdxx-how-it-works__steps,
.cdxx-how-it-works__visual-wrap {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .cdxx-how-connect.is-visible .cdxx-how-connect__dot {
    animation: cdxx-how-connect-dot-pulse 2.4s ease-in-out infinite;
  }

  .cdxx-how-connect__path.cdxx-how-connect__path--draw {
    transition: stroke-dashoffset 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@keyframes cdxx-how-connect-dot-pulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-how-connect__path.cdxx-how-connect__path--draw {
    transition: none;
  }

  .cdxx-how-connect__pulse {
    display: none;
  }
}

.cdxx-how-it-works--asset-step .cdxx-how-it-works__grid,
.cdxx-how-it-works--mock-step .cdxx-how-it-works__grid,
.cdxx-how-it-works__grid:has(.cdxx-how-visual--asset.is-active) {
  grid-template-columns: minmax(0, 400px) minmax(360px, 1fr);
  justify-content: center;
  align-items: start;
}

.cdxx-how-it-works--asset-step .cdxx-how-it-works__inner,
.cdxx-how-it-works--mock-step .cdxx-how-it-works__inner,
.cdxx-how-it-works__inner:has(.cdxx-how-visual--asset.is-active) {
  width: min(1240px, 100%);
}

.cdxx-how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cdxx-how-step {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  min-height: clamp(5.5rem, 14vh, 7.25rem);
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.1rem, 2.4vw, 1.45rem);
  border: 1px solid rgba(37, 22, 72, 0.9);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(15, 9, 32, 0.92), rgba(8, 5, 18, 0.98));
  color: var(--text);
  text-align: left;
  font-family: Inter, system-ui, sans-serif;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.cdxx-how-step:hover:not(.is-active) {
  border-color: rgba(110, 47, 255, 0.35);
  transform: translateY(-1px);
}

.cdxx-how-step.is-active {
  border-color: rgba(159, 77, 255, 0.65);
  background: linear-gradient(
    145deg,
    rgba(110, 47, 255, 0.38) 0%,
    rgba(55, 28, 120, 0.32) 42%,
    rgba(15, 9, 32, 0.95) 100%
  );
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.22) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 36px rgba(110, 47, 255, 0.28);
}

.cdxx-how-step__num {
  flex-shrink: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(159, 77, 255, 0.55);
  line-height: 1;
  padding-top: 0.15rem;
  transition: color 0.32s ease, text-shadow 0.32s ease;
}

.cdxx-how-step.is-active .cdxx-how-step__num {
  color: var(--purple-bright);
  text-shadow: 0 0 18px rgba(159, 77, 255, 0.65);
}

.cdxx-how-step__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.cdxx-how-step__title {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 700;
  color: #f5f0ff;
  letter-spacing: 0.02em;
}

.cdxx-how-step__text {
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.cdxx-how-step.is-active .cdxx-how-step__text {
  color: rgba(220, 210, 255, 0.88);
}

.cdxx-how-step__progress {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0 0 17px 17px;
  background: rgba(110, 47, 255, 0.14);
  opacity: 0;
}

.cdxx-how-step.is-active .cdxx-how-step__progress {
  opacity: 1;
}

.cdxx-how-step__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(110, 47, 255, 0.75) 0%, rgba(159, 77, 255, 1) 55%, rgba(200, 160, 255, 0.95) 100%);
  box-shadow: 0 0 12px rgba(159, 77, 255, 0.45);
}

.cdxx-how-step.is-active .cdxx-how-step__progress-fill {
  animation: cdxx-how-step-progress var(--cdxx-how-step-duration, 10s) linear forwards;
}

@keyframes cdxx-how-step-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.cdxx-how-it-works__visual-wrap {
  min-width: 0;
  width: 100%;
}

.cdxx-how-it-works--asset-step .cdxx-how-it-works__visual-wrap,
.cdxx-how-it-works--mock-step .cdxx-how-it-works__visual-wrap,
.cdxx-how-it-works__visual-wrap:has(.cdxx-how-visual--asset.is-active) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 380px);
}

.cdxx-how-it-works--asset-step .cdxx-how-it-works__visual,
.cdxx-how-it-works--mock-step .cdxx-how-it-works__visual,
.cdxx-how-it-works__visual:has(.cdxx-how-visual.is-active:not(.cdxx-how-visual--asset)) {
  --cdxx-how-asset-max-h: clamp(280px, 38vw, 604px);
  min-height: var(--cdxx-how-asset-max-h);
  height: var(--cdxx-how-asset-max-h);
  width: 100%;
  min-width: min(100%, 380px);
}

.cdxx-how-it-works__visual {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 34vw, 360px);
  border-radius: 22px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  background:
    radial-gradient(circle at 30% 18%, rgba(159, 77, 255, 0.16), transparent 48%),
    linear-gradient(165deg, rgba(19, 11, 43, 0.95), rgba(6, 4, 14, 0.98));
  box-shadow:
    0 0 0 1px rgba(110, 47, 255, 0.12) inset,
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(110, 47, 255, 0.12);
  overflow: hidden;
}

.cdxx-how-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(12px, 0, 0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s;
  pointer-events: none;
  will-change: opacity, transform;
}

.cdxx-how-visual.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 1;
}

.cdxx-how-it-works--asset-step .cdxx-how-it-works__visual,
.cdxx-how-it-works__visual:has(.cdxx-how-visual--asset.is-active) {
  --cdxx-how-asset-max-h: clamp(280px, 38vw, 604px);
  min-height: var(--cdxx-how-asset-max-h);
  height: var(--cdxx-how-asset-max-h);
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.cdxx-how-visual--asset {
  padding: 0;
}

.cdxx-how-visual--asset.is-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cdxx-how-visual__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(855px, 100%);
  max-height: clamp(280px, 38vw, 604px);
  object-fit: contain;
  border-radius: 16px;
}

/* Step 02 — scale up inside fixed slot (layout / steps unchanged) */
#cdxx-how-panel-2 .cdxx-how-visual__img {
  transform: scale(1.16);
  transform-origin: center center;
}

.cdxx-mock {
  width: min(100%, 380px);
  min-width: 280px;
  margin: 0 auto;
  font-family: Inter, system-ui, sans-serif;
}

.cdxx-how-visual.is-active .cdxx-mock {
  flex-shrink: 0;
}

.cdxx-mock__label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.85);
}

.cdxx-mock__carousel-stage {
  display: grid;
  grid-template-columns: 0.72fr 1.35fr 0.72fr;
  gap: 0.45rem;
  align-items: end;
}

.cdxx-mock__carousel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 7.5rem;
  padding: 0.55rem 0.4rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  background: rgba(8, 5, 18, 0.72);
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.7);
}

.cdxx-mock__carousel-card--side {
  opacity: 0.45;
  transform: scale(0.92);
}

.cdxx-mock__carousel-card--center {
  border-color: rgba(159, 77, 255, 0.65);
  background: linear-gradient(165deg, rgba(110, 47, 255, 0.28), rgba(12, 7, 26, 0.95));
  box-shadow: 0 0 28px rgba(110, 47, 255, 0.28);
  color: #f0e8ff;
  min-height: 9rem;
  gap: 0.35rem;
}

.cdxx-mock__carousel-tag {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: rgba(205, 192, 255, 0.9);
}

.cdxx-mock__carousel-title {
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.cdxx-mock__carousel-cta {
  margin-top: 0.25rem;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  box-shadow: 0 0 16px rgba(110, 47, 255, 0.4);
}

.cdxx-mock__search {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(50, 32, 95, 0.65);
  background: rgba(4, 2, 12, 0.85);
  font-size: 0.82rem;
  color: rgba(170, 162, 210, 0.65);
}

.cdxx-mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.cdxx-mock__chip {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(170, 162, 210, 0.8);
}

.cdxx-mock__chip--active {
  border-color: rgba(159, 77, 255, 0.6);
  background: rgba(110, 47, 255, 0.25);
  color: #f0e8ff;
}

.cdxx-mock__listing {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  background: rgba(8, 5, 18, 0.75);
}

.cdxx-mock__listing-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cdxx-mock__listing-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.cdxx-mock__listing-actions {
  display: flex;
  gap: 0.45rem;
}

.cdxx-mock__listing-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(220, 210, 255, 0.9);
}

.cdxx-mock__listing-btn--buy {
  border-color: rgba(159, 77, 255, 0.55);
  background: linear-gradient(135deg, rgba(110, 47, 255, 0.35), rgba(30, 18, 64, 0.85));
  color: #fff;
}

.cdxx-mock__field {
  margin-bottom: 0.75rem;
}

.cdxx-mock__field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.8);
  margin-bottom: 0.35rem;
}

.cdxx-mock__field-input {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(50, 32, 95, 0.65);
  background: rgba(4, 2, 12, 0.85);
  font-size: 0.88rem;
  color: rgba(220, 210, 255, 0.75);
}

.cdxx-mock__terms {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.cdxx-mock__checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(159, 77, 255, 0.55);
  background: rgba(110, 47, 255, 0.35);
  flex-shrink: 0;
  position: relative;
}

.cdxx-mock__checkbox::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cdxx-mock__plan {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.65rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(50, 32, 95, 0.5);
  background: rgba(8, 5, 18, 0.6);
}

.cdxx-mock__plan--selected {
  border-color: rgba(159, 77, 255, 0.6);
  background: linear-gradient(145deg, rgba(110, 47, 255, 0.18), rgba(15, 9, 32, 0.88));
}

.cdxx-mock__plan-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(159, 77, 255, 0.5);
  flex-shrink: 0;
}

.cdxx-mock__plan--selected .cdxx-mock__plan-radio {
  border-color: var(--purple-bright);
  background: radial-gradient(circle, var(--purple-bright) 38%, transparent 40%);
  box-shadow: 0 0 10px rgba(159, 77, 255, 0.5);
}

.cdxx-mock__plan-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.cdxx-mock__plan-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #f2ecff;
  line-height: 1.25;
}

.cdxx-mock__plan-stock {
  font-size: 0.65rem;
  color: #7dffb0;
  font-weight: 600;
}

.cdxx-mock__plan-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-bright);
  flex-shrink: 0;
}

.cdxx-mock__cart-btn {
  display: block;
  width: 100%;
  margin: 0.5rem 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(50, 32, 95, 0.55);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(220, 210, 255, 0.9);
  background: rgba(8, 5, 18, 0.55);
}

.cdxx-mock__pay-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  box-shadow: 0 0 24px rgba(110, 47, 255, 0.4);
}

.cdxx-mock__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(50, 32, 95, 0.5);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(200, 190, 255, 0.9);
  background: rgba(8, 5, 18, 0.65);
}

.cdxx-mock__status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb0;
  box-shadow: 0 0 10px rgba(125, 255, 176, 0.65);
}

.cdxx-mock__chat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(50, 32, 95, 0.5);
  background: rgba(8, 5, 18, 0.72);
}

.cdxx-mock__chat-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.85);
}

.cdxx-mock__chat-bubble {
  display: block;
  max-width: 92%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.cdxx-mock__chat-bubble--bot {
  align-self: flex-start;
  color: rgba(220, 210, 255, 0.92);
  background: rgba(110, 47, 255, 0.22);
  border: 1px solid rgba(110, 47, 255, 0.35);
}

.cdxx-mock__chat-bubble--user {
  align-self: flex-end;
  color: #ece8ff;
  background: rgba(30, 18, 64, 0.85);
  border: 1px solid rgba(50, 32, 95, 0.55);
}

.cdxx-mock__support {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(110, 47, 255, 0.35);
  background: rgba(110, 47, 255, 0.08);
}

@media (max-width: 900px) {
  .cdxx-how-it-works__grid,
  .cdxx-how-it-works--asset-step .cdxx-how-it-works__grid,
  .cdxx-how-it-works--mock-step .cdxx-how-it-works__grid,
  .cdxx-how-it-works__grid:has(.cdxx-how-visual--asset.is-active) {
    grid-template-columns: 1fr;
  }

  .cdxx-how-connect {
    display: none !important;
  }

  .cdxx-how-it-works__inner:has(.cdxx-how-visual--asset.is-active),
  .cdxx-how-it-works--asset-step .cdxx-how-it-works__inner,
  .cdxx-how-it-works--mock-step .cdxx-how-it-works__inner {
    width: min(1140px, 100%);
  }

  .cdxx-how-it-works__visual {
    min-height: clamp(280px, 55vw, 380px);
  }

  .cdxx-how-it-works--asset-step .cdxx-how-it-works__visual,
  .cdxx-how-it-works--mock-step .cdxx-how-it-works__visual {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .cdxx-how-it-works {
    padding: clamp(2.5rem, 6vh, 3.5rem) 0 clamp(1rem, 2.5vh, 1.5rem);
  }

  .cdxx-how-step {
    min-height: auto;
  }

  .cdxx-mock__carousel-stage {
    grid-template-columns: 0.65fr 1.4fr 0.65fr;
  }

  .cdxx-mock__listing-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-how-step,
  .cdxx-how-visual {
    transition: none;
  }

  .cdxx-how-step.is-active .cdxx-how-step__progress-fill {
    animation: none;
    transform: scaleX(1);
  }
}

/* Homepage: Why Choose CDXX */
.cdxx-why-choose {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  padding: clamp(2.25rem, 5.5vh, 3.75rem) 0 clamp(2rem, 4.5vh, 3.25rem);
  background: transparent;
  border: none;
}

.cdxx-why-choose__inner {
  position: relative;
  z-index: 1;
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

.cdxx-why-choose__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  max-width: 760px;
  padding: 0 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cdxx-why-choose__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 4.5vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:
    0 0 28px rgba(159, 77, 255, 0.45),
    0 0 52px rgba(110, 47, 255, 0.22),
    0 2px 14px rgba(0, 0, 0, 0.75);
}

.cdxx-why-choose__subtitle {
  margin: clamp(0.65rem, 1.6vw, 0.9rem) 0 0;
  max-width: 52ch;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.cdxx-why-choose__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(200px, 1fr) minmax(168px, auto);
  gap: clamp(0.85rem, 1.8vw, 1.2rem);
  width: min(1140px, 100%);
  margin: 0 auto;
}

.cdxx-why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(200px, 28vw, 260px);
  padding: clamp(1.1rem, 2.2vw, 1.45rem);
  border-radius: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(110, 47, 255, 0.28);
  background:
    linear-gradient(155deg, rgba(22, 10, 48, 0.94) 0%, rgba(8, 4, 18, 0.98) 52%, rgba(5, 2, 12, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(110, 47, 255, 0.08);
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.32, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.cdxx-why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(110, 47, 255, 0.14), transparent 62%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.32s ease;
}

.cdxx-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 77, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.12) inset,
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(110, 47, 255, 0.22);
}

.cdxx-why-card:hover::before {
  opacity: 1;
}

.cdxx-why-card--support {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: clamp(420px, 48vh, 520px);
  padding: 0;
  background-color: #12061f;
  background-image: none;
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-why-card--support:focus {
  outline: none;
}

.cdxx-why-card--support:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.85);
  outline-offset: 3px;
}

.cdxx-why-card--support::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 122%;
  height: 122%;
  transform: translate(-50%, -56%);
  border-radius: inherit;
  pointer-events: none;
  background-color: #12061f;
  background-image: url("assets/24-7 support CDXX.png");
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: cover;
}

.cdxx-why-card--support::before {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 4, 18, 0.06) 0%,
    transparent 50%,
    rgba(5, 2, 12, 0.42) 100%
  );
}

.cdxx-why-card--support .cdxx-why-card__scene {
  display: none;
}

.cdxx-why-card--support .cdxx-why-card__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: auto;
  padding: 0 clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.1rem, 3.2vw, 1.65rem);
}

.cdxx-why-card--support .cdxx-why-card__text {
  margin-left: auto;
  margin-right: auto;
}

.cdxx-why-card--payments {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  background-color: #12061f;
  background-image: none;
}

.cdxx-why-card--payments::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 114%;
  height: 114%;
  transform: translate(-50%, -56%);
  border-radius: inherit;
  pointer-events: none;
  background-color: #12061f;
  background-image: url("assets/SECURE PAYMENT.png?v=20260528");
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: cover;
}

.cdxx-why-card--payments::before {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 4, 18, 0.06) 0%,
    transparent 50%,
    rgba(5, 2, 12, 0.48) 100%
  );
}

.cdxx-why-card--payments .cdxx-why-card__scene {
  display: none;
}

.cdxx-why-card--payments .cdxx-why-card__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.1rem, 2.2vw, 1.45rem);
}

.cdxx-why-card--private {
  grid-column: 3;
  grid-row: 1;
  padding: 0;
  background-color: #12061f;
  background-image: none;
}

.cdxx-why-card--private::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 108%;
  height: 108%;
  transform: translate(-50%, -56%);
  border-radius: inherit;
  pointer-events: none;
  background-color: #12061f;
  background-image: url("assets/PRIVATE ORDERS.png?v=20260528");
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: cover;
}

.cdxx-why-card--private::before {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 4, 18, 0.06) 0%,
    transparent 50%,
    rgba(5, 2, 12, 0.48) 100%
  );
}

.cdxx-why-card--private .cdxx-why-card__scene {
  display: none;
}

.cdxx-why-card--private .cdxx-why-card__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.1rem, 2.2vw, 1.45rem);
}

.cdxx-why-card--delivery {
  grid-column: 2 / 4;
  grid-row: 2;
  min-height: clamp(188px, 22vw, 228px);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background-color: #12061f;
  background-image: none;
}

.cdxx-why-card--delivery::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 108%;
  height: 108%;
  transform: translate(-50%, -50%);
  border-radius: inherit;
  pointer-events: none;
  background-color: #12061f;
  background-image: url("assets/FAST DELIVERY.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.cdxx-why-card--delivery::before {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 4, 18, 0.06) 0%,
    transparent 45%,
    rgba(5, 2, 12, 0.82) 100%
  );
}

.cdxx-why-card--delivery .cdxx-why-card__scene {
  display: none;
}

.cdxx-why-card--delivery .cdxx-why-card__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 42ch;
  padding: 0 clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.1rem, 2.2vw, 1.45rem);
  text-align: center;
  box-sizing: border-box;
}

.cdxx-why-card--delivery .cdxx-why-card__title {
  margin: 0 0 0.4rem;
}

.cdxx-why-card--delivery .cdxx-why-card__text {
  margin-left: auto;
  margin-right: auto;
  max-width: 42ch;
}

.cdxx-why-card__scene {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(110px, 16vw, 150px);
  margin-bottom: clamp(0.65rem, 1.5vw, 1rem);
}

.cdxx-why-card__scene--support {
  align-items: flex-end;
  padding-bottom: 0.35rem;
}

.cdxx-why-card__scene--delivery {
  justify-content: flex-start;
  padding-left: clamp(0.5rem, 2vw, 1.25rem);
}

.cdxx-why-card__icon-ring {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(4.5rem, 10vw, 5.75rem);
  height: clamp(4.5rem, 10vw, 5.75rem);
  border-radius: 50%;
  border: 1px solid rgba(159, 77, 255, 0.35);
  background:
    radial-gradient(circle at 35% 28%, rgba(159, 77, 255, 0.35), rgba(45, 18, 100, 0.5) 58%, rgba(8, 2, 18, 0.9) 100%);
  box-shadow:
    0 0 28px rgba(110, 47, 255, 0.35),
    0 0 64px rgba(110, 47, 255, 0.18);
  color: #e8d8ff;
}

.cdxx-why-card__icon-ring--bolt {
  width: clamp(4.75rem, 11vw, 6rem);
  height: clamp(4.75rem, 11vw, 6rem);
}

.cdxx-why-card__icon {
  display: block;
  filter: drop-shadow(0 0 10px rgba(159, 77, 255, 0.55));
}

.cdxx-why-bubble {
  position: absolute;
  z-index: 1;
  max-width: min(11rem, 42vw);
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 47, 255, 0.32);
  background: rgba(12, 6, 28, 0.82);
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(220, 210, 255, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.cdxx-why-bubble--a {
  top: 8%;
  left: 6%;
  transform: rotate(-4deg);
}

.cdxx-why-bubble--b {
  top: 22%;
  right: 4%;
  transform: rotate(3deg);
}

.cdxx-why-chip {
  position: absolute;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 47, 255, 0.38);
  background: rgba(18, 8, 40, 0.75);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 175, 255, 0.9);
}

.cdxx-why-chip--a {
  top: 18%;
  right: 10%;
}

.cdxx-why-chip--b {
  bottom: 28%;
  left: 8%;
}

.cdxx-why-speed {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(159, 77, 255, 0.75), transparent);
  opacity: 0.55;
}

.cdxx-why-speed--a {
  top: 38%;
  left: 28%;
  width: 38%;
  transform: rotate(-8deg);
}

.cdxx-why-speed--b {
  top: 52%;
  left: 42%;
  width: 32%;
}

.cdxx-why-speed--c {
  top: 66%;
  left: 34%;
  width: 44%;
  transform: rotate(6deg);
  opacity: 0.35;
}

.cdxx-why-card__copy {
  position: relative;
  z-index: 2;
}

.cdxx-why-card__title {
  margin: 0 0 0.4rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 18px rgba(110, 47, 255, 0.25);
}

.cdxx-why-card__text {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.82rem, 1.6vw, 0.94rem);
  line-height: 1.5;
  color: rgba(186, 176, 220, 0.92);
}

.cdxx-why-card--wide .cdxx-why-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}


@media (max-width: 768px) {
  .cdxx-why-choose__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cdxx-why-card--support,
  .cdxx-why-card--payments,
  .cdxx-why-card--private,
  .cdxx-why-card--delivery {
    grid-column: 1;
    grid-row: auto;
    min-height: clamp(240px, 62vw, 320px);
  }

  .cdxx-why-card--support {
    min-height: clamp(320px, 78vw, 400px);
  }

  .cdxx-why-card--delivery {
    min-height: clamp(220px, 58vw, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-why-card {
    transition: none;
  }

  .cdxx-why-card:hover {
    transform: none;
  }

  .cdxx-trust-card {
    transition: none;
  }

  .cdxx-trust-card--compact:nth-child(odd),
  .cdxx-trust-card--compact:nth-child(even) {
    transform: none;
  }
}

/* Homepage: Trusted by CDXX Customers */
.cdxx-trust {
  --cdxx-trust-grid-gap: 16px;
  --cdxx-trust-compact-height: 244px;
  --cdxx-trust-column-height: calc(
    var(--cdxx-trust-compact-height) * 3 + var(--cdxx-trust-grid-gap) * 2
  );
  --cdxx-trust-featured-height: min(
    520px,
    calc(var(--cdxx-trust-compact-height) * 2 + var(--cdxx-trust-grid-gap))
  );
  --cdxx-trust-card-bg-image: url("assets/BOXES BG.png");
  --cdxx-trust-card-bg-size: 112%;
  --cdxx-trust-card-bg-size-compact: 118%;
  --cdxx-trust-card-bg-size-featured: 115%;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 4.5vh, 3.25rem) 0 clamp(1.5rem, 3.5vh, 2.25rem);
  background: transparent;
}

.cdxx-trust::before {
  content: none;
}

.cdxx-trust__inner {
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

.cdxx-trust__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto clamp(1.75rem, 4vw, 2.35rem);
  max-width: 760px;
  padding: 0 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cdxx-trust__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:
    0 0 28px rgba(159, 77, 255, 0.42),
    0 0 48px rgba(110, 47, 255, 0.2),
    0 2px 14px rgba(0, 0, 0, 0.75);
}

.cdxx-trust__subtitle {
  margin: clamp(0.65rem, 1.6vw, 0.9rem) 0 0;
  max-width: 54ch;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.cdxx-trust__wall {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.cdxx-trust__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 clamp(1rem, 2.4vw, 1.35rem);
  padding: 0;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(110, 47, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(12, 8, 26, 0.94) 0%, rgba(6, 4, 14, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.cdxx-trust-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 3.55rem;
  padding: 0.62rem 0.85rem;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(110, 47, 255, 0.14);
  background: transparent;
  text-align: center;
}

.cdxx-trust-stat:last-child {
  border-right: none;
}

.cdxx-trust-stat::after {
  content: none;
}

.cdxx-trust-stat__value {
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(0.86rem, 1.85vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f5f0ff;
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.cdxx-trust-stat__label {
  font-size: clamp(0.64rem, 1.25vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.82);
  line-height: 1.2;
}

.cdxx-trust__featured-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 3.2vw, 3rem);
  width: 100%;
  min-width: 0;
  align-self: start;
  overflow: visible;
}

.cdxx-trust__source-rail {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  margin-top: clamp(1.35rem, 14%, 2.75rem);
  gap: clamp(1.125rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  pointer-events: none;
}

.cdxx-trust__source-rail .cdxx-trust-source-icon {
  pointer-events: auto;
}

.cdxx-trust-source-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(3.25rem, 5.5vw, 4rem);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: rgba(158, 146, 198, 0.72);
  cursor: var(--cdxx-cursor-hover);
  font-family: inherit;
  transition: color 0.32s ease, transform 0.32s ease;
}

.cdxx-trust-source-icon__hit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.25rem, 5.5vw, 4rem);
  height: clamp(3.25rem, 5.5vw, 4rem);
  border-radius: 50%;
  line-height: 0;
  border: 1px solid rgba(110, 47, 255, 0.14);
  background:
    radial-gradient(circle at 50% 35%, rgba(110, 47, 255, 0.14), transparent 68%),
    rgba(22, 10, 44, 0.72);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.04) inset,
    0 6px 16px rgba(0, 0, 0, 0.28);
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    color 0.32s ease,
    transform 0.32s ease;
}

.cdxx-trust-source-icon__hit svg,
.cdxx-trust-source-icon__hit img {
  display: block;
  width: clamp(1.25rem, 2.2vw, 1.625rem);
  height: clamp(1.25rem, 2.2vw, 1.625rem);
  object-fit: contain;
}

.cdxx-trust-source-icon__img--trustpilot {
  width: clamp(1.35rem, 2.4vw, 1.75rem);
  height: clamp(1.35rem, 2.4vw, 1.75rem);
}

.cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon__hit--website {
  position: relative;
  background: transparent;
  box-shadow: none;
}

.cdxx-trust-source-icon__hit--discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cdxx-trust-source-icon--discord:not(:hover):not(.is-active):not(.is-discord-motion) .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--website:not(:hover):not(.is-active):not(.is-website-motion) .cdxx-trust-source-icon__hit--website {
  border-color: rgba(110, 47, 255, 0.12);
}

.cdxx-trust-source-icon__canvas--discord,
.cdxx-trust-source-icon__img--discord,
.cdxx-trust-source-icon__canvas--website,
.cdxx-trust-source-icon__img--website {
  display: block;
  width: clamp(1.35rem, 2.4vw, 1.75rem);
  height: clamp(1.35rem, 2.4vw, 1.75rem);
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.cdxx-trust-source-icon__canvas--discord,
.cdxx-trust-source-icon__canvas--website {
  position: relative;
  z-index: 1;
}

.cdxx-trust-source-icon__img--discord,
.cdxx-trust-source-icon__img--website {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cdxx-trust-source-icon--discord.is-discord-motion .cdxx-trust-source-icon__img--discord,
.cdxx-trust-source-icon--website.is-website-motion .cdxx-trust-source-icon__img--website {
  opacity: 1;
  visibility: visible;
}

.cdxx-trust-source-icon--discord.is-discord-motion .cdxx-trust-source-icon__canvas--discord,
.cdxx-trust-source-icon--website.is-website-motion .cdxx-trust-source-icon__canvas--website {
  opacity: 0;
  visibility: hidden;
}

.cdxx-trust-source-icon--discord:hover:not(:disabled) .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--discord.is-active .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--discord.is-discord-motion .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--website:hover:not(:disabled) .cdxx-trust-source-icon__hit--website,
.cdxx-trust-source-icon--website.is-active .cdxx-trust-source-icon__hit--website,
.cdxx-trust-source-icon--website.is-website-motion .cdxx-trust-source-icon__hit--website {
  background:
    radial-gradient(circle at 50% 35%, rgba(110, 47, 255, 0.22), transparent 68%),
    rgba(34, 16, 68, 0.82);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.12) inset,
    0 0 20px rgba(110, 47, 255, 0.28);
}

.cdxx-trust-source-icon--discord.is-active .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--discord.is-discord-motion.is-active .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--website.is-active .cdxx-trust-source-icon__hit--website,
.cdxx-trust-source-icon--website.is-website-motion.is-active .cdxx-trust-source-icon__hit--website {
  background:
    radial-gradient(circle at 50% 30%, rgba(159, 77, 255, 0.38), transparent 62%),
    rgba(48, 22, 92, 0.88);
  box-shadow:
    0 0 0 1px rgba(200, 160, 255, 0.2) inset,
    0 0 24px rgba(159, 77, 255, 0.5),
    0 0 44px rgba(110, 47, 255, 0.28);
}

.cdxx-trust-source-icon--discord:hover:not(:disabled) .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--discord.is-active .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--discord.is-discord-motion .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--website:hover:not(:disabled) .cdxx-trust-source-icon__hit--website,
.cdxx-trust-source-icon--website.is-active .cdxx-trust-source-icon__hit--website,
.cdxx-trust-source-icon--website.is-website-motion .cdxx-trust-source-icon__hit--website {
  animation: cdxx-trust-source-apng-hit-glow 1.85s ease-in-out infinite;
}

@keyframes cdxx-trust-source-apng-hit-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(159, 77, 255, 0.12) inset,
      0 0 18px rgba(110, 47, 255, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(200, 160, 255, 0.22) inset,
      0 0 28px rgba(159, 77, 255, 0.42);
  }
}

.cdxx-trust-source-icon--discord.is-active .cdxx-trust-source-icon__hit--discord,
.cdxx-trust-source-icon--website.is-active .cdxx-trust-source-icon__hit--website {
  animation-name: cdxx-trust-source-apng-hit-glow-active;
}

@keyframes cdxx-trust-source-apng-hit-glow-active {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(200, 160, 255, 0.2) inset,
      0 0 24px rgba(159, 77, 255, 0.5),
      0 0 44px rgba(110, 47, 255, 0.28);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(220, 190, 255, 0.28) inset,
      0 0 32px rgba(159, 77, 255, 0.62),
      0 0 52px rgba(110, 47, 255, 0.36);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-trust-source-icon--discord .cdxx-trust-source-icon__img--discord,
  .cdxx-trust-source-icon--website .cdxx-trust-source-icon__img--website {
    display: none !important;
  }

  .cdxx-trust-source-icon--discord .cdxx-trust-source-icon__canvas--discord,
  .cdxx-trust-source-icon--website .cdxx-trust-source-icon__canvas--website {
    opacity: 1;
    visibility: visible;
  }

  .cdxx-trust-source-icon--discord:hover:not(:disabled) .cdxx-trust-source-icon__hit--discord,
  .cdxx-trust-source-icon--discord.is-active .cdxx-trust-source-icon__hit--discord,
  .cdxx-trust-source-icon--website:hover:not(:disabled) .cdxx-trust-source-icon__hit--website,
  .cdxx-trust-source-icon--website.is-active .cdxx-trust-source-icon__hit--website {
    animation: none;
  }
}

.cdxx-trust-source-icon:hover:not(:disabled) {
  color: rgba(214, 204, 248, 0.95);
  transform: scale(1.05);
}

.cdxx-trust-source-icon:hover:not(:disabled) .cdxx-trust-source-icon__hit {
  border-color: rgba(159, 77, 255, 0.32);
  background:
    radial-gradient(circle at 50% 35%, rgba(110, 47, 255, 0.22), transparent 68%),
    rgba(34, 16, 68, 0.82);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.12) inset,
    0 0 20px rgba(110, 47, 255, 0.28);
}

.cdxx-trust-source-icon:focus-visible {
  outline: none;
}

.cdxx-trust-source-icon:focus-visible .cdxx-trust-source-icon__hit {
  outline: 2px solid rgba(159, 77, 255, 0.7);
  outline-offset: 3px;
}

.cdxx-trust-source-icon:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.cdxx-trust-source-icon.is-active {
  color: #f2ebff;
  z-index: 1;
}

.cdxx-trust-source-icon.is-active .cdxx-trust-source-icon__hit {
  border-color: rgba(159, 77, 255, 0.45);
  background:
    radial-gradient(circle at 50% 30%, rgba(159, 77, 255, 0.38), transparent 62%),
    rgba(48, 22, 92, 0.88);
  box-shadow:
    0 0 0 1px rgba(200, 160, 255, 0.2) inset,
    0 0 24px rgba(159, 77, 255, 0.5),
    0 0 44px rgba(110, 47, 255, 0.28);
}

.cdxx-trust-source-icon.is-active::after {
  content: "";
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  width: clamp(1.25rem, 2.4vw, 2.35rem);
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(159, 77, 255, 0.82), rgba(159, 77, 255, 0.08));
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.32s ease, width 0.32s ease;
}

.cdxx-trust-source-icon__label {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  max-width: 5.5rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  color: rgba(186, 176, 220, 0.5);
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.28s ease, color 0.28s ease;
}

.cdxx-trust-source-icon.is-active .cdxx-trust-source-icon__label,
.cdxx-trust-source-icon:hover:not(:disabled) .cdxx-trust-source-icon__label {
  opacity: 1;
  color: rgba(232, 220, 255, 0.92);
}

.cdxx-trust__content {
  width: 100%;
  min-width: 0;
}

.cdxx-trust__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  align-items: start;
  min-height: var(--cdxx-trust-column-height);
  overflow: visible;
}

.cdxx-trust__featured-stack {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--cdxx-trust-grid-gap);
  width: 100%;
  min-width: 0;
}

.cdxx-trust__featured-host {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  display: flex;
}

.cdxx-trust__under-featured-host {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  display: flex;
}

.cdxx-trust__under-featured-host .cdxx-trust-card--compact {
  width: 100%;
}

.cdxx-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--cdxx-trust-compact-height);
  gap: var(--cdxx-trust-grid-gap);
  height: var(--cdxx-trust-column-height);
  min-height: var(--cdxx-trust-column-height);
  max-height: var(--cdxx-trust-column-height);
}

.cdxx-trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.2rem);
  border-radius: clamp(16px, 2vw, 20px);
  border: 1px solid rgba(110, 47, 255, 0.38);
  background-image: var(--cdxx-trust-card-bg-image);
  background-size: var(--cdxx-trust-card-bg-size);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-blend-mode: normal;
  filter: none;
  backdrop-filter: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.32, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cdxx-trust-card::before,
.cdxx-trust-card::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.cdxx-trust-card__head,
.cdxx-trust-card__stage,
.cdxx-trust-card__stage-inner,
.cdxx-trust-card__foot,
.cdxx-trust-card__body,
.cdxx-trust-card__compact-inner,
.cdxx-trust-card__compact-top,
.cdxx-trust-card__compact-foot,
.cdxx-trust-card__top,
.cdxx-trust-card__badges,
.cdxx-trust-card__badge-row,
.cdxx-trust-card__actions,
.cdxx-trust-card__foot-row {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.cdxx-trust-card__decor,
.cdxx-trust-card__shimmer,
.cdxx-trust-card__foot-divider,
.cdxx-trust-card__spotlight,
.cdxx-trust-card__quote-mark {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.cdxx-trust-card__title,
.cdxx-trust-card__quote,
.cdxx-trust-card__text,
.cdxx-trust-card__name,
.cdxx-trust-card__reviewer,
.cdxx-trust-card h3,
.cdxx-trust-card p,
.cdxx-trust-card span {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.cdxx-trust-card > *:not(.cdxx-trust-card__decor):not(.cdxx-trust-card__spotlight):not(.cdxx-trust-card__shimmer) {
  position: relative;
  z-index: 1;
}

.cdxx-trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 77, 255, 0.5);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(110, 47, 255, 0.18);
}

.cdxx-trust-card--featured {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--cdxx-trust-featured-height);
  min-height: var(--cdxx-trust-featured-height);
  max-height: var(--cdxx-trust-featured-height);
  overflow: hidden;
  padding:
    clamp(0.55rem, 1.15vw, 0.75rem)
    clamp(1.05rem, 2.1vw, 1.4rem)
    clamp(1.1rem, 2.2vw, 1.45rem)
    clamp(0.65rem, 1.35vw, 0.95rem);
  gap: 0;
  border-color: rgba(159, 77, 255, 0.52);
  background-size: var(--cdxx-trust-card-bg-size-featured);
}

.cdxx-trust-card--featured .cdxx-trust-card__head {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0;
  padding: 0 0 0.2rem;
  min-height: 3.1rem;
}

.cdxx-trust-card--featured .cdxx-trust-card__top {
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  flex-wrap: nowrap;
}

.cdxx-trust-card--featured .cdxx-trust-card__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.cdxx-trust-card--featured .cdxx-trust-card__recent-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.42);
  background: rgba(45, 18, 100, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8d8ff;
  line-height: 1;
  box-shadow: 0 0 18px rgba(110, 47, 255, 0.14);
}

.cdxx-trust-card--featured .cdxx-trust-card__stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: clamp(0.45rem, 1.4vw, 0.85rem) clamp(0.65rem, 1.8vw, 1rem);
  margin-top: 0;
}

.cdxx-trust-card--featured .cdxx-trust-card__spotlight {
  display: none !important;
}

.cdxx-trust-card--featured .cdxx-trust-card__stage-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: min(38ch, 100%);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.cdxx-trust-card--featured .cdxx-trust-card__head,
.cdxx-trust-card--featured .cdxx-trust-card__stage-inner,
.cdxx-trust-card--featured .cdxx-trust-card__foot {
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-trust-card--featured .cdxx-trust-card__quote-mark,
.cdxx-trust-card--featured .cdxx-trust-card__spotlight {
  display: none !important;
  transition: none;
}

.cdxx-trust-card--featured.is-swapping {
  border-color: rgba(200, 150, 255, 0.58);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(110, 47, 255, 0.22);
}

.cdxx-trust-card--featured.is-swapping .cdxx-trust-card__head,
.cdxx-trust-card--featured.is-swapping .cdxx-trust-card__stage-inner,
.cdxx-trust-card--featured.is-swapping .cdxx-trust-card__foot {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.cdxx-trust-card--featured.is-swapping .cdxx-trust-card__quote-mark,
.cdxx-trust-card--featured.is-swapping .cdxx-trust-card__spotlight {
  display: none !important;
  opacity: 0 !important;
}

.cdxx-trust-card__spotlight {
  position: absolute;
  inset: -15% -10% auto;
  height: 72%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 75% 90% at 42% 35%, rgba(159, 77, 255, 0.28), transparent 68%);
  opacity: 0.85;
}

.cdxx-trust-card__shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  padding: 1px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(200, 160, 255, 0.55) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.35;
  animation: cdxx-trust-shimmer 7s ease-in-out infinite;
}

@keyframes cdxx-trust-shimmer {
  0%,
  100% {
    background-position: 120% 0;
    opacity: 0.2;
  }
  45% {
    background-position: -20% 0;
    opacity: 0.42;
  }
}

.cdxx-trust-card__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cdxx-trust-card__decor-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(159, 77, 255, 0.55);
  box-shadow: 0 0 10px rgba(159, 77, 255, 0.45);
}

.cdxx-trust-card__decor-dot--a {
  top: 14%;
  right: 12%;
}

.cdxx-trust-card__decor-dot--b {
  bottom: 22%;
  right: 18%;
  opacity: 0.7;
}

.cdxx-trust-card__decor-dot--c {
  top: 38%;
  left: 8%;
  opacity: 0.55;
}

.cdxx-trust-card__decor-line {
  position: absolute;
  top: 18%;
  right: 10%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 77, 255, 0.35), transparent);
  transform: rotate(-8deg);
  opacity: 0.65;
}

.cdxx-trust-card__decor-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 47, 255, 0.28));
  transform: rotate(42deg);
}

.cdxx-trust-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
  padding: 0.15rem 0 0.35rem;
}

.cdxx-trust-card__quote-mark {
  position: absolute;
  top: -0.35rem;
  left: -0.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(159, 77, 255, 0.14);
  text-shadow: 0 0 40px rgba(110, 47, 255, 0.2);
  pointer-events: none;
  user-select: none;
}

.cdxx-trust-card--featured .cdxx-trust-card__quote-mark {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -52%);
  font-size: clamp(5.5rem, 14vw, 8.5rem);
  font-weight: 700;
  color: rgba(159, 77, 255, 0.12);
  text-shadow:
    0 0 40px rgba(110, 47, 255, 0.24),
    0 0 72px rgba(110, 47, 255, 0.1);
  opacity: 1;
  z-index: 0;
}

.cdxx-trust-card--compact {
  height: var(--cdxx-trust-compact-height);
  min-height: var(--cdxx-trust-compact-height);
  max-height: var(--cdxx-trust-compact-height);
  padding: clamp(0.85rem, 1.6vw, 1rem);
  gap: 0;
  overflow: hidden;
  background-size: var(--cdxx-trust-card-bg-size-compact);
}

.cdxx-trust-card--selectable {
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-trust-card--compact.cdxx-trust-card--selectable {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cdxx-trust-card--compact .cdxx-trust-card__compact-inner {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  transition:
    opacity 0.24s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.26s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-trust-card--compact .cdxx-trust-card__compact-top {
  flex-shrink: 0;
  min-width: 0;
}

.cdxx-trust-card--compact .cdxx-trust-card__title {
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card--compact .cdxx-trust-card__text {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: clamp(0.8rem, 1.45vw, 0.9rem);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.cdxx-trust-card--compact.is-grid-swapping {
  pointer-events: none;
  border-color: rgba(200, 150, 255, 0.5);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(110, 47, 255, 0.18);
}

.cdxx-trust-card--compact.is-grid-exiting .cdxx-trust-card__compact-inner {
  opacity: 0;
  transform: translateX(-16px) scale(0.98);
}

.cdxx-trust-card--compact.is-grid-entering .cdxx-trust-card__compact-inner {
  opacity: 0;
  transform: translateX(14px) scale(0.98);
}

.cdxx-trust-card--compact:hover {
  border-color: rgba(159, 77, 255, 0.48);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(110, 47, 255, 0.16);
}

.cdxx-trust-card--selectable:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.85);
  outline-offset: 3px;
}

.cdxx-trust-card--compact:nth-child(odd) {
  transform: translateY(-2px);
}

.cdxx-trust-card--compact:nth-child(even) {
  transform: translateY(2px);
}

.cdxx-trust-card--compact:nth-child(odd):hover,
.cdxx-trust-card--compact:nth-child(even):hover {
  transform: translateY(-3px);
}

.cdxx-trust-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cdxx-trust-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.cdxx-trust-card__verified--review {
  border-color: rgba(110, 47, 255, 0.45);
  background: rgba(34, 14, 72, 0.62);
  color: #dcc8ff;
}

.cdxx-trust-card__date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(186, 176, 220, 0.78);
}

.cdxx-trust-card__read-more {
  display: inline-flex;
  margin-top: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c9b0ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cdxx-trust-card--featured .cdxx-trust-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
  margin-top: 0.2rem;
  width: 100%;
  min-height: calc(2.15rem + 0.2rem);
}

.cdxx-trust-card--featured .cdxx-trust-card__actions--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.cdxx-trust-card--featured .cdxx-trust-card__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  min-height: 2.15rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.45);
  background: rgba(34, 14, 72, 0.72);
  font-size: clamp(0.62rem, 1.15vw, 0.72rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #e6d6ff;
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.08) inset,
    0 8px 20px rgba(0, 0, 0, 0.28);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.cdxx-trust-card__read-more:hover,
.cdxx-trust-card__read-more:focus-visible {
  color: #efe4ff;
  text-decoration: none;
}

.cdxx-trust-card--featured .cdxx-trust-card__read-more--trustpilot:hover,
.cdxx-trust-card--featured .cdxx-trust-card__read-more--trustpilot:focus-visible {
  border-color: rgba(0, 200, 140, 0.55);
  background: rgba(0, 88, 58, 0.75);
  transform: translateY(-1px);
}

.cdxx-trust-card--featured .cdxx-trust-card__read-more--discord {
  border-color: rgba(88, 101, 242, 0.5);
  background: rgba(22, 26, 72, 0.78);
  color: #dfe4ff;
  box-shadow:
    0 0 0 1px rgba(88, 101, 242, 0.1) inset,
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.cdxx-trust-card--featured .cdxx-trust-card__read-more--discord:hover,
.cdxx-trust-card--featured .cdxx-trust-card__read-more--discord:focus-visible {
  border-color: rgba(130, 142, 255, 0.7);
  background: rgba(32, 38, 96, 0.92);
  color: #f0f2ff;
  transform: translateY(-1px);
}

.cdxx-trust-card--featured .cdxx-trust-card__read-more[hidden] {
  display: none !important;
}

.cdxx-trust-card--featured .cdxx-trust-card__verified[hidden] {
  display: none !important;
}

.cdxx-trust-card--featured .cdxx-trust-card__stage-inner .cdxx-trust-card__quote {
  display: block;
}

.cdxx-trust-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #f0c85a;
  filter: drop-shadow(0 0 6px rgba(240, 200, 90, 0.35));
}

.cdxx-trust-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 220, 140, 0.45);
  background: rgba(16, 56, 38, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9ef0c4;
  line-height: 1;
  white-space: nowrap;
}

.cdxx-trust-card__source-label {
  white-space: nowrap;
}

.cdxx-trust-card__verified--trustpilot {
  border-color: rgba(0, 182, 122, 0.5);
  background: rgba(0, 72, 48, 0.55);
  color: #8df0c8;
}

.cdxx-trust-card__verified--discord {
  border-color: rgba(88, 101, 242, 0.55);
  background: rgba(22, 26, 72, 0.72);
  color: #dfe4ff;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.12);
}

.cdxx-trust-card__verified--website {
  border-color: rgba(159, 77, 255, 0.48);
  background: rgba(34, 14, 72, 0.68);
  color: #e4d4ff;
  box-shadow: 0 0 18px rgba(159, 77, 255, 0.14);
}

.cdxx-trust-card--featured .cdxx-trust-card__badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.cdxx-trust-card__compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cdxx-trust-card__source-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(100%, 9.5rem);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card__source-pill--trustpilot {
  border: 1px solid rgba(0, 182, 122, 0.38);
  background: rgba(0, 56, 38, 0.45);
  color: #9ef0c4;
}

.cdxx-trust-card__source-pill--discord {
  border: 1px solid rgba(88, 101, 242, 0.45);
  background: rgba(22, 26, 72, 0.62);
  color: #dfe4ff;
}

.cdxx-trust-card__source-pill--both {
  border: 1px solid rgba(120, 140, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 56, 38, 0.5), rgba(22, 26, 72, 0.55));
  color: #e8e4ff;
}

.cdxx-trust-card__source-pill--website {
  border: 1px solid rgba(159, 77, 255, 0.42);
  background: rgba(34, 14, 72, 0.55);
  color: #e4d4ff;
}

.cdxx-trust-card--featured .cdxx-trust-card__actions[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

.cdxx-trust-card--source-website .cdxx-trust-card__actions {
  visibility: hidden;
  pointer-events: none;
}

.cdxx-trust-card__compact-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  min-width: 0;
  padding-top: 0.15rem;
}

.cdxx-trust-card__name {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(200, 190, 230, 0.82);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card--compact .cdxx-trust-card__tag {
  margin-top: 0;
  display: inline-block;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.25;
}

.cdxx-trust-card--featured .cdxx-trust-card__reviewer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 0.15rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card--featured .cdxx-trust-card__reviewer::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 10px rgba(110, 231, 168, 0.55);
}

.cdxx-trust-card--featured .cdxx-trust-card__title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(0.92rem, 1.85vw, 1.05rem);
  line-height: 1.3;
  color: rgba(220, 210, 245, 0.88);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.cdxx-trust-card__quote,
.cdxx-trust-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  line-height: 1.55;
  color: rgba(186, 176, 220, 0.94);
}

.cdxx-trust-card__quote p {
  margin: 0;
}

.cdxx-trust-card--featured .cdxx-trust-card__quote {
  margin: 0;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  line-height: 1.58;
  color: rgba(200, 188, 235, 0.96);
}

.cdxx-trust-card--featured .cdxx-trust-card__quote {
  width: 100%;
  max-width: 100%;
}

.cdxx-trust-card--featured .cdxx-trust-card__quote p {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.cdxx-trust-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(159, 77, 255, 0.12);
}

.cdxx-trust-card--featured .cdxx-trust-card__foot {
  flex-shrink: 0;
  gap: 0.65rem;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cdxx-trust-card--featured .cdxx-trust-card__foot-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(159, 77, 255, 0.35) 18%,
    rgba(159, 77, 255, 0.35) 82%,
    transparent
  );
  opacity: 0.85;
}

.cdxx-trust-card--featured .cdxx-trust-card__foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  width: 100%;
  min-width: 0;
}

.cdxx-trust-card--featured .cdxx-trust-card__tag {
  min-width: 0;
  flex: 0 1 auto;
}

.cdxx-trust-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  width: 100%;
}

.cdxx-trust-card__completed {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.32);
  background: rgba(45, 18, 100, 0.45);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8c4ff;
  line-height: 1;
}

.cdxx-trust-card__tag {
  display: inline-block;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.38);
  background: rgba(45, 18, 100, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2d4ff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdxx-trust-card__customer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(186, 176, 220, 0.88);
}

.cdxx-trust-card__customer::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 8px rgba(110, 231, 168, 0.55);
}

.cdxx-trust-card--featured .cdxx-trust-card__completed {
  flex-shrink: 0;
}

.cdxx-trust-card--featured .cdxx-trust-card__tag {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .cdxx-trust__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdxx-trust-stat {
    border-right: 1px solid rgba(110, 47, 255, 0.14);
    border-bottom: 1px solid rgba(110, 47, 255, 0.14);
  }

  .cdxx-trust-stat:nth-child(2n) {
    border-right: none;
  }

  .cdxx-trust-stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .cdxx-trust__featured-row {
    gap: clamp(1.5rem, 2.8vw, 2.25rem);
  }

  .cdxx-trust__source-rail {
    gap: 1.125rem;
  }

  .cdxx-trust-source-icon.is-active::after {
    width: clamp(0.85rem, 2vw, 1.35rem);
  }

  .cdxx-trust__columns {
    grid-template-columns: 1fr;
  }

  .cdxx-trust__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cdxx-trust-card--compact:nth-child(odd),
  .cdxx-trust-card--compact:nth-child(even) {
    transform: none;
  }

  .cdxx-trust-card--compact:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 768px) {
  .cdxx-trust__wall {
    display: flex;
    flex-direction: column;
    gap: clamp(0.85rem, 2.5vw, 1.1rem);
  }

  .cdxx-trust__stats {
    order: 1;
    margin-bottom: 0;
  }

  .cdxx-trust__content {
    display: contents;
  }

  .cdxx-trust__columns {
    display: contents;
  }

  .cdxx-trust__featured-row {
    order: 3;
    width: 100%;
    gap: clamp(1.25rem, 4vw, 1.75rem);
    padding-left: 0;
  }

  .cdxx-trust__source-rail {
    gap: 1rem;
  }

  .cdxx-trust-source-icon,
  .cdxx-trust-source-icon__hit {
    width: clamp(3rem, 11vw, 3.5rem);
    height: clamp(3rem, 11vw, 3.5rem);
  }

  .cdxx-trust-source-icon.is-active::after {
    width: clamp(0.65rem, 2.5vw, 1rem);
  }

  .cdxx-trust__featured-host {
    order: unset;
  }

  .cdxx-trust {
    --cdxx-trust-grid-gap: 14px;
    --cdxx-trust-compact-height: clamp(215px, 28vw, 230px);
    --cdxx-trust-column-height: calc(
      var(--cdxx-trust-compact-height) * 3 + var(--cdxx-trust-grid-gap) * 2
    );
    --cdxx-trust-featured-height: min(
      520px,
      calc(var(--cdxx-trust-compact-height) * 2 + var(--cdxx-trust-grid-gap))
    );
  }

  .cdxx-trust__columns {
    min-height: 0;
  }

  .cdxx-trust__featured-row {
    min-height: 0;
  }

  .cdxx-trust__source-rail {
    margin-top: 0;
  }

  .cdxx-trust-card--featured {
    height: var(--cdxx-trust-featured-height);
    min-height: var(--cdxx-trust-featured-height);
    max-height: var(--cdxx-trust-featured-height);
  }

  .cdxx-trust__grid {
    height: auto;
    min-height: calc(var(--cdxx-trust-compact-height) * 3 + var(--cdxx-trust-grid-gap) * 2);
    max-height: none;
    grid-auto-rows: var(--cdxx-trust-compact-height);
  }

  .cdxx-trust-card--compact {
    height: var(--cdxx-trust-compact-height);
    min-height: var(--cdxx-trust-compact-height);
    max-height: var(--cdxx-trust-compact-height);
  }

  .cdxx-trust-card--featured .cdxx-trust-card__foot-row {
    gap: 0.4rem;
  }

  .cdxx-trust__grid {
    order: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-trust-card__shimmer {
    animation: none;
    opacity: 0.25;
  }

  .cdxx-trust-card--featured .cdxx-trust-card__head,
  .cdxx-trust-card--featured .cdxx-trust-card__stage-inner,
  .cdxx-trust-card--featured .cdxx-trust-card__foot,
  .cdxx-trust-card--featured .cdxx-trust-card__quote-mark,
  .cdxx-trust-card--featured .cdxx-trust-card__spotlight {
    transition: none;
  }

  .cdxx-trust-card--featured.is-swapping .cdxx-trust-card__head,
  .cdxx-trust-card--featured.is-swapping .cdxx-trust-card__stage-inner,
  .cdxx-trust-card--featured.is-swapping .cdxx-trust-card__foot {
    opacity: 1;
    transform: none;
  }

  .cdxx-trust-card--compact.is-grid-exiting .cdxx-trust-card__compact-inner,
  .cdxx-trust-card--compact.is-grid-entering .cdxx-trust-card__compact-inner {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Homepage: FAQ Support Hub */
.cdxx-faq {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vh, 2.25rem) 0 clamp(2rem, 3.5vh, 2.75rem);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(110, 47, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 100%, rgba(75, 28, 160, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(2, 1, 6, 0.98) 0%, rgba(4, 2, 12, 1) 100%);
  border-top: 1px solid rgba(110, 47, 255, 0.14);
  border-bottom: 1px solid rgba(110, 47, 255, 0.1);
}

.cdxx-faq__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(159, 77, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(110, 47, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 47, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px, 28px 28px, 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35));
}

.cdxx-faq__glow {
  position: absolute;
  top: 50%;
  left: 18%;
  width: min(420px, 55vw);
  height: min(320px, 40vw);
  transform: translate(-20%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(110, 47, 255, 0.18), transparent 68%);
  filter: blur(24px);
}

.cdxx-faq__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  max-width: 100%;
  padding-inline: max(16px, var(--safe-left)) max(16px, var(--safe-right));
}

.cdxx-faq__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
  width: 100%;
  margin: 0;
}

.cdxx-faq__support {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.15vw, 0.72rem);
}

.cdxx-faq__kicker {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(180, 140, 255, 0.85);
}

.cdxx-faq__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 0 24px rgba(159, 77, 255, 0.35),
    0 2px 12px rgba(0, 0, 0, 0.65);
}

.cdxx-faq__lead {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.58;
  font-weight: 500;
  color: var(--muted);
}

.cdxx-faq__support-card-wrap {
  position: relative;
  margin-top: 0.05rem;
}

.cdxx-faq__support-card-atmo {
  position: absolute;
  inset: -10% -6% -6%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 75% at 28% 42%, rgba(110, 47, 255, 0.22), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(159, 77, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(110, 47, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 47, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 18px 18px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 85% 80% at 40% 50%, rgba(0, 0, 0, 0.9), transparent 72%);
  opacity: 0.85;
}

.cdxx-faq__support-card-atmo::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translateY(-50%);
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M10 18c0-6.2 7.2-11 14-11s14 4.8 14 11v10c0 6.2-7.2 11-14 11-2.4 0-4.7-.5-6.8-1.4L12 39l2.1-7.4C11.8 29.2 10 26.4 10 23V18Z' stroke='%239f4dff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  filter: blur(1px);
}

.cdxx-faq__support-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(0.8rem, 1.6vw, 1rem);
  border-radius: 18px;
  border: 1px solid rgba(110, 47, 255, 0.32);
  background:
    linear-gradient(145deg, rgba(22, 10, 48, 0.88) 0%, rgba(8, 4, 18, 0.94) 55%, rgba(5, 2, 12, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.06) inset,
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(110, 47, 255, 0.1);
  backdrop-filter: blur(12px);
}

.cdxx-faq__support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #c89cff;
  background: radial-gradient(circle at 35% 30%, rgba(159, 77, 255, 0.35), rgba(22, 10, 48, 0.9) 68%);
  border: 1px solid rgba(159, 77, 255, 0.42);
  box-shadow:
    0 0 18px rgba(110, 47, 255, 0.35),
    0 0 0 1px rgba(200, 150, 255, 0.08) inset;
}

.cdxx-faq__support-icon-img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cdxx-faq__support-card-copy {
  min-width: 0;
}

.cdxx-faq__support-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0ebff;
}

.cdxx-faq__support-card-text {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--muted);
}

.cdxx-faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
}

.cdxx-faq__btn {
  min-width: 0;
  min-height: 2.65rem;
  padding: 0.68rem 1.1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  text-decoration: none;
}

.cdxx-faq__btn--support {
  border: 1px solid rgba(159, 77, 255, 0.52);
  background: linear-gradient(145deg, rgba(24, 11, 52, 0.88) 0%, rgba(14, 7, 30, 0.94) 100%);
  color: #ece8ff;
  box-shadow:
    0 0 0 1px rgba(110, 47, 255, 0.1) inset,
    0 0 14px rgba(110, 47, 255, 0.08);
  cursor: var(--cdxx-cursor-hover);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.cdxx-faq__btn--support:hover,
.cdxx-faq__btn--support:focus-visible {
  border-color: rgba(180, 130, 255, 0.72);
  background: linear-gradient(145deg, rgba(34, 15, 72, 0.92) 0%, rgba(18, 8, 38, 0.96) 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.12) inset,
    0 0 22px rgba(110, 47, 255, 0.28);
}

.cdxx-faq__panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  padding-top: 1.05rem;
}

.cdxx-faq__tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.32rem, 0.55vw, 0.42rem);
  width: 100%;
}

.cdxx-faq-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
  min-height: 2.4rem;
  padding: 0.58rem clamp(0.35rem, 0.75vw, 0.72rem);
  border-radius: 999px;
  border: 1px solid rgba(110, 47, 255, 0.28);
  background: rgba(15, 8, 32, 0.72);
  color: rgba(200, 185, 240, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.68rem, 0.45vw + 0.62rem, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: var(--cdxx-cursor-hover);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.cdxx-faq-tab__label {
  overflow: visible;
  text-overflow: clip;
}

.cdxx-faq-tab__icon svg {
  width: 18px;
  height: 18px;
}

.cdxx-faq-tab__icon {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.78;
}

.cdxx-faq-tab:hover {
  border-color: rgba(159, 77, 255, 0.48);
  color: #f0ebff;
}

.cdxx-faq-tab.is-active {
  border-color: rgba(159, 77, 255, 0.72);
  background: linear-gradient(135deg, rgba(110, 47, 255, 0.32), rgba(75, 28, 160, 0.42));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.12) inset,
    0 0 22px rgba(110, 47, 255, 0.38);
}

.cdxx-faq-tab.is-active .cdxx-faq-tab__icon {
  opacity: 1;
}

.cdxx-faq-tab:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.75);
  outline-offset: 2px;
}

.cdxx-faq-accordion-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cdxx-faq-item {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(110, 47, 255, 0.22);
  background:
    linear-gradient(155deg, rgba(18, 8, 38, 0.88) 0%, rgba(8, 4, 18, 0.94) 100%);
  box-shadow: 0 0 0 1px rgba(159, 77, 255, 0.04) inset;
  overflow: hidden;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.cdxx-faq-item.is-open {
  border-color: rgba(159, 77, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(34, 16, 72, 0.52) 0%, rgba(16, 7, 36, 0.9) 42%, rgba(8, 4, 18, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.14) inset,
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(110, 47, 255, 0.24),
    0 0 1px rgba(159, 77, 255, 0.55);
}

.cdxx-faq-item.is-open::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 110% at 0% 50%, rgba(110, 47, 255, 0.14), transparent 58%),
    linear-gradient(90deg, rgba(110, 47, 255, 0.08) 0%, transparent 38%);
  opacity: 0.9;
}

.cdxx-faq-item.is-open::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    180deg,
    rgba(159, 77, 255, 0.25) 0%,
    rgba(159, 77, 255, 0.95) 50%,
    rgba(159, 77, 255, 0.25) 100%
  );
  box-shadow: 0 0 14px rgba(110, 47, 255, 0.55);
  pointer-events: none;
}

.cdxx-faq-item__heading {
  margin: 0;
}

.cdxx-faq-item__trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  padding: 0.82rem 1rem;
  border: none;
  background: transparent;
  color: #f0ebff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: var(--cdxx-cursor-hover);
}

.cdxx-faq-item__question {
  min-width: 0;
  flex: 1;
}

.cdxx-faq-item__chevron {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.cdxx-faq-item__chevron::before,
.cdxx-faq-item__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: #b594ff;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.cdxx-faq-item__chevron::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cdxx-faq-item__chevron::after {
  transform: translate(-50%, -50%);
}

.cdxx-faq-item.is-open .cdxx-faq-item__chevron::before {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.cdxx-faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-faq-item.is-open .cdxx-faq-item__panel {
  grid-template-rows: 1fr;
}

.cdxx-faq-item__panel-inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 0;
}

.cdxx-faq-item__answer {
  margin: 0;
  padding: 0 1rem 0.95rem;
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cdxx-faq-item__trigger:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.65);
  outline-offset: -2px;
}

@media (min-width: 921px) {
  .cdxx-faq-tab {
    min-height: 2.35rem;
    padding: 0.54rem 0.5rem;
    font-size: 0.75rem;
  }

  .cdxx-faq-tab__icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 920px) {
  .cdxx-faq__layout {
    grid-template-columns: 1fr;
    gap: clamp(1.35rem, 4vw, 1.85rem);
  }

  .cdxx-faq__panel {
    padding-top: 0;
  }

  .cdxx-faq__support {
    max-width: 560px;
  }

  .cdxx-faq__tabs {
    gap: 0.3rem;
  }

  .cdxx-faq-tab {
    min-height: 2.15rem;
    padding: 0.48rem 0.28rem;
    gap: 0.28rem;
    font-size: clamp(0.62rem, 2.8vw, 0.74rem);
  }

  .cdxx-faq-tab__icon svg {
    width: 15px;
    height: 15px;
  }

  .cdxx-faq__glow {
    left: 50%;
    top: 12%;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 520px) {
  .cdxx-faq__actions {
    flex-direction: column;
  }

  .cdxx-faq__btn {
    width: 100%;
    justify-content: center;
  }

  .cdxx-faq-item__trigger {
    font-size: 0.88rem;
    padding: 0.82rem 0.9rem;
  }

  .cdxx-faq-item__answer {
    padding-inline: 0.9rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-faq-item__panel,
  .cdxx-faq-item__chevron::before,
  .cdxx-faq-item__chevron::after,
  .cdxx-faq-tab,
  .cdxx-faq-item,
  .cdxx-faq__btn--support {
    transition: none;
  }
}

/* Homepage: View All Games — anchored on the reflection band under the center card */
#services .service-categories-view-all {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--cdxx-view-all-inset-bottom);
  z-index: 15;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 16px;
  pointer-events: none;
  transform: translateY(clamp(-12px, -1.4vh, -18px));
}

.service-categories-view-all {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--cdxx-view-all-inset-bottom);
  z-index: 15;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 16px;
  pointer-events: none;
  transform: translateY(clamp(-0.85rem, -2.2vh, -0.45rem));
}

.service-categories-view-all .cdxx-view-all-games-btn {
  pointer-events: auto;
}

.cdxx-view-all-games-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.62rem 1.35rem 0.62rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 47, 255, 0.55);
  background: linear-gradient(
    135deg,
    rgba(110, 47, 255, 0.92) 0%,
    rgba(75, 28, 160, 0.95) 48%,
    rgba(45, 18, 100, 0.98) 100%
  );
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.18) inset,
    0 0 24px rgba(110, 47, 255, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

.cdxx-view-all-games-btn:hover {
  border-color: rgba(159, 77, 255, 0.85);
  background: linear-gradient(
    135deg,
    rgba(130, 62, 255, 0.98) 0%,
    rgba(90, 38, 190, 1) 50%,
    rgba(55, 22, 120, 1) 100%
  );
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.28) inset,
    0 0 36px rgba(110, 47, 255, 0.55),
    0 14px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.cdxx-view-all-games-btn:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.9);
  outline-offset: 3px;
}

.cdxx-view-all-games-btn__icon {
  display: inline-flex;
  opacity: 0.92;
}

/* All Games catalog page */
.cdxx-all-games-page .cdxx-all-games-wrap {
  padding-bottom: clamp(2.5rem, 8vh, 4rem);
}

.cdxx-all-games-head .cdxx-all-games-subtitle {
  max-width: 52ch;
  margin-top: 0;
}

.cdxx-all-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
  margin-top: clamp(0.5rem, 2vh, 1.25rem);
}

.cdxx-all-games-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 345px;
  padding-bottom: 76px;
  border-radius: 18px;
  border: 1px solid rgba(50, 32, 95, 0.65);
  background: #070711;
  overflow: hidden;
  cursor: var(--cdxx-cursor-hover);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.cdxx-all-games-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(4, 4, 10, 0.96) 0%,
    rgba(8, 8, 18, 0.82) 38%,
    rgba(12, 8, 28, 0.4) 68%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 52%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 52%);
}

.cdxx-all-games-card:hover,
.cdxx-all-games-card:focus-visible {
  border-color: rgba(159, 77, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.2) inset,
    0 0 32px rgba(110, 47, 255, 0.32),
    0 16px 36px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.cdxx-all-games-card__media {
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #0a0812;
}

.cdxx-all-games-card__media::after {
  content: none;
}

.cdxx-all-games-card__image {
  --cdxx-game-art-position: center 42%;
  --cdxx-game-art-zoom: 1.12;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--cdxx-game-art-position);
  transform: scale(var(--cdxx-game-art-zoom));
  transform-origin: center center;
  border-radius: inherit;
  backface-visibility: hidden;
}

.cdxx-all-games-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0;
  padding: 22px 18px 0;
  background: transparent;
}

.cdxx-all-games-card__label {
  align-self: flex-start;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9dcff;
  background: rgba(110, 47, 255, 0.35);
  border: 1px solid rgba(159, 77, 255, 0.35);
}

.cdxx-all-games-card__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}

.cdxx-all-games-card__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.cdxx-all-games-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(170, 162, 210, 0.85);
}

.cdxx-all-games-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: var(--cdxx-cursor-hover);
  box-shadow: 0 0 18px rgba(110, 47, 255, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cdxx-all-games-card:hover .cdxx-all-games-card__cta,
.cdxx-all-games-card:focus-visible .cdxx-all-games-card__cta {
  box-shadow: 0 0 24px rgba(110, 47, 255, 0.5);
}

@media (max-width: 1024px) {
  .cdxx-all-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cdxx-all-games-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cdxx-all-games-card {
    min-height: 355px;
    padding-bottom: 64px;
  }

  .cdxx-all-games-card__body {
    padding: 20px 18px 0;
  }
}

@media (max-width: 480px) {
  .cdxx-all-games-grid {
    grid-template-columns: 1fr;
  }

  .cdxx-view-all-games-btn {
    width: min(100%, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-view-all-games-btn,
  .cdxx-all-games-card,
  .cdxx-all-games-card__cta {
    transition: none;
  }

  .cdxx-view-all-games-btn:hover,
  .cdxx-all-games-card:hover {
    transform: none;
  }

  .service-categories-view-all {
    transform: none;
  }

  #services .service-categories-view-all {
    transform: none;
  }
}

/* Services hub — sticky sidebar inside content shell */
.cdxx-services-hub-page {
  --cdxx-services-sidebar-top: clamp(6.75rem, 14vh, 8.75rem);
  --cdxx-services-sidebar-width: clamp(280px, 22vw, 320px);
  --cdxx-services-footer-bridge: clamp(3.5rem, 8vh, 5rem);
}

.cdxx-services-hub-page .site-header {
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.cdxx-services-hub-nav {
  position: absolute;
  top: max(0.55rem, var(--safe-top));
  left: max(0px, var(--safe-left));
  z-index: 12;
  width: var(--cdxx-services-sidebar-width);
  max-width: calc(100% - var(--safe-left) - var(--safe-right));
  box-sizing: border-box;
  padding: 0 0.65rem;
  pointer-events: none;
}

.cdxx-services-hub-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 47, 255, 0.48);
  background: linear-gradient(
    135deg,
    rgba(110, 47, 255, 0.28) 0%,
    rgba(35, 12, 80, 0.42) 100%
  );
  font-family: Orbitron, var(--cdxx-box-font), system-ui, sans-serif;
  font-size: clamp(0.74rem, 1.55vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: rgba(240, 232, 255, 0.96);
  text-shadow: 0 0 18px rgba(110, 47, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.12) inset,
    0 0 22px rgba(110, 47, 255, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.cdxx-services-hub-nav__btn:hover {
  color: #fff;
  border-color: rgba(180, 130, 255, 0.78);
  background: linear-gradient(
    135deg,
    rgba(130, 62, 255, 0.42) 0%,
    rgba(55, 22, 120, 0.52) 100%
  );
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.2) inset,
    0 0 28px rgba(110, 47, 255, 0.32),
    0 10px 24px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.cdxx-services-hub-nav__btn:focus-visible {
  outline: 2px solid rgba(159, 77, 255, 0.9);
  outline-offset: 2px;
}

.cdxx-services-hub-nav__btn[hidden] {
  display: none;
}

html.cdxx-nav-scrolled .cdxx-services-hub-nav {
  top: max(0.35rem, var(--safe-top));
}

html.cdxx-nav-scrolled .cdxx-services-hub-nav__btn {
  min-height: 2.55rem;
  padding-block: 0.58rem;
  font-size: clamp(0.68rem, 1.4vw, 0.8rem);
}

.cdxx-services-hub-page .cdxx-services-hub-main {
  position: relative;
  z-index: 1;
  padding-top: var(--cdxx-services-sidebar-top);
  padding-bottom: clamp(2rem, 6vh, 3rem);
  box-sizing: border-box;
}

.cdxx-services-hub-page .cdxx-services-hub-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--cdxx-services-sidebar-width) - 1px);
  width: 1px;
  height: var(
    --cdxx-services-rail-height,
    calc(100% + var(--cdxx-services-footer-bridge))
  );
  background: rgba(140, 80, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

.cdxx-services-hub-page .cdxx-services-hub-main::after {
  content: "";
  position: absolute;
  top: var(--cdxx-services-sidebar-top);
  left: 0;
  width: var(--cdxx-services-sidebar-width);
  height: 0;
  border-top: 1px solid rgba(110, 47, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.cdxx-services-content-shell {
  display: grid;
  grid-template-columns: var(--cdxx-services-sidebar-width) minmax(0, 1fr);
  align-items: start;
  position: relative;
  width: 100%;
  overflow: clip;
}

.cdxx-services-sidebar {
  position: sticky;
  top: calc(var(--cdxx-services-sidebar-top) - 0.35rem);
  max-height: min(
    calc(100dvh - var(--cdxx-services-sidebar-top) - 12px),
    100%
  );
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  background:
    radial-gradient(ellipse 140% 36% at 0% 0%, rgba(110, 47, 255, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 90% 42% at 100% 100%, rgba(80, 30, 180, 0.1) 0%, transparent 52%),
    linear-gradient(180deg, #0a0618 0%, #07040f 42%, #04020c 100%);
  overflow: hidden;
  align-self: start;
  isolation: isolate;
}

.cdxx-services-sidebar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(4, 2, 12, 0.98));
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 2;
}

.cdxx-services-sidebar.has-scroll-fade::after {
  opacity: 1;
}

.cdxx-services-sidebar__head {
  flex: 0 0 auto;
  padding: 0.85rem 1.15rem 0.75rem;
  border-bottom: 1px solid rgba(110, 47, 255, 0.2);
  background: linear-gradient(180deg, rgba(110, 47, 255, 0.06) 0%, transparent 100%);
}

.cdxx-services-sidebar__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cdxx-services-sidebar__close {
  display: none;
}

.cdxx-services-sidebar-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 12px;
  --cdxx-sidebar-scroll-gutter: 7px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.cdxx-services-sidebar-scroll::-webkit-scrollbar {
  width: var(--cdxx-sidebar-scroll-gutter);
}

.cdxx-services-sidebar-scroll::-webkit-scrollbar-track {
  margin-block: 4px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cdxx-services-sidebar-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, transparent, transparent);
  box-shadow: none;
  transition:
    background 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cdxx-services-sidebar-scroll.is-scrollbar-visible {
  scrollbar-color: rgba(159, 77, 255, 0.82) rgba(4, 2, 12, 0.72);
}

.cdxx-services-sidebar-scroll.is-scrollbar-visible::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    rgba(4, 2, 12, 0.2) 0%,
    rgba(10, 4, 24, 0.78) 50%,
    rgba(4, 2, 12, 0.2) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(110, 47, 255, 0.14),
    inset 0 0 16px rgba(110, 47, 255, 0.08);
}

.cdxx-services-sidebar-scroll.is-scrollbar-visible::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(183, 130, 255, 0.98) 0%,
    var(--purple-bright) 38%,
    var(--purple) 72%,
    rgba(58, 18, 160, 0.98) 100%
  );
  border-color: rgba(180, 120, 255, 0.38);
  box-shadow:
    0 0 14px rgba(110, 47, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cdxx-services-sidebar-scroll.is-scrollbar-visible::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #c99aff 0%,
    var(--purple-bright) 42%,
    var(--purple) 100%
  );
  border-color: rgba(200, 150, 255, 0.5);
  box-shadow:
    0 0 18px rgba(159, 77, 255, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cdxx-services-sidebar__head-label {
  display: block;
  font-family: Orbitron, var(--cdxx-box-font), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(205, 192, 255, 0.82);
  text-shadow: 0 0 18px rgba(110, 47, 255, 0.35);
}

.cdxx-services-sidebar__category {
  position: relative;
  box-sizing: border-box;
}

.cdxx-services-sidebar__category::after {
  content: "";
  position: absolute;
  left: 0;
  right: calc(-1 * var(--cdxx-sidebar-scroll-gutter));
  bottom: 0;
  height: 1px;
  background: rgba(50, 32, 95, 0.62);
  pointer-events: none;
}

.cdxx-services-sidebar__category-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.65rem;
  align-items: center;
  column-gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(228, 220, 255, 0.9);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-align: left;
  cursor: var(--cdxx-cursor-hover);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.cdxx-services-sidebar__category-btn:hover {
  background: linear-gradient(90deg, rgba(110, 47, 255, 0.16) 0%, rgba(110, 47, 255, 0.04) 100%);
  color: #fff;
  box-shadow: inset 3px 0 0 rgba(159, 77, 255, 0.45);
}

.cdxx-services-sidebar__category.is-active > .cdxx-services-sidebar__category-btn {
  background: linear-gradient(90deg, rgba(110, 47, 255, 0.48) 0%, rgba(110, 47, 255, 0.1) 78%);
  color: #fff;
  box-shadow:
    inset 4px 0 0 var(--purple-bright),
    inset 0 0 28px rgba(110, 47, 255, 0.14);
  text-shadow: 0 0 20px rgba(159, 77, 255, 0.35);
}

.cdxx-services-sidebar__category-label {
  min-width: 0;
  line-height: 1.3;
}

.cdxx-services-sidebar__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  justify-self: end;
  border-radius: 7px;
  border: 1px solid rgba(110, 47, 255, 0.38);
  background: rgba(110, 47, 255, 0.12);
  color: var(--purple-bright);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.08) inset,
    0 0 14px rgba(110, 47, 255, 0.18);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cdxx-services-sidebar__category-btn:hover .cdxx-services-sidebar__toggle,
.cdxx-services-sidebar__category.is-active > .cdxx-services-sidebar__category-btn .cdxx-services-sidebar__toggle {
  border-color: rgba(159, 77, 255, 0.62);
  background: rgba(110, 47, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.12) inset,
    0 0 18px rgba(110, 47, 255, 0.32);
}

.cdxx-services-sidebar__subs {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0 0.55rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(4, 2, 12, 0.35) 100%);
  border-top: 1px solid rgba(110, 47, 255, 0.08);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    max-height 0.32s cubic-bezier(0.33, 0, 0.2, 1),
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.33, 0, 0.2, 1);
}

.cdxx-services-sidebar__category.is-expanded > .cdxx-services-sidebar__subs {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cdxx-services-sidebar__sub-btn {
  display: block;
  width: 100%;
  padding: 0.62rem 1.15rem 0.62rem 2rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(185, 175, 225, 0.88);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: var(--cdxx-cursor-hover);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.cdxx-services-sidebar__sub-btn:hover {
  background: linear-gradient(90deg, rgba(110, 47, 255, 0.18) 0%, rgba(110, 47, 255, 0.04) 100%);
  color: #f3ecff;
  box-shadow: inset 2px 0 0 rgba(159, 77, 255, 0.5);
}

.cdxx-services-sidebar__sub-btn.is-active {
  background: linear-gradient(90deg, rgba(110, 47, 255, 0.28) 0%, rgba(110, 47, 255, 0.06) 100%);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--purple);
  text-shadow: 0 0 12px rgba(110, 47, 255, 0.25);
}

.cdxx-services-hub-page .cdxx-footer {
  position: relative;
  z-index: 5;
  margin-top: var(--cdxx-services-footer-bridge);
  border-top-color: rgba(50, 32, 95, 0.85);
}

.cdxx-services-main {
  min-width: 0;
}

.cdxx-services-content-stage {
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.cdxx-services-content-stage.is-content-swapping-out {
  opacity: 0;
  transform: translateY(8px);
}

.cdxx-services-content-stage.cdxx-services-content-transition {
  animation: cdxxServicesFadeIn 220ms ease-out;
}

@keyframes cdxxServicesFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.cdxx-services-mobile-categories-btn,
.cdxx-services-sidebar-backdrop {
  display: none;
}

.cdxx-services-main__inner {
  padding-inline: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(2.5rem, 8vh, 4rem);
  max-width: min(1680px, 100%);
}

.cdxx-services-hub-page .cdxx-services-category-view .cdxx-category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

@media (max-width: 900px) {
  .cdxx-services-hub-page {
    --cdxx-services-sidebar-width: 248px;
  }

  .cdxx-services-sidebar__category-btn {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .cdxx-services-sidebar__sub-btn {
    padding-left: 1.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .cdxx-services-hub-page {
    --cdxx-services-sidebar-top: clamp(9.25rem, 18vh, 10.75rem);
  }

  .cdxx-services-hub-nav {
    top: max(0.45rem, var(--safe-top));
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 1.5rem), 360px);
    max-width: none;
    padding: 0;
  }

  .cdxx-services-hub-nav__btn {
    min-height: 2.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .cdxx-services-content-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .cdxx-services-hub-page .cdxx-services-hub-main::before {
    display: none;
  }

  .cdxx-services-hub-page .cdxx-services-hub-main::after {
    display: none;
  }

  .cdxx-services-mobile-categories-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 clamp(16px, 3vw, 32px) 1rem;
    padding: 0.72rem 1.1rem;
    border: 1px solid rgba(110, 47, 255, 0.42);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(110, 47, 255, 0.18) 0%, rgba(40, 16, 90, 0.35) 100%);
    color: #f3ecff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: var(--cdxx-cursor-hover);
  }

  .cdxx-services-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 0, 8, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .cdxx-services-sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .cdxx-services-sidebar-backdrop[hidden] {
    display: none;
  }

  .cdxx-services-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(320px, 88vw);
    height: 100dvh;
    max-height: none;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.19, 0.94, 0.24, 1);
    border-right: 1px solid rgba(140, 80, 255, 0.35);
    box-shadow: 8px 0 36px rgba(0, 0, 0, 0.45);
    pointer-events: none;
  }

  .cdxx-services-sidebar.is-drawer-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.cdxx-services-drawer-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-services-sidebar__category-btn,
  .cdxx-services-sidebar__sub-btn,
  .cdxx-services-sidebar__toggle,
  .cdxx-services-content-stage,
  .cdxx-services-sidebar-scroll::-webkit-scrollbar-track,
  .cdxx-services-sidebar-scroll::-webkit-scrollbar-thumb,
  .cdxx-services-sidebar::after,
  .cdxx-services-hub-nav__btn {
    transition: none;
    animation: none;
  }

  .cdxx-services-hub-nav__btn:hover {
    transform: none;
  }

  .cdxx-services-sidebar {
    transition: none;
  }
}

/* Pinterest Save overlays / widgets (site cannot control browser extensions). */
[id^="pinmarklet"],
[class*=" pin_it"],
[class^="PIN_"],
[class*=" PIN_"],
[data-pin-log],
iframe[src*="pinterest.com"],
iframe[src*="pinimg.com"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Site footer — premium control dock */
.cdxx-footer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-top: clamp(0.85rem, 2vh, 1.35rem);
  padding: clamp(1.1rem, 2.2vh, 1.5rem) clamp(16px, 4vw, 32px) clamp(1rem, 2vh, 1.25rem);
  padding-left: max(clamp(16px, 4vw, 32px), var(--safe-left));
  padding-right: max(clamp(16px, 4vw, 32px), var(--safe-right));
  border: none;
  border-top: 1px solid rgba(110, 47, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(6, 4, 14, 0) 0%, rgba(6, 4, 14, 0.72) 18%, rgba(4, 2, 10, 0.92) 100%);
}

.cdxx-footer__texture,
.cdxx-footer__glow {
  display: none;
}

.cdxx-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1680px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.cdxx-footer__statusline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 clamp(0.75rem, 1.6vh, 0.95rem);
  padding: 0.38rem 0.65rem;
  list-style: none;
  border-radius: 999px;
  border: 1px solid rgba(110, 47, 255, 0.18);
  background: rgba(8, 5, 18, 0.72);
  box-shadow: 0 0 20px rgba(110, 47, 255, 0.08);
}

.cdxx-footer__statuschip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(186, 176, 220, 0.82);
  white-space: nowrap;
}

.cdxx-footer__statuschip:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-left: 0.65rem;
  border-radius: 50%;
  background: rgba(159, 77, 255, 0.45);
  box-shadow: 0 0 6px rgba(159, 77, 255, 0.35);
}

.cdxx-footer__statuschip-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.cdxx-footer__statuschip--online {
  color: rgba(210, 200, 240, 0.92);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.cdxx-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.8vw, 1.15rem);
  padding: clamp(0.72rem, 1.5vw, 0.92rem) clamp(0.95rem, 2vw, 1.2rem);
  margin-bottom: clamp(0.85rem, 1.8vh, 1.05rem);
  border-radius: 12px;
  border: 1px solid rgba(110, 47, 255, 0.26);
  background:
    linear-gradient(145deg, rgba(19, 11, 43, 0.9) 0%, rgba(10, 6, 22, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 22px rgba(110, 47, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cdxx-footer__cta-copy {
  min-width: 0;
}

.cdxx-footer__cta-title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.55vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 14px rgba(159, 77, 255, 0.22);
}

.cdxx-footer__cta-text {
  margin: 0.22rem 0 0;
  font-size: clamp(0.82rem, 1.35vw, 0.9rem);
  line-height: 1.48;
  color: var(--muted);
}

.cdxx-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cdxx-footer__btn {
  padding: 0.55rem 0.98rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.cdxx-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
  align-items: stretch;
}

.cdxx-footer__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: clamp(0.72rem, 1.45vw, 0.86rem) clamp(0.76rem, 1.55vw, 0.92rem);
  border-radius: 12px;
  border: 1px solid rgba(50, 32, 95, 0.5);
  background: linear-gradient(160deg, rgba(14, 8, 30, 0.88) 0%, rgba(7, 4, 16, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 22px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.cdxx-footer__card:hover {
  border-color: rgba(110, 47, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(110, 47, 255, 0.12);
}

.cdxx-footer__card-kicker {
  margin: 0 0 0.42rem;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 140, 255, 0.86);
}

.cdxx-footer__card-title {
  margin: 0 0 0.35rem;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f0e8ff;
}

.cdxx-footer__brand-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--muted);
}

.cdxx-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin: 0.55rem 0 0;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 83, 241, 0.32);
  background: rgba(11, 7, 26, 0.72);
  color: #cfc2ff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cdxx-footer__pill-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.6);
}

.cdxx-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.65rem;
}

.cdxx-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  border: 1px solid rgba(110, 47, 255, 0.32);
  background: rgba(12, 7, 26, 0.85);
  color: rgba(210, 196, 255, 0.88);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cdxx-footer__social-btn:hover,
.cdxx-footer__social-btn:focus-visible {
  color: #fff;
  border-color: rgba(159, 77, 255, 0.55);
  box-shadow: 0 0 16px rgba(110, 47, 255, 0.28);
  transform: translateY(-1px);
}

.cdxx-footer__social-icon--discord {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("assets/discord%20icon%20static.svg");
  mask-image: url("assets/discord%20icon%20static.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
}

.cdxx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1 1 auto;
}

.cdxx-footer__links a,
.cdxx-footer__legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.48;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.cdxx-footer__links a:hover,
.cdxx-footer__links a:focus-visible,
.cdxx-footer__legal a:hover,
.cdxx-footer__legal a:focus-visible {
  color: #d4c4ff;
  text-shadow: 0 0 10px rgba(159, 77, 255, 0.45);
}

.cdxx-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: clamp(0.8rem, 1.6vh, 0.95rem);
  padding-top: clamp(0.65rem, 1.4vh, 0.78rem);
  border-top: 1px solid rgba(110, 47, 255, 0.18);
}

.cdxx-footer__bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  min-width: 0;
}

.cdxx-footer__copyright,
.cdxx-footer__built {
  margin: 0;
  font-size: 0.8rem;
  color: #8b82b5;
}

.cdxx-footer__built {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cdxx-footer__hex-badge {
  display: inline-block;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.45);
  background: rgba(45, 18, 100, 0.35);
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e2d0ff;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(110, 47, 255, 0.18);
  transition:
    text-shadow 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cdxx-footer__hex-badge:hover,
.cdxx-footer__hex-badge:focus-visible {
  border-color: rgba(180, 140, 255, 0.6);
  box-shadow: 0 0 18px rgba(110, 47, 255, 0.28);
  text-shadow:
    1px 0 rgba(159, 77, 255, 0.75),
    -1px 0 rgba(110, 47, 255, 0.55);
  outline: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cdxx-footer__hex-badge:hover,
  .cdxx-footer__hex-badge:focus-visible {
    animation: cdxx-footer-hex-glitch 0.32s steps(2, end) 1;
  }
}

@keyframes cdxx-footer-hex-glitch {
  0% {
    transform: translate(0);
  }
  33% {
    transform: translate(-1px, 0);
    text-shadow: 2px 0 rgba(159, 77, 255, 0.8), -2px 0 rgba(80, 40, 160, 0.6);
  }
  66% {
    transform: translate(1px, 0);
    text-shadow: -2px 0 rgba(159, 77, 255, 0.7), 2px 0 rgba(110, 47, 255, 0.5);
  }
  100% {
    transform: translate(0);
  }
}

.cdxx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.75rem;
}

.cdxx-footer__legal a {
  font-size: 0.78rem;
}

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

@media (max-width: 720px) {
  .cdxx-footer__statusline {
    border-radius: 12px;
    justify-content: flex-start;
  }

  .cdxx-footer__statuschip:not(:last-child)::after {
    display: none;
  }

  .cdxx-footer__cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cdxx-footer__cta-actions {
    justify-content: center;
  }

  .cdxx-footer__btn {
    flex: 1 1 auto;
    min-width: min(100%, 220px);
  }
}

@media (max-width: 640px) {
  .cdxx-footer__grid {
    grid-template-columns: 1fr;
  }

  .cdxx-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cdxx-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cdxx-footer__cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cdxx-footer__btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-footer__hex-badge:hover,
  .cdxx-footer__hex-badge:focus-visible {
    animation: none;
  }

  .cdxx-footer__social-btn:hover,
  .cdxx-footer__social-btn:focus-visible {
    transform: none;
  }
}

/* —— Contact page —— */
.cdxx-contact-page .cdxx-contact-main {
  position: relative;
  z-index: 1;
  padding-top: clamp(4.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
  overflow-x: clip;
}

.cdxx-contact-page .container:not(.nav-wrap) {
  width: min(1140px, calc(100% - 2rem));
}

/* Nav pill must stay fit-content — .cdxx-contact-page .container would stretch it full-width. */
.cdxx-contact-page .nav-wrap.container {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.2rem 3.75rem;
}

body.cdxx-contact-page .cdxx-account-trigger {
  opacity: 0.78;
  border-color: rgba(142, 94, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.06) inset,
    -3px 0 20px rgba(110, 47, 255, 0.14);
}

body.cdxx-contact-page .cdxx-account-trigger:hover,
body.cdxx-contact-page .cdxx-account-trigger:focus-visible {
  opacity: 1;
}

.cdxx-contact-page .cdxx-footer {
  margin-top: 0;
}

.cdxx-contact-main__bloom {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(72px);
  z-index: 0;
}

.cdxx-contact-main__bloom--hero {
  top: 4rem;
  left: 50%;
  width: min(720px, 90vw);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(110, 47, 255, 0.16) 0%, transparent 70%);
}

.cdxx-contact-main__bloom--form {
  top: 42%;
  right: -8%;
  width: 420px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(55, 100, 220, 0.1) 0%, transparent 72%);
}

.cdxx-contact-main__bloom--info {
  bottom: 18%;
  left: 8%;
  width: 360px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(110, 47, 255, 0.1) 0%, transparent 70%);
}

.cdxx-contact-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-contact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cdxx-contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(11rem, 22vh, 13.5rem);
  padding: clamp(0.85rem, 2vw, 1.25rem) 0 clamp(0.65rem, 1.5vw, 0.85rem);
  overflow: hidden;
}

.cdxx-contact-hero__atmo {
  position: absolute;
  inset: -25% -15% -35%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 85% at 50% 38%, rgba(110, 47, 255, 0.32), transparent 68%),
    radial-gradient(ellipse 50% 65% at 8% 55%, rgba(130, 60, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 65% at 92% 55%, rgba(40, 95, 220, 0.2), transparent 58%);
}

.cdxx-contact-hero__glow {
  position: absolute;
  top: 10%;
  width: min(42vw, 380px);
  height: min(55vw, 420px);
  pointer-events: none;
  filter: blur(48px);
  opacity: 0.85;
}

.cdxx-contact-hero__glow--left {
  left: -8%;
  background: radial-gradient(circle, rgba(110, 47, 255, 0.32) 0%, transparent 68%);
}

.cdxx-contact-hero__glow--right {
  right: -8%;
  background: radial-gradient(circle, rgba(35, 85, 200, 0.28) 0%, transparent 68%);
}

.cdxx-contact-hero__streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(118deg, transparent 42%, rgba(159, 77, 255, 0.06) 49%, transparent 56%),
    linear-gradient(62deg, transparent 38%, rgba(70, 120, 255, 0.05) 46%, transparent 54%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 45%, #000 15%, transparent 72%);
}

.cdxx-contact-hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(159, 77, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 77, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.cdxx-contact-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(11rem, 22vh, 13.5rem);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.cdxx-contact-hero__title {
  position: relative;
  width: 100%;
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(1.65rem, 4.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #f5f0ff;
  text-wrap: balance;
  text-shadow:
    0 0 40px rgba(159, 77, 255, 0.35),
    0 2px 16px rgba(0, 0, 0, 0.55);
}

.cdxx-contact-hero__title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(520px, 120%);
  height: min(180px, 140%);
  transform: translate(-50%, -52%);
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 65% at 50% 50%,
    rgba(159, 77, 255, 0.28) 0%,
    rgba(110, 47, 255, 0.1) 42%,
    transparent 72%
  );
  filter: blur(18px);
  opacity: 0.9;
}

.cdxx-contact-options {
  position: relative;
  z-index: 1;
  margin-top: clamp(-0.35rem, -1vw, -0.1rem);
  padding: 0 0 clamp(1rem, 2.2vw, 1.5rem);
}

.cdxx-contact-options__wrap {
  position: relative;
}

.cdxx-contact-options__wrap::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 28%;
  height: 55%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 18% 50%, rgba(110, 47, 255, 0.14), transparent 68%),
    radial-gradient(ellipse 55% 80% at 82% 50%, rgba(55, 100, 220, 0.12), transparent 68%);
  filter: blur(28px);
  opacity: 0.85;
}

.cdxx-contact-options__flow {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 2.75rem;
  height: 1px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110, 47, 255, 0.15) 18%,
    rgba(88, 140, 255, 0.35) 50%,
    rgba(110, 47, 255, 0.15) 82%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(110, 47, 255, 0.15);
  pointer-events: none;
}

.cdxx-contact-options__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
  align-items: stretch;
}

.cdxx-contact-option-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: clamp(250px, 32vw, 270px);
  padding: clamp(1.65rem, 2.4vw, 1.875rem);
  border-radius: 18px;
  border: 1px solid rgba(110, 47, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(26, 12, 54, 0.78) 0%, rgba(10, 5, 22, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.32, 1),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}

.cdxx-contact-option-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
  opacity: 0.7;
}

.cdxx-contact-option-card > *:not(.cdxx-contact-option-card__glow) {
  position: relative;
  z-index: 1;
}

.cdxx-contact-option-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 77, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.12) inset,
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(110, 47, 255, 0.22);
}

.cdxx-contact-option-card--featured {
  border-color: rgba(110, 150, 255, 0.55);
  background:
    linear-gradient(160deg, rgba(22, 34, 72, 0.82) 0%, rgba(14, 10, 38, 0.94) 55%, rgba(8, 4, 18, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(150, 190, 255, 0.12) inset,
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(88, 120, 255, 0.22);
}

.cdxx-contact-option-card--featured:hover {
  border-color: rgba(140, 180, 255, 0.62);
  box-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.14) inset,
    0 20px 44px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(70, 120, 255, 0.28);
}

.cdxx-contact-option-card--featured .cdxx-contact-option-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  width: fit-content;
  z-index: 3;
  pointer-events: none;
}

.cdxx-contact-option-card--featured .cdxx-contact-option-card__icon {
  margin-top: 0;
}

.cdxx-contact-option-card__glow {
  position: absolute;
  inset: -35% -20%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(70, 110, 255, 0.22), transparent 68%);
  opacity: 0.9;
}

.cdxx-contact-option-card__badge {
  position: absolute;
  top: clamp(0.85rem, 2vw, 1rem);
  right: clamp(0.85rem, 2vw, 1rem);
  z-index: 2;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 180, 255, 0.55);
  background: linear-gradient(135deg, rgba(70, 110, 255, 0.35) 0%, rgba(110, 47, 255, 0.28) 100%);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f4ff;
  box-shadow: 0 0 16px rgba(88, 140, 255, 0.25);
}

.cdxx-contact-option-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(3.25rem, 5vw, 3.625rem);
  height: clamp(3.25rem, 5vw, 3.625rem);
  border-radius: 14px;
  border: 1px solid rgba(159, 77, 255, 0.48);
  background: linear-gradient(145deg, rgba(110, 47, 255, 0.26) 0%, rgba(22, 10, 48, 0.88) 100%);
  color: #e8dcff;
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.1) inset,
    0 0 24px rgba(110, 47, 255, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.2);
}

.cdxx-contact-option-card__icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(180, 140, 255, 0.4));
}

.cdxx-contact-option-card__icon--order {
  color: #fff;
}

.cdxx-contact-order-icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask-image: url("assets/order.png");
  mask-image: url("assets/order.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  filter: drop-shadow(0 0 6px rgba(180, 140, 255, 0.35));
}

.cdxx-contact-option-card__icon--custom {
  color: #fff;
}

.cdxx-contact-custom-icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask-image: url("assets/custom.png");
  mask-image: url("assets/custom.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  filter: drop-shadow(0 0 6px rgba(180, 140, 255, 0.35));
}

.cdxx-contact-option-card__icon--discord {
  color: #fff;
  border-color: rgba(100, 150, 255, 0.55);
  background: linear-gradient(145deg, rgba(70, 110, 255, 0.32) 0%, rgba(18, 24, 58, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(150, 190, 255, 0.12) inset,
    0 0 28px rgba(70, 120, 255, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.cdxx-contact-discord-support-icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask-image: url("assets/discord%20icon%20support.png");
  mask-image: url("assets/discord%20icon%20support.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  filter: drop-shadow(0 0 8px rgba(88, 140, 255, 0.4));
}

.cdxx-contact-option-card__icon--general {
  color: #fff;
}

.cdxx-contact-general-icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask-image: url("assets/general%20question.png");
  mask-image: url("assets/general%20question.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  filter: drop-shadow(0 0 6px rgba(180, 140, 255, 0.35));
}

.cdxx-contact-discord-icon {
  display: block;
  flex-shrink: 0;
  background-color: #fff;
  -webkit-mask-image: url("assets/discord.png");
  mask-image: url("assets/discord.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.cdxx-contact-discord-icon--card {
  width: 26px;
  height: 26px;
}

.cdxx-contact-option-card__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.12rem);
  font-weight: 600;
  line-height: 1.25;
  color: #f0ebff;
}

.cdxx-contact-option-card__text {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.58;
  color: var(--muted);
}

.cdxx-contact-option-card__btn {
  margin-top: 0.5rem;
  padding: 0.52rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(159, 77, 255, 0.42);
  background: rgba(110, 47, 255, 0.14);
  color: #f0ebff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: var(--cdxx-cursor-hover);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.cdxx-contact-option-card__btn:hover,
.cdxx-contact-option-card__btn:focus-visible {
  border-color: rgba(159, 77, 255, 0.65);
  background: rgba(110, 47, 255, 0.28);
  box-shadow: 0 0 18px rgba(110, 47, 255, 0.28);
}

.cdxx-contact-option-card__btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cdxx-contact-form-section {
  position: relative;
  z-index: 1;
  padding: clamp(0.35rem, 1.5vw, 0.65rem) 0 clamp(1.35rem, 3vw, 2rem);
  scroll-margin-top: 6rem;
}

.cdxx-contact-form-section::before {
  content: "";
  display: block;
  width: min(720px, 88%);
  height: 1px;
  margin: 0 auto clamp(1rem, 2.5vw, 1.35rem);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110, 47, 255, 0.22) 22%,
    rgba(88, 140, 255, 0.28) 50%,
    rgba(110, 47, 255, 0.22) 78%,
    transparent 100%
  );
  opacity: 0.75;
}

.cdxx-contact-form-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(0.85rem, 2vw, 1.1rem);
}

.cdxx-contact-form-section__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  color: #f5f0ff;
  text-wrap: balance;
}

.cdxx-contact-form-section__subtitle {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--muted);
}

.cdxx-contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: clamp(1.1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.cdxx-contact-form-panel,
.cdxx-contact-discord-panel {
  border-radius: 18px;
  border: 1px solid rgba(110, 47, 255, 0.26);
  background:
    linear-gradient(155deg, rgba(20, 9, 42, 0.82) 0%, rgba(8, 4, 18, 0.94) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.05) inset,
    0 14px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cdxx-contact-form-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.cdxx-contact-form-panel__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #f5f0ff;
}

.cdxx-contact-form-panel__lead {
  margin: 0.55rem 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--muted);
}

.cdxx-contact-form__alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cdxx-contact-form__alert--success {
  border: 1px solid rgba(88, 200, 140, 0.45);
  background: rgba(40, 120, 80, 0.18);
  color: #d4f5e4;
}

.cdxx-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.cdxx-contact-field {
  margin: 0;
}

.cdxx-contact-field__label {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(232, 220, 255, 0.95);
}

.cdxx-contact-field__req {
  color: #b594ff;
}

.cdxx-contact-field__optional {
  font-weight: 500;
  color: var(--muted);
}

.cdxx-contact-field__input {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 47, 255, 0.3);
  background: rgba(6, 3, 14, 0.78);
  color: #f5f0ff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.cdxx-contact-field__input::placeholder {
  color: rgba(180, 160, 220, 0.45);
}

.cdxx-contact-field__input:hover {
  border-color: rgba(159, 77, 255, 0.45);
}

.cdxx-contact-field__input:focus {
  outline: none;
  border-color: rgba(159, 77, 255, 0.68);
  box-shadow:
    0 0 0 3px rgba(110, 47, 255, 0.16),
    0 0 20px rgba(110, 47, 255, 0.12);
  background: rgba(10, 5, 22, 0.94);
}

.cdxx-contact-field__input.is-invalid {
  border-color: rgba(255, 110, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 80, 100, 0.12);
}

.cdxx-contact-field__select {
  appearance: none;
  cursor: var(--cdxx-cursor-hover);
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b594ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.cdxx-contact-field__textarea {
  min-height: 8rem;
  resize: vertical;
}

.cdxx-contact-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cdxx-contact-upload__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 7.5rem;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(159, 77, 255, 0.42);
  background:
    linear-gradient(155deg, rgba(22, 10, 48, 0.55) 0%, rgba(8, 4, 18, 0.82) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  cursor: var(--cdxx-cursor-hover);
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.cdxx-contact-upload__dropzone:hover,
.cdxx-contact-upload__dropzone:focus-visible {
  border-color: rgba(159, 77, 255, 0.62);
  background:
    linear-gradient(155deg, rgba(28, 14, 58, 0.62) 0%, rgba(10, 5, 22, 0.9) 100%);
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.08) inset,
    0 0 28px rgba(110, 47, 255, 0.18);
  outline: none;
}

.cdxx-contact-upload.is-dragover .cdxx-contact-upload__dropzone,
.cdxx-contact-upload.has-file .cdxx-contact-upload__dropzone {
  border-style: solid;
  border-color: rgba(140, 180, 255, 0.5);
}

.cdxx-contact-upload.is-invalid .cdxx-contact-upload__dropzone {
  border-color: rgba(255, 110, 120, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 80, 100, 0.1);
}

.cdxx-contact-upload__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.15rem;
  border-radius: 10px;
  border: 1px solid rgba(159, 77, 255, 0.35);
  background: rgba(110, 47, 255, 0.14);
  color: #d4c0ff;
}

.cdxx-contact-upload__title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f0ebff;
}

.cdxx-contact-upload__hint {
  font-size: 0.8rem;
  color: rgba(200, 185, 240, 0.72);
}

.cdxx-contact-upload__meta {
  font-size: 0.72rem;
  color: rgba(170, 150, 220, 0.55);
}

.cdxx-contact-upload__filename {
  margin-top: 0.35rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8b8ff;
}

.cdxx-contact-upload__filename[hidden] {
  display: none;
}

.cdxx-contact-field__error {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #ffb4bc;
}

.cdxx-contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.cdxx-contact-form__note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(180, 160, 220, 0.62);
}

.cdxx-contact-discord-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.25rem, 2.8vw, 1.65rem);
  overflow: hidden;
  border-color: rgba(100, 150, 255, 0.42);
  background:
    linear-gradient(155deg, rgba(24, 36, 78, 0.68) 0%, rgba(14, 8, 36, 0.92) 52%, rgba(8, 4, 18, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(150, 190, 255, 0.1) inset,
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 48px rgba(70, 110, 255, 0.2);
}

.cdxx-contact-discord-panel__glow {
  position: absolute;
  inset: -40% -25%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 70% 15%, rgba(88, 140, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 45% at 20% 80%, rgba(110, 47, 255, 0.18), transparent 55%);
  z-index: 0;
}

.cdxx-contact-discord-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  z-index: 0;
}

.cdxx-contact-discord-panel > *:not(.cdxx-contact-discord-panel__glow) {
  position: relative;
  z-index: 1;
}

.cdxx-contact-discord-panel__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 180, 255, 0.55);
  background: linear-gradient(135deg, rgba(70, 110, 255, 0.32) 0%, rgba(110, 47, 255, 0.24) 100%);
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f4ff;
  box-shadow: 0 0 22px rgba(88, 140, 255, 0.22);
}

.cdxx-contact-discord-panel__title {
  margin: 0;
  width: 100%;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.9vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f5f8ff;
  text-align: center;
  text-wrap: balance;
}

.cdxx-contact-discord-panel__text {
  margin: 0.55rem 0 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.cdxx-contact-discord-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-self: stretch;
  width: 100%;
}

.cdxx-contact-discord-panel__btn {
  width: 100%;
  justify-content: center;
}

.cdxx-contact-discord-panel__divider {
  margin: 0.95rem 0 0;
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(120, 170, 255, 0.35) 30%,
    rgba(159, 77, 255, 0.28) 70%,
    transparent 100%
  );
  opacity: 0.85;
}

.cdxx-contact-discord-panel__meta {
  margin: 0.75rem 0 0;
  padding-top: 0;
  align-self: stretch;
  width: 100%;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(210, 220, 255, 0.88);
}

.cdxx-contact-discord-panel__meta-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b594ff;
}

.cdxx-contact-info {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(1.35rem, 3vw, 2rem);
}

.cdxx-contact-info::before {
  content: "";
  display: block;
  width: min(640px, 80%);
  height: 1px;
  margin: 0 auto clamp(1rem, 2.2vw, 1.35rem);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110, 47, 255, 0.18) 50%,
    transparent 100%
  );
}

.cdxx-contact-info__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdxx-contact-info__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(110, 47, 255, 0.22);
  background: rgba(12, 6, 28, 0.65);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.cdxx-contact-info__accent {
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    180deg,
    rgba(159, 77, 255, 0.2) 0%,
    rgba(159, 77, 255, 0.75) 50%,
    rgba(88, 140, 255, 0.35) 100%
  );
  opacity: 0.85;
}

.cdxx-contact-info__item:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 77, 255, 0.42);
  box-shadow: 0 0 22px rgba(110, 47, 255, 0.14);
}

.cdxx-contact-info__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b594ff;
}

.cdxx-contact-info__value {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: #f0ebff;
}

.cdxx-contact-faq {
  position: relative;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.cdxx-contact-faq::before {
  content: "";
  display: block;
  width: min(640px, 80%);
  height: 1px;
  margin: 0 auto clamp(1.1rem, 2.5vw, 1.5rem);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(88, 140, 255, 0.2) 50%,
    transparent 100%
  );
}

.cdxx-contact-faq__head {
  text-align: center;
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.cdxx-contact-faq__title {
  position: relative;
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  color: #f5f0ff;
}

.cdxx-contact-faq__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  width: min(200px, 60%);
  height: 28px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(159, 77, 255, 0.35), transparent 72%);
  filter: blur(10px);
  z-index: -1;
}

.cdxx-contact-faq__lead {
  margin: 0.5rem auto 0;
  max-width: 42ch;
  font-size: 0.88rem;
  color: var(--muted);
}

.cdxx-contact-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 820px;
  margin-inline: auto;
}

.cdxx-contact-faq .cdxx-faq-item__panel {
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-contact-faq .cdxx-faq-item.is-open {
  box-shadow:
    0 0 0 1px rgba(200, 150, 255, 0.14) inset,
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(110, 47, 255, 0.2);
}

.cdxx-contact-faq .cdxx-faq-item__chevron {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(159, 77, 255, 0.28);
  background: rgba(110, 47, 255, 0.1);
}

@media (max-width: 1100px) {
  .cdxx-contact-options__flow {
    display: none;
  }

  .cdxx-contact-options__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdxx-contact-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdxx-contact-main__bloom--form {
    top: 55%;
    right: -20%;
  }
}

@media (max-width: 900px) {
  .cdxx-contact-form-layout {
    grid-template-columns: 1fr;
  }

  .cdxx-contact-discord-panel {
    order: 0;
  }
}

@media (max-width: 640px) {
  .cdxx-contact-hero__glow {
    width: 70vw;
    height: 50vw;
    opacity: 0.65;
  }

  .cdxx-contact-options__grid {
    grid-template-columns: 1fr;
  }

  .cdxx-contact-info__grid {
    grid-template-columns: 1fr;
  }

  .cdxx-contact-form-section__head {
    text-align: left;
  }

  body.cdxx-contact-page .cdxx-contact-main {
    padding-bottom: max(4.5rem, calc(4rem + env(safe-area-inset-bottom, 0px)));
  }

}

@media (prefers-reduced-motion: reduce) {
  .cdxx-contact-reveal,
  .cdxx-terms-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cdxx-contact-faq .cdxx-faq-item__panel {
    transition: none;
  }

  .cdxx-contact-option-card:hover,
  .cdxx-contact-info__item:hover {
    transform: none;
  }
}

/* —— Terms of Service page —— */
.cdxx-terms-page .cdxx-terms-main {
  position: relative;
  z-index: 1;
  padding-top: clamp(5.5rem, 10vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cdxx-terms-page .cdxx-footer {
  margin-top: 0;
}

.cdxx-terms-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.32, 1);
}

.cdxx-terms-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cdxx-terms-hero {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.cdxx-terms-hero__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 77, 255, 0.45);
  background: rgba(110, 47, 255, 0.16);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #e8dcff;
}

.cdxx-terms-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.cdxx-terms-toc-wrap {
  position: relative;
}

.cdxx-terms-toc {
  position: sticky;
  top: clamp(5.5rem, 10vw, 6.5rem);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(110, 47, 255, 0.24);
  background: linear-gradient(155deg, rgba(20, 9, 42, 0.82) 0%, rgba(8, 4, 18, 0.94) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.05) inset,
    0 12px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cdxx-terms-toc__title {
  margin: 0 0 0.65rem;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b594ff;
}

.cdxx-terms-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: min(70vh, 640px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 77, 255, 0.45) transparent;
}

.cdxx-terms-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  padding: 0.42rem 0.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(220, 210, 245, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
  cursor: var(--cdxx-cursor-hover);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.cdxx-terms-toc__link:hover,
.cdxx-terms-toc__link:focus-visible {
  color: #fff;
  background: rgba(110, 47, 255, 0.14);
  border-color: rgba(159, 77, 255, 0.28);
}

.cdxx-terms-toc__link.is-active {
  color: #fff;
  background: rgba(110, 47, 255, 0.22);
  border-color: rgba(159, 77, 255, 0.45);
  box-shadow: 0 0 18px rgba(110, 47, 255, 0.12);
}

.cdxx-terms-toc__index {
  flex-shrink: 0;
  font-weight: 600;
  color: #b594ff;
}

.cdxx-terms-toc__label {
  min-width: 0;
}

.cdxx-terms-picker,
.cdxx-terms-sheet,
.cdxx-terms-stepper {
  display: none;
}

.cdxx-terms-content {
  min-width: 0;
}

.cdxx-terms-content__hint {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.cdxx-terms-content__hint strong {
  color: #e8dcff;
  font-weight: 600;
}

.cdxx-terms-panel-label {
  margin: 0 0 0.75rem;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b594ff;
}

.cdxx-terms-sections {
  position: relative;
  min-height: min(40vh, 320px);
  outline: none;
}

.cdxx-terms-section {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(110, 47, 255, 0.22);
  background: linear-gradient(155deg, rgba(18, 8, 38, 0.78) 0%, rgba(8, 4, 18, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(159, 77, 255, 0.04) inset,
    0 10px 28px rgba(0, 0, 0, 0.26);
}

.cdxx-terms-section[hidden] {
  display: none !important;
}

.cdxx-terms-section.is-active {
  animation: cdxx-terms-panel-in 0.32s cubic-bezier(0.22, 1, 0.32, 1);
}

@keyframes cdxx-terms-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.cdxx-terms-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(159, 77, 255, 0.14);
}

.cdxx-terms-section__num {
  flex-shrink: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b594ff;
  padding-top: 0.2rem;
}

.cdxx-terms-section__title {
  margin: 0;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f5f0ff;
}

.cdxx-terms-section__p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.68;
  color: rgba(210, 200, 235, 0.88);
}

.cdxx-terms-section__p:last-child {
  margin-bottom: 0;
}

.cdxx-terms-section__list {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
  color: rgba(210, 200, 235, 0.88);
}

.cdxx-terms-section__list li {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.cdxx-terms-section__list li:last-child {
  margin-bottom: 0;
}

.cdxx-terms-section__link {
  color: #c9b0ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cdxx-terms-section__link:hover,
.cdxx-terms-section__link:focus-visible {
  color: #fff;
}

.cdxx-terms-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.cdxx-terms-contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(88, 140, 255, 0.32);
  background: rgba(70, 110, 255, 0.1);
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.cdxx-terms-contact__item:hover,
.cdxx-terms-contact__item:focus-visible {
  border-color: rgba(120, 170, 255, 0.55);
  background: rgba(70, 110, 255, 0.18);
  transform: translateY(-2px);
}

.cdxx-terms-contact__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b594ff;
}

.cdxx-terms-contact__value {
  font-size: 0.82rem;
  font-weight: 500;
  color: #f0ebff;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .cdxx-terms-layout {
    grid-template-columns: 1fr;
  }

  .cdxx-terms-toc {
    position: static;
  }

  .cdxx-terms-toc__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.45rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .cdxx-terms-toc__link {
    flex: 0 0 auto;
    max-width: 220px;
    white-space: nowrap;
  }

  .cdxx-terms-toc__index {
    display: none;
  }
}

@media (max-width: 720px) {
  .cdxx-terms-contact {
    grid-template-columns: 1fr;
  }

  .cdxx-terms-section {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdxx-terms-section.is-active {
    animation: none;
  }

  .cdxx-terms-contact__item:hover {
    transform: none;
  }
}

/* ===== Responsive cleanup (mobile / tablet / small desktop) ===== */

/* Global media safety */
img,
video,
picture {
  max-width: 100%;
}

.hero-brand,
.cdxx-how-visual__img {
  height: auto;
}

.hero-video,
.cdxx-service-card__header-img {
  object-fit: cover;
  object-position: center center;
}

/* —— Hero & banner backgrounds —— */
@media (max-width: 1024px) {
  .gaming-hero {
    height: auto;
  }

  .hero-content {
    min-height: var(--cdxx-hero-height);
    height: auto;
    padding-inline: var(--cdxx-gutter-inline);
  }

  .hero-video {
    transform: scale(1.02) translateY(-1%);
    filter: blur(3px);
  }

  .hero-brand-stack {
    width: min(100%, 720px);
    margin-top: clamp(4.25rem, 10vh, 5.75rem);
  }

  .hero-tagline-rotate__line {
    white-space: normal;
    text-wrap: balance;
  }

  #services.service-categories-section {
    padding: clamp(48px, 8vh, 64px) 0 clamp(36px, 5vh, 52px);
  }

  #services .service-categories-head {
    margin-top: clamp(-20px, -2.5vh, -12px);
    margin-bottom: clamp(12px, 2vh, 20px);
    padding-bottom: clamp(36px, 5vh, 52px);
  }

  .cdxx-why-choose {
    padding: var(--cdxx-section-pad-y) 0 clamp(1.75rem, 4vh, 2.5rem);
  }

  .cdxx-how-it-works {
    padding: var(--cdxx-section-pad-y) 0 clamp(1.25rem, 3vh, 1.75rem);
  }

  .cdxx-category-main {
    padding-top: clamp(4.75rem, 10vh, 6rem);
    padding-bottom: clamp(2.5rem, 6vh, 4rem);
  }

  .cdxx-category-wrap.container {
    width: 100%;
    max-width: var(--cdxx-container-max);
  }

  .cdxx-contact-page .container:not(.nav-wrap) {
    width: 100%;
    max-width: var(--cdxx-container-max);
    padding-left: var(--cdxx-gutter-inline);
    padding-right: var(--cdxx-gutter-inline);
  }

  .cdxx-contact-options__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdxx-footer {
    padding-left: var(--cdxx-gutter-inline);
    padding-right: var(--cdxx-gutter-inline);
  }

  .cdxx-footer__inner {
    width: 100%;
    max-width: var(--cdxx-container-max);
  }
}

/* Desktop / wide view — full-bleed page shell (mobile layout lives in cdxx-mobile.css) */
@media (min-width: 769px) {
  html,
  body {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  body {
    min-width: 0;
  }

  main,
  .cdxx-page-fade,
  .bg-overlay,
  .gaming-hero,
  .site-header,
  .service-categories-section,
  .cdxx-why-choose,
  .cdxx-how-it-works,
  .cdxx-trust,
  .cdxx-faq,
  .cdxx-footer,
  .cdxx-category-main,
  .cdxx-contact-page .cdxx-contact-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .bg-overlay {
    left: 0;
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
