/* ============================================================
   GLOBAL.CSS — L2Petropols (prime clone)
   ============================================================ */

:root {
  --bg-base: #001818;
  --bg-card: rgba(15, 31, 58, 0.85);
  --bg-card-border: rgba(var(--primary-rgb), 0.22);
  --text-primary: #E8F1FF;
  --text-secondary: #A8B8D0;
  --accent-orange: var(--primary);
  --accent-gold: var(--gold);
  --accent-blue: var(--primary);
  --accent-blue-light: var(--primary-light);
  --accent-fire: var(--fire);
  --danger-red: #B82838;
  --btn-bg-start: var(--accent-fire);
  --btn-bg-end: #B82838;
  --btn-bg-hover-start: #FF4D5C;
  --btn-bg-hover-end: var(--accent-fire);
  --btn-border: #FF4D5C;
  --btn-border-hover: #FF6B7A;
  --btn-text: #FFFFFF;
  --btn-glow: rgba(var(--fire-rgb), 0.55);

  --primary: var(--primary);
  --primary-rgb: 45, 212, 212;
  --primary-light: var(--primary-light);
  --gold: var(--gold);
  --gold-rgb: 244, 196, 48;
  --fire: var(--fire);
  --fire-rgb: 230, 57, 70;
}

*, *::before, *::after { box-sizing: border-box; }
body, html, .all { margin: 0; padding: 0; }
body, html, .all { min-width: 1010px; }
body, a, a:active, a:visited, a:link { font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; text-decoration: none; }
a, a:active, a:visited, a:link { cursor: pointer; font-weight: bold; }
p { margin: 0; padding: 0; }
hr { width: 100%; height: 1px; padding: 0; margin: 20px auto; border: 0; background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),.3), transparent); }

h1 {
  display: block; text-shadow: 0 0 18px rgba(var(--primary-rgb),.55), 0 0 36px rgba(var(--primary-rgb),.25), 0 2px 4px rgba(0,0,0,.7);
  font-weight: 700; padding: 0; width: 80%; margin: 24px auto 16px;
  font-family: 'Cinzel','Marcellus','Montserrat',serif; letter-spacing: .08em;
  font-size: 29px; color: var(--text-primary); text-transform: uppercase;
}
h2 {
  text-shadow: 0 0 14px rgba(var(--primary-rgb),.45), 0 0 26px rgba(var(--primary-rgb),.18), 0 2px 4px rgba(0,0,0,.7);
  font-weight: 700; padding: 0; margin: 30px 0 20px 20px;
  font-family: 'Cinzel','Marcellus','Montserrat',serif; letter-spacing: .06em;
  font-size: 23px; color: var(--text-primary);
}

a, a:active, a:visited, a:link { color: var(--accent-blue-light); }
a:hover { color: #fff; }
a:active { color: var(--accent-blue-light); }

/* --- Layout --- */
body {
  background:
    radial-gradient(ellipse at top right, rgba(var(--primary-rgb),.20), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(var(--fire-rgb),.12), transparent 60%),
    url('../imgs/bg-top.png') no-repeat center top / auto;
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(2px 2px at 12% 92%, rgba(79,229,229,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 88%, rgba(var(--fire-rgb),.5), transparent 60%),
    radial-gradient(1px 1px at 35% 96%, rgba(var(--primary-rgb),.4), transparent 60%);
  opacity: .7;
  animation: emberDrift 14s ease-in-out infinite alternate;
}
@keyframes emberDrift {
  0% { transform: translateY(0); opacity: .55; }
  100% { transform: translateY(-12px); opacity: .9; }
}

.all { position: relative; z-index: 1; }
nav, footer { position: relative; z-index: 2; }

.all {
  width: 1010px;
  position: relative;
  margin: 0 auto;
  padding-top: 600px;
}

section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  position: relative;
  overflow: visible;
  width: 1010px;
  box-sizing: border-box;
  padding: 36px 25px 60px 25px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}

article {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 4px 20px 0 20px;
}
article img { max-width: 100% !important; }

/* --- Nav --- */
nav {
  position: absolute;
  left: 0;
  top: -84px;
  z-index: 3;
  width: 1010px;
  height: 84px;
  line-height: 49px;
  padding: 35px 0 0 0;
  display: table;
  background: transparent url('../imgs/menu.png') no-repeat;
}

nav div, .navi-buttons {
  display: table;
  margin: 0 auto;
}

.navi-link, nav a {
  float: left;
  display: table;
  padding: 0 14px;
  font-family: 'Cinzel','Marcellus',Calibri,Arial !important;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E8E6E3 !important;
  text-shadow: 1px 1px 2px #000, 0 0 6px rgba(0,0,0,.6);
  background: transparent;
  transition: color .3s, text-shadow .3s, background .3s;
}

.navi-link:hover, nav a:hover {
  color: #FF6B7A !important;
  text-shadow: 0 0 12px rgba(var(--primary-rgb),.85), 0 0 22px rgba(var(--primary-rgb),.45), 1px 1px 2px #000;
  background: rgba(var(--primary-rgb),.08);
}

.navi-link.active, nav a.active {
  color: var(--primary-light) !important;
  text-shadow: 0 0 14px rgba(var(--primary-rgb),.9), 1px 1px 2px #000;
}

.navi-link:active, nav a:active {
  color: var(--fire) !important;
  text-shadow: 0 0 14px rgba(var(--fire-rgb),.8), 1px 1px 2px #000;
}

/* --- Aside --- */
aside { flex: 0 0 180px; width: 180px; }
aside .box { width: 180px; margin: 0 0 23px 0; }
aside .box .title {
  font-family: 'Cinzel','Marcellus',serif;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em;
  color: #E0F5F5;
  text-shadow: 0 0 .25em rgba(184,232,232,.6), 0 1px 2px rgba(0,0,0,.6);
  border-bottom: 1px solid rgba(224,245,245,.3);
  position: relative; z-index: 2;
  width: 180px; padding-bottom: 8px; margin: 0 0 16px 0;
}

/* --- Default buttons (sidebar) --- */
aside a.default,
aside span.default {
  background: #1DBFB8 !important;
  border: 1px solid rgba(79,229,221,.3) !important;
  color: #0A1628 !important;
  text-shadow: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.15) !important;
  transition: all .25s ease;
  cursor: pointer; display: block; text-align: center;
  font-weight: 600; font-size: 12px; text-transform: uppercase;
  padding: 10px 0; width: 178px; margin: 0 0 3px;
  border-radius: 4px;
  font-family: 'Montserrat',Arial,sans-serif;
  letter-spacing: .08em;
  position: relative; overflow: hidden;
  text-decoration: none;
}
aside a.default::before,
aside span.default::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
aside a.default:hover::before,
aside span.default:hover::before { left: 100%; }

