* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}


.nf-articles{
  position:relative;
  overflow:hidden;
  padding:90px 0;
  background:
          radial-gradient(circle at 14% 0%,rgba(128,90,255,.28),transparent 34%),
          radial-gradient(circle at 84% 18%,rgba(0,220,255,.18),transparent 34%),
          linear-gradient(180deg,#050816 0%,#111333 50%,#060817 100%);
}

.nf-articles:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.3;
  background-image:
          linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;
}

.nf-articles-container{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

.nf-articles-head{
  max-width:820px;
  margin:0 auto 44px;
  text-align:center;
}

.nf-kicker{
  display:inline-flex;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,220,255,.12);
  border:1px solid rgba(0,220,255,.24);
  color:#7df5ff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nf-articles-title{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.04;
  font-weight:800;
}

.nf-articles-text{
  margin:0;
  color:rgba(255,255,255,.76);
  font-size:18px;
  line-height:1.75;
}

.nf-articles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.nf-article-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(0,0,0,.32);
  backdrop-filter:blur(12px);
}

.nf-article-date{
  display:inline-flex;
  width:max-content;
  margin-bottom:16px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(128,90,255,.15);
  border:1px solid rgba(128,90,255,.25);
  color:#b9a7ff;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.nf-article-card h3{
  margin:0 0 13px;
  color:#fff;
  font-size:24px;
  line-height:1.18;
}

.nf-article-card p{
  margin:0 0 22px;
  color:rgba(255,255,255,.76);
  line-height:1.7;
}

.nf-article-link{
  margin-top:auto;
  display:inline-flex;
  width:max-content;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#8f6cff,#00dcff);
  color:#050816;
  font-weight:800;
  text-decoration:none;
}

.nf-article-link:hover{
  color:#050816;
  text-decoration:none;
  filter:brightness(1.07);
}

.nf-game-title{
  margin:18px 0 8px;
  color:#fff;
  font-size:22px;
  text-align:center;
}

.nf-game-note{
  margin:0 0 18px;
  color:rgba(255,255,255,.72);
  line-height:1.65;
  text-align:center;
}

.nf-game-copy{
  padding:0 20px 20px;
}

@media(max-width:900px){
  .nf-articles-grid{
    grid-template-columns:1fr;
  }
}

.nf-page-main{
  position:relative;
  overflow:hidden;
  padding:76px 0 96px;
  background:
          radial-gradient(circle at 12% 4%,rgba(128,90,255,.3),transparent 34%),
          radial-gradient(circle at 88% 14%,rgba(0,220,255,.18),transparent 34%),
          radial-gradient(circle at 50% 100%,rgba(40,70,180,.16),transparent 38%),
          linear-gradient(180deg,#050816 0%,#111333 52%,#060817 100%);
}

.nf-page-main:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.3;
  background-image:
          linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
}

.nf-page-shell{
  position:relative;
  width:min(960px,calc(100% - 32px));
  margin:0 auto;
  padding:clamp(24px,4vw,56px);
  border-radius:32px;
  background:rgba(6,8,23,.94);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
          0 28px 82px rgba(0,0,0,.44),
          inset 0 1px 0 rgba(255,255,255,.06);
  color:#fff;
}

.nf-page-shell:before{
  content:"Night Fortune guide";
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-bottom:22px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,220,255,.12);
  border:1px solid rgba(0,220,255,.24);
  color:#7df5ff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nf-page-shell h1,
.nf-page-shell h2,
.nf-page-shell h3,
.nf-page-shell h4{
  color:#fff;
  letter-spacing:-.03em;
}

.nf-page-shell h1{
  max-width:860px;
  margin:0 0 20px;
  font-size:clamp(34px,5vw,62px);
  line-height:1.02;
}

.nf-page-shell h2{
  position:relative;
  margin:48px 0 16px;
  padding-top:18px;
  font-size:clamp(27px,3.4vw,40px);
  line-height:1.1;
}

.nf-page-shell h2:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:92px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,#8f6cff,#00dcff);
}

.nf-page-shell h3{
  margin:30px 0 12px;
  font-size:clamp(22px,2.4vw,28px);
  line-height:1.18;
  color:#b9a7ff;
}

.nf-page-shell h4{
  margin:24px 0 10px;
  font-size:21px;
}

.nf-page-shell p{
  margin:0 0 18px;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:1.82;
}

.nf-page-shell .article-meta{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin:0 0 20px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(128,90,255,.15);
  color:#b9a7ff;
  font-size:13px;
  font-weight:800;
}

.nf-page-shell a{
  color:#7df5ff;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(125,245,255,.34);
}

