@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700;800;900&display=swap");

body.njph-portal-page {
  background: #05070d !important;
}

body.njph-portal-page .entry-title,
body.njph-portal-page h1.wp-block-post-title,
body.njph-portal-page .wp-block-post-title,
body.njph-portal-page .page-header,
body.njph-portal-page .site-header,
body.njph-portal-page .site-footer,
body.njph-portal-page header.wp-block-template-part,
body.njph-portal-page footer.wp-block-template-part {
  display: none !important;
}

body.njph-portal-page .entry-content,
body.njph-portal-page .wp-site-blocks,
body.njph-portal-page .wp-block-group,
body.njph-portal-page .wp-block-post-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.njph-app {
  --bg: #05070d;
  --panel: #111219;
  --panel-2: #191a21;
  --ink: #f8f5ef;
  --muted: #c8c3bd;
  --soft: rgba(248, 245, 239, 0.72);
  --gold: #e1bd34;
  --gold-2: #ffe37d;
  --line: rgba(225, 189, 52, 0.27);
  --white-line: rgba(255, 255, 255, 0.12);
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  min-height: 100vh;
  margin-left: -50vw;
  margin-right: -50vw;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -5%, rgba(225, 189, 52, 0.14), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(90, 81, 182, 0.14), transparent 30%),
    linear-gradient(180deg, #080813 0%, #05070d 46%, #070813 100%);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.njph-app *,
.njph-app *::before,
.njph-app *::after {
  box-sizing: border-box;
}

.njph-app a {
  color: inherit;
}

.njph-private-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center !important;
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 26px clamp(18px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.njph-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  min-width: 190px;
}

.njph-brand-lockup img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  display: block;
}

.njph-brand-lockup span {
  display: grid;
  line-height: 1;
}

.njph-brand-lockup b {
  color: var(--ink) !important;
  font-size: 1.25rem;
  font-weight: 900;
}

.njph-brand-lockup small {
  color: var(--gold) !important;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.njph-private-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.njph-private-nav a,
.njph-header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 14px;
  color: rgba(248, 245, 239, 0.78) !important;
  text-decoration: none !important;
  font-weight: 900;
}

.njph-private-nav a.active,
.njph-private-nav a:hover,
.njph-header-actions a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11);
}

.njph-private-main {
  max-width: 1220px;
  margin: 0 auto !important;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 3vw, 36px) clamp(50px, 7vw, 88px) !important;
}

.njph-subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: 360px;
  margin-bottom: clamp(30px, 5vw, 70px);
}

.njph-subpage-hero h1,
.njph-section-intro h2,
.njph-login-panel h2 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  color: #fffaf2 !important;
}

.njph-subpage-hero h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 7.6vw, 7rem) !important;
}

.njph-subpage-hero p,
.njph-section-intro > p,
.njph-product-card p,
.njph-enhancement-card p,
.njph-dashboard-tile p,
.njph-callout p,
.njph-login-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.njph-subpage-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.njph-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.86rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.njph-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.njph-section {
  margin-bottom: clamp(34px, 5vw, 74px);
}

.njph-soft-band,
.njph-first-look-panel,
.njph-callout,
.njph-form,
.njph-login-stage {
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.njph-public-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-bottom: clamp(34px, 5vw, 74px);
}

.njph-public-gate article {
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  padding: clamp(22px, 4vw, 42px);
}

.njph-public-gate h2 {
  margin: 0;
  color: #fffaf2 !important;
  font-family: "Bebas Neue", Impact, sans-serif !important;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
}

.njph-mini-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.njph-mini-list span {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 14px;
  color: #fffaf2;
  font-weight: 900;
}

.njph-soft-band,
.njph-first-look-panel,
.njph-callout {
  padding: clamp(22px, 4vw, 44px);
}

.njph-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.njph-section-intro h2,
.njph-login-panel h2 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
}

.njph-dashboard-tiles,
.njph-product-grid,
.njph-enhancement-grid,
.njph-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.njph-dashboard-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.njph-dashboard-tile,
.njph-product-card,
.njph-enhancement-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #090a10;
  text-decoration: none;
}

.njph-dashboard-tile {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: stretch;
}

.njph-dashboard-tile img,
.njph-product-card > img,
.njph-enhancement-card > img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.njph-dashboard-tile div,
.njph-product-card > div,
.njph-enhancement-card > div {
  padding: 26px;
  background: linear-gradient(180deg, rgba(20, 21, 29, 0.94), rgba(13, 14, 20, 0.98));
}

.njph-dashboard-tile h3,
.njph-product-card h3,
.njph-enhancement-card h3,
.njph-callout h2,
.njph-rule-grid h3 {
  margin: 0 0 12px;
  color: #fffaf2;
  font-weight: 900;
  line-height: 1.08;
}

.njph-dashboard-tile h3,
.njph-product-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.njph-product-card span,
.njph-enhancement-card span,
.njph-rule-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.njph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.njph-btn,
.njph-app button,
.njph-app input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.njph-btn-primary,
.njph-app button,
.njph-app input[type="submit"] {
  background: var(--gold);
  color: #090a0d !important;
}

.njph-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--gold-2) !important;
}

