/* nomorflix.org - AURA7 Theme Switcher CSS - v1.0.4 */

:root {
  --nf-bg: #0a0a10;
  --nf-card: #13131a;
  --nf-card-2: #191922;
  --nf-line: #26262f;
  --nf-text: #e8e8ef;
  --nf-soft: #b4b4c2;
  --nf-muted: #7d7d8c;
  --nf-purple: #8b5cf6;
  --nf-purple-2: #a78bfa;
  --nf-purple-3: #d4b3ff;
  --nf-green: #4ade80;
  --nf-amber: #f5b041;
  --nf-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --nf-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */

html {
  background: var(--nf-bg);
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--nf-bg);
  color: var(--nf-text);
  font-family: var(--nf-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #33333f var(--nf-bg);
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: var(--nf-bg);
}

body::-webkit-scrollbar-thumb {
  background: #33333f;
  border-radius: 8px;
  border: 3px solid var(--nf-bg);
}

.nf-page *,
.nf-header *,
.nf-footer * {
  box-sizing: border-box;
}

/* ---------- Logo ---------- */

.nf-logo {
  font-family: var(--nf-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}

.nf-logo span {
  color: var(--nf-purple-2);
}

.nf-logo .nf-tagline {
  display: block;
  margin-top: 14px;
  font-family: var(--nf-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--nf-text);
}

.nf-logo-sm {
  font-size: 26px;
}

.nf-logo-xl {
  font-size: 46px;
  margin: 0;
}

/* ---------- Header ---------- */

.nf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 16, 0.92);
  border-bottom: 1px solid var(--nf-line);
}

.nf-header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nf-nav {
  display: flex;
  gap: 6px;
}

.nf-nav a {
  color: var(--nf-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}

.nf-nav a:hover {
  color: #ffffff;
  background: var(--nf-card-2);
}

/* ---------- Page ---------- */

.nf-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.nf-card {
  background: var(--nf-card);
  border: 1px solid var(--nf-line);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ---------- Hero card ---------- */

.nf-hero {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 36px 30px;
  text-align: center;
}

.nf-kicker {
  margin: 14px 0 0;
  font-family: var(--nf-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nf-muted);
}

.nf-lead {
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--nf-soft);
}

.nf-linkrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 22px 0 0;
}

.nf-linkbox {
  margin: 0;
  padding: 12px 18px;
  background: #0d0d13;
  border: 1px solid var(--nf-line);
  border-radius: 12px;
  font-family: var(--nf-mono);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--nf-purple-2);
}

.nf-status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nf-mono);
  font-size: 11px;
  color: var(--nf-green);
}

.nf-status-pill {
  padding: 10px 18px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.07);
  font-size: 12.5px;
}

.nf-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nf-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
}

.nf-btn {
  display: block;
  margin: 24px 0 0;
  padding: 17px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, #7c4dff 0%, #a274ff 55%, #d6a8ff 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nf-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(139, 92, 246, 0.5);
  color: #ffffff;
}

.nf-arrow {
  display: inline-block;
  margin-left: 6px;
}

.nf-bookmark {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--nf-line);
}

.nf-label {
  margin: 0;
  font-family: var(--nf-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nf-muted);
}

.nf-bookmark-line {
  margin: 12px 0 0;
  font-family: var(--nf-mono);
  font-size: 14px;
  color: var(--nf-text);
}

.nf-check {
  color: var(--nf-purple-2);
  margin-right: 4px;
}

.nf-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--nf-purple);
  color: #ffffff;
  font-family: var(--nf-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.nf-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
  padding: 13px 16px;
  background: #1c1813;
  border: 1px solid #5a4623;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
}

.nf-alert:hover {
  border-color: var(--nf-amber);
}

.nf-alert-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--nf-amber);
  color: var(--nf-amber);
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.nf-alert-text strong {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.nf-alert-text em {
  display: block;
  color: var(--nf-amber);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.nf-note {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--nf-muted);
}

.nf-note strong {
  color: var(--nf-text);
  font-weight: 600;
}

.nf-disclaimer {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--nf-line);
  font-size: 11.5px;
  line-height: 1.55;
  color: #5f5f6d;
}

/* ---------- Jump links ---------- */

.nf-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 0;
}

