/* Datamatixx 2026 — Professional + Vibrant theme
   Inspired by CMO Kolkata 2026 design language.
   Light primary with wine-dark alternating sections, red→gold gradients.
   Scoped to body.dmx-theme so legacy admin/dashboard pages are untouched. */

/* ------------------------------------------------------------------ Tokens */
body.dmx-theme {
  --brand-black:    #000000;
  --brand-ink:      #0a0e1a;
  --brand-blue:     #3B82F6;     /* primary blue accent */
  --brand-blue-2:   #60A5FA;     /* lighter highlight blue */
  --brand-blue-3:   #1E40AF;     /* deep navy blue */
  --brand-cyan:     #22D3EE;     /* electric cyan glow */
  --brand-cyan-2:   #06B6D4;
  /* Legacy aliases (kept so older selectors don't break) — all point to blue now */
  --brand-gold:     var(--brand-blue);
  --brand-gold-2:   var(--brand-blue-2);
  --brand-gold-3:   var(--brand-blue-3);
  --brand-red:      var(--brand-blue);
  --brand-red-dark: var(--brand-blue-3);

  --text-dark:  #ededed;
  --text-mid:   #c8c8c8;
  --text-muted: #8a8a8a;
  --text-invert:#ffffff;
  --text-invert-2: rgba(255,255,255,0.7);

  --bg:         #000000;
  --bg-soft:    #05080f;
  --bg-tint:    #061025;
  --bg-dark-1:  #000000;
  --bg-dark-2:  #050a18;
  --bg-dark-3:  #030610;

  --border:     rgba(255,255,255,0.08);
  --border-soft:rgba(255,255,255,0.04);
  --border-blue:rgba(59,130,246,0.35);
  --border-gold:var(--border-blue);   /* legacy alias */

  --grad-brand: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #1E40AF 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(96,165,250,0.14) 0%, rgba(30,64,175,0.10) 100%);
  --grad-dark: linear-gradient(180deg, #000 0%, #050a18 50%, #000 100%);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.6);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.55);
  --shadow-lg:  0 18px 40px -12px rgba(0,0,0,0.7);
  --shadow-blue:0 14px 36px -8px rgba(59,130,246,0.45);
  --shadow-gold:var(--shadow-blue);  /* legacy alias */
  --shadow-brand: var(--shadow-blue);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --font-display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --nav-h: 84px;
}

/* ------------------------------------------------------------------ Global animated bg canvas */
body.dmx-theme #dmx-global-bg {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
/* All sections sit above the bg canvas. Hero/dark sections use transparent
   surfaces so the canvas shows through; light/alt sections still hide it. */
body.dmx-theme > * { position: relative; z-index: 1; }
body.dmx-theme .dmx-hero,
body.dmx-theme .dmx-section--dark,
body.dmx-theme .dmx-cta-section { background-color: transparent !important; }

/* ------------------------------------------------------------------ Base */
body.dmx-theme {
  font-family: var(--font-body) !important;
  color: var(--text-dark) !important;
  background: var(--bg) !important;
  margin: 0;
  padding: 0;
  padding-top: var(--nav-h);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.dmx-theme * { box-sizing: border-box; }
body.dmx-theme img { max-width: 100%; height: auto; }
body.dmx-theme h1, body.dmx-theme h2, body.dmx-theme h3,
body.dmx-theme h4, body.dmx-theme h5, body.dmx-theme h6 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 .5em;
}
body.dmx-theme h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
body.dmx-theme h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
body.dmx-theme h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
body.dmx-theme p  { color: var(--text-mid); margin: 0 0 1em; }
body.dmx-theme a  { color: var(--brand-gold-2); text-decoration: none; transition: color .2s; }
body.dmx-theme a:hover { color: var(--brand-gold); }

/* ------------------------------------------------------------------ Layout helpers */
body.dmx-theme .dmx-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
body.dmx-theme .dmx-section { padding: 80px 0; position: relative; }
body.dmx-theme .dmx-section-sm { padding: 56px 0; }

body.dmx-theme .dmx-section--alt { background: var(--bg-soft); }
body.dmx-theme .dmx-section--dark {
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
body.dmx-theme .dmx-section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(59,130,246,0.14), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(96,165,250,0.10), transparent 50%);
  pointer-events: none;
}
body.dmx-theme .dmx-section--dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  pointer-events: none;
}
body.dmx-theme .dmx-section--dark > .dmx-container { position: relative; z-index: 2; }
body.dmx-theme .dmx-section--dark h1,
body.dmx-theme .dmx-section--dark h2,
body.dmx-theme .dmx-section--dark h3,
body.dmx-theme .dmx-section--dark h4 { color: #fff; }
body.dmx-theme .dmx-section--dark p { color: var(--text-invert-2); }

/* Section title */
body.dmx-theme .dmx-section-title { text-align: center; margin-bottom: 48px; }
body.dmx-theme .dmx-section-title .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
}
body.dmx-theme .dmx-section--dark .dmx-section-title .eyebrow { color: var(--brand-gold); }
body.dmx-theme .dmx-section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
body.dmx-theme .dmx-section-title p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
}
body.dmx-theme .dmx-section--dark .dmx-section-title p { color: rgba(255,255,255,0.65); }
body.dmx-theme .dmx-text-gold { color: var(--brand-gold); }
body.dmx-theme .dmx-text-red  { color: var(--brand-red); }
body.dmx-theme .dmx-gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ Buttons */
body.dmx-theme .btn-brand,
body.dmx-theme .dmx-btn--brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, filter .3s;
  box-shadow: 0 8px 20px -6px rgba(59,130,246,0.45);
  font-family: var(--font-display);
}
/* Holographic shimmer that sweeps on hover */
body.dmx-theme .btn-brand::before,
body.dmx-theme .dmx-btn--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 0%, transparent 30%,
    rgba(255,255,255,0.55) 50%,
    transparent 70%, transparent 100%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
