
/* ==========================================================
   MINECRFTMODS NEW RESOURCES V42
   ========================================================== */

.nr42-page{
    margin:0;
    min-height:100vh;
    background:#05080d;
    color:#f7f8fc;
    font-family:Inter,Arial,sans-serif;
}

.nr42-background{
    position:fixed;
    inset:0;
    z-index:-5;

    background-size:cover;
    background-position:center;

    transform:scale(1.02);
}

.nr42-background::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(5,8,14,.56),
            rgba(5,8,14,.86) 60%,
            #05080d
        );
}

.nr42-wrap{
    width:min(1180px,calc(100% - 34px));
    margin:auto;
}


/* HEADER */

.nr42-header{
    position:sticky;
    top:0;
    z-index:5000;

    background:rgba(5,8,14,.72);

    border-bottom:
        1px solid
        rgba(255,255,255,.075);

    backdrop-filter:
        blur(20px)
        saturate(145%);

    -webkit-backdrop-filter:
        blur(20px)
        saturate(145%);
}

.nr42-header-inner{
    min-height:82px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;
}

.nr42-brand{
    display:flex;
    align-items:center;
    gap:13px;

    color:#fff;
    text-decoration:none;

    font-size:19px;
    font-weight:900;
}

.nr42-brand img{
    width:49px;
    height:49px;

    object-fit:cover;

    border-radius:14px;
}

.nr42-nav{
    display:flex;
    align-items:center;
    gap:5px;
}

.nr42-nav a{
    padding:11px 13px;

    border-radius:12px;

    color:#bdc5d3;

    text-decoration:none;
    font-size:14px;
    font-weight:750;

    transition:.2s ease;
}

.nr42-nav a:hover,
.nr42-nav a.active{
    color:#fff;
    background:rgba(255,255,255,.07);
}


/* DOWNLOAD PAGE */

.nr42-main{
    padding:31px 0 48px;
}

.nr42-back{
    width:52px;
    height:52px;

    display:grid;
    place-items:center;

    margin-bottom:18px;

    color:#fff;
    text-decoration:none;

    font-size:25px;

    border-radius:15px;

    background:
        rgba(12,17,26,.78);

    border:
        1px solid
        rgba(255,255,255,.1);
}

.nr42-hero{
    position:relative;
    overflow:hidden;

    display:grid;

    grid-template-columns:
        215px 1fr;

    gap:31px;

    padding:34px;

    border-radius:29px;

    border:
        1px solid
        rgba(255,255,255,.105);

    background:
        linear-gradient(
            135deg,
            rgba(10,15,24,.95),
            rgba(27,21,44,.90)
        );

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.34);
}

.nr42-hero::before{
    content:"";

    position:absolute;

    width:440px;
    height:440px;

    right:-165px;
    top:-190px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,.25),
            rgba(60,160,255,.06) 45%,
            transparent 70%
        );
}

.nr42-logo{
    position:relative;
    z-index:2;

    width:215px;
    height:215px;

    display:grid;
    place-items:center;

    border-radius:27px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.12);

    box-shadow:
        0 20px 55px
        rgba(0,0,0,.30);
}

.nr42-logo img{
    width:170px;
    height:170px;

    object-fit:contain;

    border-radius:23px;
}

.nr42-content{
    position:relative;
    z-index:2;
}

.nr42-category{
    display:inline-flex;

    padding:8px 12px;

    border-radius:10px;

    color:#c3a5ff;

    font-size:11px;
    font-weight:900;

    letter-spacing:.13em;

    background:
        rgba(145,96,255,.10);

    border:
        1px solid
        rgba(145,96,255,.24);
}

.nr42-content h1{
    margin:16px 0 11px;

    font-size:
        clamp(
            39px,
            5vw,
            67px
        );

    line-height:1;

    letter-spacing:-.045em;
}

.nr42-description{
    max-width:780px;

    margin:0;

    color:#aeb7c7;

    line-height:1.72;

    font-size:17px;
}

.nr42-tags{
    display:flex;
    flex-wrap:wrap;

    gap:8px;

    margin-top:18px;
}