.nf-jump a {
  padding: 8px 14px;
  border: 1px solid var(--nf-line);
  border-radius: 999px;
  background: var(--nf-card);
  color: var(--nf-soft);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.nf-jump a:hover {
  color: #ffffff;
  border-color: var(--nf-purple);
}

/* ---------- Content sections ---------- */

.nf-section {
  margin: 24px 0 0;
  padding: 34px 36px 32px;
}

.nf-section h2 {
  margin: 0 0 16px;
  font-family: var(--nf-serif);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #ffffff;
}

.nf-section h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}

.nf-section p {
  margin: 0 0 14px;
  color: var(--nf-soft);
}

.nf-section p:last-child {
  margin-bottom: 0;
}

.nf-section strong {
  color: var(--nf-text);
  font-weight: 600;
}

.nf-section code {
  font-family: var(--nf-mono);
  font-size: 14px;
  color: var(--nf-purple-2);
  white-space: nowrap;
}

/* Facts list */

.nf-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nf-facts li {
  padding: 14px 16px;
  background: var(--nf-card-2);
  border: 1px solid var(--nf-line);
  border-radius: 12px;
}

.nf-facts strong {
  display: block;
  font-family: var(--nf-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nf-purple-2);
}

.nf-facts span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--nf-text);
}

/* Domain table */

.nf-tablewrap {
  margin: 20px 0 22px;
  border: 1px solid var(--nf-line);
  border-radius: 14px;
  overflow-x: auto;
}

.nf-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}

.nf-table th {
  padding: 12px 16px;
  background: var(--nf-card-2);
  border-bottom: 1px solid var(--nf-line);
  font-family: var(--nf-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
  color: var(--nf-muted);
}

.nf-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nf-line);
  vertical-align: top;
  color: var(--nf-soft);
}

.nf-table tr:last-child td {
  border-bottom: 0;
}

.nf-table td:nth-child(2) {
  color: var(--nf-text);
  font-weight: 600;
}

.nf-table tbody tr:first-child td {
  background: rgba(139, 92, 246, 0.07);
}

/* Lists */

.nf-list,
.nf-steps {
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}

.nf-list li,
.nf-steps li {
  position: relative;
  margin: 0 0 10px;
  padding: 0 0 0 30px;
  color: var(--nf-soft);
}

.nf-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nf-purple-2);
}

.nf-steps {
  counter-reset: nfstep;
}

.nf-steps li {
  counter-increment: nfstep;
  padding-left: 40px;
  margin-bottom: 14px;
}

.nf-steps li::before {
  content: counter(nfstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--nf-purple-3);
  font-family: var(--nf-mono);
  font-size: 12px;
  line-height: 24px;
  text-align: center;
}

/* Alternatives grid */

.nf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 0;
}

.nf-tile {
  padding: 18px 18px 16px;
  background: var(--nf-card-2);
  border: 1px solid var(--nf-line);
  border-radius: 14px;
}

.nf-tile:last-child {
  grid-column: 1 / -1;
}

.nf-section .nf-tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.nf-section .nf-tile p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

/* FAQ */

#faq h3 {
  margin: 0;
  padding: 20px 0 6px;
  border-top: 1px solid var(--nf-line);
}

#faq h2 + h3 {
  border-top: 0;
  padding-top: 4px;
}

#faq p {
  margin: 0 0 20px;
}

#faq p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.nf-footer {
  margin: 40px 0 0;
  border-top: 1px solid var(--nf-line);
  background: #08080d;
}

.nf-footer-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 20px 40px;
  text-align: center;
}

.nf-footer-note {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--nf-muted);
}

.nf-footer-copy {
  margin: 14px 0 0;
  font-family: var(--nf-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #55555f;
}

/* ---------- Header menu (CSS only) ---------- */

.nf-header-inner {
  position: relative;
}

.nf-menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nf-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--nf-line);
  border-radius: 10px;
  background: var(--nf-card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nf-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--nf-text);
}

.nf-menu-toggle:focus-visible + .nf-burger {
  border-color: var(--nf-purple);
}

body:has(.nf-page[data-page="nomorflix-not-working"]) .nf-nav a[data-nav="nomorflix-not-working"],
body:has(.nf-page[data-page="is-nomorflix-safe"]) .nf-nav a[data-nav="is-nomorflix-safe"],
body:has(.nf-page[data-page="nomorflix-alternatives"]) .nf-nav a[data-nav="nomorflix-alternatives"],
body:has(.nf-page[data-page="nomorflix-app"]) .nf-nav a[data-nav="nomorflix-app"],
body:has(.nf-page[data-page="home"]) .nf-nav a[data-nav="home"] {
  color: #ffffff;
  background: var(--nf-card-2);
}

/* ---------- Inner pages ---------- */

