/* WAR LEGACY V2 — shared presentation layer, no remote dependencies. */
:root {
  --navy:#06152d;
  --blue:#093991;
  --ink:#11264a;
  --muted:#626f86;
  --gold:#eebf45;
  --purple:#4b168c;
  --line:#dce5f3;
  --paper:#f4f8ff;
  --container:1280px;
  --font-display:"Palatino Linotype","Palatino","Book Antiqua",Georgia,serif;
  --font-body:"Avenir Next",Avenir,"Trebuchet MS","Segoe UI",sans-serif;
  color-scheme:light;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.6 var(--font-body);
}
a {
  color:inherit;
  text-decoration:none;
}
button,input {
  font:inherit;
}
button,a,summary {
  -webkit-tap-highlight-color:transparent;
}
button,summary {
  cursor:pointer;
}
img {
  max-width:100%;
  height:auto;
}
h1,h2,h3,h4,p {
  margin:0;
}
h1,h2,h3,h4 {
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.2;
}
h2 {
  font-size:34px;
}
h3 {
  font-size:22px;
}
p {
  color:var(--muted);
  margin-top:12px;
}
em {
  font-style:normal;
  color:var(--purple);
}
:focus-visible {
  outline:3px solid #a854ec;
  outline-offset:5px;
}
a:hover {
  color:var(--purple);
}
.container {
  width:min(calc(100% - 64px),var(--container));
  margin-inline:auto;
}
.skip-link {
  position:absolute;
  top:-100px;
  left:20px;
  background:white;
  padding:14px;
  z-index:100;
}
.skip-link:focus {
  top:12px;
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 25px;
  border-radius:5px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  border:1px solid transparent;
  transition:transform .2s,box-shadow .2s;
}
.btn:hover {
  transform:translateY(-2px);
}
.btn-primary {
  background:linear-gradient(115deg,#b87a12,#ffe783 48%,#d69c25);
  color:#231905;
  border-color:#f1cd69;
  box-shadow:0 4px 15px #a6721522;
}
.btn-primary:hover {
  color:#231905;
  box-shadow:0 5px 24px #eec05d66;
}
.btn-secondary {
  background:#eaf0ff;
  border-color:#b7c9e7;
  color:#173b76;
}
.text-link {
  display:inline-block;
  margin-top:20px;
  font-weight:750;
  color:var(--purple);
}
.eyebrow,.section-heading>span,.wl-portal-heading>span,.wl-guild-war-kicker,.wl-tech-header>span {
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
  color:#93651d;
}
/* Ornamented header, with the original logo floating across the hero. */
.v2-header {
  height:90px;
  background:linear-gradient(#061425,#030c1b);
  position:relative;
  z-index:20;
  border-bottom:2px solid #c29636;
  border-top:1px solid #3b4250;
  box-shadow:0 6px 22px #010b3c66;
}
.v2-header:before {
  content:"";
  position:absolute;
  inset:15px 8px 0;
  border:1px solid #bd8d2f;
  clip-path:polygon(2% 0,98% 0,100% 50%,98% 100%,2% 100%,0 50%);
  pointer-events:none;
}
.v2-brand {
  position:absolute;
  width:410px;
  height:144px;
  left:50%;
  top:0;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#090d23;
  border:1px solid #b79549;
  border-top:0;
  clip-path:polygon(0 0,100% 0,97% 58%,87% 100%,13% 100%,3% 58%);
  z-index:3;
}
.v2-brand img {
  width:390px;
  height:140px;
  object-fit:contain;
}
.v2-header nav {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 2.5% 0;
  gap:420px;
}
.nav-left,.nav-right {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:23px;
  flex:1;
}
.v2-header nav a,.nav-dropdown summary {
  font-size:12px;
  font-weight:750;
  text-transform:uppercase;
  color:#e4e9f6;
  white-space:nowrap;
}
.v2-header nav a:hover,.v2-header nav a[aria-current],.nav-dropdown summary:hover {
  color:#f7d66b;
}
.v2-header nav a[aria-current] {
  text-shadow:0 0 20px #e8c556;
}
.v2-header .nav-create {
  color:#241c0b;
  padding:10px 15px;
  min-height:42px;
}
.nav-dropdown {
  position:relative;
}
.nav-dropdown summary {
  list-style:none;
}
.nav-dropdown summary::-webkit-details-marker {
  display:none;
}
.nav-dropdown summary span {
  color:var(--gold);
  margin-left:7px;
}
.nav-dropdown>div {
  position:absolute;
  left:-20px;
  top:42px;
  width:210px;
  padding:12px;
  background:var(--navy);
  border:1px solid #bb913e;
  border-radius:5px;
  box-shadow:0 15px 35px #0005;
}
.nav-dropdown>div a {
  display:block;
  padding:10px;
}
.server-status {
  font-size:9px;
  font-weight:800;
  color:#e3c774;
  white-space:nowrap;
  line-height:1.4;
}
.server-status>span {
  margin-right:4px;
  color:#a7b3c6;
}
.server-status small {
  display:block;
  text-align:center;
  font-size:10px;
  color:#adb8cd;
  font-weight:400;
}
.menu-toggle {
  display:none;
}
/* All hero text and geometry are live DOM/CSS. */
.v2-hero {
  height:590px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 20%,#345cd4aa,transparent 65%),linear-gradient(145deg,#152ca9,#033ca2 60%,#072064);
  color:white;
}
.v2-hero:before,.v2-hero:after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-35% -15%;
  background:linear-gradient(transparent 45%,#6190ff55 45.2%,#052378aa 45.4%,transparent 72%);
  transform:rotate(31deg);
}
.v2-hero:after {
  transform:rotate(-32deg);
  background:linear-gradient(transparent 44%,#746cfc99 44.2%,#043084dd 44.5%,transparent 70%);
}
.hero-title {
  position:absolute;
  top:76px;
  text-align:center;
  width:100%;
  z-index:4;
}
.hero-title h1 {
  font-size:28px;
  letter-spacing:-.02em;
}
.hero-title em {
  color:#ffd164;
}
.hero-title p {
  color:#e3ebff;
  margin-top:4px;
  font-size:18px;
}
.hero-party {
  position:absolute;
  bottom:-9px;
  left:50%;
  transform:translateX(-50%);
  width:860px;
  max-width:none;
  height:478px;
  object-fit:contain;
  object-position:bottom;
  z-index:2;
  filter:drop-shadow(0 0 16px #4c23ae88);
}
.hero-ribbon {
  position:absolute;
  width:370px;
  height:330px;
  z-index:0;
  background:linear-gradient(140deg,#e1a823,#ffdc51);
  clip-path:polygon(0 0,100% 55%,0 100%);
}
.ribbon-left {
  top:0;
  left:0;
}
.ribbon-right {
  right:0;
  bottom:-100px;
  transform:rotate(180deg);
}
.hero-side {
  position:absolute;
  top:0;
  width:330px;
  height:350px;
  background-color:#8d3c9a;
  background-image:url('/assets/img/hero-party.png');
  background-size:720px auto;
  background-repeat:no-repeat;
  opacity:.95;
  z-index:1;
}
.side-left {
  left:0;
  background-position:45% 10%;
  clip-path:polygon(0 0,100% 57%,0 100%);
}
.side-right {
  right:0;
  background-position:100% 0;
  clip-path:polygon(100% 0,0 45%,100% 100%);
}
.hero-benefits {
  position:absolute;
  top:270px;
  display:grid;
  gap:29px;
  z-index:5;
}
.benefits-left {
  left:max(calc((100% - 1110px)/2),60px);
}
.benefits-right {
  right:max(calc((100% - 1220px)/2),45px);
}
.hero-benefits a {
  display:flex;
  align-items:center;
  gap:17px;
  color:#fff;
}
.hero-benefits a:hover {
  color:#ffda68;
}
.hero-benefits b {
  font-size:48px;
  color:#ffda69;
  width:49px;
  line-height:1;
  text-shadow:0 3px #ab771f;
}
.hero-benefits span {
  font-size:14px;
  font-weight:700;
}
.hero-benefits small {
  display:block;
  font-size:12px;
  font-weight:400;
  color:#d3e0ff;
  text-transform:uppercase;
  margin-top:2px;
}
.hero-petals i {
  position:absolute;
  width:18px;
  height:36px;
  border-radius:100% 0 100% 0;
  background:#f6a1ff;
  box-shadow:0 0 20px #f659ff;
  transform:rotate(-35deg);
  z-index:3;
  left:22%;
  top:23%;
}
.hero-petals i:nth-child(2) {
  left:9%;
  top:72%;
  transform:rotate(95deg);
}
.hero-petals i:nth-child(3) {
  left:75%;
  top:32%;
}
.hero-petals i:nth-child(4) {
  left:92%;
  top:60%;
  transform:rotate(-75deg);
}
.hero-petals i:nth-child(5) {
  left:71%;
  top:86%;
  transform:rotate(65deg);
}
.hero-petals i:nth-child(6) {
  left:28%;
  top:89%;
  width:10px;
  height:20px;
}
.welcome {
  position:relative;
  padding:35px 0 48px;
  background:radial-gradient(ellipse at 50% 0,#fff 35%,#e5eeff);
  border-bottom:1px solid #d7e3fa;
}
.welcome:before {
  content:"";
  position:absolute;
  height:26px;
  top:-20px;
  left:0;
  right:0;
  background:radial-gradient(ellipse at 50% 100%,#f7faff 68%,transparent 70%) 0 0/50px 27px repeat-x;
  z-index:6;
}
.welcome-layout {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:40px;
}
.quick-links {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.quick-card {
  position:relative;
  border-radius:12px;
  background:linear-gradient(140deg,#243e8b,#082756);
  color:white;
  text-align:center;
  padding:14px 10px 18px;
  box-shadow:0 2px 0 white,0 8px 20px #1231680b;
  transition:transform .2s;
}
.quick-card:hover {
  transform:translateY(-5px);
  color:#ffe18b;
}
.portrait {
  display:block;
  margin:0 auto 8px;
  width:126px;
  height:126px;
  border-radius:50%;
  background-image:url('/assets/img/hero-party.png');
  background-repeat:no-repeat;
  background-color:#59418a;
  background-size:380px 210px;
  border:2px solid #dfb45d66;
}
.portrait-red {
  background-position:23% 0;
}
.portrait-gold {
  background-position:58% -20px;
}
.portrait-purple {
  background-position:100% -6px;
}
.quick-card strong {
  display:block;
  font-size:18px;
}
.quick-card>span:not(.portrait) {
  display:block;
  font-size:12px;
  line-height:1.4;
  margin-top:6px;
  text-transform:uppercase;
}
.quick-card>b {
  position:absolute;
  bottom:13px;
  right:13px;
  color:#ffd45e;
  font-size:27px;
}
.welcome-copy {
  padding-top:6px;
}
.welcome-copy h2 {
  position:relative;
  font-size:32px;
  letter-spacing:-1px;
  white-space:nowrap;
}
.welcome-copy h2:before {
  content:"";
  position:absolute;
  left:-22px;
  top:0;
  height:64px;
  width:7px;
  border-radius:4px;
  background:linear-gradient(#ffda57,#b37717);
}
.welcome-copy .lead {
  color:#293a58;
  font-weight:600;
  margin-top:5px;
}
.welcome-copy p {
  font-size:15px;
  line-height:1.5;
}
.welcome-tags {
  display:flex;
  justify-content:space-between;
  margin-top:27px;
}
.welcome-tags>span {
  display:flex;
  align-items:center;
  gap:9px;
  color:#c58d24;
  font-size:35px;
  border-right:1px solid #c5d1e6;
  padding-right:15px;
}
.welcome-tags>span:last-child {
  border:0;
  padding-right:0;
}
.welcome-tags b {
  font-size:10px;
  color:#24416c;
  line-height:1.3;
}
/* Content sections and original server information. */
.content-section,.server-info,.steps,.wl-portal,.wl-guild-war {
  padding:75px 0;
}
.section-heading,.wl-portal-heading,.wl-guild-war-head {
  text-align:center;
  max-width:780px;
  margin:0 auto 32px;
}
.section-heading h2,.wl-portal-heading h2,.wl-guild-war-head h2 {
  margin-top:9px;
}
.three-grid,.steps-grid,.wl-clan-grid,.wl-systems-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.content-card,.feature-card,.step,.wl-system-card,.wl-clan-card,.wl-reward-card {
  padding:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 8px 25px #142b5610;
}
.content-card h3 {
  margin-top:14px;
}
.server-info {
  background:#e6efff;
  padding-bottom:36px;
}
.stats-grid,.feature-grid,.wl-rewards-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.stat-card {
  text-align:center;
  padding:22px;
  background:white;
  border:1px solid #d5e0f5;
  border-radius:10px;
}
.stat-number {
  display:block;
  font-size:38px;
  font-weight:800;
  color:var(--purple);
}
.stat-label {
  color:#536887;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.features {
  padding:0 0 70px;
  background:#e6efff;
}
.feature-tag,.wl-system-number,.wl-clan-card>span {
  display:block;
  color:#aa781f;
  font-weight:800;
  font-size:13px;
  margin-bottom:14px;
}
.feature-card h3 {
  font-size:20px;
}
.feature-card p,.wl-system-card p,.wl-reward-card p {
  font-size:14px;
}
.wl-portal {
  background:white;
}
.wl-agenda-layout,.wl-war-hero {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:26px;
}
.wl-panel,.wl-war-main,.wl-castle-main {
  padding:32px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
}
.wl-panel-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.wl-panel-top p {
  font-size:14px;
}
.wl-live-pill {
  font-size:10px;
  letter-spacing:.08em;
  font-weight:750;
  color:#315c9b;
  background:#e0eaff;
  padding:6px 12px;
  border-radius:30px;
  white-space:nowrap;
}
.wl-schedule {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  margin-top:20px;
}
.wl-event {
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.wl-event-time {
  font-weight:800;
  color:var(--purple);
  font-size:15px;
}
.wl-event-info strong {
  font-size:14px;
  display:block;
}
.wl-event-info small {
  font-size:12px;
  color:var(--muted);
  display:block;
}
.wl-schedule-note {
  font-size:12px;
}
.wl-woe-card,.wl-castle-main {
  background:linear-gradient(145deg,#152f70,#071f4e);
  color:white;
  border-color:#d6b260;
}
.wl-woe-card p,.wl-castle-main p {
  color:#c6d4ed;
}
.wl-card-kicker,.wl-war-label,.wl-castle-main>small {
  display:block;
  font-size:12px;
  letter-spacing:.1em;
  color:#c58e2b;
  margin-bottom:15px;
  font-weight:750;
}
.wl-woe-card .wl-card-kicker,.wl-castle-main>small {
  color:#ffdc7c;
}
.wl-woe-card h3,.wl-castle-main h3 {
  font-size:32px;
}
.wl-woe-day,.wl-war-day {
  padding:19px 0;
  border-bottom:1px solid #ffffff26;
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.wl-woe-day span,.wl-war-day span {
  font-size:12px;
  color:#d3ddf2;
}
.wl-woe-day strong,.wl-war-day strong {
  color:#f3cc6f;
}
.wl-castle {
  margin-top:24px;
}
.wl-castle small {
  display:block;
  color:#acbfdf;
}
.wl-castle strong {
  font-size:22px;
}
.wl-systems {
  margin-top:70px;
}
.wl-tech {
  margin-top:35px;
}
.wl-tech-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:15px;
  margin-top:25px;
}
.wl-tech-item {
  text-align:center;
  border-right:1px solid var(--line);
}
.wl-tech-item:last-child {
  border:0;
}
.wl-tech-item strong {
  display:block;
  color:var(--purple);
  font-size:30px;
}
.wl-tech-item span {
  font-size:12px;
  color:var(--muted);
}
.wl-portal-actions,.hero-actions,.cta-actions,.bottom-actions {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}
.wl-guild-war {
  background:linear-gradient(#edf3ff,#dfeaff);
}
.wl-war-main {
  background:white;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:45px;
}
.wl-war-main h3 {
  font-size:36px;
  max-width:450px;
}
.wl-castle-code {
  font-size:12px;
  color:#d3ddf2;
  margin-top:18px;
}
.wl-clan-grid {
  margin-top:24px;
}
.wl-war-rewards {
  margin-top:35px;
  border:1px solid #cedaf0;
  border-radius:16px;
  padding:32px;
  background:#f7faff;
}
.wl-rewards-head {
  display:flex;
  align-items:center;
  gap:45px;
  margin-bottom:25px;
}
.wl-rewards-head>div:first-child {
  flex:1;
}
.wl-rewards-head span {
  font-size:12px;
  font-weight:750;
  color:#97691b;
}
.wl-rewards-head h3 {
  margin-top:8px;
  font-size:28px;
}
.wl-reward-highlight {
  text-align:center;
  max-width:230px;
}
.wl-reward-highlight strong {
  display:block;
  font-size:64px;
  color:var(--purple);
  line-height:1.2;
}
.wl-reward-icon {
  color:#bb862a;
  font-size:25px;
  font-weight:800;
  margin-bottom:10px;
}
.wl-war-quote {
  margin-top:30px;
  text-align:center;
  background:#0a285b;
  color:#eaf0ff;
  border-radius:12px;
  padding:30px;
}
.wl-war-quote span {
  display:block;
  color:#edc76c;
  font-size:11px;
  letter-spacing:.15em;
  margin-bottom:10px;
}
.wl-war-quote strong {
  font-size:23px;
  max-width:750px;
  display:block;
  margin:auto;
}
.step-number,.step-number-download {
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  background:linear-gradient(#ffde77,#d7a132);
  border-radius:50%;
  color:#413010;
  font-weight:800;
  margin-bottom:15px;
  flex-shrink:0;
}
.faq-section {
  background:#e8f0ff;
}
.faq-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
}
.faq-layout h2 {
  margin-top:12px;
}
.faq details {
  background:#fff;
  border:1px solid #d4e0f2;
  border-radius:8px;
  margin-bottom:12px;
  padding:18px 22px;
}
.faq summary {
  font-weight:700;
  list-style-position:outside;
  margin-left:15px;
}
.faq a {
  color:var(--purple);
  text-decoration:underline;
}
.cta {
  padding:60px 0;
  background:#fff;
}
.cta-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.cta-box>div:first-child {
  max-width:760px;
}
.cta-box>div>span {
  color:#986c24;
  font-size:12px;
  font-weight:800;
  letter-spacing:.1em;
}
.cta h2 {
  margin-top:9px;
}
.cta-actions {
  margin:0;
  flex-shrink:0;
}
/* Shared internal pages, preserved forms. */
.v2-internal {
  background:radial-gradient(ellipse at top,#d8e6ff,transparent 65%),#f3f7ff;
}
.register-page,.recovery-page,.v2-internal>main {
  padding:90px 24px 70px;
  min-height:65vh;
}
.register-wrap,.recovery-wrap {
  max-width:600px;
  margin:auto;
}
.register-logo,.recovery-logo {
  display:block;
  width:230px;
  height:95px;
  object-fit:contain;
  margin:0 auto 20px;
}
.register-heading,.recovery-heading {
  text-align:center;
  margin-bottom:28px;
}
.register-heading>span,.recovery-heading>span {
  font-size:12px;
  letter-spacing:.1em;
  font-weight:800;
  color:#92631e;
}
.register-heading h1,.recovery-heading h1 {
  font-size:36px;
  margin-top:8px;
}
.register-card,.recovery-card,.reset-card {
  background:#fff;
  border:1px solid #d5dff0;
  border-top:3px solid #d8b054;
  border-radius:12px;
  padding:36px;
  box-shadow:0 15px 45px #15336513;
}
.reset-card {
  max-width:550px;
  margin:auto;
}
.reset-card .brand {
  color:var(--purple);
  font-weight:800;
  font-size:12px;
  letter-spacing:.12em;
  margin-bottom:18px;
}
.reset-card h1 {
  font-size:30px;
}
.subtitle {
  color:var(--muted);
  margin:12px 0 25px;
}
.field {
  margin-bottom:22px;
}
label {
  font-weight:650;
  font-size:14px;
  display:block;
  margin-bottom:7px;
}
input:not([type=hidden]):not([type=radio]):not([type=checkbox]) {
  display:block;
  width:100%;
  background:#f7f9ff;
  color:var(--ink);
  border:1px solid #b7c6de;
  border-radius:6px;
  min-height:48px;
  padding:11px 13px;
}
input:focus {
  border-color:#7650ac;
  outline:2px solid #7650ac33;
  outline-offset:1px;
}
.field small {
  font-size:12px;
  color:var(--muted);
}
.sex-options {
  display:flex;
  gap:16px;
}
.sex-option {
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 16px;
  border:1px solid #ccd7e9;
  border-radius:6px;
  flex:1;
}
.sex-option input {
  accent-color:var(--purple);
}
.register-submit,.recovery-submit,.reset-card button {
  width:100%;
  margin-top:8px;
}
.reset-card input {
  margin-bottom:20px;
}
.reset-card button {
  border:1px solid #d9af4d;
  background:linear-gradient(110deg,#d3a02b,#ffe485,#d3a02b);
  color:#30230a;
  padding:13px;
  font-weight:750;
  border-radius:5px;
}
.hp {
  position:absolute!important;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.register-footer,.recovery-footer {
  text-align:center;
  font-size:13px;
  color:var(--muted);
  margin-top:25px;
}
.register-footer a,.recovery-footer a,.back {
  color:var(--purple);
  font-weight:700;
}
.back {
  display:inline-block;
  margin-top:20px;
}
.notice,.message,.warning-box,.update-alert {
  padding:17px 20px;
  border:1px solid #dfc88c;
  background:#fff7df;
  border-radius:7px;
  color:#655019;
  margin:20px 0;
  font-size:14px;
}
.error {
  background:#fff0f0;
  border-color:#e8b4b4;
  color:#9a2424;
}
.success {
  background:#eafaef;
  border-color:#a0d2b1;
  color:#25623a;
}
.download-page {
  padding:0;
}
.download-wrap {
  max-width:1100px;
}
.download-logo {
  display:block;
  width:260px;
  height:120px;
  object-fit:contain;
  margin:auto;
}
.download-intro {
  text-align:center;
  margin:20px auto 30px;
  max-width:800px;
}
.download-intro h1 {
  font-size:40px;
  margin-top:12px;
}
.download-server-specs,.download-meta {
  display:flex;
  gap:9px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:20px;
}
.download-server-specs span,.download-meta span {
  border:1px solid #d3ddf0;
  background:#e7edfc;
  border-radius:5px;
  padding:5px 10px;
  font-size:12px;
  font-weight:700;
}
.download-options {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:25px;
  margin:30px 0 55px;
}
.download-card {
  background:white;
  border:1px solid #cddcf3;
  border-top:3px solid #c8a143;
  border-radius:12px;
  padding:30px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.download-badge {
  color:var(--purple);
  font-size:12px;
  font-weight:800;
  margin-bottom:15px;
}
.download-card h2 {
  font-size:26px;
}
.download-meta {
  justify-content:flex-start;
  margin-bottom:25px;
}
.download-card .btn {
  margin-top:auto;
  width:100%;
}
.download-small {
  font-size:12px;
  color:var(--muted);
  margin-top:12px;
}
.guide-section,.version-section,.technical-info {
  margin-top:40px;
  padding:30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}
.guide-section h2,.version-section h2 {
  font-size:28px;
}
.update-steps {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:30px;
}
.update-step {
  display:flex;
  gap:16px;
}
.update-step h3 {
  font-size:17px;
}
.update-step p {
  font-size:14px;
  margin-top:6px;
}
.version-entry {
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.version-head {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-weight:700;
}
.version-date {
  font-size:12px;
  color:var(--purple);
}
li {
  color:var(--muted);
  margin:7px 0;
}
.technical-info>strong {
  display:block;
  margin-top:20px;
  font-size:14px;
}
.hash-block {
  overflow-wrap:anywhere;
  background:#eef3fc;
  padding:16px;
  font:13px/1.7 monospace;
  border-radius:6px;
  margin-top:12px;
}
.page-shell {
  max-width:1100px;
  margin:auto;
}
.page-heading {
  text-align:center;
  max-width:750px;
  margin:10px auto 40px;
}
.page-heading h1 {
  font-size:44px;
  margin-top:12px;
}
.page-heading p {
  font-size:18px;
}
.page-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:40px;
  max-width:850px;
  margin:auto;
}
.page-panel h2 {
  font-size:27px;
  margin-bottom:15px;
}
.page-panel h3 {
  margin-top:26px;
}
.page-panel .btn {
  margin-top:25px;
  margin-right:10px;
}
.empty-state {
  text-align:center;
  padding:40px 20px;
}
.empty-icon {
  display:grid;
  place-items:center;
  width:85px;
  height:85px;
  margin:0 auto 25px;
  background:#eef0ff;
  border:1px solid #ddd7f3;
  border-radius:50%;
  font-size:40px;
  color:#a47a28;
}
.state-label {
  display:inline-block;
  background:#f5ebcf;
  color:#775b20;
  padding:5px 13px;
  border-radius:30px;
  font-size:12px;
  font-weight:700;
  margin-bottom:18px;
}
.source-note {
  font-size:12px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:30px;
}
.v2-footer {
  background:var(--navy);
  color:#eaf0ff;
  border-top:3px solid #bb9039;
  padding-top:40px;
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:40px;
  padding-bottom:35px;
}
.footer-grid img {
  height:100px;
  object-fit:contain;
  object-position:left;
}
.footer-grid h3 {
  font-size:14px;
  color:#eac769;
  margin:20px 0;
}
.footer-grid a:not(:has(img)) {
  display:block;
  color:#c2cee4;
  font-size:14px;
  margin:9px 0;
}
.footer-grid a:hover {
  color:#ffdb79;
}
.footer-grid p {
  font-size:13px;
  color:#9db0ce;
}
.footer-bottom {
  padding:22px 0;
  display:flex;
  justify-content:space-between;
  border-top:1px solid #ffffff15;
  color:#a4b6d0;
  font-size:12px;
}
@media(min-width:1650px) {
  .hero-party {
    width:930px;
    height:515px;
  }
  .v2-hero {
    height:630px;
  }
}
@media(max-width:1390px) {
  .v2-brand {
    width:310px;
    height:133px;
  }
  .v2-brand img {
    width:300px;
    height:127px;
  }
  .v2-header nav {
    gap:315px;
    padding-inline:24px;
  }
  .nav-left,.nav-right {
    gap:15px;
  }
  .server-status {
    display:none;
  }
  .hero-party {
    width:770px;
    height:450px;
  }
  .benefits-left {
    left:7%;
  }
  .benefits-right {
    right:5%;
  }
  .hero-benefits span {
    font-size:12px;
  }
  .hero-benefits b {
    font-size:39px;
    width:38px;
  }
  .welcome-copy h2 {
    font-size:27px;
  }
  .portrait {
    width:108px;
    height:108px;
  }
  .quick-card strong {
    font-size:16px;
  }
  .welcome-tags>span {
    padding-right:8px;
    gap:5px;
  }
  .welcome-tags b {
    font-size:9px;
  }
}
@media(max-width:1100px) {
  .v2-header {
    height:85px;
  }
  .v2-brand {
    width:270px;
    height:115px;
  }
  .v2-brand img {
    height:105px;
    width:260px;
  }
  .menu-toggle {
    display:flex;
    gap:8px;
    position:absolute;
    right:24px;
    top:22px;
    align-items:center;
    border:1px solid #b98c35;
    background:#12274a;
    color:#ffe09a;
    border-radius:4px;
    padding:8px 13px;
  }
  .v2-header nav {
    display:none;
    position:absolute;
    top:84px;
    left:0;
    width:100%;
    height:auto;
    padding:45px 24px 24px;
    background:#07182f;
    border-bottom:1px solid #d0a548;
  }
  .v2-header nav.is-open {
    display:block;
  }
  .nav-left,.nav-right {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    padding:10px;
  }
  .nav-dropdown>div {
    left:auto;
    right:0;
    z-index:5;
  }
  .hero-title {
    top:60px;
  }
  .hero-party {
    width:740px;
    height:450px;
  }
  .hero-benefits {
    top:265px;
    gap:32px;
  }
  .benefits-left {
    left:24px;
  }
  .benefits-right {
    right:24px;
  }
  .hero-benefits b {
    font-size:30px;
    width:28px;
  }
  .hero-benefits a {
    gap:8px;
  }
  .hero-benefits small {
    font-size:10px;
  }
  .hero-side {
    width:240px;
    height:280px;
  }
  .welcome-layout {
    grid-template-columns:1fr;
    gap:30px;
  }
  .welcome-copy {
    padding:0 20px;
  }
  .welcome-copy h2 {
    font-size:32px;
  }
  .quick-links {
    max-width:700px;
    margin:auto;
    width:100%;
  }
  .portrait {
    width:126px;
    height:126px;
  }
  .welcome-tags {
    justify-content:flex-start;
    gap:30px;
  }
  .welcome-tags b {
    font-size:11px;
  }
  .feature-grid,.wl-rewards-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .cta-box {
    flex-direction:column;
    text-align:center;
  }
  .v2-hero {
    height:590px;
  }
  .three-grid {
    gap:16px;
  }
  .content-card {
    padding:22px;
  }
}
@media(max-width:760px) {
  h2 {
    font-size:28px;
  }
  .container {
    width:calc(100% - 36px);
  }
  .v2-brand {
    left:18px;
    transform:none;
    width:220px;
    height:98px;
  }
  .v2-brand img {
    width:210px;
    height:94px;
  }
  .v2-header {
    height:76px;
  }
  .v2-header nav {
    top:75px;
    padding-top:28px;
  }
  .menu-toggle {
    top:17px;
    right:18px;
  }
  .v2-hero {
    height:610px;
  }
  .hero-title {
    top:45px;
    padding:0 15px;
  }
  .hero-title h1 {
    font-size:23px;
  }
  .hero-title p {
    font-size:13px;
  }
  .hero-party {
    width:650px;
    height:360px;
    bottom:140px;
  }
  .hero-side {
    display:none;
  }
  .hero-ribbon {
    width:180px;
    height:270px;
  }
  .hero-benefits {
    top:auto;
    bottom:35px;
    gap:15px;
  }
  .benefits-left {
    left:22px;
  }
  .benefits-right {
    right:22px;
  }
  .hero-benefits a {
    gap:10px;
  }
  .hero-benefits span {
    font-size:11px;
  }
  .hero-benefits small {
    font-size:9px;
  }
  .hero-benefits b {
    font-size:29px;
  }
  .hero-petals i {
    width:10px;
    height:22px;
  }
  .welcome {
    padding:28px 0 35px;
  }
  .quick-links {
    gap:10px;
  }
  .quick-card {
    padding:12px 5px 20px;
    border-radius:9px;
  }
  .portrait {
    width:82px;
    height:82px;
    background-size:275px 152px;
  }
  .portrait-red {
    background-position:23% 0;
  }
  .portrait-gold {
    background-position:58% -17px;
  }
  .portrait-purple {
    background-position:100% -4px;
  }
  .quick-card strong {
    font-size:12px;
  }
  .quick-card>span:not(.portrait) {
    font-size:10px;
  }
  .quick-card>b {
    font-size:20px;
    bottom:4px;
    right:7px;
  }
  .welcome-copy {
    padding-left:14px;
    padding-right:0;
  }
  .welcome-copy h2 {
    white-space:normal;
    font-size:27px;
  }
  .welcome-copy h2:before {
    left:-14px;
    width:5px;
    height:54px;
  }
  .welcome-copy p {
    font-size:14px;
  }
  .welcome-tags {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:22px;
  }
  .welcome-tags>span {
    border:0;
  }
  .welcome-tags b {
    font-size:10px;
  }
  .content-section,.server-info,.steps,.wl-portal,.wl-guild-war {
    padding:45px 0;
  }
  .three-grid,.steps-grid,.wl-clan-grid,.wl-systems-grid,.wl-agenda-layout,.wl-war-hero,.faq-layout,.download-options,.update-steps {
    grid-template-columns:1fr;
  }
  .feature-grid,.stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .features {
    padding-bottom:35px;
  }
  .feature-card {
    padding:20px;
  }
  .feature-card h3 {
    font-size:18px;
  }
  .wl-panel,.wl-war-main,.wl-castle-main {
    padding:24px;
  }
  .wl-schedule {
    grid-template-columns:1fr;
  }
  .wl-panel-top {
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
  .wl-portal-heading h2,.wl-guild-war-head h2 {
    font-size:28px;
  }
  .wl-tech-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .wl-tech-item:nth-child(3) {
    border:0;
  }
  .wl-systems {
    margin-top:45px;
  }
  .wl-war-main h3 {
    font-size:30px;
  }
  .wl-war-rewards {
    padding:20px;
  }
  .wl-rewards-head {
    flex-direction:column;
    gap:20px;
  }
  .wl-rewards-grid {
    grid-template-columns:1fr;
  }
  .wl-reward-card {
    padding:22px;
  }
  .wl-war-quote strong {
    font-size:20px;
  }
  .faq-layout {
    gap:26px;
  }
  .cta h2 {
    font-size:27px;
  }
  .footer-grid {
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
  .footer-grid>div:first-child {
    grid-column:1/-1;
  }
  .footer-bottom {
    flex-direction:column;
    gap:10px;
  }
  .register-page,.recovery-page,.v2-internal>main {
    padding:50px 18px;
  }
  .register-card,.recovery-card,.reset-card {
    padding:24px 20px;
  }
  .register-heading h1,.recovery-heading h1 {
    font-size:30px;
  }
  .register-logo,.recovery-logo {
    width:200px;
  }
  .sex-options {
    gap:9px;
  }
  .sex-option {
    padding:10px;
  }
  .download-wrap {
    width:100%;
  }
  .download-intro h1 {
    font-size:32px;
  }
  .guide-section,.version-section,.technical-info,.download-card {
    padding:23px;
  }
  .guide-section h2,.version-section h2 {
    font-size:24px;
  }
  .version-head {
    flex-direction:column;
    gap:6px;
  }
  .page-heading h1 {
    font-size:34px;
  }
  .page-heading p {
    font-size:16px;
  }
  .page-panel {
    padding:25px;
  }
  .empty-state {
    padding:20px 0;
  }
  .page-panel .btn {
    display:flex;
    margin-right:0;
  }
  .hero-title h1 em {
    display:block;
  }
  .hero-title p {
    margin-top:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }
}
.benefit-icon {
  width:48px;
  height:48px;
  flex-shrink:0;
  color:#ffda69;
  filter:drop-shadow(0 2px 0 #9a6b21);
}
.welcome {
  background-image:url('/assets/img/castle-mist.svg'),radial-gradient(ellipse at 50% 0,#fff 35%,#e5eeff);
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:100% auto,cover;
}
@media(max-width:1390px) {
  .benefit-icon {
    width:38px;
    height:38px;
  }
}
@media(max-width:1100px) {
  .benefit-icon {
    width:28px;
    height:28px;
  }
}
.sex-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
/* Keep the ornament behind the image so it never clips the official logo. */
.v2-brand {
  clip-path:none;
  background:none;
  border:0;
  isolation:isolate;
}
.v2-brand:before {
  content:"";
  position:absolute;
  inset:0;
  background:#090d23;
  border:1px solid #b79549;
  border-top:0;
  clip-path:polygon(0 0,100% 0,97% 58%,87% 100%,13% 100%,3% 58%);
  z-index:-1;
}

/* ===== WARLEGACY-FIXED-HEADER-V3 ===== */

:root {
  --wl-header-height: 90px;
}

html {
  scroll-padding-top: 115px;
}

body {
  padding-top: var(--wl-header-height);
}

/* Header congelado no topo */
.v2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--wl-header-height);
  z-index: 10000;
  overflow: visible;
  background: linear-gradient(
    180deg,
    #0d1830 0%,
    #071329 48%,
    #030b1d 100%
  );
  border-top: 1px solid #c59a43;
  border-bottom: 2px solid #d2a746;
  box-shadow: 0 7px 25px rgba(0,0,0,.35);
}

/* Moldura ornamental */
.v2-header::before {
  inset: 13px 8px 0;
  border-color: rgba(229,181,75,.7);
  pointer-events: none;
}

/* Tres colunas com centro exclusivo para a logo */
.v2-header nav {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    clamp(275px,24vw,340px)
    minmax(0,1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 26px;
  gap: 0;
}

/* Menus separados da area da logo */
.v2-header .nav-left,
.v2-header .nav-right {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: initial;
  gap: clamp(8px,.85vw,15px);
}

.v2-header .nav-left {
  grid-column: 1;
  justify-content: flex-start;
}

.v2-header .nav-right {
  grid-column: 3;
  justify-content: flex-end;
}

/* Logo oficial preservada */
.v2-brand {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: clamp(250px,21vw,315px);
  height: 126px;
  max-width: calc(100vw - 140px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d23;
  border: 1px solid #c9a04c;
  border-top: 0;
  clip-path: polygon(
    0 0, 100% 0,
    97% 59%, 87% 100%,
    13% 100%, 3% 59%
  );
}

.v2-brand img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

/* Links legiveis */
.v2-header nav a,
.v2-header .nav-dropdown summary {
  font-size: clamp(10px,.76vw,12px);
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: .01em;
}

.v2-header .nav-create {
  min-height: 39px;
  padding: 9px 12px;
  font-size: 11px;
  flex-shrink: 0;
}

.v2-header .nav-dropdown > div {
  z-index: 10010;
}

/* Em notebooks menores, priorizar os links */
@media (max-width: 1370px) {
  .v2-header .server-status {
    display: none;
  }
}

/* Tablet: todos os links ficam no menu expansivel */
@media (max-width: 1180px) {
  .v2-header {
    height: 85px;
  }

  body {
    padding-top: 85px;
  }

  .v2-brand {
    width: 260px;
    height: 112px;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 21px;
    align-items: center;
    gap: 8px;
    border: 1px solid #b98c35;
    background: #12274a;
    color: #ffe09a;
    padding: 8px 13px;
    z-index: 5;
  }

  .v2-header nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    padding: 20px 24px;
    background: #071329;
    border-bottom: 2px solid #d2a746;
  }

  .v2-header nav.is-open {
    display: block;
  }

  .v2-header .nav-left,
  .v2-header .nav-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .v2-header nav a,
  .v2-header .nav-dropdown summary {
    display: block;
    font-size: 14px;
    padding: 12px;
  }

  .v2-header .nav-dropdown > div {
    position: static;
    width: 100%;
    margin-top: 5px;
  }

  .v2-header .nav-create {
    margin: 12px 0;
    text-align: center;
  }
}

/* Celulares */
@media (max-width: 600px) {
  .v2-header {
    height: 78px;
  }

  body {
    padding-top: 78px;
  }

  .v2-brand {
    left: 12px;
    top: 0;
    transform: none;
    width: 205px;
    height: 91px;
  }

  .menu-toggle {
    right: 15px;
    top: 18px;
  }

  .v2-header nav {
    top: 77px;
    max-height: calc(100dvh - 78px);
    padding: 16px;
  }

  html {
    scroll-padding-top: 105px;
  }
}

/* ===== FIM WARLEGACY-FIXED-HEADER-V3 ===== */

/* WAR LEGACY — HEADER REDESIGN V4 */

.v2-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  height: 86px !important;
  background: linear-gradient(180deg,#0b1530,#050c1d) !important;
  border-bottom: 2px solid #bd8c31 !important;
  box-shadow: 0 5px 22px #0008 !important;
  z-index: 10000 !important;
}

.v2-header::before,
.v2-header::after {
  display: none !important;
}

.v2-header nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 230px !important;
  padding: 0 32px !important;
  height: 100% !important;
}

.v2-header .nav-left,
.v2-header .nav-right {
  display: flex !important;
  align-items: center !important;
  justify-content: space-evenly !important;
  flex: 1 1 0 !important;
  gap: 12px !important;
}

.v2-brand {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%,-50%) !important;
  width: 215px !important;
  height: 75px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  pointer-events: none;
}

.v2-brand img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.v2-header nav a,
.v2-header .nav-dropdown summary {
  font-size: 11px !important;
  white-space: nowrap !important;
}

body {
  padding-top: 86px !important;
}

html {
  scroll-padding-top: 105px;
}

@media(max-width:1180px) {
  .v2-header nav {
    gap: 160px !important;
    padding: 0 16px !important;
  }

  .v2-brand {
    width: 165px !important;
  }
}

/* Typography: expressive fantasy headings, readable UI, no external font requests. */
.quick-card strong,.guild-panorama-caption strong,.wl-war-quote strong {
  font-family:var(--font-display);
}
button,input,select,textarea {
  font-family:var(--font-body);
}
.stat-number,.wl-tech-item strong,.wl-event-time,.wl-war-day strong,.wl-woe-day strong {
  font-variant-numeric:lining-nums tabular-nums;
}

/* =========================================
   WAR LEGACY - LOGO FLUTUANTE V5
   ========================================= */

.v2-header {
  overflow: visible !important;
}

/* Logo original, sem moldura */
.v2-header .v2-brand {
  position: absolute !important;
  top: 3px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: 290px !important;
  height: 125px !important;

  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  clip-path: none !important;

  z-index: 10002 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* Transparencia e acabamento da logo */
.v2-header .v2-brand img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;

  background: transparent !important;

  filter:
    drop-shadow(0 5px 7px rgba(0,0,0,.48))
    drop-shadow(0 0 7px rgba(119,40,208,.28));
}

/* Reservar espaco central para a logo */
@media (min-width: 1181px) {
  .v2-header nav {
    gap: 300px !important;
  }
}

@media (min-width: 1181px) and (max-width: 1399px) {
  .v2-header .v2-brand {
    width: 255px !important;
    height: 112px !important;
  }

  .v2-header nav {
    gap: 265px !important;
  }

  .v2-header .server-status {
    display: none !important;
  }
}

/* Tablet - menu expansivel */
@media (max-width: 1180px) {
  .v2-header .v2-brand {
    width: 235px !important;
    height: 106px !important;
  }

  .v2-header nav {
    display: none !important;
    gap: 0 !important;
  }

  .v2-header nav.is-open {
    display: block !important;
  }

  .v2-header .nav-left,
  .v2-header .nav-right {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body {
    padding-top: 85px !important;
  }
}

/* Celular */
@media (max-width: 600px) {
  .v2-header .v2-brand {
    left: 12px !important;
    top: 2px !important;
    transform: none !important;
    width: 195px !important;
    height: 91px !important;
  }

  body {
    padding-top: 78px !important;
  }
}

/* =========================================
   FIM - LOGO FLUTUANTE V5
   ========================================= */