aside a.default:hover,
aside span.default:hover {
  background: #2DD9D1 !important;
  border-color: rgba(79,229,221,.6) !important;
  color: #0A1628 !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.5), 0 0 15px rgba(29,191,184,.5), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.18) !important;
}
aside a.default:active,
aside span.default:active {
  background: #16A39C !important;
  color: #0A1628 !important;
}

/* --- Global default/dbig buttons (anywhere) --- */
a.default.dbig,
span.default.dbig,
a.default {
  background: #1DBFB8;
  border: 1px solid rgba(79,229,221,.3);
  color: #0A1628;
  text-shadow: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.15);
  transition: all .25s ease;
  cursor: pointer; display: inline-block; text-align: center;
  font-weight: 600; font-size: 12px; text-transform: uppercase;
  padding: 10px 20px; border-radius: 4px;
  font-family: 'Montserrat',Arial,sans-serif;
  letter-spacing: .08em;
  position: relative; overflow: hidden;
  text-decoration: none;
}
a.default.dbig,
span.default.dbig {
  padding: 14px 36px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 18px rgba(29,191,184,.25), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.15);
}
a.default::before,
span.default::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
a.default:hover::before,
span.default:hover::before { left: 100%; }
a.default:hover,
span.default:hover {
  background: #2DD9D1;
  border-color: rgba(79,229,221,.6);
  color: #0A1628;
  box-shadow: 0 3px 14px rgba(0,0,0,.5), 0 0 15px rgba(29,191,184,.5), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.18);
}
a.default:active,
span.default:active {
  background: #16A39C;
  color: #0A1628;
}

/* --- Server Status --- */
.sstatus {
  width: 180px; background: rgba(26,29,38,.6); padding: 12px 15px 16px;
  border-radius: 10px; box-sizing: border-box;
  border: 1px solid var(--bg-card-border);
}
.sstatus > div {
  font-size: 11px; font-weight: bold; width: 150px; height: 22px;
  line-height: 22px; box-sizing: border-box; color: var(--text-secondary);
  padding: 0 9px; border-top: 1px solid rgba(var(--primary-rgb),.1);
}
.sstatus > div:first-child { border: 0; }
.sstatus > div > div { float: right; }
.sstatus > div > div.on, .sstatus > div > span {
  color: #00FF88;
  text-shadow: 0 0 8px rgba(var(--primary-rgb),.6), 0 0 14px rgba(0,255,136,.4);
}
.sstatus > div > div.off { color: var(--fire); }

.srvstatus-wrapper { display: flex; justify-content: center; align-items: center; margin: 8px 0 5px; }

.srvstatus-on, .srvstatus-off {
  font-size: 20px; font-weight: 900;
  padding: 8px 28px;
  border-radius: 10px; border: 2px solid;
  text-transform: uppercase; letter-spacing: 2px;
  display: inline-block;
}

