/* BIW Epic Warfare 2.3 - safe static stylesheet */
body.theme-biw-epic{background:radial-gradient(ellipse at 0 42%,#193251 0%,transparent 43%),radial-gradient(ellipse at 100% 46%,#482014 0%,transparent 45%),#050b14;color:#dce6f0;font-family:system-ui,Segoe UI,sans-serif}
body.theme-biw-epic header{background:linear-gradient(#090f1b,#050a12);border-bottom:2px solid #d18a29;box-shadow:0 3px 22px #d9782280;padding:9px max(3vw,16px)}
body.theme-biw-epic .brand{font-family:Georgia,serif;font-size:29px;color:#f6c46f;text-shadow:0 2px 9px #a96722}
body.theme-biw-epic .brand small{color:#e4b66e;letter-spacing:1px}
body.theme-biw-epic nav{gap:clamp(8px,1.6vw,28px);flex-wrap:wrap}
body.theme-biw-epic nav a{font-weight:750;text-decoration:none;color:#d6dce4;padding:10px 7px;border-bottom:2px solid transparent}
body.theme-biw-epic nav a:hover{color:#ffbd59;border-bottom-color:#ffab35;text-shadow:0 0 10px #ff9d40}
body.theme-biw-epic main{max-width:1350px;padding:0 18px 36px}
body.theme-biw-epic .epic-banner{height:clamp(190px,23vw,305px);margin:0 -18px;background-color:#101a27;background-position:center;background-size:cover;box-shadow:0 13px 28px #000c;border-bottom:3px solid #d68a31}
body.theme-biw-epic .epic-ribbon{text-align:center;letter-spacing:clamp(1px,.6vw,6px);font-weight:800;color:#f5bb65;padding:14px 10px;background:linear-gradient(90deg,#0b1525,#172333,#0c111b);border:1px solid #815422;box-shadow:0 0 17px #f7953544;margin:0 -4px 14px}
body.theme-biw-epic .epic-grid{display:grid;grid-template-columns:minmax(195px,1fr) minmax(340px,2.55fr) minmax(195px,1fr);gap:16px}
body.theme-biw-epic .epic-col{min-width:0}
body.theme-biw-epic .panel{margin:0 0 15px;padding:16px 17px;background:linear-gradient(150deg,#13263b,#07111f 75%);border:1px solid #825021;border-radius:10px;box-shadow:0 0 0 2px #050c16,0 0 18px #df792126}
body.theme-biw-epic h1,body.theme-biw-epic h2{color:#ffb954}
body.theme-biw-epic .panel h2{font-size:16px;text-transform:uppercase;border-bottom:1px solid #7d4d22;padding-bottom:11px;margin:0 0 13px;letter-spacing:.3px}
body.theme-biw-epic .epic-feature{min-height:185px;padding:24px;background:linear-gradient(90deg,#071324ed,#0b1d2c9c),linear-gradient(120deg,#102c4b,#0d1826);position:relative;overflow:hidden}
body.theme-biw-epic .epic-feature .eyebrow{background:#c36b22;color:#fff;padding:5px 10px;border-radius:5px;font-size:12px;font-weight:900}
body.theme-biw-epic .epic-feature h1{font-size:clamp(22px,2.7vw,33px);color:white;margin:17px 0 6px}
body.theme-biw-epic .epic-feature p{max-width:480px;font-size:14px}
body.theme-biw-epic .epic-feature a,body.theme-biw-epic .epic-link{display:inline-block;background:linear-gradient(#51300f,#1c1510);border:1px solid #c58432;border-radius:6px;padding:9px 15px;color:#ffcf8a;text-decoration:none;font-weight:700;box-shadow:0 0 12px #db85204d}
body.theme-biw-epic .epic-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 15px}
body.theme-biw-epic .epic-quick a{padding:18px 5px;text-align:center;text-decoration:none;color:#f8c175;background:linear-gradient(140deg,#112d4b,#071322);border:1px solid #40618a;border-radius:8px;font-weight:800}
body.theme-biw-epic .epic-quick small{display:block;font-size:11px;color:#c3d3e3;font-weight:400;margin-top:6px}
body.theme-biw-epic .epic-row{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #ffffff1a;padding:10px 0;font-size:13px}
body.theme-biw-epic .epic-muted{color:#98aabc;font-size:12px}
body.theme-biw-epic .epic-dot{display:inline-block;width:9px;height:9px;background:#77818e;border-radius:50%;margin-right:7px}
body.theme-biw-epic .epic-note{font-size:12px;color:#c3a67d;margin:10px 0 0}
body.theme-biw-epic footer{background:#050b13;border-top:2px solid #a66d2a;color:#9da9b8}
body.theme-biw-epic .theme-swatch.theme-biw-epic{background:linear-gradient(110deg,#0b2748,#b17828,#38140b)}
@media(max-width:1000px){body.theme-biw-epic .epic-grid{grid-template-columns:1fr 2fr}body.theme-biw-epic .epic-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}}
@media(max-width:670px){body.theme-biw-epic .epic-grid{display:block}body.theme-biw-epic .epic-right{display:block}body.theme-biw-epic .epic-quick{grid-template-columns:repeat(2,1fr)}body.theme-biw-epic .epic-ribbon{font-size:12px}body.theme-biw-epic header{justify-content:center}}

/* BIW Epic Warfare 2.3.1 — visual refinement, FTP update (not ZIP installer) */
body.theme-biw-epic{background:#050b14 url('images/epic-atmosphere.webp') center 50px / 100% auto no-repeat;background-attachment:fixed;color:#e7ebf1;font-size:15px}
body.theme-biw-epic::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(3,9,17,.16),rgba(3,8,16,.58) 21%,rgba(3,8,16,.65) 78%,rgba(3,9,17,.18)),linear-gradient(0deg,#040913 0%,transparent 30%)}
body.theme-biw-epic header{position:relative;z-index:2;padding:8px clamp(14px,5.2vw,105px);background:linear-gradient(180deg,#080e18 0%,#0d1724 55%,#050a12 100%);border-bottom:2px solid #e49b35;box-shadow:0 3px 17px #f78a355c}
body.theme-biw-epic .brand{font-size:clamp(24px,2.2vw,34px);line-height:1.05}
body.theme-biw-epic nav a{font-size:13px;letter-spacing:.2px;padding:12px 9px;transition:color .18s,box-shadow .18s}
body.theme-biw-epic nav a:first-child{color:#ffbc56;border-bottom-color:#e8a33b;box-shadow:inset 0 -9px 14px -14px #ff9b29}
body.theme-biw-epic main{max-width:1530px;width:min(96%,1530px);padding:0 12px 52px;min-height:70vh}
body.theme-biw-epic .epic-banner{height:clamp(220px,22vw,360px);margin:0 -12px;background-size:cover;background-position:center 49%;border-bottom:3px solid #e5a24a;box-shadow:0 10px 35px #000c,0 3px 17px #f790334f}
body.theme-biw-epic .epic-ribbon{margin:0 0 18px;padding:13px 8px;background:linear-gradient(90deg,#0b1424 0%,#192335 25%,#101a29 55%,#1b1720 75%,#0a101a 100%);border:1px solid #ad6a2b;border-top:0;box-shadow:inset 0 1px 0 #f7b96a48,0 0 23px #ff812e47;letter-spacing:clamp(2px,.55vw,8px)}
body.theme-biw-epic .epic-grid{grid-template-columns:minmax(225px,1.06fr) minmax(420px,2.8fr) minmax(225px,1.06fr);gap:17px}
body.theme-biw-epic .panel{background:linear-gradient(155deg,rgba(17,37,60,.98),rgba(5,13,24,.97) 73%);border:1px solid #a16a36;border-radius:10px;box-shadow:inset 0 1px 0 #d9a26324,inset 0 0 0 2px #081322,0 5px 18px #000b,0 0 18px #d7742521;padding:19px 20px;margin-bottom:17px}
body.theme-biw-epic .panel h2{font-size:15px;color:#ffbc60;border-bottom:1px solid #a46c31;padding-bottom:12px;text-shadow:0 0 9px #a9662852}
body.theme-biw-epic .epic-feature{min-height:260px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:linear-gradient(90deg,rgba(4,13,26,.98) 0%,rgba(4,15,29,.84) 48%,rgba(5,15,27,.18) 100%),url('images/shadowfall-feature.webp') center / cover no-repeat;border-color:#587391;padding:26px 29px}
body.theme-biw-epic .epic-feature h1{font-size:clamp(25px,2.35vw,39px);line-height:1.16;margin:15px 0 7px;color:#fff;text-shadow:0 3px 9px #000}
body.theme-biw-epic .epic-feature p{font-size:14px;line-height:1.55;max-width:430px;text-shadow:0 2px 4px #000}
body.theme-biw-epic .epic-feature .eyebrow{background:linear-gradient(#f8a541,#a95717);box-shadow:0 0 12px #ec832c7c}
body.theme-biw-epic .epic-quick{gap:11px;margin-bottom:17px}
body.theme-biw-epic .epic-quick a{min-height:105px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(150deg,#17385b,#071527 80%);border:1px solid #4b7298;box-shadow:inset 0 1px 0 #a8d3fa26,0 5px 15px #0008;font-size:16px;transition:transform .16s, border-color .16s}
body.theme-biw-epic .epic-quick a:hover{transform:translateY(-2px);border-color:#d9a052}
body.theme-biw-epic .epic-quick small{font-size:12px;line-height:1.45;max-width:130px}
body.theme-biw-epic .epic-row{font-size:13px;line-height:1.4;padding:12px 0}
body.theme-biw-epic .epic-muted{font-size:13px;line-height:1.55}
body.theme-biw-epic footer{min-height:82px;background:linear-gradient(#080f1a,#050a11);border-top:2px solid #c17c2f;box-shadow:0 -3px 18px #e87d252e}
@media(min-width:1800px){body.theme-biw-epic main{max-width:1610px}body.theme-biw-epic .epic-banner{height:365px}}
@media(max-width:1100px){body.theme-biw-epic .epic-grid{grid-template-columns:minmax(190px,1fr) minmax(330px,2.3fr)}body.theme-biw-epic .epic-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}body.theme-biw-epic .epic-right .panel{margin-bottom:0}}
@media(max-width:740px){body.theme-biw-epic main{width:100%;padding:0 12px 32px}body.theme-biw-epic .epic-banner{margin:0 -12px;height:clamp(160px,40vw,270px)}body.theme-biw-epic .epic-grid{display:block}body.theme-biw-epic .epic-right{display:block}body.theme-biw-epic .epic-quick{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-biw-epic .epic-ribbon{font-size:10px;letter-spacing:1px}body.theme-biw-epic .epic-feature{min-height:225px;padding:22px}body.theme-biw-epic header{justify-content:center}body.theme-biw-epic nav{justify-content:center}}
@media(prefers-reduced-motion:reduce){body.theme-biw-epic .epic-quick a{transition:none}}

/* BIW Epic Warfare 2.3.2 – original logo and unclipped banner */
body.theme-biw-epic .epic-brand{display:flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0;text-decoration:none}
body.theme-biw-epic .epic-brand img{display:block;width:clamp(76px,7.5vw,110px);height:auto;max-height:76px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(202,128,46,.30))}
body.theme-biw-epic header{gap:clamp(12px,2vw,28px)}
body.theme-biw-epic nav{min-width:0;justify-content:flex-end}
body.theme-biw-epic .epic-banner{height:auto;aspect-ratio:1600 / 302;min-height:0;background-size:100% 100%;background-position:center;background-repeat:no-repeat}
@media(max-width:740px){
  body.theme-biw-epic .epic-brand img{width:82px;max-height:62px}
  body.theme-biw-epic .epic-banner{height:auto;min-height:0;aspect-ratio:1600 / 302;background-size:100% 100%}
  body.theme-biw-epic nav{justify-content:center}
}
