:root {
  --bg-0: #f8f2e6;
  --bg-1: #efe2cb;
  --bg-2: #e3cfaa;
  --ink: #22201d;
  --ink-soft: #5b5147;
  --paper: rgba(255, 248, 236, 0.9);
  --paper-solid: #fff8ec;
  --line: #2a251f;
  --accent: #e86a33;
  --accent-2: #ffb25b;
  --accent-3: #bb2d3b;
  --ok: #007f5f;
  --warn: #c0392b;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-lg: 0 20px 46px rgba(71, 48, 21, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 58%, var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background:
    repeating-linear-gradient(90deg, rgba(42, 37, 31, 0.06) 0, rgba(42, 37, 31, 0.06) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(0deg, rgba(42, 37, 31, 0.04) 0, rgba(42, 37, 31, 0.04) 1px, transparent 1px, transparent 42px);
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(20, 14, 10, 0.72), rgba(20, 14, 10, 0.56) 46%, rgba(20, 14, 10, 0.82)),
    url("../img/background.jpg") center / cover no-repeat;
}

main::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 8% 12%, rgba(255, 178, 91, 0.18), transparent 65%),
    radial-gradient(760px 420px at 88% 68%, rgba(232, 106, 51, 0.16), transparent 70%);
}

main > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
.nnxmpcv-shell { width: min(1240px, 92vw); margin: 0 auto; }

.nnxmpcv-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 2px solid var(--line);
  background: rgba(255, 244, 226, 0.94);
  backdrop-filter: blur(10px);
}

.nnxmpcv-nav-shell {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.nnxmpcv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nnxmpcv-brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid var(--line);
  box-shadow: 6px 6px 0 rgba(34, 32, 29, 0.18);
}

.nnxmpcv-brand span { display: grid; line-height: 1.04; }
.nnxmpcv-brand strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
}
.nnxmpcv-brand small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nnxmpcv-site-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nnxmpcv-site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 8px 14px;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nnxmpcv-site-nav a:hover,
.nnxmpcv-site-nav a.nnxmpcv-active {
  transform: translateY(-1px);
  border-color: var(--line);
  background: rgba(255, 178, 91, 0.32);
}

.nnxmpcv-menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff3df;
}

.nnxmpcv-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--line);
}

.nnxmpcv-section { padding: 54px 0; }

.nnxmpcv-panel,
.nnxmpcv-achv-counter-grid,
.nnxmpcv-achv-panel,
.nnxmpcv-achv-filter-card,
.nnxmpcv-achv-note-card,
.nnxmpcv-planner-control,
.nnxmpcv-planner-result,
.nnxmpcv-catalog-card,
.nnxmpcv-overlay-card,
.nnxmpcv-cookie-box,
.nnxmpcv-footer-brand-card,
.nnxmpcv-footer-nav-card,
.nnxmpcv-footer-note-card {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 2.8vw, 26px);
}

.nnxmpcv-kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7f2418;
  font-weight: 800;
}

