/* ============================================================
   ARBORIA — Theme completo
   Paleta: verde-floresta #082D27 | ouro #C99A39 | esmeralda #21B77A
   Fonts: Cinzel (display) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --bg:          #061B19;
  --bg-card:     #0a2c22;
  --bg-card2:    #0d3a2e;
  --border:      rgba(201,154,57,0.22);
  --border-gold: rgba(201,154,57,0.5);
  --gold:        #C99A39;
  --gold-light:  #F3D47C;
  --green:       #21B77A;
  --text:        #c8bfa0;
  --text-dim:    #7a9088;
  --text-head:   #F3D47C;
  --radius:      8px;
  --radius-lg:   14px;
  --nav-h:       62px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
body, ul, ol, h1, h2, h3, h4, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: var(--gold); transition: color .15s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

/* ── BASE ── */
body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', Georgia, serif;
  color: var(--text-head);
  letter-spacing: .5px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--nav-h);
  background: linear-gradient(135deg, #071e18 0%, #040f0d 100%);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

nav .container {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
  overflow: visible;
}

/* Logo no nav */
.arb-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 28px;
  flex-shrink: 0;
  text-decoration: none;
}
.arb-nav-icon {
  height: 36px;
  width: 36px;
  object-fit: contain;
}
.arb-nav-brandname {
  font-family: 'Cinzel', serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 3px;
  line-height: 1;
}

/* Menu items */
nav .container > div > ul,
nav .container .pull-left > ul {
  display: flex;
  align-items: center;
  gap: 0;
  height: var(--nav-h);
}

nav .container > div > ul > li,
nav .container .pull-left > ul > li {
  display: block;
  position: relative;
  height: var(--nav-h);
}

nav .container > div > ul > li > a,
nav .container .pull-left > ul > li > a {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 16px;
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
nav .container > div > ul > li > a i { margin-right: 5px; font-size: .82em; }
nav .container > div > ul > li > a:hover,
nav .container > div > ul > li:hover > a { color: var(--gold-light); background: rgba(201,154,57,.06); }

/* Dropdown */
nav .container > div > ul > li > ul,
nav .container .pull-left > ul > li > ul {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  min-width: 190px;
  background: #071e18;
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--gold);
  z-index: 1000;
  padding: 4px 0;
}
nav .container > div > ul > li:hover > ul,
nav .container .pull-left > ul > li:hover > ul { display: block; }

nav .container > div > ul > li > ul > li > a,
nav .container .pull-left > ul > li > ul > li > a {
  display: block;
  padding: 9px 18px;
  font-size: .82rem;
  color: var(--text);
  transition: color .15s, background .15s;
}
nav .container > div > ul > li > ul > li > a:hover,
nav .container .pull-left > ul > li > ul > li > a:hover {
  color: var(--gold-light);
  background: rgba(201,154,57,.08);
}

