html.cc-nf-route,
body.cc-nf-body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #ffffff;
  overflow-x: hidden;
}

body.cc-nf-body {
  display: block;
}

.cc-nf {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  overflow: hidden;
  font-family: "Outfit", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  color: #0f172a;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(61, 204, 78, 0.14) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(11, 107, 65, 0.1) 0%, transparent 55%),
    #ffffff;
}

.cc-nf-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 10%, transparent 75%);
}

.cc-nf-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
}

.cc-nf-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0b6b41;
  margin: 0;
}

.cc-nf-code {
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0;
  background-image: linear-gradient(
    100deg,
    #0b6b41 0%,
    #149a57 24%,
    #34d65f 50%,
    #149a57 76%,
    #0b6b41 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 12px 40px rgba(61, 204, 78, 0.25));
}

@media (prefers-reduced-motion: no-preference) {
  .cc-nf-code {
    animation: ccNfSheen 7s ease-in-out infinite;
  }
}

@keyframes ccNfSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.cc-nf-title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 0;
  color: #0f172a;
  text-wrap: balance;
}

.cc-nf-text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  color: #475569;
  max-width: 32rem;
  margin: 0.9rem 0 0;
  text-wrap: balance;
}

.cc-nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.1rem;
}

.cc-nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.cc-nf-btn--primary {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 16px 40px -18px rgba(22, 163, 74, 0.7);
}

.cc-nf-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px -18px rgba(22, 163, 74, 0.8);
}

.cc-nf-btn--ghost {
  background: transparent;
  color: #0f172a;
  box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, 0.12);
}

.cc-nf-btn--ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

.cc-nf-btn-arrow {
  font-weight: 700;
}