.nnxmpcv-kicker::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h1, h2 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 {
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

p { margin: 0 0 12px; color: #352f29; }
small, span { color: inherit; }

.nnxmpcv-btn {
  min-height: 44px;
  border-radius: 12px;
  border: 2px solid var(--line);
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: skewX(-8deg);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.nnxmpcv-btn::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -40%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(18deg);
  transition: left 0.45s ease;
  z-index: -1;
}

.nnxmpcv-btn:hover { transform: translateY(-2px) skewX(-8deg); }
.nnxmpcv-btn:hover::before { left: 125%; }
.nnxmpcv-btn:active { transform: translateY(0) scale(0.98) skewX(-8deg); }

.nnxmpcv-btn-primary {
  color: #211d18;
  background: linear-gradient(130deg, var(--accent-2), var(--accent));
  box-shadow: 7px 7px 0 rgba(42, 37, 31, 0.26);
}

.nnxmpcv-btn-soft {
  color: var(--ink);
  background: #ffe9ce;
  box-shadow: 7px 7px 0 rgba(42, 37, 31, 0.14);
}

.nnxmpcv-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.nnxmpcv-hero-actions.nnxmpcv-center { justify-content: center; }

.nnxmpcv-gold-pill,
.nnxmpcv-hero-statusline span,
.nnxmpcv-flow-tags span,
.nnxmpcv-catalog-meta span,
.nnxmpcv-footer-chip-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff2de;
  color: #3e3429;
  padding: 6px 11px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.nnxmpcv-badge-row,
.nnxmpcv-mode-row,
.nnxmpcv-flow-tags,
.nnxmpcv-catalog-filters,
.nnxmpcv-footer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.nnxmpcv-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.nnxmpcv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nnxmpcv-hero-at {
  min-height: 60vh;
  display: grid;
  align-items: center;
  position: relative;
  background: transparent;
}

.nnxmpcv-hero-at::after {
  content: none;
}

.nnxmpcv-hero-blueprint {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nnxmpcv-hero-massive,
.nnxmpcv-hero-side,
.nnxmpcv-flow-display,
.nnxmpcv-faq-item,
.nnxmpcv-home-game-tile {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-solid);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 3vw, 28px);
}

.nnxmpcv-hero-massive,
.nnxmpcv-hero-side {
  background: rgba(255, 247, 234, 0.08);
  backdrop-filter: blur(3px);
}

.nnxmpcv-hero-massive h1 { color: #fff1df; text-wrap: balance; }
.nnxmpcv-hero-massive p { color: #f4e3cf; }
.nnxmpcv-hero-massive .nnxmpcv-kicker { color: #ffc98a; }

.nnxmpcv-hero-visual {
  border-style: dashed;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 12px;
}

.nnxmpcv-hero-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: heroFloat 5.6s ease-in-out infinite;
}

.nnxmpcv-compliance-ribbon {
  margin-top: 12px;
  border-radius: 12px;
  border: 2px dashed #97562f;
  background: #fff1db;
  padding: 11px;
  font-size: 0.8rem;
}

.nnxmpcv-hero-icon-strip,
.nnxmpcv-icon-list,
.nnxmpcv-achv-filter-stack,
.nnxmpcv-faq-list,
.nnxmpcv-form-grid,
.nnxmpcv-preset-options,
.nnxmpcv-achv-recent-list {
  display: grid;
  gap: 9px;
}

.nnxmpcv-hero-icon-item,
.nnxmpcv-icon-list article {
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff3e1;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.nnxmpcv-hero-mini-icon,
.nnxmpcv-card-icon,
.nnxmpcv-icon-list i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  background: #ffe3bf;
  color: #7b2d18;
}

.nnxmpcv-hero-mini-icon svg,
.nnxmpcv-card-icon svg,
.nnxmpcv-icon-list svg {
  width: 20px;
  height: 20px;
}

.nnxmpcv-card {
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  background: #fff7ea;
  padding: 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nnxmpcv-card:hover,
.nnxmpcv-home-game-tile:hover,
.nnxmpcv-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(71, 48, 21, 0.24);
}

.nnxmpcv-cards-2,
.nnxmpcv-cards-3,
.nnxmpcv-home-games-grid,
.nnxmpcv-achv-cards-grid,
.nnxmpcv-footer-creative-grid,
.nnxmpcv-planner-preset-grid,
.nnxmpcv-section-split,
.nnxmpcv-flow-grid,
.nnxmpcv-achv-layout,
.nnxmpcv-metric-cloud {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.nnxmpcv-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nnxmpcv-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nnxmpcv-home-games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nnxmpcv-achv-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nnxmpcv-footer-creative-grid { grid-template-columns: 1.2fr 0.95fr 0.85fr; }
.nnxmpcv-planner-preset-grid { grid-template-columns: 1fr 1fr 0.95fr; }
.nnxmpcv-section-split { grid-template-columns: 1.1fr 0.9fr; }
.nnxmpcv-flow-grid { grid-template-columns: 280px 1fr; }
.nnxmpcv-achv-layout { grid-template-columns: 320px 1fr; align-items: start; }
.nnxmpcv-metric-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nnxmpcv-home-game-tile {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.nnxmpcv-home-game-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--line);
  transition: transform 0.35s ease;
}

.nnxmpcv-home-game-tile:hover .nnxmpcv-home-game-media { transform: scale(1.03); }

.nnxmpcv-home-game-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #ffe3bf;
  color: #3f352b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transform: skewX(-8deg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nnxmpcv-home-game-cta::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -40%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(18deg);
  transition: left 0.42s ease;
}

.nnxmpcv-home-game-cta:hover {
  transform: translateY(-2px) skewX(-8deg);
  box-shadow: 6px 6px 0 rgba(42, 37, 31, 0.18);
}

.nnxmpcv-home-game-cta:hover::before { left: 120%; }

.nnxmpcv-showcase-stage {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.nnxmpcv-showcase-lead {
  grid-column: span 8;
  min-height: 520px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #2a1e14;
  box-shadow: var(--shadow-lg);
}

.nnxmpcv-showcase-lead-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nnxmpcv-showcase-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(23, 17, 13, 0.26) 0%, rgba(23, 17, 13, 0.72) 62%, rgba(23, 17, 13, 0.9) 100%);
}

.nnxmpcv-showcase-lead-content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 60%;
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  align-content: end;
  gap: 8px;
  color: #fff4e4;
}

