/* NEERMAI Games hub and the home-page card (2.18.0). Developed by the NEERMAI team. */
.ngm-hub { max-width: 1100px; margin: 0 auto; padding: 14px 16px 28px; display: grid; gap: 16px; box-sizing: border-box; }
.ngm-hero h1 { margin: 2px 0 6px; font: 600 clamp(26px, 6vw, 38px)/1.15 var(--ft); }
.ngm-hero p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.55; max-width: 640px; }
.ngm-hero .ngm-kick { font: 700 12px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--a); margin-bottom: 6px; }
.ngm-feature, .ngm-home { position: relative; display: grid; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; background: #1d1a22; box-shadow: var(--shadow); isolation: isolate; min-height: 240px; }
.ngm-art { position: absolute; inset: 0; z-index: 0; }
.ngm-art svg { width: 100%; height: 100%; display: block; }
.ngm-ft { position: relative; z-index: 1; color: #fff; align-self: end; display: grid; gap: 6px; padding: 60px 20px 20px; background: linear-gradient(rgba(12,10,16,0) 0%, rgba(12,10,16,.25) 35%, rgba(12,10,16,.82) 100%); }
.ngm-ft i { font: 700 11.5px/1 var(--f); font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ngm-ft b { font: 600 clamp(24px, 6vw, 34px)/1.1 var(--ft); }
.ngm-ft span { font-size: 15px; line-height: 1.5; opacity: .92; max-width: 520px; }
.ngm-ft em { justify-self: start; font: 700 14.5px/1 var(--f); font-style: normal; padding: 13px 20px; border-radius: 14px; background: #fff; color: var(--a-deep, #5E2338); margin-top: 6px; }
.ngm-feature:hover em, .ngm-home:hover em { background: #fff6ea; }
@media (min-width: 800px) { .ngm-feature { min-height: 380px; } .ngm-ft { padding: 80px 32px 32px; } }
.ngm-more { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ngm-card { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.ngm-card i { font: 700 11px/1 var(--f); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--a); }
.ngm-card b { font: 600 18px/1.3 var(--ft); }
.ngm-card span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ngm-card.is-soon { border-style: dashed; background: transparent; }
.ngm-home { margin: 18px 0 22px; min-height: 210px; }
@media (min-width: 800px) { .ngm-home { min-height: 260px; } }