body.dmx-theme .btn-brand > *,
body.dmx-theme .dmx-btn--brand > * { position: relative; z-index: 2; }
/* Pulsing gold halo on hover */
body.dmx-theme .btn-brand::after,
body.dmx-theme .dmx-btn--brand::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(96,165,250,0.55);
  pointer-events: none;
  z-index: 0;
  transition: box-shadow .35s;
}
body.dmx-theme .btn-brand:hover,
body.dmx-theme .dmx-btn--brand:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px -6px rgba(59,130,246,0.65);
  filter: brightness(1.08);
}
body.dmx-theme .btn-brand:hover::before,
body.dmx-theme .dmx-btn--brand:hover::before {
  transform: translateX(130%) skewX(-12deg);
}
body.dmx-theme .btn-brand:hover::after,
body.dmx-theme .dmx-btn--brand:hover::after {
  animation: dmx-btn-halo 1.2s ease-out infinite;
}
@keyframes dmx-btn-halo {
  0%   { box-shadow: 0 0 0 0   rgba(96,165,250,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(96,165,250,0); }
  100% { box-shadow: 0 0 0 0   rgba(96,165,250,0); }
}
body.dmx-theme .btn-brand i,
body.dmx-theme .dmx-btn--brand i,
body.dmx-theme .btn-brand svg,
body.dmx-theme .dmx-btn--brand svg { width: 16px; height: 16px; }

body.dmx-theme .btn-outline-light-pill,
body.dmx-theme .btn-outline-gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
body.dmx-theme .btn-outline-light-pill::before,
body.dmx-theme .btn-outline-gold::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 30%, rgba(96,165,250,0.32) 50%, transparent 70%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
body.dmx-theme .btn-outline-light-pill:hover::before,
body.dmx-theme .btn-outline-gold:hover::before {
  transform: translateX(130%) skewX(-12deg);
}
body.dmx-theme .btn-outline-light-pill > *,
body.dmx-theme .btn-outline-gold > * { position: relative; z-index: 1; }
body.dmx-theme .btn-outline-light-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-display);
}
body.dmx-theme .btn-outline-light-pill:hover {
  background: var(--brand-gold);
  color: #000;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}
body.dmx-theme .btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brand-gold);
  border: 1.5px solid var(--brand-gold);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-display);
}
body.dmx-theme .btn-outline-gold:hover {
  background: var(--brand-gold);
  color: var(--brand-black);
  transform: translateY(-2px);
}
body.dmx-theme .btn-outline-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brand-black);
  border: 1.5px solid var(--brand-black);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-display);
}
body.dmx-theme .btn-outline-dark-pill:hover {
  background: var(--brand-black);
  color: #fff;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------ Nav (Bootstrap-aligned) */
body.dmx-theme .dmx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #05070e;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-gold);
  transition: box-shadow .25s var(--ease-out), background .25s;
  isolation: isolate;
}
body.dmx-theme .dmx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0;
  padding: 0;
}
body.dmx-theme .dmx-nav.is-scrolled {
  background: #05070e;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.7);
}
body.dmx-theme .dmx-nav__brand {
  display: flex; align-items: center;
  text-decoration: none;
}
body.dmx-theme .dmx-nav__brand img {
  height: 50px; width: auto; display: block;
  filter: drop-shadow(0 0 14px rgba(59,130,246,0.45));
  transition: filter .3s var(--ease-out);
}
body.dmx-theme .dmx-nav__brand:hover img { filter: drop-shadow(0 0 22px rgba(96,165,250,0.85)); }
body.dmx-theme .dmx-nav__brand span { display: none; }
body.dmx-theme .dmx-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.dmx-theme .dmx-nav__links a {
  display: inline-block;
  padding: 10px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: color .2s, background .2s;
  position: relative;
}
body.dmx-theme .dmx-nav__links a:hover { color: var(--brand-gold-2); }
body.dmx-theme .dmx-nav__links a.is-active {
  color: var(--brand-gold-2);
  background: rgba(59,130,246,0.12);
}
body.dmx-theme .dmx-nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  text-decoration: none;
  box-shadow: 0 8px 18px -6px rgba(59,130,246,0.4);
  transition: transform .25s var(--ease-out), box-shadow .25s, filter .25s;
  white-space: nowrap;
}
body.dmx-theme .dmx-nav__cta:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 12px 24px -6px rgba(59,130,246,0.55);
  filter: brightness(1.05);
}
body.dmx-theme .dmx-nav__cta svg { width: 14px; height: 14px; }
body.dmx-theme .dmx-nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-gold);
  background: rgba(59,130,246,0.10);
  border-radius: 12px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