.nnxmpcv-showcase-lead-content span {
  justify-self: start;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 232, 205, 0.8);
  background: rgba(27, 19, 14, 0.42);
  padding: 5px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.nnxmpcv-showcase-lead-content h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.nnxmpcv-showcase-lead-content p { color: #f3dfc7; }

.nnxmpcv-showcase-rail {
  grid-column: span 4;
  display: grid;
  gap: 12px;
}

.nnxmpcv-showcase-card {
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #fff7ea;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.nnxmpcv-showcase-card-media {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--line);
}

.nnxmpcv-showcase-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.nnxmpcv-showcase-ribbon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nnxmpcv-showcase-ribbon-card {
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff4e2;
  padding: 10px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 10px;
  align-items: center;
}

.nnxmpcv-showcase-ribbon-media {
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--line);
}

.nnxmpcv-showcase-ribbon-card b {
  display: block;
  margin-bottom: 4px;
}

.nnxmpcv-showcase-ribbon-card small {
  color: #4e4338;
  font-size: 0.85rem;
}

.nnxmpcv-preset-chip,
.nnxmpcv-flow-steps button,
.nnxmpcv-catalog-filter {
  min-height: 40px;
  border-radius: 11px;
  border: 2px solid var(--line);
  background: #ffeed6;
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 8px 12px;
  position: relative;
  overflow: hidden;
  transform: skewX(-8deg);
}

.nnxmpcv-preset-chip:hover,
.nnxmpcv-flow-steps button:hover,
.nnxmpcv-catalog-filter:hover { transform: translateY(-1px) skewX(-8deg); }

.nnxmpcv-preset-chip::before,
.nnxmpcv-flow-steps button::before,
.nnxmpcv-catalog-filter::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -40%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(18deg);
  transition: left 0.42s ease;
}

.nnxmpcv-preset-chip:hover::before,
.nnxmpcv-flow-steps button:hover::before,
.nnxmpcv-catalog-filter:hover::before { left: 120%; }

.nnxmpcv-mode-row .nnxmpcv-btn.nnxmpcv-active,
.nnxmpcv-preset-chip.nnxmpcv-active,
.nnxmpcv-flow-steps button.nnxmpcv-active,
.nnxmpcv-catalog-filter.nnxmpcv-active {
  color: #211b14;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
}

.nnxmpcv-planner-result strong {
  display: block;
  font-size: 2rem;
  color: #7f2418;
  line-height: 1.1;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.nnxmpcv-progress-bar,
.nnxmpcv-achv-track {
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff2dd;
  overflow: hidden;
}

.nnxmpcv-progress-bar i,
.nnxmpcv-achv-track i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.3s ease;
}

.nnxmpcv-flow-lab { position: relative; overflow: hidden; }
.nnxmpcv-flow-steps { display: grid; gap: 8px; }

.nnxmpcv-flow-display {
  position: relative;
  overflow: hidden;
}