.nr42-tag{
    padding:8px 11px;

    border-radius:10px;

    color:#d7deea;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.09);

    font-size:12px;
    font-weight:800;
}

.nr42-info{
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:11px;

    margin-top:19px;
}

.nr42-info-box{
    padding:15px;

    border-radius:15px;

    background:
        rgba(4,8,14,.50);

    border:
        1px solid
        rgba(255,255,255,.08);
}

.nr42-info-box span{
    display:block;

    margin-bottom:6px;

    color:#838da0;

    font-size:10px;
    font-weight:900;

    letter-spacing:.10em;
}

.nr42-info-box strong{
    font-size:14px;
}

.nr42-download{
    display:flex;

    align-items:center;
    justify-content:center;

    width:100%;

    box-sizing:border-box;

    margin-top:21px;
    padding:20px;

    border-radius:17px;

    color:#fff;

    text-decoration:none;

    font-size:18px;
    font-weight:900;

    background:
        linear-gradient(
            135deg,
            #9c62ff,
            #6b50ea 52%,
            #3faaf5
        );

    box-shadow:
        0 9px 0
        rgba(75,40,170,.35),
        0 20px 42px
        rgba(103,79,229,.23);

    transition:.2s ease;
}

.nr42-download:hover{
    transform:translateY(-3px);
}


/* CONTENT */

.nr42-panel{
    margin-top:21px;
    padding:26px;

    border-radius:24px;

    background:
        rgba(9,13,21,.85);

    border:
        1px solid
        rgba(255,255,255,.09);
}

.nr42-panel h2{
    margin:0 0 11px;
    font-size:27px;
}

.nr42-panel p{
    margin:0;

    color:#abb4c4;

    line-height:1.72;
}


/* SPONSORED */

.nr42-sponsored{
    width:min(900px,100%);

    box-sizing:border-box;

    margin:22px auto;

    padding:10px;

    border-radius:18px;

    background:
        rgba(9,13,21,.73);

    border:
        1px solid
        rgba(255,255,255,.085);
}

.nr42-sponsored-label{
    margin-bottom:8px;

    text-align:center;

    color:#7f899b;

    font-size:10px;
    font-weight:900;

    letter-spacing:.16em;
}


/* RELATED */

.nr42-related{
    margin-top:25px;
}

.nr42-related-head{
    display:flex;
    align-items:end;
    justify-content:space-between;

    gap:15px;

    margin-bottom:15px;
}

.nr42-related-head small{
    color:#9ae56f;

    font-size:11px;
    font-weight:900;

    letter-spacing:.13em;
}

.nr42-related-head h2{
    margin:5px 0 0;
    font-size:29px;
}

.nr42-arrows{
    display:flex;
    gap:8px;
}

.nr42-arrows button{
    width:45px;
    height:45px;

    border-radius:13px;

    border:
        1px solid
        rgba(255,255,255,.10);

    background:
        rgba(10,15,24,.85);

    color:#fff;

    font-size:22px;

    cursor:pointer;
}

.nr42-slider{
    display:flex;
    gap:13px;

    overflow-x:auto;

    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;

    scrollbar-width:none;

    padding-bottom:8px;
}

.nr42-slider::-webkit-scrollbar{
    display:none;
}

.nr42-related-card{
    flex:0 0 295px;

    display:flex;
    align-items:center;

    gap:14px;

    padding:14px;

    scroll-snap-align:start;

    border-radius:18px;

    color:#fff;
    text-decoration:none;

    background:
        rgba(7,11,18,.89);

    border:
        1px solid
        rgba(255,255,255,.085);

    transition:.2s ease;
}

.nr42-related-card:hover{
    transform:translateY(-4px);

    border-color:
        rgba(151,100,255,.34);
}

.nr42-related-card img{
    width:62px;
    height:62px;

    object-fit:contain;

    border-radius:13px;
}

.nr42-related-card strong{
    display:block;
}

.nr42-related-card span{
    display:block;

    margin-top:4px;

    color:#929cac;

    font-size:12px;
}