/* Login widget no nav */
.pull-right#loginContainer { margin-left: auto; }
#loginContainer .well { background: transparent !important; border: none !important; padding: 0; }
#loginContainer .loginForm { display: flex; align-items: center; gap: 8px; }
#loginContainer .loginForm input {
  height: 32px;
  padding: 0 10px;
  font-size: .78rem;
  background: rgba(255,255,255,.05) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 5px;
  width: 130px;
}
#loginContainer .loginForm button {
  height: 32px;
  padding: 0 14px;
  font-size: .75rem;
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, #0C5A43, #082D27) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold-light) !important;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 1px;
  white-space: nowrap;
}
#loginContainer .loginForm button:hover { filter: brightness(1.2); }
#loginContainer li { text-align: right; list-style: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.arb-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('/images/banner_hero.webp') center/cover no-repeat;
}
.arb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(4,12,10,.55) 0%,
    rgba(6,27,25,.75) 60%,
    var(--bg) 100%
  );
  z-index: 1;
}
.arb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px 50px;
}
.arb-hero-logo {
  max-height: 160px;
  max-width: 520px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 32px rgba(201,154,57,.35));
}
.arb-hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: .85;
}
.arb-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(6,27,25,.75);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: .88rem;
  margin-bottom: 28px;
}
.arb-stat { display: flex; align-items: center; gap: 5px; }
.arb-stat-sep { color: var(--border-gold); font-size: 1.1rem; }
.arb-stat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.arb-stat-dot.is-online  { background: var(--green); box-shadow: 0 0 7px var(--green); }
.arb-stat-dot.is-offline { background: #d08080; }

.arb-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.arb-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: filter .2s, border-color .2s;
  background: linear-gradient(135deg, #0C5A43 0%, #082D27 100%);
  border: 2px solid var(--gold);
  color: var(--gold-light) !important;
}
.arb-cta-btn:hover { filter: brightness(1.18); border-color: var(--gold-light); color: var(--gold-light) !important; }
.arb-cta-outline {
  background: transparent;
  border-color: rgba(201,154,57,.45);
  color: var(--text) !important;
}
.arb-cta-outline:hover { border-color: var(--gold); color: var(--gold-light) !important; background: rgba(201,154,57,.06); }

/* ============================================================
   LAYOUT GRID
   ============================================================ */
.main {
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  padding: 0 20px;
}
.feedContainer {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 32px;
  overflow: visible;
}
.leftPane  { flex: 1 1 0; min-width: 0; }
.rightPane { width: 290px; flex-shrink: 0; }
.topPane   { width: 100%; margin-bottom: 20px; }
.pull-left  { float: left; }
.pull-right { float: right; }
.preventCollapse { overflow: visible; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.centralizeContent { text-align: center; }

/* ============================================================
   CARDS / WELLS
   ============================================================ */
.well {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 16px;
}
.well .header {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--border);
  background: rgba(201,154,57,.04);
  border-radius: var(--radius) var(--radius) 0 0;
}
.well .body { padding: 12px; }

/* Notícias */
.postHolder { padding: 14px 2px 4px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.postHolder:last-child { border-bottom: none; }
.postHolder h2 { font-size: 1.1rem; color: var(--gold-light); margin-bottom: 6px; }
.postHolder .date { font-size: .75rem; color: var(--text-dim); margin-bottom: 10px; }
.postHolder p  { line-height: 1.65; color: var(--text); }
.postHolder ul { padding-left: 18px; }
.postHolder li { margin-bottom: 4px; }
.postHolder a  { color: var(--gold); }
.postHolder a:hover { color: var(--gold-light); }
.postHolder table { border-collapse: collapse; }
.postHolder td, .postHolder th { padding: 7px 12px; border: 1px solid var(--border); }
.postHolder th { background: rgba(201,154,57,.08); color: var(--gold-light); font-family: 'Cinzel', serif; }

/* ============================================================
   TABELAS
   ============================================================ */
table { width: 100%; border-collapse: collapse; }
td, th { padding: 9px 10px; }
th {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,154,57,.06);
  border-bottom: 1px solid var(--border-gold);
}
tr:nth-child(odd)  { background: rgba(10,44,34,.5); }
tr:nth-child(even) { background: rgba(13,58,46,.3); }
tr:hover td { background: rgba(201,154,57,.06) !important; }
td { border-bottom: 1px solid rgba(201,154,57,.06); color: var(--text); font-size: .88rem; }

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], select, textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: rgba(4,12,10,.8) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(201,154,57,.15);
}
textarea { height: auto; padding: 10px 12px; }

button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: linear-gradient(135deg, #0C5A43, #082D27) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold-light) !important;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: 1px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter .2s, border-color .2s;
}
button:hover, input[type="submit"]:hover { filter: brightness(1.18); border-color: var(--gold-light) !important; }

select { cursor: pointer; }

.loginForm { display: flex; flex-direction: column; gap: 8px; }
.loginForm .well { width: 100%; }

/* ============================================================
   ALERT BOXES
   ============================================================ */
.alert-box {
  border-radius: var(--radius);
  border: 1px solid;
  padding: 10px 16px;
  margin-bottom: 14px;
  font-size: .88rem;
}
.alert-default  { background: rgba(13,58,46,.7);  color: var(--gold);   border-color: rgba(201,154,57,.3); }
.alert-success  { background: rgba(10,61,26,.7);  color: #4ecb7a;       border-color: #145a28; }
.alert-warning  { background: rgba(74,46,0,.7);   color: #e0a040;       border-color: #6a4000; }
.alert-danger   { background: rgba(60,14,14,.7);  color: #d08080;       border-color: #5a1a1a; }
.alert-info     { background: rgba(0,45,69,.7);   color: #60b8d8;       border-color: #004060; }
.alert-collapse { display: inline-block; }
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }

/* ============================================================
   WIDGETS DA SIDEBAR
   ============================================================ */
.widget, .search_widget { margin-bottom: 16px; }
.widget .body, .search_widget .body { padding: 10px; }

/* Search widget */
.search_widget form { display: flex; gap: 6px; }
.searchForm { width: 100%; }
.searchForm input { width: 100%; }
div.relative { position: relative; }
#name_suggestion {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #071e18;
  border: 1px solid var(--border-gold);
  z-index: 100;
  display: none;
}
#name_suggestion.show { display: block; }
.sname a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  transition: background .15s;
}
.sname a:hover { background: rgba(201,154,57,.08); color: var(--gold-light); }

/* Link buttons grid */
ul.linkbuttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 0; }
ul.linkbuttons li { display: block; }
ul.linkbuttons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: .82rem;
  text-align: center;
  transition: background .15s, color .15s;
}
ul.linkbuttons li a:hover { background: rgba(201,154,57,.08); color: var(--gold-light); }

/* ============================================================
   BOTÃO DE DOWNLOAD
   ============================================================ */
