:root {
  --c-header: #1d2158;
  --c-footer: #1d2158;
  --c-bg: #2d3447;
  --c-btn-login: #96a5d1;
  --c-btn-reg: #eaae16;
  --c-text: #e8eaf6;
  --c-text-muted: #a0aec0;
  --c-border: rgba(150, 165, 209, 0.18);
  --c-card: #232845;
  --c-accent: #eaae16;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--c-bg);
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--c-btn-login);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--c-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  line-height: 1.3;
  color: #fff;
}

.nmd-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nmd-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.nmd-section {
  padding: 56px 0;
}

.nmd-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--c-accent);
  letter-spacing: 0.5px;
}

.nmd-divider {
  width: 60px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin: 0 auto 32px;
}

.d9f2a {
  display: none;
  visibility: hidden;
}
.wp-block-group {
  display: block;
}
.elementor-widget-container {
  display: contents;
}
.wp-block-spacer {
  height: 0;
}

.nmd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    filter 0.15s;
  white-space: nowrap;
  text-decoration: none !important;
}
.nmd-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08);
}
.nmd-btn:active {
  transform: translateY(0);
}

.nmd-btn--login {
  background: var(--c-btn-login);
  color: #1a1f3a;
}
.nmd-btn--reg {
  background: var(--c-btn-reg);
  color: #1a1f3a;
}
.nmd-btn--lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  border-radius: 8px;
}
.nmd-btn--sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

/* ── HEADER ── */
.nmd-header {
  background: var(--c-header);
  position: sticky;
  top: 0;
  z-index: 9000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.nmd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.nmd-header__logo img {
  height: 48px;
  width: auto;
}

.nmd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nmd-nav__link {
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nmd-nav__link:hover {
  background: rgba(150, 165, 209, 0.15);
  color: var(--c-accent);
}

.nmd-header__online {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nmd-online-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse-dot 1.6s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(76, 175, 80, 0);
  }
}

.nmd-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nmd-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nmd-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}
.nmd-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nmd-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nmd-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nmd-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--c-header);
  padding: 16px 18px 20px;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideDown 0.2s ease;
}
.nmd-mobile-menu.is-open {
  display: flex;
}
.nmd-mobile-menu .nmd-nav__link {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

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

.nmd-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.nmd-hero__bg {
  position: absolute;
  inset: 0;
  background: url("/banN.png") center/cover no-repeat;
  z-index: 0;
}
.nmd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(29, 33, 88, 0.92) 40%,
    rgba(29, 33, 88, 0.45) 100%
  );
  z-index: 1;
}
.nmd-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}
.nmd-hero__badge {
  display: inline-block;
  background: rgba(234, 174, 22, 0.18);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.nmd-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.nmd-hero__title span {
  color: var(--c-accent);
}
.nmd-hero__sub {
  font-size: 1.05rem;
  color: #c5cbdf;
  margin-bottom: 28px;
  line-height: 1.6;
}
.nmd-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── MIRRORS ── */
.nmd-mirrors {
  background: #252a3e;
}
.nmd-mirrors__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.nmd-mirrors__meta strong {
  color: var(--c-accent);
}
.nmd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nmd-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--c-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.nmd-table th {
  background: var(--c-header);
  color: var(--c-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--c-accent);
}
.nmd-table td {
  padding: 11px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  text-align: left;
  vertical-align: middle;
}
.nmd-table tr:last-child td {
  border-bottom: none;
}
.nmd-table tr:hover td {
  background: rgba(150, 165, 209, 0.07);
}
.nmd-status-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4caf50;
  font-weight: 600;
  font-size: 0.84rem;
}
.nmd-status-ok::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
}

