/* ================================================================
   RUSTMANIA WAR ROOM — approved 2026 visual system
   ================================================================ */
:root {
    --gold: #f12c35;
    --gold-light: #ff4b53;
    --gold-dark: #7f171d;
    --red: #f12c35;
    --green: #35dc73;
    --panel: #101214;
    --panel-2: #17191c;
    --content: min(1600px, calc(100vw - 40px));
}
body,
body.theme-industrial,
body.theme-industrial:not(.page-home) {
    background-color: #07090a;
    background-image: radial-gradient(circle at 72% 0,rgba(241,44,53,.12),transparent 28%),repeating-linear-gradient(120deg,transparent 0 110px,rgba(255,255,255,.012) 111px,transparent 113px);
}
body.theme-industrial::after,
body.theme-industrial:not(.page-home)::after { opacity: .5; background: linear-gradient(180deg,transparent,#07090a 78%); }
.site-shell { width: var(--content); }
.theme-industrial .site-header,
.theme-industrial.page-home .site-header,
.theme-industrial:not(.page-home) .site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 76px;
    margin-top: 12px;
    grid-template-columns: minmax(220px,290px) 1fr 150px;
    padding: 0;
    overflow: visible;
    border: 1px solid #313438;
    background: rgba(8,10,11,.96);
    box-shadow: 0 16px 42px rgba(0,0,0,.5),inset 0 -2px 0 rgba(241,44,53,.18);
    backdrop-filter: blur(14px);
}
.theme-industrial .brand-mark { display: flex; justify-content: flex-start; padding: 10px 24px; border-right: 1px solid #2d3033; }
.brand-wordmark { width: min(230px,100%); max-height: 54px; object-fit: contain; object-position: left center; }
.theme-industrial .site-nav { justify-content: center; padding: 0; }
.theme-industrial .site-nav a { min-width: 0; padding: 0 clamp(15px,1.7vw,30px); color: #b8bbc0; font-size: 12px; letter-spacing: 1.5px; }
.theme-industrial .site-nav a + a::before { display: none; }
.theme-industrial .site-nav a::after { left: 30%; right: 30%; bottom: 0; height: 3px; background: #f12c35; }
.theme-industrial .site-nav a.active,
.theme-industrial .site-nav a:hover { color: #fff; }
.header-play { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 11px; border: 1px solid #f12c35; color: #fff; background: rgba(241,44,53,.08); text-transform: uppercase; font-size: 12px; font-weight: 950; letter-spacing: 1.2px; transition: background .2s,transform .2s; }
.header-play:hover { background: #f12c35; transform: translateY(-1px); }

.war-hero { position: relative; isolation: isolate; min-height: 690px; margin-top: 18px; overflow: hidden; border: 1px solid #35383c; background: #08090a url("../branding/rustmania/rustmania-war-room-hero-v1.png") center / cover no-repeat; box-shadow: 0 35px 90px rgba(0,0,0,.46); }
.war-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(5,6,7,.97) 0%,rgba(5,6,7,.78) 37%,rgba(5,6,7,.18) 70%,rgba(5,6,7,.08)),linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.12) 70%,rgba(5,6,7,.92)); }
.war-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,#000,transparent 65%); }
.war-hero-copy { width: min(760px,58%); padding: clamp(80px,7vw,115px) 0 190px clamp(36px,5vw,86px); }
.war-hero-copy .eyebrow { color: #a9acb0; }
.war-hero h1 { margin: 0 0 22px; font-size: clamp(62px,6.3vw,112px); line-height: .82; letter-spacing: -2px; text-shadow: 0 8px 32px #000; }
.war-hero h1 span { color: #f12c35; }
.war-hero-copy > p:not(.eyebrow) { max-width: 620px; color: #c4c6c8; font-size: clamp(17px,1.35vw,22px); line-height: 1.55; }
.war-hero .hero-actions { justify-content: flex-start; }
.war-mantra { position: absolute; top: 120px; right: 32px; padding-left: 14px; border-left: 3px solid #f12c35; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 900; line-height: 1.8; letter-spacing: 3px; text-transform: uppercase; }
.war-feature-grid { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid #303337; background: rgba(7,9,10,.93); backdrop-filter: blur(14px); }
.war-feature-grid span { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 13px; color: #d7d9db; border-right: 1px solid #292c2f; font-size: 13px; font-weight: 950; letter-spacing: 1.5px; text-transform: uppercase; }
.war-feature-grid span:last-child { border: 0; }
.war-feature-grid b { width: 36px; height: 36px; display: grid; place-items: center; color: #f12c35; border: 1px solid #4b2226; background: rgba(241,44,53,.06); font-size: 20px; }

.rm-server-section { padding: clamp(72px,7vw,116px) clamp(18px,3vw,48px); }
.war-section-heading { border-bottom: 1px solid #282b2e; padding-bottom: 26px; }
.rm-section-heading h2 { font-size: clamp(42px,4.3vw,72px); letter-spacing: -1px; }
.rm-live-summary { border: 1px solid #303337; border-left: 3px solid #f12c35; background: #0c0e10; }
.rm-live-summary strong { color: #fff; }
.rm-home-server-grid,.page-servers .server-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.theme-industrial .server-card,
.theme-industrial .server-card:nth-child(even) { position: relative; min-height: 0; padding: 0; overflow: hidden; border: 1px solid #383b3f; border-left: 3px solid #f12c35; background: linear-gradient(135deg,#15181a,#090b0c 70%); box-shadow: 0 25px 55px rgba(0,0,0,.34); }
.theme-industrial .server-card::after { content: ""; position: absolute; right: -60px; top: -80px; width: 250px; height: 250px; border: 1px solid rgba(241,44,53,.15); transform: rotate(45deg); pointer-events: none; }
.server-card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px 17px; border-bottom: 1px solid #2d3033; background: rgba(0,0,0,.18); }
.server-card-head p { display: grid; gap: 3px; margin: 0; }
.server-kicker { color: #7f8388; font-size: 10px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; }
.server-card-head p strong { color: #f5f5f3; font-size: clamp(25px,2.1vw,38px); letter-spacing: 1px; }
.server-status-row { color: #bfc2c5; }
.server-name { height: auto; min-height: 58px; margin: 0; padding: 20px 28px 10px; color: #878b90; font-size: 12px !important; line-height: 1.45; letter-spacing: .6px; }
.server-intel { display: grid; grid-template-columns: repeat(4,1fr); padding: 10px 28px 20px; }
.server-intel > div { min-width: 0; padding: 0 14px; border-left: 1px solid #292c2f; }
.server-intel > div:first-child { padding-left: 0; border: 0; }
.server-intel span { display: block; color: #7f8388; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.server-intel strong { display: block; margin-top: 7px; color: #e4e5e6; font-size: 15px; }
.server-intel strong span { display: inline; color: inherit; font-size: inherit; letter-spacing: 0; }
.theme-industrial .server-card .player-bar { height: 5px; margin: 0 28px 23px; background: #292c2f; }
.theme-industrial .server-card .player-bar span { background: #f12c35; }
.server-actions { grid-template-columns: 1.1fr .8fr auto; padding: 0 28px 28px; }
.server-actions .button { min-height: 48px; }
.button-gold,
.theme-industrial .server-actions .button-gold,
.theme-industrial .package-card .button,
.theme-industrial .dialog-purchase .button-gold,
.theme-industrial .admin-form > .button-gold { border-color: #ff3a43; background: linear-gradient(135deg,#b91520,#f12c35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.11),0 12px 30px rgba(241,44,53,.18); }
.button-ghost,.button-outline { border-color: #44484c; background: #101214; }
.war-intel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0 clamp(18px,3vw,48px) clamp(72px,7vw,116px); }
.war-intel-grid article { min-height: 260px; padding: 34px; border: 1px solid #303337; background: linear-gradient(145deg,#131517,#090b0c); box-shadow: inset 3px 0 0 rgba(241,44,53,.75); }
.war-intel-grid h2 { margin: 48px 0 13px; font-size: clamp(25px,2.1vw,36px); }
.war-intel-grid p:not(.eyebrow) { color: #969a9f; line-height: 1.65; }
.war-intel-grid a { color: #f12c35; font-size: 12px; font-weight: 950; letter-spacing: 1px; text-transform: uppercase; }
.theme-industrial .content-band,
.theme-industrial .rules-list article,
.theme-industrial .tebex-trust { border: 1px solid #303337; border-left: 3px solid #f12c35; background: linear-gradient(145deg,#131517,#090b0c); box-shadow: none; }
.theme-industrial:not(.page-home) .page-hero,.theme-industrial .store-hero { background: radial-gradient(circle at 68% 20%,rgba(241,44,53,.14),transparent 33%),linear-gradient(180deg,rgba(7,9,10,.1),rgba(7,9,10,.9)); border-bottom-color: #5b1b20; }
.site-footer { border-color: #303337 !important; background: #090b0c !important; }
.footer-wordmark { width: 150px; height: 50px; object-fit: contain; object-position: left center; }

@media (max-width: 1050px) {
    .theme-industrial .site-header,.theme-industrial.page-home .site-header,.theme-industrial:not(.page-home) .site-header { grid-template-columns: 215px 1fr 125px; }
    .theme-industrial .site-nav a { padding-inline: 12px; font-size: 11px; }
    .war-hero-copy { width: 70%; }
    .war-feature-grid { grid-template-columns: repeat(3,1fr); }
    .war-feature-grid span { min-height: 72px; }
    .war-feature-grid span:nth-child(-n+3) { border-bottom: 1px solid #292c2f; }
    .war-hero { padding-bottom: 72px; }
}
@media (max-width: 760px) {
    :root { --content: min(100%, calc(100vw - 20px)); }
    .theme-industrial .site-header,.theme-industrial.page-home .site-header,.theme-industrial:not(.page-home) .site-header { position: relative; grid-template-columns: 1fr 78px; height: 68px; }
    .theme-industrial .brand-mark { padding: 9px 15px; }
    .brand-wordmark { width: 195px; }
    .header-play { display: none; }
    .nav-toggle { display: block; grid-column: 2; grid-row: 1; margin-right: 12px; color: #fff; border: 1px solid #42464a; background: #111315; }
    .theme-industrial .site-nav { position: absolute; left: 0; right: 0; top: 67px; height: auto; display: none; grid-template-columns: 1fr 1fr; padding: 8px; border: 1px solid #35383b; background: #090b0c; box-shadow: 0 20px 45px #000; }
    .theme-industrial .site-nav.open { display: grid; }
    .theme-industrial .site-nav a { min-height: 52px; }
    .war-hero { min-height: 720px; background-position: 65% center; }
    .war-hero::before { background: linear-gradient(90deg,rgba(5,6,7,.94),rgba(5,6,7,.55)),linear-gradient(180deg,transparent 45%,#060708 76%); }
    .war-hero-copy { width: 100%; padding: 62px 24px 220px; }
    .war-hero h1 { font-size: clamp(52px,14vw,76px); }
    .war-mantra { display: none; }
    .war-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .war-feature-grid span { min-width: 0; min-height: 60px; justify-content: flex-start; padding: 10px 14px; font-size: 11px; }
    .war-feature-grid span:nth-child(-n+4) { border-bottom: 1px solid #292c2f; }
    .war-feature-grid b { width: 29px; height: 29px; font-size: 16px; }
    .rm-home-server-grid,.page-servers .server-grid,.war-intel-grid { grid-template-columns: 1fr; }
    .server-intel { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
    .server-intel > div:nth-child(3) { padding-left: 0; border: 0; }
    .server-actions { grid-template-columns: 1fr; }
    .server-actions .icon-link { min-height: 38px; }
    .war-intel-grid { margin-inline: 0; }
}

/* Final specificity guard against the retired industrial theme assets. */
.theme-industrial.page-home .war-hero .hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.theme-industrial.page-home .war-hero .button-gold,
.theme-industrial.page-home .war-hero .button-ghost,
.theme-industrial .server-card .button-gold,
.theme-industrial .server-card .button-ghost {
    min-width: 0;
    border-image: none;
    clip-path: none;
    filter: none;
}
.theme-industrial.page-home .war-hero .button-gold,
.theme-industrial .server-card .button-gold {
    color: #fff;
    border: 1px solid #ff3a43;
    background: linear-gradient(135deg,#b91520,#f12c35);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1),0 12px 30px rgba(241,44,53,.2);
}
.theme-industrial.page-home .war-hero .button-ghost,
.theme-industrial .server-card .button-ghost { color: #eef0f2; border: 1px solid #42464a; background: #0e1011; }
.theme-industrial.page-home .war-hero .button-ghost { outline: 0; box-shadow: none; }
.theme-industrial.page-home .war-hero .button-large { width: auto; min-width: 220px; min-height: 54px; padding: 12px 24px; }
.theme-industrial.page-home .rm-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding: 46px; }
.theme-industrial.page-home .rm-intro > div { max-width: none; margin: 0; transform: none; }
.theme-industrial.page-home .rm-intro .eyebrow { position: static; display: block; margin: 0 0 12px; padding: 0; color: #f12c35; border: 0; background: none; font-size: 13px; }
.theme-industrial.page-home .rm-intro h2 { position: static; margin: 0; padding: 0; color: #f2f3f3; background: none; -webkit-text-fill-color: currentColor; font-size: clamp(34px,4vw,62px); line-height: .98; text-shadow: none; filter: none; }
.theme-industrial.page-home .rm-intro h2 span { display: block; color: inherit; }
.theme-industrial.page-home .rm-intro h2 span:last-child { color: #f12c35; }
.theme-industrial.page-home .rm-intro h2::after { display: none; }
.theme-industrial.page-home .rm-intro > p { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.theme-industrial.page-home .rm-intro > p::before,.theme-industrial.page-home .rm-intro > p::after { display: none; }
@media (min-width: 761px) { .war-hero { min-height: 610px; } }
@media (max-width: 520px) {
    .theme-industrial.page-home .war-hero .hero-actions { align-items: stretch; flex-direction: column; }
    .theme-industrial.page-home .war-hero .button-large { width: 100%; padding-inline: 12px; font-size: 14px; }
    .war-hero-copy { padding-inline: 18px; }
    .war-hero h1 { max-width: 100%; font-size: clamp(42px,12vw,52px); letter-spacing: -1px; overflow-wrap: anywhere; }
    .war-hero-copy > p:not(.eyebrow) { font-size: 15px; }
    .theme-industrial.page-home .rm-intro { grid-template-columns: 1fr; gap: 26px; padding: 32px 24px; }
}
