/*
  NeonForge Casino (Site #1)
  - No external libs/fonts
  - Main bg: rgb(11 12 13)
  - Accent: #BBEB00
*/

:root{
  --nf-bg: rgb(11 12 13);
  --nf-ac: #BBEB00;
  --nf-tx: rgba(255,255,255,.92);
  --nf-dim: rgba(255,255,255,.68);
  --nf-line: rgba(187,235,0,.35);
  --nf-card: rgba(255,255,255,.04);
  --nf-card2: rgba(255,255,255,.06);
  --nf-shadow: 0 14px 40px rgba(0,0,0,.55);
  --nf-r: 18px;
  --nf-r2: 24px;
  --nf-w: 1440px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body.nf-body{
  margin: 0;
  background: radial-gradient(1200px 700px at 12% 8%, rgba(187,235,0,.12), transparent 65%),
              radial-gradient(900px 560px at 85% 15%, rgba(187,235,0,.08), transparent 60%),
              var(--nf-bg);
  color: var(--nf-tx);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.45;
}

/* focus styles */
:focus-visible{
  outline: 2px solid var(--nf-ac);
  outline-offset: 3px;
}

/* skip */
.nf-skip{
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--nf-ac);
  color: #0b0c0d;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  z-index: 9999;
}
.nf-skip:focus{ left: 10px; }

/* wrap */
.nf-wrap{
  width: min(var(--nf-w), calc(100% - 32px));
  margin: 0 auto;
}

/* header */
.nf-header{
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(10px);
  background: rgba(11,12,13,.72);
  border-bottom: 1px solid rgba(187,235,0,.18);
}
.nf-header__wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}
.nf-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  min-width: 200px;
}
.nf-brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(18px 18px at 30% 30%, rgba(187,235,0,.95), rgba(187,235,0,.2) 55%, rgba(255,255,255,.05) 60%),
              linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  border: 1px solid rgba(187,235,0,.55);
  box-shadow: 0 12px 30px rgba(187,235,0,.10);
}
.nf-brand__name{
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .3px;
}
.nf-brand__tag{
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(187,235,0,.4);
  border-radius: 999px;
  color: var(--nf-ac);
  opacity: .9;
}

.nf-nav{
  display: flex;
  align-items: center;
  gap: 10px;
}
.nf-nav__link{
  text-decoration: none;
  color: #0b0c0d;
  background: var(--nf-ac);
  border: 1px solid rgba(187,235,0,.8);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .1px;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space: nowrap;
}
.nf-nav__link:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.nf-nav__link:active{ transform: translateY(0); filter: brightness(.98); }
.nf-nav__link--ghost{
  background: transparent;
  color: var(--nf-tx);
  border-color: rgba(187,235,0,.35);
}

.nf-burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(187,235,0,.28);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nf-burger__line{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.85);
  margin: 4px auto;
  border-radius: 99px;
}

/* mobile nav */
.nf-mnav{
  border-top: 1px solid rgba(187,235,0,.14);
  background: rgba(11,12,13,.86);
}
.nf-mnav__wrap{
  padding: 12px 0 16px;
  display: grid;
  gap: 10px;
}
.nf-mnav__link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--nf-tx);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(187,235,0,.18);
}
.nf-mnav__divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 6px 0;
}

