/* =========================================================
   NERDAGORA - CATEGORIA MARVEL
========================================================= */

.nerdagora-marvel-page {
    --marvel-purple: #d000ff;
    --marvel-purple-dark: #7400a8;
    --marvel-pink: #ff00d4;
    --marvel-bg: #08080b;
    --marvel-card: #111116;
    --marvel-border: rgba(255,255,255,.08);
    --marvel-text: #f5f5f5;
    --marvel-muted: #9999a6;

    background: var(--marvel-bg);
    color: var(--marvel-text);
    min-height: 100vh;
}


/* =========================================================
   CONTAINER
========================================================= */

.marvel-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.marvel-hero {
    position: relative;
    min-height: 390px;

    background-image:
        var(--marvel-hero-desktop),
        radial-gradient(
            circle at 80% 50%,
            rgba(170, 0, 255, .45),
            transparent 55%
        ),
        linear-gradient(
            110deg,
            #09090c 0%,
            #16091c 50%,
            #360045 100%
        );

    background-size: cover;
    background-position: center;
    overflow: hidden;
}


.marvel-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,5,8,.98) 0%,
            rgba(5,5,8,.80) 38%,
            rgba(5,5,8,.35) 70%,
            rgba(5,5,8,.80) 100%
        );

    pointer-events: none;
}


.marvel-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(220,0,255,.28),
            transparent 40%
        );
}


.marvel-hero-inner {
    position: relative;
    z-index: 2;

    min-height: 390px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding-top: 60px;
    padding-bottom: 60px;
}


.marvel-hero-content {
    max-width: 650px;
}


.marvel-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--marvel-pink);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.marvel-hero h1 {
    margin: 0 0 18px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: .9;

    font-weight: 900;
    letter-spacing: -3px;

    color: #fff;
}


.marvel-hero-content > p {
    max-width: 600px;

    margin: 0;

    color: #c8c8d0;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   STATS
========================================================= */

.marvel-stats {
    display: flex;
    gap: 12px;

    margin-top: 28px;
}


.marvel-stat {
    min-width: 110px;

    padding: 15px 18px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    backdrop-filter: blur(12px);
}


.marvel-stat strong {
    display: block;

    color: #fff;

    font-size: 23px;
    font-weight: 900;
}


.marvel-stat span {
    display: block;

    margin-top: 4px;

    color: #9999a5;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   TOPICS
========================================================= */

.marvel-topic-box {
    width: 330px;

    padding: 26px;

    background: rgba(12,12,16,.78);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 16px;

    backdrop-filter: blur(20px);

    flex-shrink: 0;
}


.marvel-topic-title {
    display: block;

    margin-bottom: 18px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}


.marvel-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}


.marvel-topics a {
    display: inline-flex;

    padding: 9px 14px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 30px;

    color: #ddd;

    font-size: 10px;
    font-weight: 800;
    text-decoration: none;

    transition: .2s ease;
}


.marvel-topics a:hover {
    background: var(--marvel-purple);

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   CONTENT
========================================================= */

.marvel-content-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 280px;

    gap: 32px;

    padding-top: 55px;
    padding-bottom: 70px;
}


.marvel-section {
    margin-bottom: 55px;
}


.marvel-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}


.marvel-section-heading h2 {
    margin: 0;

    padding-left: 13px;

    border-left: 3px solid var(--marvel-pink);

    color: #fff;

    font-size: 15px;
    font-weight: 900;
}


.marvel-section-heading > a {
    color: var(--marvel-pink);

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;
}


/* =========================================================
   DESTAQUES
========================================================= */

.marvel-featured-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 12px;
}


.marvel-featured-card {
    position: relative;

    overflow: hidden;

    min-height: 190px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #281039,
            #15121d
        );

    border: 1px solid var(--marvel-border);
}


.marvel-featured-main {
    grid-row: span 2;

    min-height: 390px;
}


.marvel-card-image {
    position: absolute;
    inset: 0;

    display: block;

    overflow: hidden;
}


.marvel-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .42;

    transition: .4s ease;
}


.marvel-featured-card:hover .marvel-card-image img {
    transform: scale(1.05);
    opacity: .55;
}


.marvel-card-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 24px;

    background:
        linear-gradient(
            0deg,
            rgba(4,4,7,.96),
            rgba(4,4,7,.15)
        );
}


.marvel-category-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--marvel-pink);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.marvel-card-content h3 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.2;
}


.marvel-featured-main h3 {
    font-size: 28px;
}


.marvel-card-content h3 a {
    color: #fff;
    text-decoration: none;
}


.marvel-card-content p {
    margin: 0 0 16px;

    color: #aaaab5;

    font-size: 12px;
    line-height: 1.5;
}


.marvel-post-meta {
    display: flex;
    gap: 15px;

    color: #777782;

    font-size: 9px;
}


/* =========================================================
   FILTROS
========================================================= */

.marvel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


.marvel-filters a {
    padding: 7px 10px;

    border-radius: 6px;

    background: #15151b;

    color: #85858f;

    font-size: 8px;
    font-weight: 900;

    text-decoration: none;
}


.marvel-filters a.active,
.marvel-filters a:hover {
    background: var(--marvel-purple);

    color: #fff;
}


/* =========================================================
   LATEST
========================================================= */

.marvel-latest-list {
    display: flex;
    flex-direction: column;
}