.nmd-screenshots {
  background: var(--c-bg);
}
.nmd-screens-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nmd-screens-grid__item {
  flex: 1 1 calc(33.333% - 18px);
  min-width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nmd-screens-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.nmd-screens-grid__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.nmd-swiper-wrap {
  display: none;
}
.nmd-swiper {
  overflow: hidden;
  border-radius: var(--radius);
}
.nmd-swiper__track {
  display: flex;
  transition: transform 0.35s ease;
}
.nmd-swiper__slide {
  min-width: 100%;
}
.nmd-swiper__slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.nmd-swiper__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.nmd-swiper__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  cursor: pointer;
  transition: background 0.2s;
}
.nmd-swiper__dot.active {
  background: var(--c-accent);
}

/* ── APP INFO ── */
.nmd-app {
  background: #252a3e;
}
.nmd-app__layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.nmd-app__table-col {
  flex: 1 1 320px;
}
.nmd-app__dl-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.nmd-dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--c-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
  min-width: 190px;
}
.nmd-dl-btn:hover {
  border-color: var(--c-accent);
  background: rgba(234, 174, 22, 0.08);
  color: #fff;
  transform: translateX(3px);
}
.nmd-dl-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}
.nmd-dl-btn--apk {
  border-color: rgba(150, 165, 209, 0.35);
}

.nmd-video {
  background: var(--c-bg);
}
.nmd-video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nmd-video__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.nmd-demo {
  background: #252a3e;
}
.nmd-demo__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nmd-demo__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.nmd-demo__note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* ── REVIEW CONTENT ── */
.nmd-review {
  background: var(--c-bg);
}
.nmd-review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--c-card);
  border-radius: 8px;
  border-left: 4px solid var(--c-accent);
}
.nmd-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-header);
  border: 2px solid var(--c-accent);
  overflow: hidden;
  flex-shrink: 0;
}
.nmd-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nmd-author-info__name {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.nmd-author-info__role {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 2px;
}
.nmd-author-info__link {
  font-size: 0.8rem;
  color: var(--c-btn-login);
  margin-top: 3px;
  display: inline-block;
}

.nmd-content-body {
  background: var(--c-card);
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1px solid var(--c-border);
  line-height: 1.8;
}

.nmd-content-body h1,
.nmd-content-body h2,
.nmd-content-body h3,
.nmd-content-body h4,
.nmd-content-body h5,
.nmd-content-body h6 {
  color: var(--c-accent);
  margin: 1.4em 0 0.6em;
  font-weight: 700;
  line-height: 1.3;
}
.nmd-content-body h1 {
  font-size: 1.7rem;
}
.nmd-content-body h2 {
  font-size: 1.4rem;
}
.nmd-content-body h3 {
  font-size: 1.15rem;
}

.nmd-content-body p {
  margin-bottom: 1em;
  color: var(--c-text);
}

.nmd-content-body a {
  color: var(--c-btn-login);
  text-decoration: underline;
}
.nmd-content-body a:hover {
  color: var(--c-accent);
}

.nmd-content-body ul,
.nmd-content-body ol {
  margin: 0.8em 0 1em 1.5em;
  color: var(--c-text);
}
.nmd-content-body li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

.nmd-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  text-align: left;
  overflow-x: auto;
  display: block;
}
.nmd-content-body table th,
.nmd-content-body table td {
  border: 1px solid var(--c-border);
  padding: 9px 14px;
  font-size: 0.9rem;
}
.nmd-content-body table th {
  background: var(--c-header);
  color: var(--c-accent);
  font-weight: 700;
}
.nmd-content-body table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

.nmd-content-body blockquote {
  border-left: 4px solid var(--c-accent);
  background: rgba(234, 174, 22, 0.07);
  padding: 12px 20px;
  margin: 1.2em 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #ccc;
}
.nmd-content-body img {
  max-width: 100%;
  border-radius: 6px;
  margin: 0.8em 0;
}
.nmd-content-body hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 1.5em 0;
}
.nmd-content-body strong {
  color: #fff;
  font-weight: 700;
}
.nmd-content-body em {
  color: #c5cbdf;
}