body.dmx-theme .dmx-nav__burger span {
  width: 18px; height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
  position: relative;
}
body.dmx-theme .dmx-nav__burger span::before,
body.dmx-theme .dmx-nav__burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}
body.dmx-theme .dmx-nav__burger span::before { top: -6px; }
body.dmx-theme .dmx-nav__burger span::after  { top: 6px; }

/* Drawer */
body.dmx-theme .dmx-drawer {
  position: fixed; top: 0; right: 0;
  width: min(360px, 88vw); height: 100vh;
  background: linear-gradient(180deg, #050403, #000);
  border-left: 1px solid var(--border-gold);
  z-index: 1100;
  transform: translateX(110%);
  transition: transform .35s var(--ease-out);
  padding: 32px 28px;
  overflow-y: auto;
  box-shadow: -20px 0 40px -16px rgba(0,0,0,0.7);
}
body.dmx-theme .dmx-drawer.is-open { transform: translateX(0); }
body.dmx-theme .dmx-drawer__close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: 1px solid var(--border-gold);
  background: rgba(59,130,246,0.10);
  border-radius: 12px;
  color: var(--brand-gold);
  cursor: pointer;
  font-size: 22px;
}
body.dmx-theme .dmx-drawer__links { list-style: none; margin: 60px 0 0; padding: 0; }
body.dmx-theme .dmx-drawer__links li { margin-bottom: 4px; }
body.dmx-theme .dmx-drawer__links a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
body.dmx-theme .dmx-drawer__links a:hover {
  background: rgba(59,130,246,0.12);
  color: var(--brand-gold);
}
body.dmx-theme .dmx-drawer__cta {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 24px;
  padding: 14px 22px;
  width: 100%;
  background: var(--grad-brand);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
}
body.dmx-theme .dmx-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
body.dmx-theme .dmx-overlay.is-active { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ Hero (black + gold cinematic) */
body.dmx-theme .dmx-hero {
  position: relative;
  width: 100%;
  min-height: clamp(580px, 88vh, 860px);
  background:
    radial-gradient(ellipse 55% 50% at 20% 40%, rgba(59,130,246,0.12), transparent 55%),
    radial-gradient(ellipse 75% 65% at 80% 65%, rgba(96,165,250,0.18), transparent 60%),
    #000000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Banner-image hero variant — full-bleed artwork, edge to edge like the header */
body.dmx-theme .dmx-hero--banner {
  min-height: 0;
  display: block;
  padding: 0;
  background-color: #000 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.dmx-theme .dmx-hero--banner::before { display: none; }
body.dmx-theme .dmx-hero__banner-img {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
body.dmx-theme .dmx-hero__banner-ctas {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 26px 18px 36px;
  background: #000;
}
body.dmx-theme .dmx-hero--banner .dmx-hero__badge {
  top: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
}
/* Subtle dotted texture */
body.dmx-theme .dmx-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(59,130,246,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  pointer-events: none;
  z-index: 1;
}
body.dmx-theme .dmx-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
body.dmx-theme .dmx-hero__copy {
  position: relative;
  z-index: 3;
}
body.dmx-theme .dmx-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.30);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold-2);
  margin-bottom: 22px;
}
body.dmx-theme .dmx-hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-gold-2);
  box-shadow: 0 0 10px var(--brand-gold-2);
  animation: dmx-pulse 1.6s ease-in-out infinite;
}
@keyframes dmx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}
/* Massive gold wordmark + AWARDS subtitle with flanking lines */
body.dmx-theme .dmx-hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.025em;
  background: linear-gradient(180deg, #60A5FA 0%, #3B82F6 50%, #1E40AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  filter: drop-shadow(0 4px 20px rgba(59,130,246,0.25));
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
body.dmx-theme .dmx-hero__copy { min-width: 0; overflow: hidden; }
body.dmx-theme .dmx-hero__inner { overflow: hidden; }
body.dmx-theme .dmx-hero__awards-row {
  display: flex; align-items: center; gap: 16px;
  margin: 8px 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.95rem, 1.4vw, 1.35rem);
  letter-spacing: .35em;
}
body.dmx-theme .dmx-hero__awards-row::before,
body.dmx-theme .dmx-hero__awards-row::after {
  content: "";
  flex: 1; max-width: 90px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-gold) 60%);
}
body.dmx-theme .dmx-hero__awards-row::after { background: linear-gradient(90deg, var(--brand-gold) 0%, transparent 60%); }
body.dmx-theme .dmx-hero__tagline-sub {
  font-family: var(--font-display);
  font-size: clamp(.78rem, 1.05vw, .92rem);
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-gold-2);
  margin: 0 0 22px;
}
body.dmx-theme .dmx-hero__pitch {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 18px;
}
body.dmx-theme .dmx-hero__pitch .gold {
  color: var(--brand-gold-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .015em;
}
body.dmx-theme .dmx-hero__divider {
  display: block;
  width: 80px; height: 2px;
  background: var(--brand-gold);
  margin: 22px 0;
}
body.dmx-theme .dmx-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}
body.dmx-theme .dmx-hero__title .gold { color: var(--brand-gold); }
body.dmx-theme .dmx-hero__title .red {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.dmx-theme .dmx-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  font-weight: 500;
}
body.dmx-theme .dmx-hero__lead {
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.65;
}
body.dmx-theme .dmx-hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 40px;
}
body.dmx-theme .dmx-hero__tagline {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(59,130,246,0.18);
}
body.dmx-theme .dmx-hero__tagline span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: inline-flex; align-items: center; gap: 8px;
}
/* 4-icon feature row (Privacy · AI · Creativity · Programmatic) */
body.dmx-theme .dmx-features {
  display: flex; align-items: center; gap: 0;
  margin-top: 38px; padding-top: 30px;
  border-top: 1px solid rgba(59,130,246,0.20);
  flex-wrap: wrap;
}
body.dmx-theme .dmx-feat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 22px;
  flex: 1; min-width: 90px;
  border-right: 1px solid rgba(59,130,246,0.25);
  transition: transform .3s var(--ease-out);
}
body.dmx-theme .dmx-feat:last-child { border-right: 0; }
body.dmx-theme .dmx-feat:hover { transform: translateY(-3px); }
body.dmx-theme .dmx-feat i {
  font-size: 28px;
  color: var(--brand-gold);
  margin-bottom: 12px;
  transition: filter .3s, color .3s;
  filter: drop-shadow(0 0 12px rgba(59,130,246,0));
}
body.dmx-theme .dmx-feat:hover i {
  color: var(--brand-gold-2);
  filter: drop-shadow(0 0 16px rgba(96,165,250,0.6));
}
body.dmx-theme .dmx-feat span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 600;
}
body.dmx-theme .dmx-hero__tagline span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-gold);
}
body.dmx-theme .dmx-hero__tagline span:nth-child(2)::before { background: var(--brand-red); }
body.dmx-theme .dmx-hero__tagline span:nth-child(3)::before { background: #19D3C5; }
body.dmx-theme .dmx-hero__tagline span:nth-child(4)::before { background: var(--brand-gold); }
body.dmx-theme .dmx-hero__tagline span:nth-child(5)::before { background: var(--brand-red); }

/* ===================== TROPHY 3D STAGE (cinematic showcase) ===================== */
body.dmx-theme .dmx-hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
body.dmx-theme .dmx-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
/* Outer concentric rotating gold rings (halo behind trophy) */
body.dmx-theme .dmx-stage__rings {
  position: absolute; inset: -2%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
body.dmx-theme .dmx-stage__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    conic-gradient(from 0deg,
      rgba(59,130,246,0) 0deg,
      rgba(59,130,246,0.6) 60deg,
      rgba(96,165,250,0.85) 90deg,
      rgba(59,130,246,0.6) 120deg,
      rgba(59,130,246,0) 180deg,
      rgba(59,130,246,0) 360deg) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: dmx-spin-slow 14s linear infinite;
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.55));
}
body.dmx-theme .dmx-stage__ring--1 { width: 92%;  height: 92%;  animation-duration: 14s; }
body.dmx-theme .dmx-stage__ring--2 { width: 78%;  height: 78%;  animation-duration: 22s; animation-direction: reverse; opacity: .85; }
body.dmx-theme .dmx-stage__ring--3 { width: 64%;  height: 64%;  animation-duration: 10s; opacity: .7; }
body.dmx-theme .dmx-stage__ring--4 { width: 110%; height: 110%; animation-duration: 30s; opacity: .35; }
@keyframes dmx-spin-slow { to { transform: rotate(360deg); } }