/* shell layout */
.nf-shell{
  width: min(var(--nf-w), calc(100% - 32px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

/* sidebar */
.nf-side{
  position: sticky;
  top: 92px;
  align-self: start;
}
.nf-side__card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(187,235,0,.18);
  border-radius: var(--nf-r2);
  padding: 14px;
  box-shadow: var(--nf-shadow);
}
.nf-side__card + .nf-side__card{ margin-top: 12px; }
.nf-side__title{
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: 10px;
}
.nf-side__a{
  display: block;
  text-decoration: none;
  color: var(--nf-tx);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  margin: 8px 0;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.nf-side__a:hover{
  transform: translateY(-1px);
  border-color: rgba(187,235,0,.35);
  background: rgba(187,235,0,.06);
}
.nf-side__card--small{ padding: 12px 14px; }
.nf-side__hint{
  color: var(--nf-dim);
  font-size: 12.5px;
  margin-bottom: 10px;
}
.nf-side__cta{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  color: #0b0c0d;
  background: var(--nf-ac);
  border: 1px solid rgba(187,235,0,.8);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
}

/* main */
.nf-main{
  min-width: 0;
}

/* typography helpers */
.nf-h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .2px;
}
.nf-p{ margin: 0 0 12px; color: var(--nf-dim); font-size: 16px; }
.nf-sub{ margin: 0; color: var(--nf-dim); }
.nf-ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
}
.nf-ul li{ margin: 6px 0; }

.nf-headline{
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

/* hero */
.nf-hero{
  margin-top: 6px;
}
.nf-hero__wrap{ padding: 0; }

.nf-slider{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(187,235,0,.22);
  background: rgba(255,255,255,.03);
  box-shadow: var(--nf-shadow);
}
.nf-slider__viewport{
  position: relative;
  height: clamp(280px, 38vw, 420px);
}
.nf-slide{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  padding: clamp(18px, 3vw, 34px);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .35s ease, transform .35s ease;
}
.nf-slide.is-on{
  opacity: 1;
  transform: scale(1);
}
.nf-slide__bg{
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(187,235,0,.22), transparent 60%),
    radial-gradient(520px 380px at 85% 25%, rgba(187,235,0,.12), transparent 60%),
    linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  filter: saturate(1.05);
}
.nf-slide__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,13,.15), rgba(11,12,13,.65) 60%, rgba(11,12,13,.9));
}
.nf-slide__content{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.nf-kicker{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}
.nf-kicker::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--nf-ac);
  box-shadow: 0 10px 25px rgba(187,235,0,.18);
}
.nf-h1{
  margin: 0;
  font-size: clamp(26px, 3.1vw, 46px);
  line-height: 1.06;
  letter-spacing: .2px;
}
.nf-lead{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  max-width: 52ch;
}
.nf-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.nf-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #0b0c0d;
  background: var(--nf-ac);
  border: 1px solid rgba(187,235,0,.85);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .1px;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.nf-btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.nf-btn:active{ transform: translateY(0); filter: brightness(.98); }
.nf-btn--soft{
  background: rgba(255,255,255,.04);
  color: var(--nf-tx);
  border-color: rgba(187,235,0,.25);
}

