/* INDEX only. Uses the existing Naipeon emerald, ivory and gold palette. */
#np-reino.home-redesign {
 --ink:#071d18; --forest:#0b291f; --panel:#12382c; --gold:#e9c76a;
 --paper:#f5efdc; --muted:#c7d4c7; --line:#34513e;
 --gutter:clamp(20px,5vw,80px); --content:1160px;
 background:var(--ink); color:var(--paper); font-size:16px; line-height:1.65;
}
#np-reino.home-redesign .top {
 padding:14px var(--gutter); gap:16px; background:#071d18f5;
 border-bottom:1px solid #877444; box-shadow:0 4px 24px #0003;
}
#np-reino.home-redesign .brand {gap:8px;flex-shrink:0}
#np-reino.home-redesign .brand .mark {width:28px;height:38px}
#np-reino.home-redesign .brand .wordmark {width:154px;height:auto}
#np-reino.home-redesign .top nav {gap:10px 20px;font-size:14px}
#np-reino.home-redesign .top nav>a:not(.btn) {min-height:44px;display:inline-flex;align-items:center;position:relative}
#np-reino.home-redesign .top nav>a:not(.btn):after {content:'';position:absolute;bottom:4px;left:0;right:0;height:1px;background:var(--gold);transform:scaleX(0);transition:transform .2s}
#np-reino.home-redesign .top nav>a:hover:after,#np-reino.home-redesign .top nav>a:focus-visible:after {transform:scaleX(1)}
#np-reino.home-redesign .btn {border-radius:5px;min-height:46px;padding:11px 21px;line-height:1.4;font-size:14px;transition:background .2s,border-color .2s,box-shadow .2s}
#np-reino.home-redesign .btn:not(.gold) {background:#071d18b3;border-color:#877444}
#np-reino.home-redesign .btn:hover {border-color:#e9c76a;background:#21513d}
#np-reino.home-redesign .btn.gold {color:#162219;background:linear-gradient(110deg,#f1d789,#c59c3e);box-shadow:0 4px 16px #0004}
#np-reino.home-redesign .btn.gold:hover {background:#f1d789;box-shadow:0 6px 24px #0006}
#np-reino.home-redesign a:focus-visible,#np-reino.home-redesign button:focus-visible,#np-reino.home-redesign summary:focus-visible {outline:3px solid var(--gold);outline-offset:5px}
#np-reino.home-redesign .skip-link {z-index:30}
#np-reino.home-redesign .hero {
 padding:clamp(36px,5.4vw,78px) max(var(--gutter),calc((100vw - 1280px)/2)) 38px;
 min-height:0; background-image:url('/media/naipeon-welcome-scene-v2.jpg');
 background-image:image-set(url('/media/home-redesign/hero.webp') type('image/webp'),url('/media/naipeon-welcome-scene-v2.jpg') type('image/jpeg'));
 background-size:cover;background-position:68% center;border-bottom:1px solid #877444;
}
#np-reino.home-redesign .hero:before {
 background:linear-gradient(90deg,#071d18f5 0%,#071d18d9 28%,#071d1866 58%,#071d1800 82%),linear-gradient(0deg,#071d18e6,transparent 48%);
}
#np-reino.home-redesign .eyebrow {font-size:11px;letter-spacing:2.3px;line-height:1.7;color:var(--gold)}
#np-reino.home-redesign .hero>.eyebrow {display:block;max-width:530px}
#np-reino.home-redesign .hero-brand {margin:26px 0 22px;gap:14px;width:min(100%,370px)}
#np-reino.home-redesign .hero-brand .mark {width:48px;height:68px;flex-shrink:0}
#np-reino.home-redesign .hero-brand .wordmark {width:calc(100% - 62px);height:auto}
#np-reino.home-redesign h1 {font-size:clamp(38px,4.4vw,64px);line-height:1.08;letter-spacing:-1.6px;max-width:650px;margin:0 0 24px;text-wrap:balance}
#np-reino.home-redesign .hero-copy {font-size:17px;line-height:1.7;max-width:460px;margin:12px 0;color:var(--paper)}
#np-reino.home-redesign .hero-copy strong {font-weight:500;color:#f1d789}
#np-reino.home-redesign .hero .actions {margin:24px 0 18px;gap:12px}
#np-reino.home-redesign .age {font-size:12px;line-height:1.55;color:#e9dab0;gap:10px}
#np-reino.home-redesign .age b {flex-shrink:0;border-color:#877444}
#np-reino.home-redesign .section,#np-reino.home-redesign footer {
 padding:48px max(var(--gutter),calc((100vw - var(--content))/2));border-bottom:1px solid var(--line);
}
#np-reino.home-redesign h2 {font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-.5px;margin:10px 0 20px;text-wrap:balance}
#np-reino.home-redesign p {color:var(--muted)}
#np-reino.home-redesign .strategy {display:grid;grid-template-columns:1fr 1.1fr;column-gap:64px;align-items:start;background:linear-gradient(105deg,#12382c,#0b291f);border-top:0;padding-top:32px;padding-bottom:32px}
#np-reino.home-redesign .strategy>.eyebrow {grid-column:1;grid-row:1}
#np-reino.home-redesign .strategy>h2 {grid-column:1;grid-row:2 / span 2;font-size:30px;margin:8px 0 0}
#np-reino.home-redesign .strategy>p {grid-column:2;grid-row:1 / span 2;margin:0 0 14px;font-size:15px;max-width:65ch}
#np-reino.home-redesign .strategy>a {grid-column:2;grid-row:3;font-size:13px;text-underline-offset:4px}
#np-reino.home-redesign #jogos {padding-top:46px;scroll-margin-top:82px}
#np-reino.home-redesign .catalog-intro {max-width:720px;margin-bottom:28px}
#np-reino.home-redesign .catalog-intro p {max-width:630px;margin:0;font-size:16px}
#np-reino.home-redesign .game-list {gap:16px}
#np-reino.home-redesign .game-row {grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:34px;padding:22px;border-radius:10px;background:linear-gradient(110deg,#102e25,#0b231c);border-color:#34513e;position:relative;transition:border-color .2s,box-shadow .2s}
#np-reino.home-redesign .game-row:after {content:'';position:absolute;right:12px;top:12px;width:16px;height:16px;border-right:1px solid #877444;border-top:1px solid #877444;pointer-events:none}
#np-reino.home-redesign .game-row:hover {border-color:#c3a76d;box-shadow:0 8px 26px #0003}
#np-reino.home-redesign .row-image {aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid #34513e;background:#071d18;overflow:hidden}
#np-reino.home-redesign .row-image picture {display:block;width:100%;height:100%}
#np-reino.home-redesign .row-image img {display:block;width:100%;height:100%;max-height:none;object-fit:contain}
#np-reino.home-redesign .row-heading {gap:14px;flex-wrap:nowrap}
#np-reino.home-redesign .row-heading img {width:64px;height:52px;object-fit:contain;flex-shrink:0}
#np-reino.home-redesign .row-heading h3 {font-size:32px;line-height:1.2;margin:2px 0}
#np-reino.home-redesign .row-heading .eyebrow {font-size:10px;letter-spacing:1.6px}
#np-reino.home-redesign .row-copy p {font-size:15px;line-height:1.65;margin:14px 0;max-width:65ch}
#np-reino.home-redesign .row-cta {font-size:13px;min-height:32px;justify-content:space-between;max-width:320px;gap:12px}
#np-reino.home-redesign .row-cta>span {transition:transform .2s}
#np-reino.home-redesign .game-row:hover .row-cta>span {transform:translateX(4px)}
#np-reino.home-redesign #como-jogar {background:#0b291f;scroll-margin-top:82px}
#np-reino.home-redesign .modes {gap:28px;margin:28px 0}
#np-reino.home-redesign .mode {padding:8px 0 8px 20px;border-color:#877444}
#np-reino.home-redesign .mode h3 {font-size:25px;margin:10px 0;line-height:1.25}
#np-reino.home-redesign .mode p {font-size:15px;margin:0}
#np-reino.home-redesign #como-jogar>p {font-size:14px;border-top:1px solid var(--line);padding-top:20px;margin-bottom:0}
#np-reino.home-redesign .section>details {border-bottom:1px solid var(--line);padding:16px 0}
#np-reino.home-redesign summary {font-size:16px;min-height:32px;line-height:1.6;color:#ead599}
#np-reino.home-redesign details p {max-width:85ch;font-size:15px;margin:12px 0}
#np-reino.home-redesign details a {color:var(--gold);text-decoration:underline}
#np-reino.home-redesign .bottom {padding-top:38px;padding-bottom:38px;background:linear-gradient(110deg,#173d2e,#091f19);border-top:1px solid #877444}
#np-reino.home-redesign .bottom h2 {font-size:32px;margin:8px 0 18px}
#np-reino.home-redesign footer {font-size:13px;padding-top:30px;padding-bottom:30px;background:#071d18}
#np-reino.home-redesign footer .links {gap:8px 24px;font-size:13px;margin-bottom:18px}
#np-reino.home-redesign footer a {min-height:36px;display:inline-flex;align-items:center;text-underline-offset:4px}
#np-reino.home-redesign footer a:hover {color:var(--gold);text-decoration:underline}
#np-reino.home-redesign footer p {margin:8px 0}
#np-reino.home-redesign .public-cookies {padding:18px var(--gutter);background:#12382c;border-color:#877444}
#np-reino.home-redesign .public-cookies p {max-width:1000px;line-height:1.6;font-size:14px;color:var(--paper)}
@media(min-width:1100px){
 #np-reino.home-redesign .public-cookies {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 28px}
 #np-reino.home-redesign .public-cookies>button {grid-column:2;grid-row:1 / span 2;align-self:center;margin:0}
}
@media(max-width:900px){
 #np-reino.home-redesign .top {padding:12px 20px;gap:10px;justify-content:center}
 #np-reino.home-redesign .top nav {gap:8px 14px;width:auto;font-size:13px}
 #np-reino.home-redesign .top .btn {padding:9px 14px}
 #np-reino.home-redesign .strategy {column-gap:28px}
 #np-reino.home-redesign .strategy>h2 {font-size:27px}
 #np-reino.home-redesign .game-row {grid-template-columns:30% minmax(0,1fr);gap:24px;padding:20px}
 #np-reino.home-redesign .modes {gap:18px}
}
@media(max-width:650px){
 #np-reino.home-redesign .top {padding:10px 16px 8px;display:grid;grid-template-columns:1fr;gap:8px;justify-items:center}
 #np-reino.home-redesign .brand .mark {width:23px;height:29px}
 #np-reino.home-redesign .brand .wordmark {width:124px}
 #np-reino.home-redesign .top nav {width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px 8px;text-align:center}
 #np-reino.home-redesign .top nav>a:not(.btn) {justify-content:center;min-height:32px;font-size:12px}
 #np-reino.home-redesign .top nav>.btn {min-height:38px;padding:8px 12px;font-size:12px;grid-row:2}
 #np-reino.home-redesign .top nav>.btn:nth-last-child(2) {grid-column:1}
 #np-reino.home-redesign .top nav>.btn:last-child {grid-column:2 / span 2}
 #np-reino.home-redesign .hero {padding:30px 20px 26px;background-position:67% center}
 #np-reino.home-redesign .hero:before {background:linear-gradient(90deg,#071d18ed,#071d1899),linear-gradient(0deg,#071d18,transparent 55%)}
 #np-reino.home-redesign .hero-brand {width:280px;margin:22px 0;gap:12px}
 #np-reino.home-redesign .hero-brand .mark {width:38px;height:52px}
 #np-reino.home-redesign .hero-brand .wordmark {width:calc(100% - 50px)}
 #np-reino.home-redesign h1 {font-size:clamp(35px,9vw,48px);letter-spacing:-.8px;max-width:430px;line-height:1.1;margin-bottom:20px}
 #np-reino.home-redesign .hero-copy {font-size:16px;line-height:1.65;max-width:380px}
 #np-reino.home-redesign .hero .actions {display:grid;grid-template-columns:1fr;margin:22px 0 16px;max-width:350px;gap:10px}
 #np-reino.home-redesign .hero .actions .btn {min-height:46px}
 #np-reino.home-redesign .age {flex-wrap:nowrap;align-items:flex-start;font-size:11px}
 #np-reino.home-redesign .section,#np-reino.home-redesign footer {padding:30px 20px}
 #np-reino.home-redesign .strategy {display:block;padding-top:28px;padding-bottom:28px}
 #np-reino.home-redesign .strategy>h2 {margin:10px 0 16px;font-size:28px}
 #np-reino.home-redesign .strategy>p {font-size:15px;margin-bottom:16px}
 #np-reino.home-redesign #jogos {padding-top:30px;scroll-margin-top:142px}
 #np-reino.home-redesign #como-jogar {scroll-margin-top:142px}
 #np-reino.home-redesign [id] {scroll-margin-top:142px}
 #np-reino.home-redesign .game-row {grid-template-columns:84px minmax(0,1fr);gap:16px;padding:18px 14px;align-items:start}
 #np-reino.home-redesign .row-image {aspect-ratio:1;margin-top:4px}
 #np-reino.home-redesign .row-heading {display:block}
 #np-reino.home-redesign .row-heading img {width:50px;height:40px;margin-bottom:7px}
 #np-reino.home-redesign .row-heading h3 {font-size:27px;margin-top:4px}
 #np-reino.home-redesign .row-copy p {font-size:14px;line-height:1.65;margin:12px 0}
 #np-reino.home-redesign .row-cta {font-size:12px;line-height:1.5;gap:8px}
 #np-reino.home-redesign .row-cta>span {font-size:20px;flex-shrink:0}
 #np-reino.home-redesign .modes {grid-template-columns:1fr;gap:24px;margin:22px 0}
 #np-reino.home-redesign .bottom {display:block}
 #np-reino.home-redesign .bottom .actions {margin-top:22px;display:grid;grid-template-columns:1fr 1fr}
 #np-reino.home-redesign .bottom h2 {font-size:30px}
 #np-reino.home-redesign footer .links {display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}
 #np-reino.home-redesign .public-cookies {padding:14px 20px}
 #np-reino.home-redesign .public-cookies p {font-size:12px}
 #np-reino.home-redesign .public-cookies a {font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 #np-reino.home-redesign *,#np-reino.home-redesign *:after {transition:none!important;animation:none!important}
}
#np-reino.home-redesign .brand .mark,#np-reino.home-redesign .hero-brand .mark {object-fit:contain}
@media(max-width:650px){
 #np-reino.home-redesign .game-row {row-gap:10px}
 #np-reino.home-redesign .row-copy {display:contents}
 #np-reino.home-redesign .row-copy p {grid-column:1 / -1;margin:0}
 #np-reino.home-redesign .row-cta {grid-column:1 / -1;max-width:none;margin-top:4px}
}