/* Glowing halo behind trophy */
body.dmx-theme .dmx-stage__halo {
  position: absolute;
  width: 60%; height: 60%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(96,165,250,0.55) 0%, rgba(59,130,246,0.20) 40%, transparent 70%);
  filter: blur(40px);
  animation: dmx-pulseHaloHero 5s ease-in-out infinite;
  z-index: 0;
}
@keyframes dmx-pulseHaloHero {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.1); opacity: 1; }
}
/* Particle / dust streams (canvas) */
body.dmx-theme .dmx-stage__particles {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
body.dmx-theme .dmx-stage__particles canvas {
  width: 100% !important; height: 100% !important;
}
/* Trophy 3D content area (image or wireframe substitute) */
body.dmx-theme .dmx-stage__trophy {
  position: relative;
  z-index: 2;
  width: 78%;
  aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
body.dmx-theme .dmx-stage__trophy img {
  width: 100%; height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.65)) drop-shadow(0 0 24px rgba(59,130,246,0.25));
  animation: dmx-floatTrophyHero 8s ease-in-out infinite;
}
@keyframes dmx-floatTrophyHero {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* Wireframe-sphere placeholder when trophy image missing — large area for the 3D head */
body.dmx-theme .dmx-stage__placeholder {
  position: absolute; inset: -4% -4% 12% -4%;
  z-index: 2;
}
body.dmx-theme .dmx-stage__placeholder canvas {
  width: 100% !important; height: 100% !important;
}
/* Hero stage VIDEO — fills the same area as the 3D placeholder */
body.dmx-theme .dmx-stage__video {
  position: absolute;
  inset: -4% -4% 10% -4%;
  width: 108%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  z-index: 2;
  border-radius: 18px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 24px rgba(59,130,246,0.30));
  pointer-events: none;        /* lets pointer events fall through to other hero elements */
  background: transparent;
  animation: dmx-floatVideo 8s ease-in-out infinite;
}
@keyframes dmx-floatVideo {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* Plinth + engraved gold plate */
body.dmx-theme .dmx-stage__plinth {
  position: relative;
  z-index: 2;
  width: 78%;
  margin-top: -6%;
  padding: 14px 12px;
  background: linear-gradient(180deg, #1a1714 0%, #050403 100%);
  border: 1px solid rgba(59,130,246,0.30);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: center;
}
body.dmx-theme .dmx-stage__plate {
  display: inline-block;
  padding: 6px 22px;
  background: linear-gradient(180deg, #60A5FA, #1E40AF);
  color: #000;
  font-family: var(--font-display);
  font-size: clamp(.8rem, 1.1vw, 1rem);
  font-weight: 800;
  letter-spacing: .3em;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(0,0,0,0.25);
}
body.dmx-theme .dmx-stage__plate small {
  display: block;
  font-size: .58em;
  letter-spacing: .35em;
  margin-top: 2px;
  font-weight: 600;
}
/* Circular gold stage under plinth */
body.dmx-theme .dmx-stage__floor {
  position: absolute;
  bottom: 3%; left: 12%; right: 12%;
  height: 6%;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(96,165,250,0.45) 0%, rgba(59,130,246,0.18) 35%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(10px);
}
body.dmx-theme .dmx-stage__floor::before {
  content: "";
  position: absolute; left: 10%; right: 10%; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(96,165,250,0.85) 50%, transparent 100%);
  filter: blur(.5px);
}
/* "LIVE 2026" badge on stage corner */
body.dmx-theme .dmx-hero__badge {
  position: absolute;
  top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(59,130,246,0.45);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--brand-gold-2);
  backdrop-filter: blur(10px);
  z-index: 5;
}
body.dmx-theme .dmx-hero__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-gold-2);
  animation: dmx-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 10px var(--brand-gold-2);
}
body.dmx-theme .dmx-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(13,13,13,0.85);
  border: 1px solid rgba(59,130,246,0.55);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  z-index: 4;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5), 0 0 20px rgba(59,130,246,0.12);
  animation: dmx-float 6s ease-in-out infinite;
}
body.dmx-theme .dmx-chip i,
body.dmx-theme .dmx-chip svg { color: var(--brand-gold); font-size: 12px; }
body.dmx-theme .dmx-chip strong { color: var(--brand-gold); }
body.dmx-theme .dmx-chip--1 { top: 6%; right: -8%; animation-delay: 0s; }
body.dmx-theme .dmx-chip--2 { top: 36%; left: -10%; animation-delay: 1.2s; }
body.dmx-theme .dmx-chip--3 { bottom: 28%; right: -12%; animation-delay: 2.4s; }
body.dmx-theme .dmx-chip--4 { bottom: 6%; left: -4%; animation-delay: 3.6s; }
@keyframes dmx-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ------------------------------------------------------------------ Stats section */
body.dmx-theme .dmx-stats {
  background: var(--bg);
  padding: 60px 0;
  position: relative;
  margin-top: -40px;
  z-index: 5;
}
body.dmx-theme .dmx-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
body.dmx-theme .dmx-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
  box-shadow: var(--shadow-sm);
}
body.dmx-theme .dmx-stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-brand);
}
body.dmx-theme .dmx-stat-card .icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad-brand-soft);
  color: var(--brand-gold);
  font-size: 26px;
  margin-bottom: 18px;
  border: 1px solid rgba(59,130,246,0.15);
  transition: transform .35s var(--ease-spring);
}
body.dmx-theme .dmx-stat-card:hover .icon-wrap { transform: rotate(-6deg) scale(1.06); }
body.dmx-theme .dmx-stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
body.dmx-theme .dmx-stat-card .accent-bar {
  width: 40px; height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
  margin: 0 auto 10px;
}
body.dmx-theme .dmx-stat-card .label {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
body.dmx-theme .dmx-stat-card .desc {
  color: var(--text-muted);
  font-size: 13px;
}

/* ------------------------------------------------------------------ About / Point cards */
body.dmx-theme .dmx-point-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
body.dmx-theme .dmx-point-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
}
body.dmx-theme .dmx-point-card .num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
body.dmx-theme .dmx-point-card h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display);
}