/* slide right side: "visual" placeholder */
.nf-slide__visual{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-orb{
  width: min(320px, 90%);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  border: 1px solid rgba(187,235,0,.25);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  transform: rotate(-4deg);
  background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.nf-slide:nth-child(1) .nf-orb{ background-image: url("../images/banner-1.png"); }
.nf-slide:nth-child(2) .nf-orb{ background-image: url("../images/banner-2.png"); }
.nf-slide:nth-child(3) .nf-orb{ background-image: url("../images/banner-3.png"); }
.nf-orb__txt{
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(11,12,13,.6);
  border: 1px solid rgba(187,235,0,.18);
}
.nf-orb__ttl{
  font-weight: 950;
  letter-spacing: .2px;
}
.nf-orb__sub{
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

/* slider controls */
.nf-slider__controls{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 5;
}
.nf-sbtn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(187,235,0,.22);
  background: rgba(11,12,13,.45);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.nf-sbtn:hover{ transform: translateY(-1px); border-color: rgba(187,235,0,.35); background: rgba(11,12,13,.6); }
.nf-sbtn:active{ transform: translateY(0); }

.nf-dots{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nf-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(187,235,0,.35);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.nf-dot.is-on{
  background: var(--nf-ac);
  transform: scale(1.1);
}

/* bonus section */
.nf-bonus{
  margin-top: 18px;
}
.nf-bonus__wrap{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  border-radius: 28px;
  border: 1px solid rgba(187,235,0,.18);
  background: rgba(255,255,255,.03);
  box-shadow: var(--nf-shadow);
  padding: clamp(16px, 2.5vw, 26px);
  overflow: hidden;
  position: relative;
}
.nf-bonus__wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 20% 50%, rgba(187,235,0,.10), transparent 60%);
  pointer-events: none;
}
.nf-bonus__copy{ position: relative; z-index: 1; }
.nf-bonus__media{ position: relative; z-index: 1; }

.nf-mediaPh{
  height: 100%;
  min-height: 240px;
  border-radius: 22px;
  border: 1px dashed rgba(187,235,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url("../images/bonus.png");
  background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.nf-mediaPh__glow{
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(187,235,0,.55), rgba(187,235,0,0) 65%);
  filter: blur(2px);
  opacity: .9;
}
.nf-mediaPh__label{
  position: relative;
  z-index: 1;
  font-weight: 950;
  letter-spacing: .22em;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* slots */
.nf-slots{ margin-top: 18px; }
.nf-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.nf-card{
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  text-decoration: none;
  color: var(--nf-tx);
  padding: 12px;
  border-radius: var(--nf-r2);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(187,235,0,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
  min-height: 350px;
}
.nf-card:hover{
  transform: translateY(-2px);
  border-color: rgba(187,235,0,.30);
  background: rgba(187,235,0,.05);
}
.nf-card__media{
  border-radius: 18px;
  border: 1px dashed rgba(187,235,0,.25);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 120px;

  /* чтобы фон-картинка нормально ложилась */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ВАЖНО: путь в url() подстрой под свою папку.
   Если картинки лежат рядом с CSS — оставь как есть.
   Если в /img/ — будет url("../img/slot-1.webp") и т.д.
*/
.nf-card:nth-child(1) .nf-card__media { background-image: url("../images/slot-1.webp"); }
.nf-card:nth-child(2) .nf-card__media { background-image: url("../images/slot-2.webp"); }
.nf-card:nth-child(3) .nf-card__media { background-image: url("../images/slot-3.webp"); }
.nf-card:nth-child(4) .nf-card__media { background-image: url("../images/slot-4.webp"); }
.nf-card:nth-child(5) .nf-card__media { background-image: url("../images/slot-5.webp"); }
.nf-card:nth-child(6) .nf-card__media { background-image: url("../images/slot-6.webp"); }
.nf-card:nth-child(7) .nf-card__media { background-image: url("../images/slot-7.webp"); }
.nf-card:nth-child(8) .nf-card__media { background-image: url("../images/slot-8.webp"); }

.nf-card__ph{
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.nf-card__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nf-card__name{
  font-weight: 900;
}
.nf-card__tag{
  font-size: 12px;
  color: rgba(255,255,255,.76);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(187,235,0,.20);
  background: rgba(255,255,255,.02);
}

/* offers */
.nf-offers{ margin-top: 18px; }
.nf-offers__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.nf-offer{
  border-radius: var(--nf-r2);
  border: 1px solid rgba(187,235,0,.16);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  padding: 14px;
  display: grid;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.nf-offer::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(420px 220px at 20% 10%, rgba(187,235,0,.12), transparent 60%);
  pointer-events: none;
}
.nf-offer__top{ position: relative; z-index: 1; display: grid; gap: 8px; }
.nf-offer__badge{
  display: inline-flex;
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(187,235,0,.28);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 11px;
  text-transform: uppercase;
}
.nf-offer__ttl{
  font-weight: 950;
  letter-spacing: .2px;
  font-size: 16px;
}
.nf-offer__txt{ position: relative; z-index: 1; color: rgba(255,255,255,.72); }
.nf-offer__btn{
  position: relative;
  z-index: 1;
  margin-top: 2px;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  color: #0b0c0d;
  background: var(--nf-ac);
  border: 1px solid rgba(187,235,0,.85);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 950;
}

/* content / prose */
.nf-content{ margin-top: 18px; }
.nf-prose{
  border-radius: 28px;
  border: 1px solid rgba(187,235,0,.14);
  background: rgba(255,255,255,.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
  padding: clamp(16px, 2.6vw, 26px);
  min-height: 160px;
  overflow: hidden;
}

/* generic content styling inside nf-prose */
.nf-prose :is(h2,h3,h4){
  margin: 18px 0 10px;
  line-height: 1.12;
}
.nf-prose h2{ font-size: 22px; }
.nf-prose h3{ font-size: 18px; color: rgba(255,255,255,.90); }
.nf-prose p{ margin: 10px 0; color: rgba(255,255,255,.78); }
.nf-prose a{ color: var(--nf-ac); text-decoration: none; border-bottom: 1px dashed rgba(187,235,0,.45); }
.nf-prose a:hover{ border-bottom-style: solid; }
.nf-prose ul, .nf-prose ol{ margin: 10px 0 10px 18px; color: rgba(255,255,255,.78); }
.nf-prose li{ margin: 6px 0; }
.nf-prose img{
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(187,235,0,.14);
}
.nf-prose blockquote{
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--nf-ac);
  background: rgba(187,235,0,.05);
  border-radius: 16px;
  color: rgba(255,255,255,.82);
}
.nf-prose table{
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(187,235,0,.16);
}
.nf-prose thead th{
  text-align: left;
  font-weight: 950;
  background: rgba(187,235,0,.10);
  color: rgba(255,255,255,.92);
}
.nf-prose th, .nf-prose td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
}
.nf-prose tbody tr:hover td{ background: rgba(255,255,255,.02); }
.nf-prose code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

/* footer */
.nf-footer{
  margin-top: 22px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(187,235,0,.14);
}
.nf-footer__wrap{ display: grid; gap: 14px; }
.nf-footer__top{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.nf-footer__brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nf-footer__name{ font-weight: 950; letter-spacing: .2px; }
.nf-footer__text{
  margin: 10px 0 0;
  color: rgba(255,255,255,.68);
  max-width: 60ch;
  font-size: 14px;
}
.nf-footer__title{
  font-weight: 950;
  letter-spacing: .18em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  margin-bottom: 8px;
}
.nf-footer__a{
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,.80);
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  margin: 8px 0;
}
.nf-footer__a:hover{ border-color: rgba(187,235,0,.25); background: rgba(187,235,0,.05); }

.nf-sponsors{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.nf-sponsor{
  height: 44px;
  border-radius: 14px;
  border: 1px dashed rgba(187,235,0,.22);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 11px;
}

.nf-footer__bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.60);
  font-size: 13px;
  padding-top: 8px;
}
.nf-footer__sep{ opacity: .45; }
.nf-footer__mini{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-bottom: 1px dashed rgba(187,235,0,.35);
}
.nf-footer__mini:hover{ border-bottom-style: solid; }

/* responsive */
@media (max-width: 1100px){
  .nf-shell{ grid-template-columns: 1fr; }
  .nf-side{ position: relative; top: auto; }
  .nf-side__card{ box-shadow: none; }
}
@media (max-width: 880px){
  .nf-nav{ display: none; }
  .nf-burger{ display: inline-flex; }
  .nf-slide{ grid-template-columns: 1fr; }
  .nf-slide__visual{ display: none; }
  .nf-bonus__wrap{ grid-template-columns: 1fr; }
  .nf-grid{ grid-template-columns: repeat(2, 1fr); }
  .nf-offers__grid{ grid-template-columns: 1fr; }
  .nf-footer__top{ grid-template-columns: 1fr; }
  .nf-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    
}
@media (max-width: 520px){
  .nf-wrap{ width: calc(100% - 24px); }
  .nf-slider{ border-radius: 24px; }
  .nf-slider__viewport{ height: 320px; }
  .nf-grid{ grid-template-columns: 1fr; }
}

/* ===== ASIDE SIDEBAR (template 1) ===== */
.aside__nav {
    top: 86px;
    width: 100%;
    min-width: 100%;
    max-width: 360px;
    height: calc(100vh - 110px);
    overflow: auto;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(187, 235, 0, .18);
    border-radius: 22px;
    padding: 18px 14px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}

/* скролл аккуратный */
.aside__nav::-webkit-scrollbar{ width: 8px; }
.aside__nav::-webkit-scrollbar-thumb{
  background: rgba(187,235,0,.18);
  border-radius: 999px;
}
.aside__nav::-webkit-scrollbar-track{ background: transparent; }

/* списки */
.aside__list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.aside__list + .aside__list{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* заголовки секций */
.aside__title{
  color: rgba(255,255,255,.55);
  font-size: 13px;
  letter-spacing: .02em;
  margin: 6px 10px 10px;
}

/* элементы */
.aside__item{
  margin: 2px 0;
}

/* ссылка-строка */
.aside__link{
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 12px;
  border-radius: 14px;

  text-decoration: none;
  color: rgba(255,255,255,.9);

  border-left: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

/* SVG внутри: чтобы корректно красился */
.aside__link svg{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: rgba(255,255,255,.72);
}

/* текст */
.aside__text{
  margin: 0;
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hover */
.aside__link:hover{
  background: rgba(255,255,255,.04);
  border-left-color: rgba(187,235,0,.55);
  color: #fff;
}
.aside__link:hover svg{
  color: rgba(187,235,0,.9);
}

/* active */
.aside__link_active{
  background: rgba(187,235,0,.06);
  border-left-color: #BBEB00;
}
.aside__link_active svg{
  color: #BBEB00;
}
.aside__link:active{
  transform: scale(.98);
}

/* мобилка: сайдбар в строку/сверху */
@media (max-width: 980px){
  .aside__nav{
    position: relative;
    top: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    overflow: visible;
  }

  .aside__text{ font-size: 14px; }
}

.nf-footer-btns {
  display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1100px) {
    .nf-side__card {
        box-shadow: none;
        display: none;
    }

    .nf-footer-btns {
    display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 10px;
  }
}