.marvel-latest-card {
    display: grid;

    grid-template-columns: 170px minmax(0, 1fr);

    gap: 18px;

    padding: 15px 0;

    border-bottom: 1px solid rgba(255,255,255,.06);
}


.marvel-latest-image {
    display: block;

    height: 115px;

    overflow: hidden;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #351247,
        #101018
    );
}


.marvel-latest-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .3s ease;
}


.marvel-latest-card:hover img {
    transform: scale(1.04);
}


.marvel-latest-content h3 {
    margin: 0 0 7px;

    font-size: 17px;
    line-height: 1.25;
}


.marvel-latest-content h3 a {
    color: #fff;
    text-decoration: none;
}


.marvel-latest-content p {
    margin: 0 0 10px;

    color: #888894;

    font-size: 11px;
    line-height: 1.5;
}


.marvel-no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--marvel-pink);

    font-size: 35px;
}


/* =========================================================
   CARREGAR MAIS
========================================================= */

.marvel-load-more {
    margin-top: 20px;
}


.marvel-load-more a {
    display: block;

    padding: 13px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 8px;

    color: var(--marvel-pink);

    font-size: 9px;
    font-weight: 900;
    text-align: center;

    text-decoration: none;

    transition: .2s ease;
}


.marvel-load-more a:hover {
    background: var(--marvel-purple);

    color: #fff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.marvel-sidebar {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.marvel-sidebar-box {
    padding: 22px;

    background: #111116;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 14px;
}


.marvel-sidebar-box h2 {
    margin: 0 0 20px;

    color: #fff;

    font-size: 14px;
    line-height: 1.3;
}


.marvel-popular-list {
    display: flex;
    flex-direction: column;
}


.marvel-popular-item {
    display: grid;

    grid-template-columns: 28px 48px minmax(0, 1fr);

    gap: 10px;

    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid rgba(255,255,255,.05);
}


.marvel-popular-number {
    color: #555560;

    font-size: 16px;
    font-weight: 900;
}


.marvel-popular-image {
    width: 48px;
    height: 48px;

    overflow: hidden;

    border-radius: 8px;
}


.marvel-popular-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.marvel-popular-item h3 {
    margin: 0;

    font-size: 10px;
    line-height: 1.3;
}


.marvel-popular-item h3 a {
    color: #ddd;

    text-decoration: none;
}

/* =========================================================
   SIGA NO X
========================================================= */

.marvel-social p {
    margin: 0 0 18px;

    color: #888894;

    font-size: 11px;
    line-height: 1.6;
}


.marvel-x-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;

    padding: 13px 16px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 8px;

    background: #19191f;

    color: #fff;

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;

    transition: .2s ease;
}


.marvel-x-button:hover {
    background: #fff;

    color: #000;

    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 900px) {

    .marvel-content-grid {
        grid-template-columns: 1fr;
    }

    .marvel-sidebar {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

    .marvel-hero-inner {
        gap: 30px;
    }

    .marvel-topic-box {
        width: 290px;
    }

}


@media (max-width: 768px) {

    .marvel-container {
        width: min(100% - 28px, 600px);
    }


    .marvel-hero {

        min-height: 560px;

        background-image:
            var(--marvel-hero-mobile),
            linear-gradient(
                180deg,
                #17091d,
                #09090c
            );

        background-position: center;
        background-size: cover;
    }


    .marvel-hero::after {
        background:
            linear-gradient(
                180deg,
                rgba(5,5,8,.40),
                rgba(5,5,8,.96) 78%
            );
    }


    .marvel-hero-inner {

        min-height: 560px;

        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-end;

        padding-top: 100px;
        padding-bottom: 35px;
    }


    .marvel-hero h1 {
        font-size: 55px;
    }


    .marvel-hero-content > p {
        font-size: 13px;
    }


    .marvel-topic-box {
        width: 100%;
        box-sizing: border-box;
    }


    .marvel-stats {
        gap: 7px;
    }


    .marvel-stat {
        min-width: 0;
        flex: 1;

        padding: 12px;
    }


    .marvel-featured-grid {
        grid-template-columns: 1fr;
    }


    .marvel-featured-main {
        min-height: 340px;

        grid-row: auto;
    }


    .marvel-featured-card {
        min-height: 260px;
    }


    .marvel-featured-main h3 {
        font-size: 23px;
    }


    .marvel-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .marvel-filters {
        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;
    }


    .marvel-filters a {
        white-space: nowrap;
    }


    .marvel-latest-card {
        grid-template-columns: 105px minmax(0, 1fr);

        gap: 12px;
    }


    .marvel-latest-image {
        height: 90px;
    }


    .marvel-latest-content h3 {
        font-size: 14px;
    }


    .marvel-latest-content p {
        display: none;
    }


    .marvel-sidebar {
        display: flex;
    }

}


@media (max-width: 480px) {

    .marvel-hero {
        min-height: 600px;
    }


    .marvel-hero-inner {
        min-height: 600px;
    }


    .marvel-stats {
        width: 100%;
    }


    .marvel-stat strong {
        font-size: 18px;
    }


    .marvel-stat span {
        font-size: 8px;
    }


    .marvel-topic-box {
        padding: 18px;
    }


    .marvel-topics a {
        padding: 8px 10px;

        font-size: 8px;
    }

}