/* ==========================================================
   SECTIONS ADDED TO EXISTING HOME / CATEGORY PAGES
   ========================================================== */

.nr42-existing-section{
    width:min(1180px,calc(100% - 34px));

    margin:38px auto;

    position:relative;
    z-index:5;
}

.nr42-section-box{
    padding:25px;

    border-radius:27px;

    background:
        linear-gradient(
            145deg,
            rgba(9,14,22,.92),
            rgba(27,21,44,.84)
        );

    border:
        1px solid
        rgba(255,255,255,.09);

    backdrop-filter:blur(18px);
}

.nr42-section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;

    gap:15px;

    margin-bottom:18px;
}

.nr42-section-head small{
    color:#9ce770;

    font-size:11px;
    font-weight:900;

    letter-spacing:.15em;
}

.nr42-section-head h2{
    margin:6px 0 0;

    color:#fff;

    font-size:
        clamp(
            29px,
            4vw,
            44px
        );
}

.nr42-grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:14px;
}

.nr42-resource-card{
    display:grid;

    grid-template-columns:
        95px 1fr;

    gap:15px;

    align-items:center;

    padding:16px;

    border-radius:19px;

    color:#fff;

    text-decoration:none;

    background:
        rgba(7,11,18,.85);

    border:
        1px solid
        rgba(255,255,255,.085);

    transition:.22s ease;
}

.nr42-resource-card:hover{
    transform:
        translateY(-4px);

    border-color:
        rgba(151,101,255,.38);
}

.nr42-resource-card img{
    width:88px;
    height:88px;

    object-fit:contain;

    border-radius:15px;
}

.nr42-resource-card small{
    display:block;

    color:#9ce570;

    font-size:10px;
    font-weight:900;

    letter-spacing:.08em;
}

.nr42-resource-card h3{
    margin:6px 0;

    font-size:20px;
}

.nr42-resource-card p{
    margin:0;

    color:#a8b1c0;

    line-height:1.5;

    font-size:12px;
}


/* USEFUL CATEGORY */

.nr42-category-page{
    padding:42px 0 70px;
}

.nr42-category-hero{
    padding:31px;

    border-radius:27px;

    border:
        1px solid
        rgba(255,255,255,.10);

    background:
        linear-gradient(
            145deg,
            rgba(9,14,22,.94),
            rgba(29,22,47,.86)
        );
}

.nr42-category-hero small{
    color:#9de66f;
    font-weight:900;
    letter-spacing:.14em;
}

.nr42-category-hero h1{
    margin:8px 0 7px;

    font-size:
        clamp(
            45px,
            7vw,
            78px
        );
}

.nr42-category-hero p{
    color:#abb4c3;

    max-width:730px;

    line-height:1.7;
}


/* MOBILE */

@media(max-width:760px){

    .nr42-wrap{
        width:
            calc(100% - 24px);
    }

    .nr42-nav{
        display:none;
    }

    .nr42-header-inner{
        min-height:75px;
    }

    .nr42-hero{
        grid-template-columns:1fr;

        gap:19px;

        padding:
            23px 18px;

        border-radius:23px;
    }

    .nr42-logo{
        width:145px;
        height:145px;
    }

    .nr42-logo img{
        width:118px;
        height:118px;
    }

    .nr42-content h1{
        font-size:
            clamp(
                38px,
                12vw,
                55px
            );
    }

    .nr42-description{
        font-size:15px;
    }

    .nr42-info{
        grid-template-columns:
            repeat(2,1fr);
    }

    .nr42-grid{
        grid-template-columns:1fr;
    }

    .nr42-existing-section{
        width:
            calc(100% - 24px);

        margin:28px auto;
    }

    .nr42-section-box{
        padding:
            18px 14px;
    }

    .nr42-resource-card{
        grid-template-columns:
            78px 1fr;

        padding:13px;
    }

    .nr42-resource-card img{
        width:73px;
        height:73px;
    }

    .nr42-related-card{
        flex-basis:
            calc(100vw - 64px);
    }

}

