/* WAR LEGACY Guildas - todos os estilos isolados sob wl-guilds-page */
body.wl-guilds-page { background:#09152d; }
.wlg-main { color:#f4f4f6; background:radial-gradient(ellipse at 81% 0%,rgba(110,64,154,.16),transparent 39%),linear-gradient(180deg,#07152e,#0a1630 58%,#111936); padding:28px 0 85px; min-height:80vh; }
.wlg-main *,.wlg-main *::before,.wlg-main *::after {box-sizing:border-box;}
.wlg-wrap{width:min(1180px,calc(100% - 42px));margin:0 auto;}
.wlg-breadcrumb{display:flex;align-items:center;gap:11px;margin:12px 0 24px;font-size:12px;color:#9caccf;}
.wlg-breadcrumb a{color:#dac18b;text-decoration:none;}
.wlg-breadcrumb a:hover{text-decoration:underline;}
.wlg-hero{position:relative;min-height:310px;overflow:hidden;border:1px solid rgba(226,192,132,.28);border-radius:25px;background:radial-gradient(ellipse at 88% 32%,rgba(188,141,224,.25),transparent 38%),linear-gradient(115deg,#0f254c,#192448 61%,#241d3c);padding:clamp(25px,5vw,57px);display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 20px 50px rgba(0,0,0,.18);}
.wlg-hero::before{content:"";height:2px;position:absolute;inset:0 0 auto;background:linear-gradient(90deg,transparent,rgba(246,219,157,.9),transparent);}
.wlg-hero-copy{position:relative;z-index:1;max-width:750px;}
.wlg-overline{display:block;font-size:10px;letter-spacing:.2em;color:#e8cb8b;font-weight:850;text-transform:uppercase;}
.wlg-hero h1{font-size:clamp(33px,5vw,62px);line-height:1.07;letter-spacing:-.035em;font-weight:850;margin:15px 0;color:#fff;}
.wlg-hero h1 em{font-style:normal;color:#f0d396;}
.wlg-hero p{font-size:14px;line-height:1.8;color:#c8d2e7;margin:0;max-width:650px;}
.wlg-actions{margin-top:26px;display:flex;flex-wrap:wrap;gap:10px;}
.wlg-actions a,.wlg-guide a{padding:13px 18px;border-radius:11px;text-decoration:none;font-weight:800;font-size:12px;display:inline-flex;gap:12px;align-items:center;justify-content:center;}
.wlg-action-primary,.wlg-guide a{background:linear-gradient(135deg,#e9c786,#caa55f);color:#17213a!important;}
.wlg-action-secondary{border:1px solid rgba(238,212,156,.48);color:#f2dbad!important;background:rgba(255,255,255,.04);}
.wlg-actions a:hover,.wlg-guide a:hover{filter:brightness(1.08);}
.wlg-emblem{position:relative;flex:0 0 190px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;}
.wlg-emblem-ring{width:168px;height:168px;display:grid;place-items:center;border:2px solid rgba(244,215,146,.55);transform:rotate(45deg);border-radius:28px;background:linear-gradient(145deg,rgba(223,195,135,.11),rgba(38,40,72,.3));box-shadow:0 0 45px rgba(204,162,93,.2),inset 0 0 40px rgba(208,152,71,.1);}
.wlg-emblem-ring span{transform:rotate(-45deg);font-size:95px;line-height:1;color:#eecf8b;text-shadow:0 0 35px rgba(255,212,126,.4);}
.wlg-emblem-caption{font-size:10px;letter-spacing:.27em;color:#dcc392;font-weight:800;}
.wlg-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:16px 0 48px;}
.wlg-stats article{padding:20px 23px;border:1px solid rgba(220,190,136,.21);border-radius:15px;background:linear-gradient(150deg,#142443,#1b2440);}
.wlg-stats span,.wlg-stats small{display:block;font-size:12px;color:#bac7de;}
.wlg-stats strong{display:block;margin:9px 0 5px;color:#f5d797;font-size:clamp(24px,3vw,34px);line-height:1.05;font-variant-numeric:tabular-nums;}
.wlg-stats small{font-size:11px;color:#96a8c7;}
.wlg-section{margin-bottom:47px;}
.wlg-section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;flex-wrap:wrap;margin-bottom:20px;}
.wlg-section-head h2{font-size:clamp(25px,3vw,35px);color:#fff;margin:10px 0 7px;}
.wlg-section-head p{margin:0;color:#afbed9;font-size:13px;line-height:1.7;max-width:660px;}
.wlg-search{flex:0 1 275px;}
.wlg-search input{width:100%;padding:13px 16px;background:#14233f;border:1px solid rgba(216,185,128,.35);border-radius:12px;color:#fff;font:inherit;font-size:13px;}
.wlg-search input::placeholder{color:#99a8c1;}
.wlg-search input:focus-visible{outline:2px solid #e9ce95;outline-offset:2px;}
.wlg-feedback{color:#aab9d3;font-size:12px;line-height:1.7;min-height:22px;margin:0 0 15px;}
.wlg-guild-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
.wlg-guild-card{min-width:0;border:1px solid rgba(218,187,122,.26);border-radius:17px;background:radial-gradient(circle at 100% 0%,rgba(147,98,172,.12),transparent 60%),linear-gradient(140deg,#152642,#1a2340);padding:24px;box-shadow:0 12px 24px rgba(0,0,0,.11);}
.wlg-guild-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.wlg-guild-icon{height:43px;width:43px;display:grid;place-items:center;color:#ecc984;border:1px solid rgba(231,202,141,.34);background:rgba(234,193,116,.06);font-size:24px;border-radius:12px;}
.wlg-guild-name{margin:0;color:#fff;font-size:19px;font-weight:800;overflow-wrap:anywhere;}
.wlg-guild-lvl{display:block;color:#f3ce88;font-size:11px;letter-spacing:.04em;margin-top:5px;}
.wlg-guild-metrics{display:grid;grid-template-columns:1fr 1fr;gap:13px;border-top:1px solid rgba(255,255,255,.11);padding-top:17px;}
.wlg-guild-metrics span{font-size:11px;color:#aab8d2;display:block;}
.wlg-guild-metrics strong{font-size:14px;font-weight:750;color:#e6edfc;display:block;margin-top:4px;overflow-wrap:anywhere;}
.wlg-empty{grid-column:1/-1;padding:32px 28px;border:1px dashed rgba(220,188,129,.36);border-radius:16px;background:linear-gradient(125deg,rgba(22,39,69,.7),rgba(30,29,59,.58));}
.wlg-empty strong{font-size:20px;color:#f0d18e;display:block;margin-bottom:9px;}
.wlg-empty p{font-size:13px;line-height:1.8;color:#bac9df;margin:0;max-width:640px;}
.wlg-castle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}
.wlg-castle-card{padding:22px 23px;background:linear-gradient(135deg,#172440,#22203d);border:1px solid rgba(230,196,132,.26);border-radius:16px;}
.wlg-castle-card h3{font-size:18px;color:#f1ce8d;margin:0 0 12px;}
.wlg-castle-card dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;}
.wlg-castle-card dt{font-size:11px;color:#a2b1cb;}
.wlg-castle-card dd{font-size:13px;color:#f2f5fc;margin:4px 0 0;overflow-wrap:anywhere;font-weight:650;}
.wlg-guide{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-top:35px;padding:27px 30px;border-radius:17px;border:1px solid rgba(223,192,127,.3);background:linear-gradient(105deg,#1e2846,#2b2545);}
.wlg-guide h2{margin:8px 0;color:#fff;font-size:clamp(21px,3vw,26px);}
.wlg-guide p{font-size:12px;color:#bfcce4;margin:0;line-height:1.7;max-width:650px;}
.wlg-visually-hidden{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap;}
@media(max-width:950px){.wlg-guild-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.wlg-emblem{flex-basis:135px;}.wlg-emblem-ring{width:115px;height:115px;}.wlg-emblem-ring span{font-size:70px;}}
@media(max-width:680px){.wlg-wrap{width:min(100% - 28px,1180px);}.wlg-main{padding-top:10px;}.wlg-hero{padding:28px 22px;min-height:0;}.wlg-emblem{display:none;}.wlg-stats{gap:8px;}.wlg-stats article{padding:14px 11px;}.wlg-stats span,.wlg-stats small{font-size:10px;}.wlg-guild-grid,.wlg-castle-grid{grid-template-columns:1fr;}.wlg-search{flex-basis:100%;}.wlg-guide{padding:23px 20px;}}
@media(prefers-reduced-motion:reduce){.wlg-main *{scroll-behavior:auto!important;transition:none!important;}}
