body[data-page="home"] {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 48, 69, .14), transparent 28rem),
        linear-gradient(180deg, #06070a 0%, #08090D 62%, #050508 100%);
}

body[data-page="home"] .site-header {
    background: linear-gradient(180deg, rgba(5,5,8,.92), rgba(10,10,14,.82));
}

.nso-cinematic-home {
    position: relative;
    isolation: isolate;
    padding-bottom: 64px;
    color: var(--text);
    background: linear-gradient(180deg, transparent 0%, rgba(5,5,8,.54) 50%, #050508 100%);
}

.nso-cinematic-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 48, 69, .12), transparent 18rem),
        linear-gradient(180deg, rgba(5,5,8,0) 0%, rgba(5,5,8,.18) 46%, rgba(5,5,8,.96) 100%);
    pointer-events: none;
}

.nso-landing {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    padding: calc(var(--header-h) + 84px) 0 0;
}

.nso-landing__backdrop,
.nso-landing__rain,
.nso-landing__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nso-landing__backdrop {
    background: url('/assets/images/nso-home-akatsuki-bg.png') center top / cover no-repeat;
    transform: scale(1.015);
}

.nso-landing__rain {
    opacity: .28;
    background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.07) 0 2px, transparent 2px 44px);
    mix-blend-mode: screen;
    animation: nso-rain 18s linear infinite;
}

.nso-landing__veil {
    background:
        linear-gradient(180deg, rgba(5,5,8,.18) 0%, rgba(5,5,8,0) 22%, rgba(5,5,8,.22) 46%, rgba(5,5,8,.82) 76%, #050508 100%),
        radial-gradient(circle at 50% 54%, rgba(255,48,69,.08), transparent 20rem),
        linear-gradient(90deg, rgba(5,5,8,.3), rgba(5,5,8,0) 32%, rgba(5,5,8,.18) 65%, rgba(5,5,8,.36));
}

.nso-landing__inner {
    position: relative;
    z-index: 1;
    max-width: 1340px;
}

.nso-landing__center {
    max-width: 720px;
    margin: 400px auto 0;
    text-align: center;
}

.nso-landing h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 2.75vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #F4F5F7;
    text-shadow: 0 3px 14px rgba(0,0,0,.75);
}

.nso-landing__center > p {
    max-width: 620px;
    margin: 0 auto;
    color: #E3E5EA;
    font-size: 1.12rem;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0,0,0,.75);
}

.nso-landing__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 24px auto 0;
}

.nso-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 64px;
    min-width: 300px;
    padding: 12px 28px;
    border: 1px solid rgba(228, 37, 53, .58);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.24);
    transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.nso-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.38), 0 0 24px rgba(255,48,69,.18);
}

.nso-action__icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.nso-action__icon--play {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(237,238,242,.85);
    border-radius: 999px;
    padding-left: 3px;
}

.nso-action strong,
.nso-action small {
    display: block;
    text-align: left;
}

.nso-action strong {
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.nso-action small {
    margin-top: 2px;
    font-size: .8rem;
    color: #f0dfe2;
}

.nso-action--red {
    background: linear-gradient(135deg, rgba(181, 9, 34, .95), rgba(228, 37, 53, .96) 65%, rgba(255, 48, 69, .84));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(255,48,69,.15), 0 14px 26px rgba(181,9,34,.28);
}

.nso-action--outline {
    background: linear-gradient(180deg, rgba(8,9,13,.88), rgba(10,10,14,.88));
}

.nso-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(228,37,53,.34);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(9,10,15,.9), rgba(5,5,8,.95));
    box-shadow: 0 18px 32px rgba(0,0,0,.34);
}

.nso-highlights a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px 22px;
    transition: background .2s ease;
}

.nso-highlights a + a {
    border-left: 1px solid rgba(255,255,255,.08);
}

.nso-highlights__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff3045;
    background: radial-gradient(circle at 50% 50%, rgba(228,37,53,.18), transparent 65%);
}