.nf-page-shell a:hover{
  color:#fff;
  border-bottom-color:currentColor;
  text-decoration:none;
}

.nf-page-shell img{
  display:block;
  width:100%;
  height:auto;
  margin:26px 0;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 22px 58px rgba(0,0,0,.36);
}

.nf-page-shell ul,
.nf-page-shell ol{
  display:grid;
  gap:12px;
  margin:22px 0 28px;
  padding:0;
  list-style:none;
}

.nf-page-shell li{
  position:relative;
  padding:15px 16px 15px 50px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.78);
  font-size:16.5px;
  line-height:1.65;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.nf-page-shell ul li:before{
  content:"";
  position:absolute;
  left:18px;
  top:23px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(135deg,#8f6cff,#00dcff);
  box-shadow:0 0 0 5px rgba(0,220,255,.08);
}

.nf-page-shell ol{
  counter-reset:nf-counter;
}

.nf-page-shell ol li{
  counter-increment:nf-counter;
}

.nf-page-shell ol li:before{
  content:counter(nf-counter);
  position:absolute;
  left:14px;
  top:14px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#7df5ff;
  color:#050816;
  font-size:13px;
  font-weight:800;
}

.nf-page-shell table{
  width:100%;
  margin:30px 0;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}

.nf-page-shell th,
.nf-page-shell td{
  padding:16px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.78);
}

.nf-page-shell th{
  background:linear-gradient(135deg,rgba(128,90,255,.22),rgba(0,220,255,.14));
  color:#fff;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.nf-page-shell tr:last-child td{
  border-bottom:0;
}

.nf-page-shell blockquote{
  margin:32px 0;
  padding:24px 26px;
  border-left:5px solid #7df5ff;
  border-radius:22px;
  background:rgba(0,220,255,.08);
}

.nf-page-shell blockquote p{
  margin:0;
  color:#fff;
  font-size:18px;
}

.nf-page-shell .toc,
.nf-page-shell .contents,
.nf-page-shell .table-of-contents{
  margin:26px 0 36px;
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(0,220,255,.22);
  background:
          radial-gradient(circle at 12% 0%,rgba(128,90,255,.18),transparent 34%),
          linear-gradient(135deg,rgba(5,8,22,.92),rgba(17,19,51,.92));
}

.nf-page-shell .toc strong,
.nf-page-shell .contents strong,
.nf-page-shell .table-of-contents strong{
  display:block;
  margin-bottom:14px;
  color:#fff;
  font-size:21px;
}

.nf-page-shell .toc ol,
.nf-page-shell .toc ul,
.nf-page-shell .contents ol,
.nf-page-shell .contents ul,
.nf-page-shell .table-of-contents ol,
.nf-page-shell .table-of-contents ul{
  margin:0;
  display:grid;
  gap:9px;
}

.nf-page-shell .toc li,
.nf-page-shell .contents li,
.nf-page-shell .table-of-contents li{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.nf-page-shell .toc li:before,
.nf-page-shell .contents li:before,
.nf-page-shell .table-of-contents li:before{
  display:none;
}

.nf-page-shell .author-note,
.nf-page-shell .note,
.nf-page-shell .summary-box{
  margin:34px 0 0;
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(0,220,255,.24);
  background:linear-gradient(135deg,rgba(0,220,255,.1),rgba(128,90,255,.14));
}

.nf-page-shell .author-note p,
.nf-page-shell .note p,
.nf-page-shell .summary-box p{
  margin-bottom:0;
}

.nf-page-related{
  position:relative;
  width:min(960px,calc(100% - 32px));
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.nf-page-related a{
  display:block;
  padding:20px;
  border-radius:22px;
  background:rgba(6,8,23,.92);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  box-shadow:0 16px 38px rgba(0,0,0,.26);
  text-decoration:none;
}

.nf-page-related a:hover{
  text-decoration:none;
  color:#fff;
}

.nf-page-related span{
  display:block;
  margin-bottom:8px;
  color:#7df5ff;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.nf-page-related strong{
  display:block;
  line-height:1.35;
}

@media(max-width:900px){
  .nf-page-related{
    grid-template-columns:1fr;
  }

  .nf-page-shell table{
    display:block;
    overflow-x:auto;
  }
}

@media(max-width:640px){
  .nf-page-main{
    padding:42px 0 58px;
  }

  .nf-page-shell{
    width:calc(100% - 24px);
    padding:24px 18px;
    border-radius:22px;
  }

  .nf-page-shell:before{
    width:auto;
    font-size:12px;
    white-space:normal;
  }

  .nf-page-shell p,
  .nf-page-shell li{
    font-size:16px;
  }

  .nf-page-shell li{
    padding-left:44px;
  }
}