/* KAELEN DOUR RTS · Portal visual redesign V359. Original game logic intact. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--gold:#e9c688;--ink:#07130f;--muted:#b4c7b9;--light:#f5ecd9}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif;background:radial-gradient(ellipse at 85% 0%,#263e32 0%,transparent 46%),#08130f;color:#eceddf}
body::before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.13;background-image:linear-gradient(#d0b16f0a 1px,transparent 1px),linear-gradient(90deg,#d0b16f0a 1px,transparent 1px);background-size:64px 64px}
.wrap{max-width:1420px;padding:0 32px 70px}
.nav{margin:0;min-height:94px;gap:18px;padding:14px 3px;border-bottom:1px solid #ad915755}
.portal-brand{display:flex;align-items:center;gap:13px;text-decoration:none}
.portal-brand img{filter:drop-shadow(0 0 9px #d69b535b)}
.portal-brand strong{display:block;font:700 23px/1.2 Cinzel,Georgia,serif;color:#f1d7a5;letter-spacing:.065em}
.portal-brand small{display:block;color:#b6af93;font:700 9px Inter,system-ui;letter-spacing:.19em;margin-top:4px}
.portal-nav-actions{display:flex;align-items:center;gap:12px}
.navlink{font-weight:700;color:#efd6a8;padding:12px 16px;transition:background .2s,border-color .2s}
.navlink:hover{background:#2d4636;border-color:#c8a778}
.navlaunch{background:#b89052;color:#101c15;border-color:#e3bf83}
.hero{position:relative;max-width:none;min-height:390px;margin:30px 0 25px;overflow:hidden;border:1px solid #9b85576b;display:flex;align-items:center;background:#121f1a}
.hero::before{content:"";position:absolute;inset:0;background:url('/kaelen-dour/kd_public_assets/hero-bg.webp') center 36%/cover no-repeat;filter:saturate(.82) brightness(.66);transform:scale(1.015)}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071610f5 3%,#0a1915dc 48%,#12201968 83%,#0b18109c 100%),linear-gradient(0deg,#07150fb8,transparent 45%)}
.hero-inner{position:relative;z-index:1;padding:45px clamp(22px,5.2vw,82px);max-width:1080px}
.eyebrow{font:800 11px Inter,system-ui;letter-spacing:.23em;color:#e6c48b}
.eyebrow-line{display:inline-block;width:30px;height:1px;background:#b89c6e;vertical-align:middle;margin:0 12px}
.hero h1{font:800 clamp(43px,5.5vw,78px)/1.08 Cinzel,Georgia,serif;letter-spacing:-.04em;color:#f4dfb6;margin:19px 0 18px}
.hero h1 em,.campaign-choice h2 em{font-style:normal;color:#e0b979}
.hero .intro{font:400 clamp(15px,1.35vw,18px)/1.85 Inter,system-ui;max-width:800px;color:#e2e5d9}
.hero-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.hero-facts span{font:700 10px Inter,system-ui;letter-spacing:.09em;border:1px solid #c0a16d7a;background:#13251cbb;color:#eed09b;padding:9px 12px}
.campaign-modes{gap:18px;margin:0 0 48px}
.campaign-choice{min-height:430px;padding:0 29px 25px;background:linear-gradient(155deg,#1b3026,#0f1e18)!important;border:1px solid #817253;position:relative;overflow:hidden;isolation:isolate;transition:border-color .2s,transform .2s,box-shadow .2s}
.campaign-choice:hover{transform:translateY(-3px);border-color:#d7b578;box-shadow:0 20px 50px #0008}
.campaign-choice .choice-art{position:relative;height:151px;margin:0 -29px 20px;background:url('/kaelen-dour/kd_public_assets/kaelen-dour-city.jpg') center 43%/cover;filter:saturate(.8)}
.campaign-choice.multiplayer .choice-art{background-image:url('/kaelen-dour/kd_public_assets/hero-bg.webp');background-position:center 58%}
.campaign-choice .choice-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#192f26 1%,transparent 85%)}
.campaign-choice .label{font:800 10px Inter,system-ui;letter-spacing:.19em;color:#d3ba84}
.status-dot{display:inline-block;width:8px;height:8px;background:#69d4a5;border-radius:100%;box-shadow:0 0 8px #4dce9f;margin-right:7px}
.status-dot.amber{background:#d9ae69;box-shadow:0 0 8px #e1a64c}
.campaign-choice h2{font:700 clamp(26px,2.7vw,39px)/1.16 Cinzel,Georgia,serif;letter-spacing:-.025em;margin:15px 0;color:#f1dbb5}
.campaign-choice p{font:400 14px/1.8 Inter,system-ui;color:#c7d1c5}
.choice-features{display:flex;gap:7px;flex-wrap:wrap;margin:4px 0 18px}
.choice-features span{padding:5px 10px;font:700 10px Inter,system-ui;letter-spacing:.045em;background:#2c4638;border:1px solid #58715b;color:#e1e4c6}
.campaign-choice .btn{margin-top:auto;min-height:51px;font:800 12px Inter,system-ui;text-align:center}
.campaign-choice .btn span{margin-left:8px;font-size:17px}
.campaign-choice .campaign-state{font:600 11px Inter,system-ui;color:#b2c6ae;margin-top:12px}
.section-heading{margin:34px 0 24px;padding-top:22px;border-top:1px solid #a38c5a55}
.section-heading h2{font:700 clamp(29px,3vw,42px) Cinzel,Georgia,serif;margin:12px 0}
.section-heading p{max-width:790px}
.modes{gap:17px}
.mode{min-height:470px;padding:30px;background:linear-gradient(135deg,#243d30e8,#111e19 85%);border-color:#7f7657}
.mode::before{content:"";display:block;height:115px;background:url('/kaelen-dour/kd_public_assets/hero-bg.webp') center 64%/cover;margin:-30px -30px 22px;opacity:.8;box-shadow:inset 0 -40px 37px #17291e}
.mode.secondary::before{background-image:url('/kaelen-dour/kd_public_assets/kaelen-dour-city.jpg')}
.mode h2{font:700 clamp(25px,2.7vw,35px) Cinzel,Georgia,serif}
.guide,.mp-config{border-color:#89744e;background:linear-gradient(140deg,#1c3025,#101e17)}
.mp-config .panel{background:#13251d}
:focus-visible{outline:2px solid #f4d18d;outline-offset:3px}
@media(max-width:850px){.wrap{padding:0 18px 45px}.hero{min-height:340px}.campaign-modes,.modes{grid-template-columns:1fr}.campaign-choice{min-height:390px}.hero h1{font-size:clamp(37px,7vw,59px)}}
@media(max-width:530px){.nav{align-items:flex-start}.portal-brand strong{font-size:16px}.portal-brand small{font-size:7px}.portal-brand img{width:32px}.portal-nav-actions{gap:5px}.navlink{padding:8px;font-size:11px}.hero-inner{padding:30px 20px}.hero-facts span{font-size:9px}.campaign-choice{padding:0 20px 22px}.campaign-choice .choice-art{margin:0 -20px 18px}.mode{padding:20px}.mode::before{margin:-20px -20px 20px}}
@media(prefers-reduced-motion:reduce){.campaign-choice{transition:none}}

/* V360 deeper portal texture + hero artwork */
.hero::before{background-image:url('/kaelen-dour/kd_public_assets/hero-bg.webp');filter:saturate(1.08) brightness(.82)}
.hero::after{background:linear-gradient(90deg,#071410f0,#0b1b13bd 43%,#0d211044 100%)}
.campaign-choice .choice-art{height:215px;filter:saturate(1.05) contrast(1.08)}
.campaign-choice .choice-art::after{background:linear-gradient(0deg,#1a3028,transparent 70%)}
.campaign-choice{box-shadow:0 20px 50px #000a,0 0 20px #ba97501c;min-height:510px}
.mode::before{height:175px;filter:saturate(1.15) contrast(1.1)}
.hero-facts span{backdrop-filter:blur(8px)}