/* ── FAQ ── */
.nmd-faq {
  background: #252a3e;
}
.nmd-faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nmd-faq__item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nmd-faq__item.open {
  border-color: rgba(234, 174, 22, 0.4);
}
.nmd-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.97rem;
  color: #fff;
}
.nmd-faq__q:hover {
  background: rgba(150, 165, 209, 0.07);
}
.nmd-faq__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(234, 174, 22, 0.15);
  border: 1px solid var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-accent);
  font-size: 0.85rem;
  transition: transform 0.25s;
}
.nmd-faq__item.open .nmd-faq__icon {
  transform: rotate(45deg);
}
.nmd-faq__a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  padding: 0 20px;
}
.nmd-faq__item.open .nmd-faq__a {
  max-height: 400px;
  padding: 0 20px 16px;
}

.nmd-footer {
  background: var(--c-footer);
  margin-top: auto;
  padding: 40px 0 20px;
}
.nmd-footer__top {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: flex-start;
}
.nmd-footer__logo img {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
}
.nmd-footer__desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  max-width: 260px;
  line-height: 1.6;
}
.nmd-footer__col {
  flex: 1 1 160px;
}
.nmd-footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.nmd-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nmd-footer__nav a {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  transition: color 0.15s;
}
.nmd-footer__nav a:hover {
  color: var(--c-accent);
}

.nmd-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.nmd-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.3px;
}

.nmd-footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 18px;
  font-size: 0.77rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  text-align: center;
}
.nmd-footer__bottom p {
  margin-bottom: 4px;
}

.nmd-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8900;
  background: linear-gradient(90deg, #1d2158 0%, #2a2f6e 100%);
  border-top: 2px solid var(--c-accent);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  animation: widgetSlideUp 0.4s 0.3s both;
}
@keyframes widgetSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.nmd-widget__text {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.nmd-widget__text span {
  color: var(--c-accent);
  font-weight: 700;
}
.nmd-widget__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.nmd-widget__close:hover {
  color: #fff;
}
.nmd-widget.is-hidden {
  display: none;
}

body {
  padding-bottom: 70px;
}

@media (max-width: 991px) {
  .nmd-nav {
    display: none;
  }
  .nmd-burger {
    display: flex;
  }
  .nmd-header__online {
    display: none;
  }
  .nmd-screens-grid {
    display: none;
  }
  .nmd-swiper-wrap {
    display: block;
  }
  .nmd-app__layout {
    flex-direction: column;
  }
  .nmd-app__dl-col {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .nmd-section {
    padding: 36px 0;
  }
  .nmd-section-title {
    font-size: 1.3rem;
  }
  .nmd-hero {
    min-height: 360px;
  }
  .nmd-hero__content {
    padding: 40px 0;
  }
  .nmd-hero__title {
    font-size: 1.5rem;
  }
  .nmd-header__logo img {
    height: 38px;
  }
  .nmd-content-body {
    padding: 18px 16px;
  }
  .nmd-footer__top {
    flex-direction: column;
    gap: 20px;
  }
  .nmd-widget {
    gap: 10px;
    padding: 10px 40px 10px 18px;
  }
  .nmd-widget__text {
    font-size: 0.82rem;
  }
}

.a7k3m {
  color: transparent;
  font-size: 0;
  height: 0;
  overflow: hidden;
}
.wp-post-image {
  display: inline;
}
.entry-content {
  display: contents;
}
.site-footer-inner {
  display: block;
}
.has-text-align-center {
  text-align: center;
}
.b8x1q {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

@media (max-width: 768px) {
  .nmd-app__layout {
    gap: 20px;
  }

  .nmd-table th,
  .nmd-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .nmd-table th {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .nmd-app__layout {
    gap: 16px;
  }

  .nmd-table {
    min-width: auto;
    font-size: 0.75rem;
  }

  .nmd-table th,
  .nmd-table td {
    padding: 6px 8px;
    font-size: 0.72rem;
    word-break: break-word;
  }

  .nmd-table th {
    font-size: 0.7rem;
    padding: 8px;
  }

  .nmd-dl-btn {
    min-width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .nmd-table th,
  .nmd-table td {
    padding: 5px 6px;
    font-size: 0.7rem;
  }

  .nmd-table th {
    font-size: 0.65rem;
  }
}
