:root {
  --nd-dkom-bg: #06070b;
  --nd-dkom-surface: rgba(255,255,255,0.06);
  --nd-dkom-surface-strong: rgba(255,255,255,0.12);
  --nd-dkom-border: rgba(255,255,255,0.14);
  --nd-dkom-text: #f5f7fb;
  --nd-dkom-muted: rgba(245,247,251,0.72);
  --nd-dkom-accent: #ff4d12;
  --nd-dkom-accent-2: #ffc145;
  --nd-dkom-shadow: 0 25px 60px rgba(0,0,0,.45);
}

.nd-dkom-trigger {
  display: none;
}

@media (min-width: 981px) {
  .nd-dkom-trigger {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100000;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--nd-dkom-border);
    background: rgba(8, 10, 15, 0.78);
    color: var(--nd-dkom-text);
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: var(--nd-dkom-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
  }

  .nd-dkom-trigger:hover {
    transform: translateY(-1px);
    background: rgba(12, 16, 24, 0.92);
    border-color: rgba(255,255,255,0.2);
  }

  .nd-dkom-trigger__text {
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
  }

  .nd-dkom-trigger__bars {
    width: 26px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  .nd-dkom-trigger__bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--nd-dkom-text);
    border-radius: 999px;
  }

  .nd-dkom-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s ease, visibility .32s ease;
  }

  .nd-dkom-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nd-dkom-overlay__backdrop {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 78% 24%, rgba(255, 77, 18, 0.15), transparent 28%),
      radial-gradient(circle at 88% 70%, rgba(255, 193, 69, 0.12), transparent 18%),
      linear-gradient(180deg, rgba(5,7,12,.96), rgba(5,7,12,.99));
  }

  .nd-dkom-overlay__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 42px;
    overflow: auto;
  }

  .nd-dkom-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border: 1px solid var(--nd-dkom-border);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    cursor: pointer;
    z-index: 5;
  }

  .nd-dkom-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--nd-dkom-text);
    border-radius: 999px;
  }

  .nd-dkom-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .nd-dkom-close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

  .nd-dkom-grid {
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 40px;
    align-items: stretch;
  }

  .nd-dkom-left,
  .nd-dkom-right {
    min-width: 0;
  }

  .nd-dkom-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 2vw 28px 2vw;
  }

  .nd-dkom-eyebrow {
    color: var(--nd-dkom-accent-2);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 26px;
  }

  .nd-dkom-menu,
  .nd-dkom-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nd-dkom-menu > .menu-item,
  .nd-dkom-menu > .page_item,
  .nd-dkom-menu > li {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nd-dkom-menu > li:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nd-dkom-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .nd-dkom-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 22px 10px 22px 0;
    text-decoration: none !important;
    color: var(--nd-dkom-text);
    flex: 1 1 auto;
    min-width: 0;
  }

  .nd-dkom-link:hover .nd-dkom-label {
    color: white;
    transform: translateX(4px);
  }

  .nd-dkom-label {
    font-size: clamp(28px, 3.2vw, 60px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.03em;
    transition: transform .22s ease, color .22s ease;
  }

  .sub-menu .nd-dkom-label {
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 700;
  }

  .nd-dkom-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(255,77,18,.18), rgba(255,193,69,.12));
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }

  .nd-dkom-subtoggle {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
  }

  .nd-dkom-subtoggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--nd-dkom-text);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
  }

  .nd-dkom-subtoggle span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .nd-dkom-has-children.is-open > .nd-dkom-item-row .nd-dkom-subtoggle span:last-child {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(.3);
  }

  .nd-dkom-menu .sub-menu {
    display: none;
    padding-left: 58px;
    padding-bottom: 14px;
  }

  .nd-dkom-has-children.is-open > .sub-menu {
    display: block;
    animation: ndDkomFadeIn .25s ease;
  }

  .nd-dkom-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
  }

  .nd-dkom-motion-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .nd-dkom-track-line,
  .nd-dkom-kart-spark {
    position: absolute;
    display: block;
  }

  .nd-dkom-track-line {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(255,77,18,.08));
  }

  .nd-dkom-track-line--1 {
    width: 520px; height: 520px; right: -120px; top: 4%;
    border-left-color: rgba(255,193,69,.18);
    transform: rotate(24deg);
    animation: ndDkomFloat 8s ease-in-out infinite;
  }

  .nd-dkom-track-line--2 {
    width: 360px; height: 360px; right: 40px; top: 34%;
    border-right-color: rgba(255,77,18,.22);
    transform: rotate(-18deg);
    animation: ndDkomFloat 10s ease-in-out infinite reverse;
  }

  .nd-dkom-track-line--3 {
    width: 260px; height: 260px; right: 100px; top: 15%;
    border-top-color: rgba(255,255,255,.16);
    transform: rotate(8deg);
    animation: ndDkomFloat 7s ease-in-out infinite;
  }

  .nd-dkom-kart-spark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nd-dkom-accent-2), rgba(255,193,69,0));
    box-shadow: 0 0 22px rgba(255,193,69,.55);
  }

  .nd-dkom-kart-spark--1 { right: 160px; top: 18%; animation: ndDkomPulse 3.6s ease-in-out infinite; }
  .nd-dkom-kart-spark--2 { right: 220px; top: 54%; animation: ndDkomPulse 4.4s ease-in-out infinite .9s; }
  .nd-dkom-kart-spark--3 { right: 80px; top: 73%; animation: ndDkomPulse 2.8s ease-in-out infinite .4s; }

  .nd-dkom-card {
    position: relative;
    z-index: 2;
    width: min(100%, 480px);
    border-radius: 28px;
    border: 1px solid var(--nd-dkom-border);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--nd-dkom-shadow);
    overflow: hidden;
  }

  .nd-dkom-card__media {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
      linear-gradient(135deg, rgba(255,77,18,.2), rgba(255,193,69,.06) 60%, transparent 100%);
  }

  .nd-dkom-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
  }

  .nd-dkom-placeholder-art {
    position: absolute;
    inset: 0;
  }

  .nd-dkom-helmet {
    position: absolute;
    width: 110px;
    height: 74px;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 60px 60px 34px 34px;
    background: linear-gradient(135deg, rgba(255,77,18,.95), rgba(255,193,69,.85));
    box-shadow: inset -10px -10px 22px rgba(0,0,0,.15), 0 18px 36px rgba(0,0,0,.28);
  }

  .nd-dkom-helmet::after {
    content: "";
    position: absolute;
    width: 62px;
    height: 24px;
    right: 8px;
    top: 26px;
    border-radius: 20px;
    background: rgba(8,10,15,.78);
  }

  .nd-dkom-wheel {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    bottom: 22%;
    background: radial-gradient(circle at 35% 35%, #4a4f59, #15171c 64%);
    box-shadow: inset 0 0 0 8px #20242c;
    animation: ndDkomSpin 1.8s linear infinite;
  }

  .nd-dkom-wheel--left { left: 28%; }
  .nd-dkom-wheel--right { right: 28%; }

  .nd-dkom-card__content {
    padding: 22px 24px 26px;
  }

  .nd-dkom-card__content h3 {
    margin: 0 0 10px;
    color: var(--nd-dkom-text);
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1;
    letter-spacing: -.02em;
  }

  .nd-dkom-card__content p {
    margin: 0;
    color: var(--nd-dkom-muted);
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 980px) {
  .nd-dkom-trigger,
  .nd-dkom-overlay {
    display: none !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .nd-dkom-overlay__inner { padding: 28px; }
  .nd-dkom-grid { grid-template-columns: 1fr; gap: 26px; }
  .nd-dkom-right { min-height: 360px; }
}

@keyframes ndDkomFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ndDkomFloat {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-10px) rotate(22deg); }
}

@keyframes ndDkomPulse {
  0%, 100% { transform: scale(.85); opacity: .55; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes ndDkomSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

body.nd-dkom-open {
  overflow: hidden;
}