.nnxmpcv-flow-orbit {
  position: absolute;
  right: -12px;
  top: -10px;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.nnxmpcv-flow-orbit i {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(187, 45, 59, 0.32);
  animation: spinSoft 14s linear infinite;
}

.nnxmpcv-flow-orbit i:nth-child(1) { inset: 0; }
.nnxmpcv-flow-orbit i:nth-child(2) { inset: 14px; animation-duration: 10s; animation-direction: reverse; }
.nnxmpcv-flow-orbit i:nth-child(3) { inset: 28px; animation-duration: 8s; }

.nnxmpcv-heading-row,
.nnxmpcv-catalog-toolbar,
.nnxmpcv-catalog-meta,
.nnxmpcv-catalog-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nnxmpcv-catalog-grid-mosaic {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 12px;
}

.nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card { grid-column: span 4; }
.nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-feature { grid-column: span 6; }
.nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-compact { grid-column: span 3; }
.nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-wide { grid-column: span 6; }

.nnxmpcv-catalog-toolbar-clean {
  align-items: end;
  margin-bottom: 10px;
}

.nnxmpcv-catalog-toolbar-clean h2 { margin: 0; }

.nnxmpcv-catalog-grid-clean {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nnxmpcv-catalog-card-clean {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.nnxmpcv-catalog-card-clean h3 {
  margin: 0;
  font-size: 1.35rem;
}

.nnxmpcv-catalog-card-clean p {
  margin: 0;
  color: #4f453b;
}

.nnxmpcv-catalog-card-clean .nnxmpcv-catalog-play { width: 100%; }

.nnxmpcv-catalog-visual-clean {
  min-height: 230px;
  padding: 10px;
}

.nnxmpcv-catalog-visual-clean img {
  object-fit: cover;
  object-position: center;
}

.nnxmpcv-catalog-visual-clean span {
  font-size: 1.2rem;
  line-height: 1;
}

.nnxmpcv-catalog-visual {
  min-height: 350px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 12px;
  color: #fff;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
  border: 2px solid var(--line);
}

.nnxmpcv-catalog-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.nnxmpcv-catalog-card:hover .nnxmpcv-catalog-visual img { transform: scale(1.05); }

.nnxmpcv-catalog-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.1), rgba(12, 11, 9, 0.82));
}

.nnxmpcv-catalog-visual span { position: relative; z-index: 1; }

.nnxmpcv-catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  background: rgba(18, 13, 9, 0.84);
  padding: 18px;
}

.nnxmpcv-catalog-modal.open { display: block; animation: fadeIn 0.2s ease; }

.nnxmpcv-catalog-modal-card {
  width: min(1300px, 96vw);
  height: min(92vh, 920px);
  margin: 0 auto;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: #1d1712;
  color: #f6ecdf;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.nnxmpcv-catalog-modal-head { padding: 12px; border-bottom: 2px solid rgba(255, 229, 196, 0.2); }
.nnxmpcv-catalog-modal-head h2 { margin: 0; color: #fff0dc; }
.nnxmpcv-catalog-frame-wrap { position: relative; }
#catalogFrame { width: 100%; height: 100%; border: 0; background: #100d0a; }

.nnxmpcv-catalog-frame-status {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: rgba(16, 13, 10, 0.9);
  color: #f5e6d1;
  font-weight: 700;
}

.nnxmpcv-catalog-frame-status.visible { display: flex; }

.nnxmpcv-achv-rail { position: sticky; top: 90px; display: grid; gap: 10px; }

.nnxmpcv-achv-counter-grid div,
.nnxmpcv-achv-recent-list p {
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff1db;
  padding: 10px;
}

.nnxmpcv-achv-counter-grid span {
  font-size: 0.64rem;
  color: #6a5a49;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nnxmpcv-achv-counter-grid strong {
  display: block;
  font-size: 1.35rem;
  color: #7c2317;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.nnxmpcv-faq-item {
  padding: 0;
  overflow: hidden;
}

.nnxmpcv-faq-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  padding: 13px 14px;
  cursor: pointer;
}

.nnxmpcv-faq-item .nnxmpcv-answer { display: none; padding: 0 14px 13px; color: #4f4439; }
.nnxmpcv-faq-item.open .nnxmpcv-answer { display: block; }
.nnxmpcv-faq-item.open { background: #fff0d4; }

input, textarea {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff7ec;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

textarea { min-height: 128px; resize: vertical; }

#contactStatus {
  margin-top: 8px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #ffe9ce;
  padding: 10px;
}

.nnxmpcv-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 13, 9, 0.78);
}

.nnxmpcv-overlay.show { display: flex; animation: fadeIn 0.2s ease; }

.nnxmpcv-cookie-box {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 149;
  width: min(420px, 92vw);
  display: none;
}

.nnxmpcv-cookie-box.show { display: block; animation: rise 0.22s ease; }

.nnxmpcv-footer {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  border-top: 2px solid var(--line);
  background: rgba(255, 238, 211, 0.88);
  padding: 26px 0 22px;
}

.nnxmpcv-footer-nav-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  align-content: start;
}

