/* RustMods V5.1 — Resources cards */
.rm5-resources-page{min-height:calc(100vh - var(--rm5-topbar-h))}
.rm5-resources-hero{padding:30px;background:radial-gradient(circle at 83% 24%,rgba(232,66,134,.08),transparent 24%),linear-gradient(135deg,#2b2645,#221e38);border-bottom:1px solid #393351}
.rm5-resources-hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:26px}
.rm5-resources-kicker{color:var(--rm5-pink);font-size:8px;font-weight:900;letter-spacing:1.2px}
.rm5-resources-hero h1{margin:5px 0 0;color:#f4f1f6;font-size:36px;line-height:1;font-weight:950}
.rm5-resources-hero p{max-width:650px;margin:12px 0 0;color:#8d879d;font-size:10px;line-height:1.6}
.rm5-resources-hero-meta{display:flex;gap:8px}
.rm5-resources-hero-meta>div{min-width:98px;padding:10px 12px;background:rgba(24,21,43,.45);border:1px solid #413a5c;border-radius:8px}
.rm5-resources-hero-meta strong{display:block;color:#f1edf4;font-size:15px;font-weight:950}
.rm5-resources-hero-meta span{display:block;margin-top:2px;color:#746e84;font-size:7px;font-weight:800}

.rm5-resources-content{padding:22px 30px 50px}
.rv-growth-offer{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    margin-bottom:14px;
    padding:18px;
    border:1px solid #3d3858;
    border-radius:12px;
    background:
        radial-gradient(circle at 88% 34%,rgba(255,116,56,.12),transparent 26%),
        linear-gradient(135deg,#211d38,#19162b);
}
.rv-growth-offer span{
    color:var(--rm5-pink);
    font-size:8px;
    font-weight:950;
    letter-spacing:1.2px;
}
.rv-growth-offer h2{
    max-width:680px;
    margin:7px 0 0;
    color:#fff;
    font-size:22px;
    line-height:1.14;
}
.rv-growth-offer p{
    max-width:760px;
    margin:8px 0 0;
    color:#9e97a8;
    font-size:11px;
    line-height:1.6;
}
.rv-growth-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
}
.rv-growth-actions a{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    padding:0 13px;
    border:1px solid #443d61;
    border-radius:8px;
    background:#28233d;
    color:#fff;
    text-decoration:none;
    font-size:9px;
    font-weight:900;
}
.rv-growth-actions a:first-child{
    border-color:#f1773b;
    background:#e8662a;
}
.rv-starter-pack{
    display:grid;
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
    gap:12px;
    margin-bottom:16px;
    padding:18px;
    border:1px solid rgba(255,126,69,.24);
    border-radius:12px;
    background:linear-gradient(135deg,#241b33,#171426);
}
.rv-starter-copy{
    display:flex;
    min-height:100%;
    flex-direction:column;
}
.rv-starter-copy span{
    color:var(--rm5-pink);
    font-size:8px;
    font-weight:950;
    letter-spacing:1.2px;
}
.rv-starter-copy h2{
    max-width:650px;
    margin:8px 0 0;
    color:#fff;
    font-size:25px;
    line-height:1.12;
}
.rv-starter-copy p{
    max-width:720px;
    margin:10px 0 0;
    color:#a49cac;
    font-size:11px;
    line-height:1.65;
}
.rv-starter-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:auto;
    padding-top:16px;
}
.rv-starter-actions a{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border:1px solid #443d61;
    border-radius:8px;
    background:#28233d;
    color:#fff;
    text-decoration:none;
    font-size:9px;
    font-weight:950;
}
.rv-starter-actions a:first-child{
    border-color:#f1773b;
    background:#e8662a;
}
.rv-starter-resources{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}
.rv-starter-resources a{
    display:flex;
    min-height:156px;
    flex-direction:column;
    padding:14px;
    border:1px solid #39324d;
    border-radius:10px;
    background:#181529;
    color:inherit;
    text-decoration:none;
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.rv-starter-resources a:hover{
    transform:translateY(-2px);
    border-color:#594c70;
    background:#201b33;
}
.rv-starter-resources span{
    display:grid;
    width:30px;
    height:30px;
    place-items:center;
    border:1px solid rgba(103,239,154,.22);
    border-radius:8px;
    background:rgba(103,239,154,.08);
    color:#67ef9a;
    font-size:9px;
    font-weight:950;
}
.rv-starter-resources strong{
    margin-top:13px;
    color:#fff;
    font-size:14px;
    line-height:1.18;
}
.rv-starter-resources small{
    margin-top:auto;
    padding-top:14px;
    color:#ff8f58;
    font-size:8px;
    line-height:1.45;
    word-break:break-all;
}
.rv-starter-flow{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
}
.rv-starter-flow a{
    min-height:34px;
    display:flex;
    align-items:center;
    padding:0 10px;
    border:1px solid #39324d;
    border-radius:8px;
    background:#11101d;
    color:#ff8f58;
    text-decoration:none;
    font-size:9px;
    font-weight:900;
    line-height:1.35;
    word-break:break-all;
}
.rm5-resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rm5-category-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:178px;overflow:hidden;background:linear-gradient(145deg,#292540,#25213b);border:1px solid #3d3858;border-radius:12px;box-shadow:0 12px 28px rgba(6,5,18,.12);transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.rm5-category-card:hover{transform:translateY(-3px);background:linear-gradient(145deg,#302b49,#28243f);border-color:#564d76;box-shadow:0 18px 38px rgba(6,5,18,.20)}

.rm5-category-art{position:relative;overflow:hidden;background:linear-gradient(145deg,#242039,#1d1a30);border-right:1px solid #393451}
.rm5-category-number{position:absolute;top:12px;left:13px;z-index:2;color:#68617d;font-size:7px;font-weight:900}
.rm5-category-icon{position:absolute;top:50%;left:50%;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:linear-gradient(145deg,#342d4e,#27223f);color:var(--rm5-orange-2);border:1px solid #4a4169;border-radius:12px;box-shadow:0 12px 24px rgba(6,5,18,.20);font-size:16px;font-weight:950;transform:translate(-50%,-50%)}
.rm5-category-art-rings i{position:absolute;top:50%;left:50%;border:1px solid rgba(255,255,255,.045);border-radius:50%;transform:translate(-50%,-50%)}
.rm5-category-art-rings i:nth-child(1){width:86px;height:86px}.rm5-category-art-rings i:nth-child(2){width:122px;height:122px}.rm5-category-art-rings i:nth-child(3){width:166px;height:166px}

.rm5-category-plugins .rm5-category-art{background:radial-gradient(circle at 60% 45%,rgba(230,106,44,.18),transparent 32%),linear-gradient(145deg,#28213a,#1d1a30)}
.rm5-category-maps .rm5-category-art{background:radial-gradient(circle at 60% 45%,rgba(71,137,255,.18),transparent 32%),linear-gradient(145deg,#24233f,#1d1a30)}
.rm5-category-configs .rm5-category-art{background:radial-gradient(circle at 60% 45%,rgba(232,66,134,.15),transparent 32%),linear-gradient(145deg,#28203b,#1d1a30)}
.rm5-category-tools .rm5-category-art{background:radial-gradient(circle at 60% 45%,rgba(110,215,130,.14),transparent 32%),linear-gradient(145deg,#22293a,#1d1a30)}
.rm5-category-maps .rm5-category-icon{color:#6ea6ff}.rm5-category-configs .rm5-category-icon{color:#ed5a96}.rm5-category-tools .rm5-category-icon{color:#79dc89}

.rm5-category-body{display:flex;flex-direction:column;padding:17px 18px}
.rm5-category-tag{color:#756f88;font-size:7px;font-weight:900;letter-spacing:1px}
.rm5-category-body h2{margin:7px 0 0;color:#f1edf4;font-size:15px;line-height:1.16;font-weight:900}
.rm5-category-body p{max-width:520px;margin:7px 0 0;color:#807a8f;font-size:8px;line-height:1.55}
.rm5-category-stats{display:flex;gap:7px;margin-top:12px}
.rm5-category-stats>div{min-width:72px;padding:6px 8px;background:#1e1b31;border:1px solid #38334f;border-radius:6px}
.rm5-category-stats strong{display:block;color:#dcd8e2;font-size:10px;font-weight:900}
.rm5-category-stats span{display:block;margin-top:1px;color:#666077;font-size:7px}
.rm5-category-cta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:11px;border-top:1px solid rgba(255,255,255,.055);color:#9b95aa;font-size:8px;font-weight:900}
.rm5-category-cta b{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#312c4b;color:var(--rm5-orange-2);border:1px solid #443d61;border-radius:7px;font-size:11px;transition:transform .15s ease,background .15s ease}
.rm5-category-card:hover .rm5-category-cta{color:#fff}.rm5-category-card:hover .rm5-category-cta b{background:#3a3455;transform:translateX(2px)}

@media(max-width:950px){.rm5-resources-hero{padding:27px 18px 22px}.rm5-resources-content{padding:20px 18px 44px}.rm5-category-card{grid-template-columns:108px minmax(0,1fr);min-height:170px}.rv-starter-pack{grid-template-columns:1fr}.rv-starter-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.rm5-resources-hero-inner{align-items:flex-start;flex-direction:column}.rm5-resources-grid{grid-template-columns:1fr}.rv-growth-offer{grid-template-columns:1fr}.rv-growth-actions{justify-content:flex-start}.rv-starter-resources,.rv-starter-flow{grid-template-columns:1fr}}
@media(max-width:520px){.rm5-resources-hero-meta{width:100%}.rm5-resources-hero-meta>div{flex:1}.rm5-category-card{grid-template-columns:1fr}.rm5-category-art{min-height:92px;border-right:0;border-bottom:1px solid #393451}.rm5-category-body{min-height:176px}}