.nso-highlights strong,
.nso-highlights small {
    display: block;
}

.nso-highlights strong {
    color: #fff;
    font-size: 1rem;
}

.nso-highlights small {
    margin-top: 4px;
    color: #C0C3CB;
    line-height: 1.45;
    font-size: .86rem;
}

.nso-highlights a:hover {
    background: rgba(181,9,34,.12);
}

.nso-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 20px;
    max-width: 1340px;
}

.nso-panel {
    border: 1px solid rgba(228,37,53,.38);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12,13,18,.94), rgba(7,8,11,.96));
    box-shadow: 0 18px 40px rgba(0,0,0,.44);
    overflow: hidden;
}

.nso-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(228,37,53,.22);
}

.nso-panel__header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.2rem;
    color: #F2F3F5;
}

.nso-panel__header-icon {
    width: 20px;
    height: 20px;
    color: #FF3045;
}

.nso-panel__header a {
    color: #ff6d78;
    font-size: .85rem;
    font-weight: 700;
}

.nso-updates {
    padding: 8px 16px 10px;
}

.nso-update {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.nso-update:last-child {
    border-bottom: 0;
}

.nso-update__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228,37,53,.28);
    border-radius: 12px;
    color: #FF3045;
    background: linear-gradient(135deg, rgba(181,9,34,.22), rgba(23,25,31,.7));
}

.nso-update__content strong,
.nso-update__content small {
    display: block;
}

.nso-update__content strong {
    color: #F3F4F6;
    font-size: 1rem;
}

.nso-update__content small {
    margin-top: 4px;
    color: #BEC2CB;
    font-size: .86rem;
    line-height: 1.4;
}

.nso-update__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: #BFC2C9;
    font-size: .82rem;
}

.nso-tag {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(181,9,34,.28);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.nso-tag--muted {
    background: rgba(165,166,174,.24);
}

.nso-tag--new {
    background: rgba(255,48,69,.32);
}

.nso-panel--video {
    padding: 10px;
}

.nso-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #050508;
}

.nso-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.nso-video__play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(237,238,242,.9);
    border-radius: 999px;
    color: #fff;
    background: rgba(8,9,13,.34);
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

.nso-video__play svg {
    width: 36px;
    height: 36px;
    margin-left: 4px;
}

.nso-video__footer {
    padding: 10px 6px 4px;
    color: #ECEEF2;
    font-size: .84rem;
    font-weight: 700;
}

.nso-video__footer span {
    color: #FF3045;
    margin-right: 6px;
}

.nso-ranking-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    min-height: 245px;
    padding: 24px 16px 12px;
}

.nso-ranking-empty {
    align-self: center;
    text-align: center;
    color: var(--text-muted);
}