.srvstatus-on {
  color: #00ff88; border-color: #00ff88;
  background: radial-gradient(circle at center, #003300 0%, #001100 100%);
  box-shadow: 0 0 16px #00ff88, inset 0 0 8px rgba(0,255,136,.3);
  animation: glowOn 1.8s ease-in-out infinite;
}
.srvstatus-off {
  color: #fff; border-color: rgba(255,100,100,.5);
  background: linear-gradient(145deg, var(--danger-red), #A01818);
  box-shadow: 0 0 20px rgba(220,50,50,.4);
}

@keyframes glowOn {
  0%, 100% { box-shadow: 0 0 12px #00ff88, inset 0 0 6px rgba(0,255,136,.3); }
  50% { box-shadow: 0 0 24px #00ff88, inset 0 0 12px rgba(0,255,136,.5); }
}

/* --- Langs --- */
.langs { z-index: 2; position: absolute; width: 140px; height: 34px; top: 40px; right: 56px; }
.langs .bg { opacity: .3; width: 138px; height: 34px; border-radius: 4px; background: #000; }
.langs .links { position: absolute; left: 4px; top: 4px; display: table; }
.langs a { float: left; display: block; width: 42px; height: 26px; margin: 0 2px 0 0; background: transparent url('../imgs/langs.png') no-repeat; }
.langs a.en { background-position: 0 0; border-radius: 3px 0 0 3px; }
.langs a.pt { background-position: -44px 0; }
.langs a.es { background-position: -88px 0; border-radius: 0 3px 3px 0; }
.langs a.en:hover { background-position: 0 -28px; }
.langs a.pt:hover { background-position: -44px -28px; }
.langs a.es:hover { background-position: -88px -28px; }
.langs a:active { opacity: .6; }

/* --- Footer --- */
footer {
  font-size: 14px; height: 110px; line-height: 110px;
  width: 1000px; box-sizing: border-box; margin: 0 auto;
  text-align: center; font-weight: bold; color: #fff;
}

/* --- Modal --- */
#backblack { height: 100%; width: 100%; position: fixed; top: 0; left: 0; background: #000; opacity: .8; z-index: 1000; }
#modal {
  position: fixed; z-index: 2000; width: 460px; height: 250px;
  left: calc(50% - 233px); top: calc(50% - 128px);
  padding: 20px 0 0 0; text-align: center;
  border: 1px solid rgba(var(--primary-rgb),.45); border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 30px rgba(var(--primary-rgb),.18);
  color: var(--text-primary);
  background: linear-gradient(145deg, rgba(26,29,38,.97), rgba(15,11,7,.98));
  backdrop-filter: blur(10px);
}
#modal h1 { text-align: center; width: 100%; margin: 16px 0 20px 0; font-size: 23px !important; color: var(--accent-orange) !important; }

/* --- Tables --- */
table.default { border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); width: 100%; overflow: hidden; }
table.default tr td:first-child { border: 0; }
table.default tr td { font-size: 12px; padding: 7px 10px; border-left: 1px solid rgba(var(--primary-rgb),.1); background: rgba(26,29,38,.4); color: var(--text-primary); }
table.default tr.two td { background: rgba(26,29,38,.25); }
table.default tr td.foco { font-weight: bold; color: var(--accent-blue-light); background: rgba(26,29,38,.6); }
table.default tr two td.foco { background: rgba(26,29,38,.45); }
table.default tr th { font-weight: 700; text-align: center; background: linear-gradient(145deg, rgba(40,28,14,.95), rgba(20,14,8,.98)); color: var(--accent-gold); padding: 10px 0; letter-spacing: .05em; }

.table-new { width: 100%; font-family: 'Inter','Montserrat',sans-serif; color: var(--text-primary) !important; margin: 20px auto; }
.table-new tr td { padding: .5rem; border: 1px solid rgba(var(--primary-rgb),.1); }
.table-new tr { background: rgba(26,29,38,.4); border: 1px solid rgba(var(--primary-rgb),.1); transition: all .3s ease; }
.table-new tr:nth-child(odd) { background: rgba(26,29,38,.25); }
.table-new tr:hover { background: rgba(var(--primary-rgb),.2); color: var(--accent-blue-light); }
.table-new tr:hover td { border-color: transparent; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
table th { text-align: left; background: rgba(26,29,38,.6); color: var(--accent-gold); padding: 10px 14px; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .8px; border-bottom: 2px solid rgba(var(--primary-rgb),.15); }
table td { padding: 8px 14px; border-bottom: 1px solid rgba(var(--primary-rgb),.08); color: var(--text-secondary); }

/* --- Forms --- */
.formpadrao { display: table; margin: 0 auto 8px auto; padding: 0; border: 1px solid rgba(var(--primary-rgb),.2); background: linear-gradient(145deg, rgba(35,26,18,.8), rgba(15,11,7,.9)); overflow: hidden; }
.formpadrao > div { display: table; background: transparent; }
.formpadrao .desc { width: 140px; padding: 0 14px; font-weight: 600; text-align: right; color: var(--text-primary); background: rgba(0,0,0,.25); border-right: 1px solid rgba(var(--primary-rgb),.15); }
.formpadrao .desc, .formpadrao .camp { float: left; height: 40px; line-height: 40px; }
.formpadrao .camp input, .formpadrao .camp select {
  border: 1px solid rgba(var(--primary-rgb),.18); width: 200px; margin: 5px 5px 0 0; height: 30px;
  padding: 0 10px; background: rgba(8,6,4,.65); color: var(--text-primary);
  font-size: 13px; box-shadow: inset 0 2px 4px rgba(0,0,0,.5); border-radius: 4px;
}
.formpadrao .camp input:focus, .formpadrao .camp select:focus {
  border-color: rgba(var(--primary-rgb),.6);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.5), 0 0 12px rgba(var(--primary-rgb),.25);
}

/* --- Rulesbox --- */
.rulesbox {
  height: 280px; box-sizing: border-box; overflow: auto; margin: 0 auto 20px;
  padding: 20px 24px; width: calc(100% - 20px);
  background: rgba(10,7,4,.65);
  border: 1px solid rgba(var(--primary-rgb),.15);
  border-radius: 6px; color: var(--text-primary);
  font-size: 14px; line-height: 1.7;
}

/* --- Messages --- */
.rmsg { display: table; width: 360px; margin: 0 auto 20px auto; padding: 10px; background: #108c00; border-radius: 6px; text-align: center; color: #fff; font-size: 14px; }
.rmsg.error { background: linear-gradient(145deg, rgba(180,40,40,.9), rgba(130,25,25,.95)) !important; border: 1px solid rgba(255,100,100,.4) !important; }
.rmsg.warn { background: linear-gradient(145deg, rgba(var(--primary-rgb),.15), rgba(var(--primary-rgb),.08)) !important; border: 1px solid rgba(var(--primary-rgb),.4) !important; color: var(--accent-blue-light) !important; }

/* --- Rankings --- */
.rankings_options {
    cursor: pointer; transition: all 0.25s ease;
    position: absolute; top: 20px; right: 28px;
    background: linear-gradient(145deg, #1F1810, #0E0A05);
    border: 1px solid rgba(var(--primary-rgb), 0.45);
    height: 34px; line-height: 34px; padding: 0 26px 0 12px;
    border-radius: 4px; text-transform: uppercase; font-size: 12px;
    font-weight: bold; letter-spacing: 0.08em;
    color: var(--accent-orange-glow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    box-shadow: 0 3px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(var(--primary-rgb), 0.12);
}
.rankings_options .rankings_arrow { transition: opacity 0.3s; position: absolute; top: 15px; right: 10px; display: block; width: 10px; height: 6px; background: transparent url('../imgs/nm/rankings_arrow.png') no-repeat; opacity: 0.7; filter: hue-rotate(-25deg) saturate(2) brightness(1.4); }
.rankings_options:hover { border-color: var(--accent-orange-glow); color: #FF6B7A; box-shadow: 0 5px 18px rgba(0,0,0,0.6), 0 0 22px rgba(var(--primary-rgb), 0.45); }
.rankings_options:hover .rankings_arrow { opacity: 1; }
.rankings_options > div { opacity: 0; transition: opacity 0.3s; width: 0; height: 0; overflow: hidden; position: absolute; top: 35px; right: 0; border-radius: 6px; box-shadow: 4px 4px 16px rgba(0,0,0,0.6); }
.rankings_options > div a { line-height: normal; width: 150px !important; font-size: 10px !important; padding: 5px 0 !important; }
.rankings_options:hover > div,
.rankings_options.open > div { width: auto !important; height: auto !important; opacity: 1; padding: 10px; background: linear-gradient(145deg, rgba(26, 29, 38, 0.97), rgba(15, 11, 7, 0.98)); border: 1px solid rgba(var(--primary-rgb), 0.35); }
.rankings_options > div a.ativa { color: #FF6B7A !important; text-shadow: 0 0 8px rgba(255, 107, 122, 0.5); }

/* --- Horizontal Menu --- */
.horMenu { display: table; margin: 20px auto; }
.horMenu a { float: left; padding: 10px 15px; border-bottom: 2px solid rgba(var(--primary-rgb),.2); margin: 0 0 0 10px; text-transform: uppercase; font-size: 12px; color: var(--text-secondary) !important; }
.horMenu a:first-child { margin: 0; }
.horMenu a:hover { border-color: var(--accent-gold) !important; color: var(--accent-blue-light) !important; }
.horMenu a.act { cursor: default; border-color: var(--accent-gold) !important; color: var(--accent-gold) !important; }

/* --- Paginate --- */
.paginate { display: table; margin: 30px auto; }
.paginate a { display: block; padding: 5px 10px; font-weight: bold; float: left; margin: 0 2px 0 0; border-radius: 5px; }
.paginate a { background: rgba(0,0,0,.7); border: 1px solid rgba(0,0,0,.7); color: rgba(255,255,255,.7) !important; }
.paginate a:hover { background: rgba(0,0,0,.9) !important; color: #fff !important; }
.paginate a.atual { background: #000 !important; color: #fff !important; border-color: #000 !important; }
.paginate a.desatived { background: rgba(0,0,0,.1) !important; border-color: rgba(0,0,0,.1) !important; color: rgba(0,0,0,.3) !important; cursor: default; }


/* --- WhatsApp --- */
.wa-fab { position: fixed; right: 32px; bottom: 32px; z-index: 1000; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.wa-fab__circle { width: 72px; height: 72px; border-radius: 50%; background: #25D366; box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.7); display: flex; align-items: center; justify-content: center; color: #FFF; font-size: 38px; animation: wa-fab-pulse 2.2s infinite ease-out; transition: transform .25s; }
.wa-fab:hover .wa-fab__circle { transform: scale(1.08); animation: none; }
.wa-fab__label { background: var(--accent-fire); color: #FFF; border: 1px solid #000; border-radius: 4px; padding: 3px 8px; font-family: 'Cinzel',serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@keyframes wa-fab-pulse {
  0% { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.7); }
  70% { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 22px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* --- Intro / Hero --- */
.intro {
  display: block; text-align: center; max-width: 500px;
  margin: 28px auto 22px; padding: 24px 22px 20px;
  background: radial-gradient(ellipse at top, rgba(232,241,255,.16), transparent 65%), linear-gradient(145deg, rgba(26,29,38,.85), rgba(15,11,7,.92));
  border: 1px solid rgba(232,241,255,.22); border-radius: 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; box-sizing: border-box;
}
.intro::before, .intro::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 70%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,241,255,.5), transparent);
}
.intro::before { top: 12px; }
.intro::after { bottom: 12px; }
.intro__crest { font-size: 30px; color: var(--primary); margin-bottom: 6px; filter: drop-shadow(0 0 12px rgba(var(--primary-rgb),.7)); }
.intro__title { margin: 0 auto 4px !important; width: auto !important; font-family: 'Cinzel','Marcellus',serif; font-size: 30px !important; font-weight: 800; color: #E0F5F5 !important; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 0 .25em rgba(184,232,232,.6), 0 1px 2px rgba(0,0,0,.6); }
.intro__tagline { font-family: 'Cinzel',serif; color: #A8B8D0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; opacity: .9; }
.intro__lead { font-family: 'Inter',sans-serif !important; color: var(--text-primary) !important; font-size: 13.5px !important; line-height: 1.7 !important; margin: 0 auto !important; border: none !important; background: none !important; padding: 0 !important; }
.intro__lead strong { color: var(--gold) !important; font-weight: 700; text-shadow: 0 0 10px rgba(var(--gold-rgb),.35); }

/* --- Features --- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 500px; margin: 20px auto; box-sizing: border-box; }
.features__card { background: linear-gradient(160deg, rgba(26,29,38,.9), rgba(15,11,7,.95)); border: 1px solid rgba(var(--gold-rgb),.25); border-radius: 8px; padding: 14px 10px 12px; text-align: center; transition: all .3s ease; position: relative; overflow: hidden; }
.features__card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(var(--gold-rgb),.18), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.features__card:hover { border-color: rgba(255,179,71,.7); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.6), 0 0 18px rgba(var(--gold-rgb),.32); }
.features__card:hover::before { opacity: 1; }
.features__icon { font-size: 20px; color: var(--accent-orange); margin-bottom: 4px; text-shadow: 0 0 12px rgba(var(--gold-rgb),.6); position: relative; }
.features__value { font-family: 'Cinzel',serif; font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: .04em; text-shadow: 0 0 10px rgba(var(--gold-rgb),.4); margin-bottom: 3px; position: relative; }
.features__label { font-family: 'Inter',sans-serif; font-size: 10.5px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .07em; line-height: 1.35; position: relative; }
.events__title { font-family: 'Cinzel','Marcellus',serif; text-align: center; color: var(--text-primary); text-transform: uppercase; letter-spacing: .12em; font-size: 20px; margin: 30px auto 4px; text-shadow: 0 0 14px rgba(var(--primary-rgb),.45), 0 0 26px rgba(var(--primary-rgb),.18), 0 2px 4px rgba(0,0,0,.7); }
.features.events { margin-top: 12px; }

/* --- Register Button --- */
.register-button { display: inline-flex; align-items: center; gap: 8px; padding: 16px 40px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; background: linear-gradient(135deg, var(--accent-fire) 0%, #b82838 100%); border: 1px solid var(--accent-fire); border-radius: 8px; cursor: pointer; box-shadow: 0 4px 20px rgba(var(--fire-rgb),.4); transition: all .25s ease; text-decoration: none; }
.register-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 36px rgba(var(--fire-rgb),.5); color: #fff; }

/* --- Utility --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.pddInner { padding: 0 20px; }

/* --- Donate Page --- */
.dn-title {
    font-family: 'Cinzel', 'Montserrat', serif;
    text-align: center; text-transform: uppercase; letter-spacing: 3px;
    color: #E0F5F5; margin: 26px 0 8px;
    text-shadow: 0 0 14px rgba(var(--primary-rgb), 0.55);
}
.dn-lead {
    max-width: 640px; margin: 0 auto 26px; text-align: center;
    font-family: 'Inter', 'Montserrat', sans-serif; font-size: 14px; line-height: 1.6;
    color: var(--text-secondary);
}
.dn-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 24px; margin: 0 auto 10px; max-width: 900px;
}
.dn-card {
    flex: 1 1 340px; max-width: 400px;
    background:
        radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.12), transparent 62%),
        linear-gradient(145deg, rgba(26, 29, 38, 0.88), rgba(15, 11, 7, 0.94));
    border: 1px solid rgba(var(--primary-rgb), 0.45);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 26px rgba(var(--primary-rgb), 0.18), inset 0 0 18px rgba(var(--primary-rgb), 0.05);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.dn-card:hover {
    border-color: rgba(var(--primary-rgb), 0.7);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.32), inset 0 0 22px rgba(var(--primary-rgb), 0.08);
}
.dn-card__head {
    text-align: center; padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.25);
    background: rgba(var(--primary-rgb), 0.06);
}
.dn-card__icon {
    width: 44px; height: 44px; object-fit: contain; margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.55));
}
.dn-card__name {
    font-family: 'Cinzel', 'Montserrat', serif; font-size: 20px; font-weight: 700;
    color: #E0F5F5; text-transform: uppercase; letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}
.dn-card__sub {
    font-family: 'Inter', sans-serif; font-size: 11px; line-height: 1.6; margin-top: 5px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px;
}
.dn-card__body { padding: 20px 22px 24px; text-align: center; }
.dn-qty {
    width: 150px; text-align: center; font-family: 'Cinzel', 'Montserrat', serif;
    font-weight: 700; font-size: 34px; line-height: 1; color: #E0F5F5;
    background: rgba(0, 24, 24, 0.6); border: 1px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 6px; padding: 8px 4px; outline: none;
}
.dn-qty:focus { border-color: var(--primary); box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.4); }
.dn-hint {
    font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-secondary); margin-top: 7px;
}
.dn-range { width: 100%; margin: 18px 0 4px; accent-color: var(--primary); cursor: pointer; }
.dn-scale {
    display: flex; justify-content: space-between;
    font-family: 'Inter', sans-serif; font-size: 11px; color: var(--text-secondary);
}
.dn-table { margin: 14px auto 0 !important; text-align: left; }
.dn-table .dn-r { text-align: right; }
.dn-table .dn-bonus { color: var(--primary); }
.dn-bonus-row.dn-off { opacity: .45; }
.dn-price {
    font-family: 'Cinzel', 'Montserrat', serif; font-weight: 700; font-size: 28px;
    color: var(--primary); margin-top: 14px; text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.45);
}
.dn-cta { display: table; margin: 16px auto 0; }
.dn-pack {
    max-width: 900px; margin: 0 auto 24px;
    background:
        radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.12), transparent 62%),
        linear-gradient(145deg, rgba(26, 29, 38, 0.88), rgba(15, 11, 7, 0.94));
    border: 1px solid rgba(var(--primary-rgb), 0.45);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 26px rgba(var(--primary-rgb), 0.18), inset 0 0 18px rgba(var(--primary-rgb), 0.05);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.dn-pack:hover {
    border-color: rgba(var(--primary-rgb), 0.7);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.32), inset 0 0 22px rgba(var(--primary-rgb), 0.08);
}
.dn-pack__head {
    text-align: center; padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.25);
    background: rgba(var(--primary-rgb), 0.06);
}
.dn-pack__name {
    font-family: 'Cinzel', 'Montserrat', serif; font-size: 22px; font-weight: 700;
    color: #E0F5F5; text-transform: uppercase; letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}
.dn-pack__sub {
    font-family: 'Inter', sans-serif; font-size: 11px; line-height: 1.6; margin-top: 5px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px;
}
.dn-pack__items {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px; padding: 20px 22px;
}
.dn-item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: rgba(0, 24, 24, 0.45);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-left: 2px solid rgba(var(--primary-rgb), 0.55);
    border-radius: 6px; padding: 10px 12px;
    font-family: 'Inter', sans-serif; line-height: 1.3;
}
.dn-item__n { font-size: 12.5px; color: #E0F5F5; font-weight: 600; }
.dn-item__q { font-size: 12px; color: var(--primary); font-weight: 700; white-space: nowrap; }
.dn-pack__foot {
    text-align: center; padding: 4px 22px 24px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
}
.dn-pack__foot .dn-price { margin-top: 16px; }
.dn-foot {
    max-width: 600px; margin: 22px auto 0; text-align: center;
    font-family: 'Inter', sans-serif; font-size: 11px; line-height: 1.6;
    color: var(--text-secondary);
}
.table-new { width: 100%; border-collapse: collapse; }
.table-new td { padding: 8px 0; font-size: 13px; color: var(--text-secondary); border-top: 1px solid rgba(var(--primary-rgb),.1); }

@keyframes animation-opa { 0%,100%{opacity:1} 50%{opacity:.25} }
.animation-image { animation: animation-opa 2s linear infinite; }

/* --- Info Page (estilo MegaPvP) --- */
article li { color: var(--text-secondary); font-size: 13px; line-height: 1.8; margin-left: 20px; list-style: square; }
article li b { color: #E0F5F5; }
article .table-new td b { color: var(--gold); }
article h2 b { color: var(--accent-blue-light); }

/* ============================================================
   CASTLES / SIEGE
   ============================================================ */
.castled { width: 400px; margin: 0 auto 10px; }
.castled, .castled > div { display: table; }
.castled .ct { font-size: 16px; font-weight: bold; padding: 10px 0 10px 30px; }
.castled .imgc { width: 200px; height: 113px; border: 1px solid rgba(0,0,0,0.3); float: left; border-radius: 7px; overflow: hidden; }
.castled .imgc span { display: block; width: 200px; height: 113px; background: rgba(0,0,0,0.6) url('../imgs/nm/castles.jpg') no-repeat; border-radius: 6px; }
.castled .ci { float: left; width: 188px; padding: 2px 0 0 10px; }
.castled .ci .co { font-weight: bold; color: var(--text-primary); }
.castled .ci .cc { margin-bottom: 8px; font-size: 12px; color: var(--text-secondary); }
.castled .nwar { padding: 5px 0 10px 0; font-size: 12px; color: var(--text-secondary); }
.castled .nwar b { color: var(--accent-gold-light); }

.castled .imgc.aden span      { background-position: left top; }
.castled .imgc.goddard span   { background-position: -200px top; }
.castled .imgc.giran span     { background-position: -400px top; }
.castled .imgc.oren span      { background-position: -600px top; }
.castled .imgc.dion span      { background-position: -800px top; }
.castled .imgc.gludio span    { background-position: -1000px top; }
.castled .imgc.innadril span  { background-position: -1200px top; }
.castled .imgc.rune span      { background-position: -1400px top; }
.castled .imgc.schuttgart span { background-position: -1600px top; }

.siege-info {
    max-width: 420px; margin: 0 auto 20px;
    padding: 14px 18px;
    background: rgba(var(--primary-rgb),.08);
    border: 1px solid rgba(var(--primary-rgb),.25);
    border-radius: 8px;
    text-align: center;
    font-family: 'Inter', sans-serif; font-size: 14px;
}
.siege-info b { color: var(--accent-gold-light); }

/* ============================================================
   PLAYER PANEL
   ============================================================ */
.panel-tabs {
    display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap;
}
.panel-tab {
    flex: 1; min-width: 120px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 14px; border-radius: 6px;
    background: rgba(0,24,24,.5); border: 1px solid rgba(var(--primary-rgb),.15);
    color: var(--text-secondary); font-family: 'Inter', sans-serif;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .5px; transition: all .2s;
    text-decoration: none;
}
.panel-tab:hover { border-color: rgba(var(--primary-rgb),.4); color: var(--text-primary); }
.panel-tab.active { background: rgba(var(--primary-rgb),.15); border-color: var(--accent-teal); color: #fff; }

.panel-card {
    background: rgba(0,24,24,.45);
    border: 1px solid rgba(var(--primary-rgb),.15);
    border-radius: 8px; margin-bottom: 16px; overflow: hidden;
}
.panel-card-title {
    padding: 12px 18px; font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--text-primary);
    text-transform: uppercase; letter-spacing: .5px;
    border-bottom: 1px solid rgba(var(--primary-rgb),.12);
    background: rgba(var(--primary-rgb),.06);
}

.panel-info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: rgba(var(--primary-rgb),.08);
}
.panel-info-item {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 18px; background: rgba(0,24,24,.6);
}
.panel-info-label {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px;
}
.panel-info-value {
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: #fff;
}

.panel-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(var(--primary-rgb),.08);
}
.panel-stat-box {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 10px; background: rgba(0,24,24,.6); text-align: center;
}
.panel-stat-num {
    font-family: 'Cinzel', serif; font-size: 22px; font-weight: 800; color: #fff;
}
.panel-stat-box.pvp .panel-stat-num { color: var(--accent-teal); }
.panel-stat-box.pk .panel-stat-num { color: var(--accent-red); }
.panel-stat-box.time .panel-stat-num { color: var(--accent-gold-light); }
.panel-stat-label {
    font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px;
}

.panel-char-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(var(--primary-rgb),.08);
}
.panel-char-row:last-child { border-bottom: none; }
.panel-char-name {
    font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: #fff;
}
.panel-char-details {
    font-family: 'Inter', sans-serif; font-size: 11px; color: var(--text-secondary);
    margin-top: 3px;
}
.panel-badge {
    display: inline-block; padding: 1px 6px; border-radius: 3px;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    margin-left: 4px;
}
.panel-badge.hero { background: rgba(255,193,7,.2); color: #ffc107; border: 1px solid rgba(255,193,7,.3); }
.panel-badge.nobless { background: rgba(156,39,176,.2); color: #ce93d8; border: 1px solid rgba(156,39,176,.3); }
.panel-badge.online { background: rgba(76,175,80,.2); color: #4caf50; border: 1px solid rgba(76,175,80,.3); }

.panel-char-stats { display: flex; gap: 16px; }
.panel-char-stat { display: flex; flex-direction: column; align-items: center; }
.panel-char-stat-val {
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: #fff;
}
.panel-char-stat-val.pvp { color: var(--accent-teal); }
.panel-char-stat-val.pk { color: var(--accent-red); }
.panel-char-stat-lbl {
    font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 600;
    color: var(--text-secondary); text-transform: uppercase;
}

.panel-coins-display {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 24px; font-family: 'Inter', sans-serif;
}
.panel-coins-display i { font-size: 28px; color: var(--accent-gold-light); }
.panel-coins-count { font-size: 36px; font-weight: 800; color: #fff; }
.panel-coins-label { font-size: 14px; color: var(--text-secondary); }


/* --- Contagem Regressiva --- */
.countdown-soon { position: relative; margin: 26px 0 30px; padding: 28px 20px; text-align: center; border-radius: 12px; background: radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb),.14), transparent 65%), linear-gradient(160deg, rgba(26,29,38,.96), rgba(15,11,7,.98)); border: 1px solid rgba(var(--gold-rgb),.35); box-shadow: 0 10px 34px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; }
.countdown-soon::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(var(--primary-rgb),.12), transparent 60%); pointer-events: none; }
.countdown-soon__title { color: var(--gold); font-family: 'Cinzel', serif; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; text-shadow: 0 0 14px rgba(var(--gold-rgb),.45); }
.countdown-soon__timer { display: inline-flex; align-items: center; gap: 12px; }
.countdown-soon__cell { position: relative; display: inline-flex; flex-direction: column; align-items: center; min-width: 74px; padding: 14px 16px 12px; background: linear-gradient(180deg, rgba(20,24,33,.92), rgba(10,12,18,.95)); border: 1px solid rgba(var(--gold-rgb),.4); border-radius: 10px; box-shadow: 0 0 14px rgba(var(--gold-rgb),.12), inset 0 1px 0 rgba(255,255,255,.06); }
.countdown-soon__cell b { color: #ffffff; font-size: 34px; line-height: 1; font-family: 'Cinzel', serif; font-weight: 800; text-shadow: 0 0 16px rgba(var(--gold-rgb),.55); }
.countdown-soon__cell i { color: rgba(255,220,120,.85); font-size: 10px; font-style: normal; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.countdown-soon__sep { color: var(--gold); font-size: 28px; font-weight: 800; text-shadow: 0 0 12px rgba(var(--gold-rgb),.5); animation: btn-old-pulse 2s ease-in-out infinite; }
.countdown-soon__subtitle { position: relative; color: rgba(220,220,230,.8); font-size: 13px; letter-spacing: .04em; margin-top: 16px; font-style: italic; }
@media (max-width: 600px) {
  .countdown-soon__cell { min-width: 62px; padding: 10px 10px 8px; }
  .countdown-soon__cell b { font-size: 24px; }
  .countdown-soon__title { font-size: 15px; }
  .countdown-soon__timer { gap: 6px; }
}





/* --- Botão Versão Antiga --- */

.btn-old-version {
    position: fixed;
    top: 35px;
    right: 1500px;

    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 0;

    padding: 10px 18px;

    background: linear-gradient(
        180deg,
        #1a1a1a 0%,
        #0a0a0a 100%
    );

    border: 2px solid #0a6339;
    border-top: none;
    border-right: none;

    color: #0a6339;

    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    text-decoration: none;

    box-shadow:
        0 0 10px rgba(255,215,0,.15),
        inset 0 1px 0 rgba(255,255,255,.08);

    animation: btn-old-pulse 2s ease-in-out infinite;

    transition:
        background .3s,
        color .3s;
}

/* --- Efeito Hover --- */

.btn-old-version:hover {
    background: #0a6339;
    color: #5cca78;

    box-shadow:
        0 0 20px rgba(0, 255, 128, 0.5);

    animation: none;
}

/* --- Espada / Ícone --- */

.btn-old-version__sword {
    font-size: 16px;
    margin-right: 6px;

    filter:
        drop-shadow(0 0 4px rgba(0, 255, 115, 0.6));
}

/* --- Animação de Brilho --- */

@keyframes btn-old-pulse {

    0%, 100% {
        box-shadow:
            0 0 10px rgba(255,215,0,.15),
            inset 0 1px 0 rgba(255,255,255,.08);
    }

    50% {
        box-shadow:
            0 0 22px rgba(0, 255, 136, 0.5),
            0 0 40px rgba(255,215,0,.15),
            inset 0 1px 0 rgba(255,255,255,.08);
    }

}