/* ------------------------------------------------------------------ Pillar cards (themes) */
body.dmx-theme .dmx-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
body.dmx-theme .dmx-pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
body.dmx-theme .dmx-pillar::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
body.dmx-theme .dmx-pillar:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
body.dmx-theme .dmx-pillar:hover::before { transform: scaleX(1); }
body.dmx-theme .dmx-pillar__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  color: var(--brand-gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
body.dmx-theme .dmx-pillar h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: #fff;
}
body.dmx-theme .dmx-pillar p { font-size: .92rem; color: var(--text-mid); margin: 0; }
body.dmx-theme .dmx-section--dark .dmx-pillar {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}
body.dmx-theme .dmx-section--dark .dmx-pillar h4 { color: #fff; }
body.dmx-theme .dmx-section--dark .dmx-pillar p { color: rgba(255,255,255,0.72); }
body.dmx-theme .dmx-section--dark .dmx-pillar__icon { background: rgba(34,211,238,0.16); color: var(--brand-gold); }

/* ------------------------------------------------------------------ Category cards (flip on hover/tap) */
body.dmx-theme .dmx-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
body.dmx-theme .dmx-cat {
  position: relative;
  height: 240px;
  perspective: 1200px;
}
body.dmx-theme .dmx-cat__inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease-out);
}
body.dmx-theme .dmx-cat:hover .dmx-cat__inner,
body.dmx-theme .dmx-cat.is-flipped .dmx-cat__inner { transform: rotateY(180deg); }
body.dmx-theme .dmx-cat__face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
body.dmx-theme .dmx-cat__front {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
body.dmx-theme .dmx-cat__front::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-brand);
  border-radius: 4px 0 0 4px;
}
body.dmx-theme .dmx-cat__back {
  background: var(--grad-brand);
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dmx-theme .dmx-cat__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 700;
  margin-bottom: 12px;
}
body.dmx-theme .dmx-cat__back .dmx-cat__num { color: #fff; opacity: .85; }
body.dmx-theme .dmx-cat h4 { font-size: 1.2rem; margin: 0 0 6px; }
body.dmx-theme .dmx-cat__back h4 { color: #fff; }
body.dmx-theme .dmx-cat__front p { font-size: .88rem; color: var(--text-muted); margin: 0; }
body.dmx-theme .dmx-cat__back p { font-size: .9rem; color: rgba(255,255,255,0.9); margin: 0 0 14px; }
body.dmx-theme .dmx-cat__back .btn-brand {
  background: rgba(255,255,255,0.04);
  color: var(--brand-gold);
  box-shadow: none;
}
body.dmx-theme .dmx-cat__back .btn-brand:hover {
  background: var(--brand-black);
  color: #fff;
}

/* ------------------------------------------------------------------ Trophy showcase */
body.dmx-theme .dmx-trophy {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 70%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(59,130,246,0.16), transparent 60%),
    linear-gradient(180deg, #0d0d12 0%, #1c1b21 100%);
  border: 1px solid rgba(34,211,238,0.28);
  box-shadow: 0 30px 80px -20px rgba(59,130,246,0.30);
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
body.dmx-theme .dmx-trophy:hover { transform: translateY(-4px) scale(1.01); }
body.dmx-theme .dmx-trophy__halo {
  position: absolute; inset: 18% 18% 8%;
  background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 60%);
  filter: blur(50px);
  z-index: 1;
  animation: dmx-pulseHalo 4.6s ease-in-out infinite;
}
@keyframes dmx-pulseHalo { 50% { transform: scale(1.1); opacity: .85; } }
body.dmx-theme .dmx-trophy__main {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
body.dmx-theme .dmx-trophy__main img {
  width: 78%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.65));
  animation: dmx-floatTrophy 8s ease-in-out infinite;
}
@keyframes dmx-floatTrophy { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
body.dmx-theme .dmx-trophy__angle {
  position: absolute; right: 16px; bottom: 16px;
  width: 36%;
  background: rgba(255,255,255,0.04);
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius);
  padding: 8px;
  z-index: 3;
  transform: rotate(3deg);
  transition: transform .35s var(--ease-out);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}
body.dmx-theme .dmx-trophy__angle:hover { transform: rotate(0); }
body.dmx-theme .dmx-trophy__angle img { width: 100%; height: auto; display: block; border-radius: 8px; }
body.dmx-theme .dmx-trophy__caption {
  position: absolute; top: 22px; left: 22px;
  z-index: 3;
  padding: 8px 16px;
  background: var(--grad-brand);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
}
body.dmx-theme .dmx-trophy.is-placeholder .dmx-trophy__main img,
body.dmx-theme .dmx-trophy.is-placeholder .dmx-trophy__angle img { display: none; }
body.dmx-theme .dmx-trophy.is-placeholder::after {
  content: "TROPHY VISUAL PENDING — upload images/trophy-front.jpg & trophy-angle.jpg";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: rgba(255,255,255,0.65);
  padding: 40px;
  z-index: 4;
}

/* ------------------------------------------------------------------ Speakers / Jury photo cards */
body.dmx-theme .dmx-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
body.dmx-theme .dmx-person {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #1a0810;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  box-shadow: var(--shadow-md);
}
body.dmx-theme .dmx-person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
body.dmx-theme .dmx-person img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
body.dmx-theme .dmx-person:hover img { transform: scale(1.05); }
body.dmx-theme .dmx-person__caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,0.92) 100%);
  color: #fff;
}
body.dmx-theme .dmx-person__name { font-size: 1rem; font-weight: 700; margin: 0 0 4px; color: #fff; font-family: var(--font-display); }
body.dmx-theme .dmx-person__role { font-size: .82rem; color: rgba(255,255,255,0.82); margin: 0; line-height: 1.4; }

/* ------------------------------------------------------------------ CTA section (full bleed) */
body.dmx-theme .dmx-cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(34,211,238,0.20), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 50%, rgba(59,130,246,0.45), transparent 60%),
    linear-gradient(120deg, #14040a 0%, #1f0608 100%);
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.dmx-theme .dmx-cta-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
body.dmx-theme .dmx-cta-section > .dmx-container { position: relative; z-index: 2; }
body.dmx-theme .dmx-cta-section h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 auto 18px; max-width: 820px; }
body.dmx-theme .dmx-cta-section h2 .dmx-text-gold { color: var(--brand-gold); }
body.dmx-theme .dmx-cta-section p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto 36px; }
body.dmx-theme .dmx-cta-section .dmx-hero__ctas { justify-content: center; margin: 0; }