.nso-podium-place {
    width: 32%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.nso-podium-medal {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid #9da3af;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f3340, #11141b);
    color: #d9dde3;
    font-size: 1.2rem;
    font-weight: 900;
}

/* Arquivo composto a partir do cliente: sem interpolação para preservar pixel-art. */
.nso-podium-sprite-frame {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 104px;
    overflow: visible;
}
.nso-podium-sprite {
    display: block;
    max-width: min(100%, 112px);
    max-height: 104px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    image-rendering: pixelated;
}
.nso-podium-place--1 .nso-podium-sprite-frame { height: 122px; }
.nso-podium-place--1 .nso-podium-sprite { max-height: 122px; }
@media (max-width: 400px) {
    .nso-podium-sprite-frame { height: 85px; }
    .nso-podium-sprite { max-height: 85px; }
    .nso-podium-place--1 .nso-podium-sprite-frame { height: 100px; }
    .nso-podium-place--1 .nso-podium-sprite { max-height: 100px; }
}

.nso-podium-place strong {
    min-height: 34px;
    color: #F2F3F5;
    font-size: .92rem;
    overflow-wrap: anywhere;
}

.nso-podium-step {
    display: grid;
    place-items: center;
    width: 100%;
    height: 44px;
    background: linear-gradient(180deg, #4a4f5d, #141821);
    border-top: 2px solid #aeb4bf;
    border-radius: 10px 10px 0 0;
    color: #f3f4f6;
    font-size: 1.35rem;
    font-weight: 900;
}

.nso-podium-place--1 .nso-podium-medal {
    width: 64px;
    height: 64px;
    border-color: #C6A365;
    color: #ffd77d;
    box-shadow: 0 0 24px rgba(198,163,101,.22);
}

.nso-podium-place--1 .nso-podium-step {
    height: 68px;
    background: linear-gradient(180deg, #7a5214, #23190b);
    border-top-color: #C6A365;
    color: #ffd77d;
}

.nso-podium-place--3 .nso-podium-medal {
    border-color: #b56b47;
    color: #f4ab84;
}

.nso-podium-place--3 .nso-podium-step {
    height: 34px;
    background: linear-gradient(180deg, #5b3224, #180f0b);
    border-top-color: #b56b47;
    color: #f0a47b;
}

.nso-ranking-footer {
    padding: 12px 10px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
    text-align: center;
    font-size: .84rem;
}

.nso-community {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 940px;
    margin-top: 30px;
    padding: 22px 28px;
    border: 1px solid rgba(228,37,53,.48);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12,13,18,.94), rgba(7,8,11,.94));
    box-shadow: 0 16px 34px rgba(0,0,0,.34);
}

.nso-community__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #7e8bff;
}

.nso-community h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.12rem;
}

.nso-community p {
    margin: 0;
    color: #CDD0D7;
    font-size: .92rem;
}

.nso-community__button {
    margin-left: auto;
    min-width: 220px;
}

@keyframes nso-rain {
    to {
        transform: translate3d(-4%, 12%, 0);
    }
}

@media (max-width: 1180px) {
    .nso-showcase {
        grid-template-columns: 1fr 1.1fr;
    }

    .nso-panel--ranking {
        grid-column: 1 / -1;
    }

    .nso-landing__center {
        margin-top: 360px;
    }
}

@media (max-width: 920px) {
    .nso-landing {
        min-height: 700px;
        padding-top: calc(var(--header-h) + 72px);
    }

    .nso-landing__center {
        margin-top: 268px;
    }

    .nso-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nso-highlights a:nth-child(3),
    .nso-highlights a:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .nso-highlights a:nth-child(3) {
        border-left: 0;
    }

    .nso-showcase {
        grid-template-columns: 1fr;
    }

    .nso-panel--ranking {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .nso-landing {
        min-height: 620px;
        padding-top: calc(var(--header-h) + 56px);
    }

    .nso-landing__backdrop {
        background-position: center top;
    }

    .nso-landing__center {
        margin-top: 220px;
    }

    .nso-landing h1 {
        font-size: 1.45rem;
    }

    .nso-landing__center > p {
        font-size: .96rem;
    }

    .nso-landing__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nso-action {
        min-width: 0;
        width: 100%;
    }

    .nso-highlights {
        grid-template-columns: 1fr;
    }

    .nso-highlights a + a {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .nso-update {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
    }

    .nso-update__meta {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nso-video__play {
        width: 68px;
        height: 68px;
    }

    .nso-community {
        flex-wrap: wrap;
        padding: 20px;
    }

    .nso-community__button {
        width: 100%;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nso-landing__rain {
        animation: none;
    }
}

/* Fase 04 — assets originais da identidade Akatsuki */
.nso-highlights__icon img { width: 52px; height: 52px; object-fit: contain; max-width: none; }
.nso-update__icon img { width: 52px; height: 52px; object-fit: contain; }
.nso-panel__header-icon:has(img) { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.nso-panel__header-icon img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 640px) { .nso-highlights__icon img { width: 42px; height: 42px; } }