.nnxmpcv-footer-nav-card a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #ffe7c8;
  color: #3a2f23;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.64rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transform: skewX(-8deg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nnxmpcv-footer-nav-card a::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -40%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(18deg);
  transition: left 0.42s ease;
}

.nnxmpcv-footer-nav-card a:hover {
  transform: translateY(-2px) skewX(-8deg);
  box-shadow: 5px 5px 0 rgba(42, 37, 31, 0.16);
}

.nnxmpcv-footer-nav-card a:hover::before { left: 122%; }

.nnxmpcv-footer-note-card small {
  color: #5b4f44;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nnxmpcv-metric-cloud div {
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff1da;
  padding: 10px;
}

.nnxmpcv-metric-cloud span {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a5a48;
}

.nnxmpcv-metric-cloud strong {
  font-size: 1.2rem;
  color: #7d2417;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
}

.nnxmpcv-pulse { animation: pulseGlow 3.2s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 106, 51, 0.18); }
  50% { box-shadow: 0 0 0 10px rgba(232, 106, 51, 0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  .nnxmpcv-cards-3,
  .nnxmpcv-cards-2,
  .nnxmpcv-home-games-grid,
  .nnxmpcv-achv-layout,
  .nnxmpcv-achv-cards-grid,
  .nnxmpcv-planner-preset-grid,
  .nnxmpcv-flow-grid,
  .nnxmpcv-section-split,
  .nnxmpcv-hero-blueprint,
  .nnxmpcv-footer-creative-grid,
  .nnxmpcv-metric-cloud { grid-template-columns: 1fr; }

  .nnxmpcv-achv-rail { position: static; }
  .nnxmpcv-catalog-grid-mosaic { grid-template-columns: 1fr; }
  .nnxmpcv-catalog-grid-clean { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card,
  .nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-feature,
  .nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-compact,
  .nnxmpcv-catalog-grid-mosaic .nnxmpcv-catalog-card-wide { grid-column: auto; }

  .nnxmpcv-showcase-lead,
  .nnxmpcv-showcase-rail,
  .nnxmpcv-showcase-ribbon { grid-column: 1 / -1; }

  .nnxmpcv-showcase-ribbon { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nnxmpcv-menu-toggle { display: block; }

  .nnxmpcv-site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    left: 4vw;
    border-radius: 14px;
    border: 2px solid var(--line);
    background: rgba(255, 246, 230, 0.98);
    padding: 10px;
  }

  .nnxmpcv-site-nav.show { display: grid; }
  .nnxmpcv-hero-actions .nnxmpcv-btn { width: 100%; }
  .nnxmpcv-hero-visual { min-height: 260px; }

  .nnxmpcv-showcase-lead { min-height: 420px; }
  .nnxmpcv-showcase-lead-content { max-width: 100%; }

  .nnxmpcv-showcase-ribbon-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nnxmpcv-showcase-ribbon-media {
    width: 100%;
    height: 290px;
  }

  .nnxmpcv-catalog-grid-clean { grid-template-columns: 1fr; }
  .nnxmpcv-catalog-visual-clean { min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

*:focus-visible {
  outline: 2px solid #9d2f24;
  outline-offset: 2px;
}