.nf-section h1 {
  margin: 0 0 16px;
  font-family: var(--nf-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.nf-section h1 + p {
  font-size: 17px;
  color: var(--nf-text);
}

.nf-section h1 ~ h2 {
  margin-top: 32px;
  font-size: 24px;
}

.nf-section p a,
.nf-section li a,
.nf-section td a {
  color: var(--nf-purple-2);
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.4);
  text-underline-offset: 3px;
}

.nf-section p a:hover,
.nf-section li a:hover,
.nf-section td a:hover {
  color: var(--nf-purple-3);
  text-decoration-color: var(--nf-purple-3);
}

.nf-section .nf-crumb {
  margin: 0 0 18px;
  font-family: var(--nf-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-muted);
}

.nf-section .nf-crumb a {
  color: var(--nf-purple-2);
  text-decoration: none;
}

.nf-crumb span {
  margin: 0 6px;
  color: #4a4a57;
}

.nf-page > .nf-section:first-child {
  margin-top: 0;
}

.nf-cta {
  margin: 24px 0 0;
  padding: 30px 36px 28px;
  text-align: center;
  background: linear-gradient(180deg, #17142a 0%, var(--nf-card) 100%);
  border-color: #33295c;
}

.nf-cta-text {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--nf-text);
}

.nf-cta .nf-btn {
  max-width: 420px;
  margin: 20px auto 0;
}

.nf-cta-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--nf-muted);
}

.nf-section .nf-mail {
  margin: 22px 0 26px;
  padding: 20px 22px;
  background: var(--nf-card-2);
  border: 1px solid var(--nf-line);
  border-radius: 14px;
}

.nf-mail .nf-label {
  display: block;
  margin-bottom: 8px;
}

.nf-section .nf-mail a {
  font-family: var(--nf-mono);
  font-size: 18px;
  color: var(--nf-purple-2);
  text-decoration: none;
  word-break: break-all;
}

.nf-section .nf-steps + h3 {
  margin-top: 24px;
}

.nf-section .nf-more {
  margin: 18px 0 0;
}

/* ---------- Images ---------- */

.nf-logo-img {
  display: inline-block;
  line-height: 0;
}

.nf-logo-img img {
  display: block;
  width: 131px;
  height: auto;
  max-width: 100%;
}

.nf-figure {
  margin: 22px 0 24px;
  border: 1px solid var(--nf-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--nf-bg);
}

.nf-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Footer columns ---------- */

.nf-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 520px;
  margin: 26px auto 0;
  text-align: left;
}

.nf-footer-col .nf-label {
  margin: 0 0 10px;
}

.nf-footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--nf-soft);
  font-size: 14px;
  text-decoration: none;
}

.nf-footer-col a:hover {
  color: var(--nf-purple-2);
}

/* ---------- Tablet ---------- */

@media (max-width: 760px) {
  .nf-page {
    padding-top: 32px;
  }

  .nf-section {
    padding: 28px 24px 26px;
  }

  .nf-section h2 {
    font-size: 25px;
  }

  .nf-section h1 {
    font-size: 31px;
  }

  .nf-cta {
    padding: 26px 24px 24px;
  }

  .nf-burger {
    display: flex;
  }

  .nf-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px 14px;
    background: #0d0d14;
    border-bottom: 1px solid var(--nf-line);
  }

  .nf-nav a {
    padding: 12px 12px;
    font-size: 15px;
  }

  .nf-menu-toggle:checked ~ .nf-nav {
    display: flex;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
  html {
    scroll-padding-top: 70px;
  }

  .nf-page {
    padding: 20px 14px 16px;
  }

  .nf-card {
    border-radius: 18px;
  }

  .nf-hero {
    padding: 30px 20px 24px;
  }

  .nf-logo-xl {
    font-size: 40px;
  }

  .nf-linkbox {
    font-size: 17px;
  }

  .nf-section {
    padding: 24px 18px 22px;
  }

  .nf-section h2 {
    font-size: 23px;
  }

  .nf-facts,
  .nf-grid {
    grid-template-columns: 1fr;
  }

  .nf-jump {
    margin-top: 24px;
  }

  .nf-header-inner {
    padding: 10px 14px;
  }

  .nf-section h1 {
    font-size: 27px;
  }

  .nf-section h1 ~ h2 {
    font-size: 21px;
  }

  .nf-cta {
    padding: 24px 18px 22px;
  }

  .nf-section .nf-mail a {
    font-size: 16px;
  }
}