.njph-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.njph-category-tabs a {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: #080910;
}

.njph-category-tabs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 220ms ease, opacity 220ms ease;
}

.njph-category-tabs a:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.njph-category-tabs span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 80%;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.65);
}

.njph-priority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.njph-priority-strip div,
.njph-rule-grid article,
.njph-scan-row {
  border: 1px solid var(--white-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.njph-priority-strip div,
.njph-rule-grid article {
  padding: 20px;
}

.njph-priority-strip span,
.njph-scan-row small {
  color: var(--muted);
}

.njph-priority-strip b {
  display: block;
  color: var(--gold-2);
  font-size: 1.35rem;
  margin-top: 6px;
}

.njph-scan-table {
  display: grid;
  gap: 10px;
}

.njph-scan-row {
  display: grid;
  grid-template-columns: 1.35fr 0.55fr 0.65fr 0.72fr 1.4fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.njph-scan-head {
  background: rgba(225, 189, 52, 0.16);
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.njph-scan-row b,
.njph-scan-row strong {
  display: block;
  color: #fffaf2;
  font-size: 1.04rem;
}

.njph-scan-row strong {
  color: var(--gold-2);
  font-size: 1.35rem;
}

.njph-scan-row small {
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

.njph-form {
  padding: clamp(22px, 4vw, 42px);
}

.njph-form-grid,
.njph-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.njph-form label,
.njph-form legend,
.njph-login-panel label {
  display: grid;
  gap: 8px;
  color: #fffaf2;
  font-weight: 900;
  margin-bottom: 16px;
}

.njph-form input,
.njph-form select,
.njph-form textarea,
.njph-login-panel input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: #fffaf2;
  padding: 13px 15px;
}

.njph-form select option {
  color: #111;
}

.njph-check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin: 0;
}

.njph-check-grid input {
  width: auto;
  min-height: auto;
}

.njph-login-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  overflow: hidden;
}

.njph-login-panel {
  padding: clamp(24px, 5vw, 52px);
}

.njph-login-stage > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.njph-notice {
  --line: rgba(225, 189, 52, 0.27);
  max-width: 1220px;
  margin: 0 auto 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fffaf2;
}

.njph-success {
  border-color: rgba(94, 210, 139, 0.55);
}

.njph-locked {
  border-color: rgba(225, 189, 52, 0.5);
}

.njph-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px clamp(18px, 3vw, 36px) 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.njph-footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.njph-footer h2 {
  margin: 0 0 10px;
  color: #fffaf2;
  font-size: 1rem;
}

.njph-footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: 6px 0;
}

.njph-admin .njph-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 20px 0;
}

.njph-admin .njph-admin-stats article {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 12px;
  padding: 20px;
}

.njph-admin .njph-admin-stats strong {
  display: block;
  font-size: 2.2rem;
  color: #111;
}

.njph-status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 800;
}

.njph-status.on {
  background: #e5f7ec;
  color: #146b35;
}

.njph-status.off {
  background: #fde8e8;
  color: #9b1c1c;
}

.njph-edit-table input,
.njph-edit-table textarea {
  width: 100%;
}

.njph-edit-table textarea {
  min-width: 220px;
}

@media (max-width: 1100px) {
  .njph-private-header {
    grid-template-columns: 1fr;
  }

  .njph-private-nav {
    justify-content: flex-start;
  }

  .njph-subpage-hero,
  .njph-section-intro,
  .njph-login-stage,
  .njph-public-gate {
    grid-template-columns: 1fr;
  }

  .njph-priority-strip,
  .njph-product-grid,
  .njph-enhancement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .njph-scan-row {
    grid-template-columns: 1fr 0.55fr 0.65fr;
  }

  .njph-scan-row span:nth-child(4),
  .njph-scan-row span:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .njph-private-header {
    padding: 18px 14px;
  }

  .njph-brand-lockup {
    min-width: 0;
  }

  .njph-private-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .njph-private-nav a,
  .njph-header-actions a {
    justify-content: center;
    font-size: 0.9rem;
  }

  .njph-private-main {
    padding: 26px 14px 46px;
  }

  .njph-subpage-hero {
    min-height: auto;
  }

  .njph-subpage-hero h1,
  .njph-section-intro h2,
  .njph-login-panel h2,
  .njph-public-gate h2 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .njph-subpage-hero img {
    aspect-ratio: 1 / 1;
  }

  .njph-dashboard-tiles,
  .njph-product-grid,
  .njph-enhancement-grid,
  .njph-rule-grid,
  .njph-category-tabs,
  .njph-priority-strip,
  .njph-form-grid,
  .njph-check-grid,
  .njph-footer {
    grid-template-columns: 1fr;
  }

  .njph-dashboard-tile {
    grid-template-columns: 1fr;
  }

  .njph-dashboard-tile,
  .njph-product-card,
  .njph-enhancement-card {
    min-height: auto;
  }

  .njph-dashboard-tile img,
  .njph-product-card > img,
  .njph-enhancement-card > img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .njph-category-tabs a {
    min-height: 175px;
  }

  .njph-scan-head {
    display: none;
  }

  .njph-scan-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .njph-login-stage > img {
    min-height: 260px;
  }
}