.arboria-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #0C5A43 0%, #082D27 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--gold-light) !important;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 14px 0;
  transition: filter .2s, border-color .2s;
}
.arboria-download-btn:hover { filter: brightness(1.15); border-color: var(--gold-light); }

/* ============================================================
   STATUS DOT
   ============================================================ */
.arboria-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
  vertical-align: middle;
}

/* ============================================================
   FOOTER
   ============================================================ */
.arb-footer {
  background: #040f0d;
  border-top: 1px solid var(--border-gold);
  padding: 32px 20px;
  margin-top: 20px;
}
.arb-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.arb-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.arb-footer-brand img { height: 32px; opacity: .75; }
.arb-footer-brand span {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: .9rem;
}
.arb-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.arb-footer-links a {
  color: var(--text-dim);
  font-size: .82rem;
  letter-spacing: .5px;
  transition: color .15s;
}
.arb-footer-links a:hover { color: var(--gold-light); }

/* ============================================================
   COUNTDOWN
   ============================================================ */
#countDownTimer { color: var(--green); font-size: .9rem; padding: 6px 10px; }

/* ============================================================
   UTILIDADES / ZNOTE COMPAT
   ============================================================ */
.smedia { font-size: 2em; }
.smedia a { padding: 10px; }
.page_credits .feedContainer .pull-left.leftPane { padding: 0 8px; }
.page_characterprofile #characterProfileTable thead th:first-of-type { position: relative; width: 28%; }
.page_characterprofile #characterProfileTable thead th:last-of-type { text-align: left; padding-left: 16px; }
.page_characterprofile .outfit { position: absolute; top: 0; left: 0; }
.page_characterprofile .flag  { position: absolute; top: 16px; right: 16px; }
.postHolder iframe { display: block; margin: auto; }
.leftPane img { max-width: 100%; }

/* ============================================================
   RESPONSIVO BÁSICO
   ============================================================ */
@media (max-width: 900px) {
  .feedContainer { flex-direction: column; }
  .rightPane { width: 100%; }
  .arb-nav-brandname { display: none; }
  .arb-hero { min-height: 320px; }
  .arb-hero-logo { max-height: 110px; }
  nav .container > div > ul > li > a { padding: 0 10px; font-size: .72rem; }
}
@media (max-width: 600px) {
  .arb-hero-stats { flex-direction: column; gap: 8px; }
  .arb-hero-cta { flex-direction: column; align-items: center; }
  #loginContainer { display: none; }
}

/* Nav action buttons */
.arb-nav-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.arb-nav-btn {
  display:inline-flex; align-items:center; gap:5px;
  height:32px; padding:0 14px;
  font-family:Cinzel,serif; font-size:.72rem; font-weight:600; letter-spacing:1px;
  background:rgba(201,154,57,.12); border:1px solid rgba(201,154,57,.35);
  color:var(--gold) !important; border-radius:5px; white-space:nowrap;
  transition:background .15s, border-color .15s;
}
.arb-nav-btn:hover { background:rgba(201,154,57,.2); border-color:var(--gold); color:var(--gold-light) !important; }
.arb-nav-btn-sm { display:inline-flex; align-items:center; height:32px; padding:0 10px; font-size:.72rem; color:var(--text-dim) !important; border-radius:5px; }
.arb-nav-btn-sm:hover { color:var(--gold) !important; }
.arb-nav-btn-gold {
  display:inline-flex; align-items:center; height:32px; padding:0 16px;
  font-family:Cinzel,serif; font-size:.72rem; font-weight:700; letter-spacing:1px;
  background:linear-gradient(135deg,#0C5A43,#082D27); border:1px solid var(--gold);
  color:var(--gold-light) !important; border-radius:5px; white-space:nowrap;
}
.arb-nav-btn-gold:hover { filter:brightness(1.2); color:var(--gold-light) !important; }
.arb-nav-btn-outline {
  display:inline-flex; align-items:center; height:32px; padding:0 14px;
  font-family:Cinzel,serif; font-size:.72rem; letter-spacing:1px;
  background:transparent; border:1px solid rgba(201,154,57,.3);
  color:var(--text) !important; border-radius:5px; white-space:nowrap;
}
.arb-nav-btn-outline:hover { border-color:var(--gold); color:var(--gold) !important; }

/* Login widget no sidebar - esconde label, estiliza */
.loginContainer .well { background:transparent !important; border:none !important; padding:0; }
.loginContainer label { display:none; }
.loginContainer .submitButton { width:100%; margin-top:4px; height:38px; }
.loginContainer .loginForm input[type="text"],
.loginContainer .loginForm input[type="password"] { width:100% !important; margin-bottom:4px; }
.loginContainer center { margin-top:10px; }
.loginContainer center h3 { font-size:.82rem; margin-bottom:4px; }
.loginContainer center p { font-size:.78rem; color:var(--text-dim); }