/* ------------------------------------------------------------------ Marquee */
body.dmx-theme .dmx-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: var(--brand-black);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 3px solid var(--brand-red);
}
body.dmx-theme .dmx-marquee__track {
  display: flex; gap: 48px;
  width: max-content;
  animation: dmx-marquee 38s linear infinite;
  will-change: transform;
}
body.dmx-theme .dmx-marquee__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
}
body.dmx-theme .dmx-marquee__item::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-gold);
}
@keyframes dmx-marquee { to { transform: translateX(-50%); } }
body.dmx-theme .dmx-marquee:hover .dmx-marquee__track { animation-play-state: paused; }

/* ------------------------------------------------------------------ Sticky mobile CTA */
body.dmx-theme .dmx-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 14px env(safe-area-inset-bottom);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px -16px rgba(0,0,0,0.15);
}
body.dmx-theme .dmx-mobile-cta .btn-brand {
  width: 100%; justify-content: center; padding: 14px;
}

/* ------------------------------------------------------------------ Footer */
body.dmx-theme .dmx-footer {
  position: relative;
  background: var(--brand-black);
  color: rgba(255,255,255,0.72);
  padding: 70px 0 28px;
  border-top: 4px solid var(--brand-red);
  overflow: hidden;
}
body.dmx-theme .dmx-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(34,211,238,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
body.dmx-theme .dmx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
body.dmx-theme .dmx-footer h4 {
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 18px;
  font-weight: 700;
}
body.dmx-theme .dmx-footer__brand img {
  height: 56px; width: auto; margin-bottom: 18px;
  filter: drop-shadow(0 0 16px rgba(59,130,246,0.45));
}
body.dmx-theme .dmx-footer__brand p { font-size: .9rem; color: rgba(255,255,255,0.65); max-width: 340px; }
body.dmx-theme .dmx-footer ul { list-style: none; padding: 0; margin: 0; }
body.dmx-theme .dmx-footer ul li { margin-bottom: 10px; }
body.dmx-theme .dmx-footer ul a {
  font-size: .9rem;
  color: rgba(255,255,255,0.7);
  transition: color .2s, padding-left .25s var(--ease-out);
}
body.dmx-theme .dmx-footer ul a:hover { color: var(--brand-gold); padding-left: 6px; }
body.dmx-theme .dmx-footer__contact a { display: flex; align-items: flex-start; gap: 10px; }
body.dmx-theme .dmx-footer__contact i,
body.dmx-theme .dmx-footer__contact svg { color: var(--brand-red); margin-top: 3px; }
body.dmx-theme .dmx-footer__bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: .82rem; color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
}
body.dmx-theme .dmx-footer__social { display: flex; gap: 10px; }
body.dmx-theme .dmx-footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  transition: transform .25s var(--ease-spring), background .25s, color .25s;
}
body.dmx-theme .dmx-footer__social a:hover {
  transform: translateY(-3px);
  background: var(--brand-red);
  color: #fff;
}

