/* NEMAZING ONLINE — clean homepage redesign, 03.08.2026 */
.nm-home-v3 {
  --nm3-bg: #0c0e17;
  --nm3-bg-soft: #121522;
  --nm3-surface: #171a28;
  --nm3-line: rgba(255,255,255,.1);
  --nm3-text: #f6f7fb;
  --nm3-muted: #a8adbd;
  --nm3-purple: #8069ff;
  --nm3-purple-2: #a191ff;
  background: var(--nm3-bg) !important;
  color: var(--nm3-text);
}
.nm-home-v3 .site-header {
  background: rgba(11,13,22,.86) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(20px) saturate(130%) !important;
  box-shadow: none !important;
}
.nm-home-v3 .site-header .header-inner { min-height: 78px; }
.nm-home-v3 .site-footer { margin-top: 0 !important; }
.nm3-main { overflow: clip; background: #f5f6f9; }
.nm3-main *, .nm3-main *::before, .nm3-main *::after { box-sizing: border-box; }

.nm3-hero {
  position: relative;
  min-height: 760px;
  padding: 138px 0 74px;
  overflow: hidden;
  isolation: isolate;
  background: var(--nm3-bg);
}
.nm3-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8,10,17,.99) 0%, rgba(8,10,17,.95) 42%, rgba(8,10,17,.64) 70%, rgba(8,10,17,.88) 100%),
    linear-gradient(180deg, rgba(8,10,17,.08), #0c0e17 100%),
    url('../img/game-17.jpg') center/cover no-repeat;
  transform: scale(1.015);
}
.nm3-hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -220px;
  left: 41%;
  z-index: -2;
  border-radius: 50%;
  background: rgba(118,86,255,.24);
  filter: blur(110px);
}
.nm3-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #0c0e17);
}
.nm3-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(440px,1.08fr);
  gap: 52px;
  align-items: center;
}
.nm3-hero-copy { position: relative; z-index: 3; max-width: 680px; }
.nm3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #d5d8e4;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.nm3-eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #53d69c;
  box-shadow: 0 0 0 5px rgba(83,214,156,.1), 0 0 20px rgba(83,214,156,.75);
}
.nm3-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(3.65rem, 6.4vw, 6.8rem);
  font-weight: 950;
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.nm3-hero h1 em {
  color: var(--nm3-purple-2);
  font-style: normal;
  text-shadow: 0 18px 65px rgba(128,105,255,.25);
}
.nm3-hero-copy > p {
  max-width: 610px;
  margin: 25px 0 0;
  color: #b8bdcb !important;
  font-size: 1.04rem;
  line-height: 1.72;
}
.nm3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.nm3-actions .btn { min-height: 52px; padding-inline: 23px; border-radius: 14px !important; }
.nm3-primary { min-width: 210px; }
.nm3-secondary {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: none !important;
}
.nm3-secondary:hover { background: rgba(255,255,255,.12) !important; }
.nm3-quick-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.11);
}
.nm3-quick-facts > div { min-width: 0; padding: 0 19px; border-right: 1px solid rgba(255,255,255,.1); }
.nm3-quick-facts > div:first-child { padding-left: 0; }
.nm3-quick-facts > div:last-child { padding-right: 0; border-right: 0; }
.nm3-quick-facts strong { display: block; color: #fff; font-size: .83rem; }
.nm3-quick-facts span { display: block; margin-top: 5px; color: #7f8598; font-size: .7rem; line-height: 1.4; }

.nm3-hero-visual { min-width: 0; }
.nm3-visual-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background: #161925;
  box-shadow: 0 45px 100px rgba(0,0,0,.38);
}
.nm3-visual-city {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,20,32,.08) 28%, rgba(14,16,26,.88) 100%),
    url('../img/game-21.jpg') center/cover no-repeat;
  filter: saturate(.84) brightness(.75);
}
.nm3-visual-glow {
  position: absolute;
  width: 470px;
  height: 470px;
  left: 50%;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(124,92,255,.55);
  transform: translateX(-50%);
  filter: blur(95px);
}
.nm3-visual-characters {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -55px;
  width: min(620px,96%);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
}
.nm3-visual-label {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(13,15,25,.78);
  backdrop-filter: blur(16px);
}
.nm3-visual-label span { color: var(--nm3-purple-2); font-size: .65rem; font-weight: 950; letter-spacing: .17em; }
.nm3-visual-label strong { display: block; margin-top: 5px; color: #fff; font-size: 1.06rem; }
.nm3-visual-label small { display: block; margin-top: 4px; color: #979cad; }

.nm3-section { padding: 104px 0; }
.nm3-section-head {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}
.nm3-section-head span,
.nm3-account-copy > span,
.nm3-cta-card span {
  display: block;
  margin-bottom: 13px;
  color: #7057ec;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .17em;
}
.nm3-section-head h2,
.nm3-account-copy h2,
.nm3-cta-card h2 {
  margin: 0;
  color: #171927 !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.35rem,4.5vw,4.85rem);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.nm3-section-head > p {
  max-width: 520px;
  margin: 0;
  color: #717688 !important;
  line-height: 1.72;
}
.nm3-world { background: #f5f6f9; }
.nm3-world-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr);
  grid-template-rows: repeat(2,260px);
  gap: 18px;
}
.nm3-world-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 25px;
  background: #151824;
  box-shadow: 0 20px 50px rgba(29,33,57,.12);
}
.nm3-world-main { grid-row: 1 / 3; }
.nm3-world-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.nm3-world-card:hover img { transform: scale(1.025); }
.nm3-world-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(8,10,17,.92)); }
.nm3-world-card > div { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.nm3-world-card small { color: #b1a3ff; font-size: .66rem; font-weight: 950; letter-spacing: .16em; }
.nm3-world-card h3 { margin: 7px 0 0; color: #fff !important; font-size: clamp(1.45rem,2.6vw,2.55rem); line-height: 1.04; letter-spacing: -.04em; }
.nm3-world-card p { max-width: 570px; margin: 9px 0 0; color: #c4c8d3 !important; line-height: 1.55; }

.nm3-account-section { background: #fff; }
.nm3-account-panel {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(460px,1.15fr);
  gap: 76px;
  align-items: center;
  padding: 58px;
  border: 1px solid rgba(30,34,56,.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 15%,rgba(124,94,255,.12),transparent 33%),
    #f6f7fb;
  box-shadow: 0 25px 70px rgba(28,31,53,.08);
}
.nm3-account-copy h2 { font-size: clamp(2.3rem,4vw,4.4rem); }
.nm3-account-copy p { margin: 22px 0 0; color: #6e7385 !important; line-height: 1.7; }
.nm3-inline-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; color: #654de1; font-weight: 900; }
.nm3-service-list { overflow: hidden; border: 1px solid rgba(35,39,64,.1); border-radius: 22px; background: #fff; }
.nm3-service-list a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  color: #202334;
  border-bottom: 1px solid rgba(35,39,64,.08);
  transition: background .2s ease, padding-left .2s ease;
}
.nm3-service-list a:last-child { border-bottom: 0; }
.nm3-service-list a:hover { padding-left: 24px; background: #f7f6ff; }
.nm3-service-list a > span { color: #8069f6; font-size: .72rem; font-weight: 950; }
.nm3-service-list strong { display: block; color: #1b1e2d; font-size: .98rem; }
.nm3-service-list small { display: block; margin-top: 4px; color: #858a9b; font-size: .76rem; }
.nm3-service-list a > b { color: #6d58e8; }

.nm3-steps-section { background: #0d0f18; }
.nm3-section-head-light h2 { color: #fff !important; }
.nm3-section-head-light > p { color: #9ca1b2 !important; }
.nm3-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.nm3-steps article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 23px;
  background: linear-gradient(150deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
}
.nm3-steps article > span { color: #8e79ff; font-size: .72rem; font-weight: 950; }
.nm3-steps h3 { margin: 50px 0 10px; color: #fff !important; font-size: 1.45rem; letter-spacing: -.025em; }
.nm3-steps p { margin: 0; color: #9ca1b2 !important; line-height: 1.65; }

.nm3-cta { padding: 0 0 96px; background: #0d0f18; }
.nm3-cta-card {
  min-height: 235px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 42px 46px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%,rgba(128,105,255,.35),transparent 38%),
    linear-gradient(135deg,#181b2a,#141724);
}
.nm3-cta-card h2 { color: #fff !important; font-size: clamp(2.3rem,4vw,4.5rem); }
.nm3-cta-card p { margin: 10px 0 0; color: #a7acbc !important; }
.nm3-cta-card .btn { flex: none; min-width: 205px; }

@media (max-width: 1100px) {
  .nm3-hero-grid { grid-template-columns: minmax(0,1fr) minmax(390px,.85fr); gap: 34px; }
  .nm3-visual-card { min-height: 510px; }
  .nm3-account-panel { gap: 46px; padding: 44px; }
}
@media (max-width: 900px) {
  .nm3-hero { min-height: auto; padding-top: 118px; }
  .nm3-hero-grid { grid-template-columns: 1fr; }
  .nm3-hero-copy { max-width: 760px; }
  .nm3-hero-visual { max-width: 680px; width: 100%; margin: 8px auto 0; }
  .nm3-section-head { grid-template-columns: 1fr; gap: 18px; }
  .nm3-world-grid { grid-template-columns: 1fr; grid-template-rows: 410px 245px 245px; }
  .nm3-world-main { grid-row: auto; }
  .nm3-account-panel { grid-template-columns: 1fr; }
  .nm3-steps { grid-template-columns: 1fr; }
  .nm3-steps article { min-height: 190px; }
  .nm3-steps h3 { margin-top: 34px; }
}
@media (max-width: 700px) {
  .nm-home-v3 .site-header .header-inner { min-height: 68px; }
  .nm3-hero { padding: 105px 0 55px; }
  .nm3-hero h1 { font-size: clamp(3rem,15vw,4.8rem); }
  .nm3-hero-copy > p { font-size: .96rem; }
  .nm3-actions { display: grid; grid-template-columns: 1fr; }
  .nm3-actions .btn { width: 100%; }
  .nm3-quick-facts { grid-template-columns: 1fr; gap: 14px; }
  .nm3-quick-facts > div { padding: 0 0 14px !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .nm3-quick-facts > div:last-child { padding-bottom: 0 !important; border-bottom: 0; }
  .nm3-visual-card { min-height: 430px; border-radius: 25px; }
  .nm3-visual-characters { width: 116%; bottom: -30px; }
  .nm3-visual-label { left: 14px; right: 14px; bottom: 14px; }
  .nm3-section { padding: 72px 0; }
  .nm3-section-head h2,.nm3-account-copy h2,.nm3-cta-card h2 { font-size: clamp(2.2rem,11vw,3.6rem); }
  .nm3-world-grid { grid-template-rows: 350px 220px 220px; }
  .nm3-world-card > div { left: 20px; right: 20px; bottom: 18px; }
  .nm3-world-card p { font-size: .86rem; }
  .nm3-account-panel { padding: 27px 20px; border-radius: 24px; }
  .nm3-service-list a { grid-template-columns: 38px minmax(0,1fr) 18px; padding-inline: 15px; }
  .nm3-cta { padding-bottom: 72px; }
  .nm3-cta-card { min-height: 0; align-items: flex-start; flex-direction: column; padding: 31px 24px; }
  .nm3-cta-card .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nm3-world-card img,.nm3-service-list a { transition: none !important; }
}
