/* =========================================================
   RUSTMODS.WIN — BETA V2.1 MODULE OVERRIDE
   Loaded separately to avoid partial/cached stylesheet issues.
   ========================================================= */

/* RESOURCE CARDS */
.rm-resource-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.rm-resource-card {
    position:relative;
    min-height:295px;
    padding:24px;
    background:linear-gradient(145deg,#1c2125,#15191c);
    border:1px solid #30373c;
    border-radius:9px;
}
.rm-resource-card:hover { border-color:#754329; transform:translateY(-3px); }
.rm-resource-index { color:#4e565c; font-size:8px; font-weight:900; }
.rm-resource-icon { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; margin-top:32px; background:rgba(217,106,43,.07); color:#dd7b44; border:1px solid rgba(217,106,43,.18); border-radius:6px; font-weight:900; }
.rm-resource-card h3 { margin:19px 0 0; font-size:16px; }
.rm-resource-card p { margin:9px 0 0; color:#798187; font-size:11px; line-height:1.65; }
.rm-card-link { position:absolute; left:24px; bottom:22px; color:#b8bdc0; font-size:8px; font-weight:900; text-transform:uppercase; }

/* NEW: SERVERS / PARTNERS */
.rm-feature-band { padding:0 0 100px; }
.rm-feature-band-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.rm-feature-band-card {
    min-height:310px;
    padding:36px;
    background:
        radial-gradient(circle at 90% 10%,rgba(217,106,43,.08),transparent 28%),
        linear-gradient(145deg,#1b2024,#131719);
    border:1px solid #30373c;
    border-radius:10px;
}
.rm-feature-band-card>span { color:#e97835; font-size:8px; font-weight:900; letter-spacing:1.8px; }
.rm-feature-band-card h2 { max-width:520px; margin:10px 0 0; font-size:36px; line-height:1.08; }
.rm-feature-band-card p { max-width:620px; color:#828a8f; font-size:12px; line-height:1.75; }
.rm-feature-band-card .rm-btn { margin-top:20px; }

/* ADS */
.rm-ad-demo { padding:0 0 100px; }
.rm-ad-slot {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:28px 32px;
    background:#15191c;
    border:1px dashed #4a352a;
    border-radius:9px;
}
.rm-ad-slot span { color:#af6439; font-size:8px; font-weight:900; letter-spacing:1.6px; }
.rm-ad-slot strong { display:block; margin-top:5px; color:#d7d4cf; font-size:16px; }
.rm-ad-slot p { margin:6px 0 0; color:#717a80; font-size:10px; }
.rm-ad-badge { flex:0 0 auto; padding:8px 10px; background:#1d2226; color:#6f777d; border:1px solid #30373c; border-radius:4px; font-size:8px; font-weight:900; }

/* STORE */
.rm-split-section { padding:115px 0; background:#0d1012; border-top:1px solid #23292d; border-bottom:1px solid #23292d; }
.rm-split-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); align-items:center; gap:90px; }
.rm-split-visual { position:relative; min-height:380px; }
.rm-store-card-back,.rm-store-card-front { position:absolute; width:72%; height:235px; top:50%; left:50%; border-radius:14px; }
.rm-store-card-back { background:#171b1e; border:1px solid #2f363b; transform:translate(-56%,-55%) rotate(-7deg); }
.rm-store-card-front { display:flex; flex-direction:column; justify-content:center; padding:34px; background:radial-gradient(circle at 90% 10%,rgba(217,106,43,.16),transparent 34%),linear-gradient(145deg,#242a2e,#171c1f); border:1px solid #4a352a; transform:translate(-44%,-45%) rotate(5deg); }
.rm-store-card-front span { color:#e97b3e; font-size:8px; font-weight:900; letter-spacing:1.5px; }
.rm-store-card-front strong { margin-top:5px; font-size:42px; line-height:1; }
.rm-store-card-front small { margin-top:12px; color:#757d82; font-size:8px; font-weight:900; }

/* COMMUNITY */
.rm-community-panel {
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    align-items:center;
    gap:70px;
    padding:55px 60px;
    background:radial-gradient(circle at 85% 50%,rgba(217,106,43,.08),transparent 25%),linear-gradient(145deg,#1c2125,#15191c);
    border:1px solid #30373c;
    border-radius:12px;
}
.rm-community-orbit { position:relative; min-height:270px; display:flex; align-items:center; justify-content:center; }
.rm-orbit-ring { position:absolute; border:1px solid rgba(217,106,43,.12); border-radius:50%; }
.rm-orbit-ring-1 { width:220px; height:220px; }
.rm-orbit-ring-2 { width:150px; height:150px; border-color:rgba(255,255,255,.05); }
.rm-orbit-core { display:flex; align-items:center; justify-content:center; width:76px; height:76px; background:#1d2226; color:#e97835; border:1px solid #5e3d2b; border-radius:50%; font-weight:950; }

/* ABOUT */
.rm-about-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:95px; }
.rm-about-points { display:grid; gap:10px; }
.rm-about-points div { display:flex; align-items:center; min-height:76px; gap:16px; padding:16px 18px; background:#171b1e; border:1px solid #2d3438; border-radius:7px; }
.rm-about-points span { display:inline-flex; align-items:center; justify-content:center; width:34px; height:26px; background:rgba(217,106,43,.06); color:#c86d3a; border:1px solid rgba(217,106,43,.14); border-radius:4px; font-size:8px; font-weight:900; }

/* ID */
.rm-id-section { padding:0 0 100px; }
.rm-id-panel { display:grid; grid-template-columns:90px minmax(0,1fr) auto; align-items:center; gap:28px; padding:34px 38px; background:linear-gradient(145deg,#1c2125,#14181b); border:1px solid #30373c; border-radius:10px; }
.rm-id-mark { display:flex; align-items:center; justify-content:center; width:70px; height:70px; background:#20262a; color:#e87535; border:1px solid #5c3a28; border-radius:9px; font-weight:950; }
.rm-id-copy>span { color:#e97835; font-size:8px; font-weight:900; letter-spacing:1.6px; }
.rm-id-copy h2 { font-size:28px; }
.rm-id-copy p { max-width:750px; font-size:11px; }
.rm-coming-soon { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 14px; background:#1e2428; color:#7e878c; border:1px solid #343c41; border-radius:5px; font-size:8px; font-weight:900; text-transform:uppercase; }

/* PAGE HERO */
.rm-page-hero { padding:95px 0 60px; border-bottom:1px solid #23292d; background:radial-gradient(circle at 80% 30%,rgba(217,106,43,.07),transparent 22%),#101315; }
.rm-page-hero h1 { font-size:clamp(46px,6vw,72px); }
.rm-page-hero p { max-width:700px; }

/* MODULE CARDS */
.rm-module-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.rm-module-card { position:relative; min-height:230px; padding:28px; background:linear-gradient(145deg,#1b2024,#15191c); border:1px solid #30373c; border-radius:9px; }
.rm-module-card>span { color:#555e64; font-size:8px; font-weight:900; }
.rm-module-card h3 { margin:36px 0 0; font-size:20px; }
.rm-module-card p { max-width:560px; color:#7e878c; font-size:11px; line-height:1.7; }
.rm-module-tag { position:absolute; left:28px; bottom:24px; color:#b9693b; font-size:8px; font-weight:900; letter-spacing:1px; }

/* ACCOUNT */
.rm-account-page { min-height:calc(100vh - 74px); display:flex; align-items:center; padding:70px 24px; }
.rm-account-shell { width:min(1000px,100%); margin:0 auto; }
.rm-account-card { display:grid; grid-template-columns:310px minmax(0,1fr); overflow:hidden; background:#171b1e; border:1px solid #343b40; border-radius:12px; box-shadow:0 24px 70px rgba(0,0,0,.35); }
.rm-account-side { padding:40px; background:radial-gradient(circle at 20% 10%,rgba(217,106,43,.12),transparent 30%),linear-gradient(145deg,#1d2226,#121619); border-right:1px solid #30373c; }
.rm-account-side span { color:#e97835; font-size:8px; font-weight:900; letter-spacing:1.6px; }
.rm-account-side strong { display:block; margin-top:80px; font-size:32px; line-height:1.05; }
.rm-account-side p { margin-top:12px; color:#6f777d; font-size:10px; }
.rm-account-form-wrap { padding:44px; }
.rm-account-kicker { color:#e97835; font-size:8px; font-weight:900; letter-spacing:1.5px; }
.rm-account-form-wrap h1 { margin:9px 0 0; font-size:36px; }
.rm-account-form-wrap>p { color:#7e878c; font-size:11px; line-height:1.7; }
.rm-account-form { display:grid; gap:14px; margin-top:28px; }
.rm-account-form-grid { grid-template-columns:repeat(2,1fr); }
.rm-account-form label { display:grid; gap:7px; }
.rm-account-form label>span { color:#858d92; font-size:9px; font-weight:800; }
.rm-account-form input,.rm-account-form select { width:100%; height:42px; padding:0 12px; background:#111518; color:#e8e6e1; border:1px solid #30373c; border-radius:5px; outline:none; }
.rm-account-form input:focus,.rm-account-form select:focus { border-color:#d96a2b; }
.rm-check-row { display:flex!important; grid-column:1/-1; align-items:center; gap:8px!important; }
.rm-check-row input { width:16px; height:16px; }
.rm-account-submit { grid-column:1/-1; justify-self:start; border:0; cursor:pointer; }
.rm-account-alt { margin-top:22px; color:#737c82; font-size:10px; }
.rm-account-alt a { color:#e97835; font-weight:800; }

/* ADMIN */
.rm-admin-body { min-height:100vh; }
.rm-admin-shell { display:grid; grid-template-columns:250px minmax(0,1fr); min-height:100vh; }
.rm-admin-sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:28px 20px; background:#0f1214; border-right:1px solid #272d31; }
.rm-admin-label { margin-top:35px; color:#4f575d; font-size:8px; font-weight:900; letter-spacing:1.6px; }
.rm-admin-sidebar nav { display:grid; gap:3px; margin-top:12px; }
.rm-admin-sidebar nav a { padding:10px 11px; color:#858d92; border-radius:5px; font-size:9px; font-weight:800; }
.rm-admin-sidebar nav a:hover { background:#1a1f22; color:#e97835; }
.rm-admin-back { margin-top:auto; color:#697177; font-size:9px; font-weight:800; }
.rm-admin-main { padding:42px; }
.rm-admin-topline { display:flex; justify-content:space-between; gap:20px; }
.rm-admin-topline span { color:#e97835; font-size:8px; font-weight:900; letter-spacing:1.5px; }
.rm-admin-topline h1 { margin:6px 0 0; font-size:36px; }
.rm-admin-topline p { color:#7e878c; font-size:11px; }
.rm-admin-module-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:38px; }
.rm-admin-module { min-height:180px; padding:22px; background:#171b1e; border:1px solid #30373c; border-radius:8px; }
.rm-admin-module span { color:#555e64; font-size:8px; font-weight:900; }
.rm-admin-module strong { display:block; margin-top:30px; font-size:15px; }
.rm-admin-module p { color:#737c82; font-size:10px; line-height:1.6; }

/* FOOTER */
.rm-site-footer { border-top:1px solid #262c30; background:#0a0c0e; }
.rm-footer-inner { display:flex; align-items:center; justify-content:space-between; min-height:130px; gap:30px; }
.rm-footer-logo { font-size:18px; }
.rm-footer-inner p { margin:9px 0 0; color:#596167; font-size:10px; }
.rm-footer-status { display:flex; align-items:center; gap:8px; color:#596167; font-size:8px; font-weight:900; letter-spacing:1.2px; }
.rm-footer-status span { width:6px; height:6px; background:#72b87d; border-radius:50%; }

/* RESPONSIVE */
@media(max-width:1200px){
    .rm-main-nav a{padding:0 7px;font-size:8px}
    .rm-landing-hero-inner{grid-template-columns:1fr 330px;gap:45px}
    .rm-resource-grid{grid-template-columns:repeat(2,1fr)}
    .rm-admin-module-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:980px){
    .rm-main-nav{position:absolute;top:74px;left:24px;right:24px;display:none;flex-direction:column;align-items:stretch;margin:0;padding:10px;background:#15191c;border:1px solid #30373c;border-radius:8px}
    .rm-main-nav.is-open{display:flex}
    .rm-mobile-toggle{display:block}
    .rm-header-actions{margin-left:0}
    .rm-landing-hero-inner,.rm-split-layout,.rm-about-layout{grid-template-columns:1fr}
    .rm-community-panel{grid-template-columns:1fr}
    .rm-feature-band-grid{grid-template-columns:1fr}
    .rm-id-panel{grid-template-columns:70px 1fr}
    .rm-id-action{grid-column:1/-1}
    .rm-account-card{grid-template-columns:1fr}
    .rm-account-side{display:none}
    .rm-admin-shell{grid-template-columns:1fr}
    .rm-admin-sidebar{position:static;height:auto}
    .rm-admin-sidebar nav{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
    .rm-shell{width:min(calc(100% - 30px),var(--rm-shell))}
    .rm-header-inner{min-height:66px;gap:9px}
    .rm-logo{font-size:17px}
    .rm-main-nav{top:66px;left:15px;right:15px}
    .rm-account-button{display:none}
    .rm-landing-hero h1{font-size:48px;letter-spacing:-1.5px}
    .rm-console-stats,.rm-resource-grid,.rm-module-grid,.rm-account-form-grid,.rm-admin-module-grid{grid-template-columns:1fr}
    .rm-section{padding:75px 0}
    .rm-feature-band,.rm-ad-demo{padding-bottom:75px}
    .rm-ad-slot{align-items:flex-start;flex-direction:column}
    .rm-community-panel{padding:34px 24px}
    .rm-id-panel{grid-template-columns:1fr;padding:28px 24px}
    .rm-id-action{grid-column:auto}
    .rm-language-gate{padding:18px}
    .rm-language-panel{padding:32px 24px}
    .rm-language-options{grid-template-columns:1fr}
    .rm-account-page{padding:35px 15px}
    .rm-account-form-wrap{padding:28px 22px}
    .rm-admin-main{padding:26px 18px}
    .rm-admin-sidebar nav{grid-template-columns:1fr 1fr}
    .rm-footer-inner{align-items:flex-start;flex-direction:column;padding:32px 0}
}


/* V2.1 safety overrides */
.rm-resource-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.rm-feature-band-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.rm-split-layout {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 90px !important;
}

.rm-community-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
}

.rm-about-layout {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) !important;
}

.rm-id-panel {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) auto !important;
}

@media (max-width: 1200px) {
    .rm-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .rm-feature-band-grid,
    .rm-split-layout,
    .rm-about-layout,
    .rm-community-panel {
        grid-template-columns: 1fr !important;
    }

    .rm-id-panel {
        grid-template-columns: 70px minmax(0, 1fr) !important;
    }
}

@media (max-width: 650px) {
    .rm-resource-grid {
        grid-template-columns: 1fr !important;
    }

    .rm-id-panel {
        grid-template-columns: 1fr !important;
    }
}