/* ------------------------------------------------------------------ Reveal animation */
body.dmx-theme [data-dmx-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
body.dmx-theme [data-dmx-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------------ Inner pages (.dmx-page) */
body.dmx-theme .dmx-page {
  position: relative;
  padding: 50px 0 80px;
  background: var(--bg);
  color: var(--text-dark);
}
body.dmx-theme .dmx-page .container,
body.dmx-theme .dmx-page .container-fluid { color: var(--text-dark); }
body.dmx-theme .dmx-page h1,
body.dmx-theme .dmx-page h2,
body.dmx-theme .dmx-page h3,
body.dmx-theme .dmx-page h4,
body.dmx-theme .dmx-page h5,
body.dmx-theme .dmx-page h6 { color: #fff !important; font-family: var(--font-display) !important; }
body.dmx-theme .dmx-page p,
body.dmx-theme .dmx-page li { color: var(--text-mid); }
body.dmx-theme .dmx-page a { color: var(--brand-red); }
body.dmx-theme .dmx-page a:hover { color: var(--brand-gold-3); }

body.dmx-theme .dmx-page section,
body.dmx-theme .dmx-page .section,
body.dmx-theme .dmx-page .u-section-1,
body.dmx-theme .dmx-page .u-section-2,
body.dmx-theme .dmx-page .u-section-3,
body.dmx-theme .dmx-page .u-section-4,
body.dmx-theme .dmx-page .u-section-5,
body.dmx-theme .dmx-page .u-section-6,
body.dmx-theme .dmx-page .u-section-7 {
  background: transparent !important;
}
body.dmx-theme .dmx-page .btn-primary,
body.dmx-theme .dmx-page .btn-danger,
body.dmx-theme .dmx-page .btn-success,
body.dmx-theme .dmx-page .but {
  background: var(--grad-brand) !important;
  border: 0 !important; color: #fff !important;
  border-radius: var(--radius-pill) !important;
  padding: 11px 22px !important; font-weight: 600;
  font-family: var(--font-display) !important;
  box-shadow: 0 8px 18px -6px rgba(59,130,246,0.4);
}
body.dmx-theme .dmx-page .btn-primary:hover,
body.dmx-theme .dmx-page .btn-danger:hover,
body.dmx-theme .dmx-page .btn-success:hover,
body.dmx-theme .dmx-page .but:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 28px -6px rgba(59,130,246,0.55);
}
body.dmx-theme .dmx-page input.form-control,
body.dmx-theme .dmx-page textarea.form-control,
body.dmx-theme .dmx-page select.form-control {
  background: #fff !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius) !important;
  padding: 13px 16px !important;
  font-family: var(--font-body) !important;
}
body.dmx-theme .dmx-page input.form-control:focus,
body.dmx-theme .dmx-page textarea.form-control:focus,
body.dmx-theme .dmx-page select.form-control:focus {
  border-color: var(--brand-red) !important;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.14) !important;
  outline: 0 !important;
}
body.dmx-theme .dmx-page table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
body.dmx-theme .dmx-page table th,
body.dmx-theme .dmx-page table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left;
}
body.dmx-theme .dmx-page table th {
  background: var(--bg-soft);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand-gold); font-weight: 700;
}
body.dmx-theme .dmx-page table tr:last-child td { border-bottom: 0; }

