:root {
  --bg: #14100c;
  --panel: #1e1812;
  --panel2: #262019;
  --border: #3a3226;
  --gold: #c9a45c;
  --gold-bright: #e8c87e;
  --text: #d8cfc0;
  --muted: #8d8272;
  --red: #b04a3a;
  --green: #6f9e50;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("background.jpg") center top / cover no-repeat;
  filter: brightness(0.32) saturate(0.9);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(30, 24, 18, 0.88);
  border-bottom: 2px solid var(--gold);
}
.logo {
  font-size: 26px;
  letter-spacing: 6px;
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: bold;
}
.logo-ver {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  vertical-align: super;
}
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
nav a:hover { color: var(--gold-bright); }
nav a.cta {
  background: var(--gold);
  color: #1a1408;
  padding: 7px 14px;
  border-radius: 3px;
  font-weight: bold;
}
nav a.cta:hover { background: var(--gold-bright); color: #1a1408; }
form.inline { display: inline; }
button.linklike {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
button.linklike:hover { color: var(--gold-bright); }
main {
  flex: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}
h1 { color: var(--gold-bright); font-size: 30px; margin-bottom: 18px; letter-spacing: 1px; }
h2 { color: var(--gold); font-size: 21px; margin: 26px 0 12px; }
p { line-height: 1.65; margin: 10px 0; }
a { color: var(--gold); }
.flash {
  background: #2c1d16;
  border: 1px solid var(--red);
  color: #e8b8ae;
  padding: 11px 15px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.panel {
  background: rgba(30, 24, 18, 0.90);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 18px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.stat {
  background: rgba(30, 24, 18, 0.90);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}
.stat .n { font-size: 30px; color: var(--gold-bright); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--gold); font-size: 14px; }
tr:hover td { background: var(--panel2); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot.on { background: var(--green); }
.dot.off { background: #55493a; }
label { display: block; margin: 14px 0 5px; color: var(--gold); font-size: 15px; }
input[type=text], input[type=password], input[type=email] {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  background: #0f0c08;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
input:focus { outline: none; border-color: var(--gold); }
.radio-row { display: flex; gap: 22px; margin: 8px 0; }
.radio-row label { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--text); }
button.primary {
  margin-top: 20px;
  background: var(--gold);
  color: #1a1408;
  border: none;
  padding: 11px 26px;
  font: inherit;
  font-size: 16px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
}
button.primary:hover { background: var(--gold-bright); }
.acc-number {
  font-size: 38px;
  letter-spacing: 5px;
  color: var(--gold-bright);
  background: #0f0c08;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
  margin: 18px 0;
  font-family: Consolas, monospace;
}
.hint { color: var(--muted); font-size: 14px; }
.connect-box code {
  background: #0f0c08;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
  color: var(--gold-bright);
  font-size: 15px;
}
footer {
  text-align: center;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: rgba(20, 16, 12, 0.85);
}
.hero {
  margin: -10px 0 22px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hero img { display: block; width: 100%; height: auto; }
table { background: rgba(30, 24, 18, 0.88); }

/* v2 additions */
.navsearch input {
  width: 150px;
  padding: 6px 10px;
  background: #0f0c08;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.steps { display: flex; flex-direction: column; gap: 10px; }
.step { line-height: 1.6; }
.stepnum {
  display: inline-block;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--gold);
  color: #1a1408;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 9px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.feature {
  background: rgba(30, 24, 18, 0.90);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
}
.feature h3 { color: var(--gold); font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text); margin: 0; }
.showcase {
  text-align: center;
  margin: 24px 0;
  background: rgba(20, 16, 12, 0.75);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 10px 8px;
  overflow-x: auto;
}
.showcase img { max-width: 100%; height: auto; image-rendering: pixelated; }
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tabs.sub { margin-bottom: 18px; }
.tab {
  padding: 6px 13px;
  background: rgba(30, 24, 18, 0.90);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.tab:hover { border-color: var(--gold); }
.tab.active { background: var(--gold); color: #1a1408; font-weight: bold; }
table.kv td:first-child { color: var(--gold); width: 130px; }
table a { text-decoration: none; }
table a:hover { text-decoration: underline; }

/* v2.1 additions */
textarea {
  width: 100%;
  padding: 10px 12px;
  background: #0f0c08;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
button.linklike.danger { color: var(--red); font-size: 13px; }
button.linklike.danger:hover { color: #d97a68; }
.danger-btn { background: var(--red) !important; color: #fff !important; }
.newspost h3 { font-size: 18px; }