body.dmx-theme .dmx-page [style*="color:#000"],
body.dmx-theme .dmx-page [style*="color: #000"] { color: var(--text-dark) !important; }
body.dmx-theme .dmx-page [style*="background:#fff"],
body.dmx-theme .dmx-page [style*="background-color:#fff"],
body.dmx-theme .dmx-page [style*="background: #fff"],
body.dmx-theme .dmx-page [style*="background-color: #fff"] {
  background: #fff !important;
}
/* Hide legacy chrome */
body.dmx-theme nav.navbar-dropdown,
body.dmx-theme header > nav.navbar,
body.dmx-theme header > .navbar { display: none !important; }
body.dmx-theme .dead-fotter { display: none !important; }
body.dmx-theme #footer-legacy { display: none !important; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1024px) {
  body.dmx-theme .dmx-hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  body.dmx-theme .dmx-hero__visual { max-width: 380px; margin: 0 auto; order: -1; }
  body.dmx-theme .dmx-stats__grid { grid-template-columns: repeat(2, 1fr); }
  body.dmx-theme .dmx-footer__grid { grid-template-columns: 1fr 1fr; }
  body.dmx-theme #trophy-section .row { flex-direction: column-reverse; }
}
@media (max-width: 768px) {
  body.dmx-theme { --nav-h: 72px; }
  body.dmx-theme .dmx-nav__links,
  body.dmx-theme .dmx-nav__cta { display: none; }
  body.dmx-theme .dmx-nav__burger { display: inline-flex; }
  body.dmx-theme .dmx-nav__brand img { height: 40px; }
  body.dmx-theme .dmx-hero { min-height: auto; padding: 24px 0 60px; }
  body.dmx-theme .dmx-hero__visual { max-width: 280px; }
  body.dmx-theme .dmx-section { padding: 60px 0; }
  body.dmx-theme .dmx-stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  body.dmx-theme .dmx-stat-card { padding: 22px 16px; }
  body.dmx-theme .dmx-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  body.dmx-theme .dmx-mobile-cta { display: block; }
  body.dmx-theme .dmx-cat:hover .dmx-cat__inner { transform: none; }
  body.dmx-theme .dmx-cat.is-flipped .dmx-cat__inner { transform: rotateY(180deg); }
  body.dmx-theme .dmx-chip { display: none; }
  body.dmx-theme .dmx-hero__tagline { gap: 14px; }
  body.dmx-theme .dmx-hero__tagline span { font-size: 10px; letter-spacing: 1.5px; }
}
@media (max-width: 480px) {
  body.dmx-theme .dmx-container { padding: 0 18px; }
  body.dmx-theme .dmx-stats__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.dmx-theme *, body.dmx-theme *::before, body.dmx-theme *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
