/* ============================================================
   ZEUSMIX NEO-BRUTALIST STYLESHEET (100% ZERO JS REQUIRED)
   High-contrast, Tor-compatible, zero-fingerprint design
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F4EFE6;
  --card-bg: #FFFFFF;
  --border-color: #000000;
  --black: #000000;
  --yellow: #FFE600;
  --mint: #4ADE80;
  --cyan: #38BDF8;
  --coral: #FF5C5C;
  --lavender: #C084FC;
  --cream: #FAF8F5;
  --shadow-sm: 3px 3px 0px #000;
  --shadow-md: 5px 5px 0px #000;
  --shadow-lg: 8px 8px 0px #000;
  --border-thick: 3px solid #000;
  --font-mono: "JetBrains Mono", Menlo, Monaco, "Courier New", monospace;
}

body {
  background-color: var(--bg);
  color: var(--black);
  font-family: var(--font-mono);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.container {
  max-width: 740px;
  margin: 0 auto;
  width: 100%;
}

/* Top Header */
header {
  background: var(--card-bg);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.brand-badge {
  background: var(--yellow);
  border: 2px solid var(--black);
  padding: 2px 8px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 2px 2px 0px #000;
}

.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.network-pill {
  background: var(--mint);
  border: 2px solid var(--black);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 2px 2px 0px #000;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
}

/* No-Script Verified Banner */
.noscript-banner {
  background: #000;
  color: var(--yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Zero Tracking & Zero Logs Guarantee Banner */
.guarantee-banner {
  background: #EBFBEE;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  padding: 9px 16px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guarantee-title {
  color: #2B8A3E;
}

.guarantee-badge {
  font-size: 10px;
  color: #111;
  background: #fff;
  border: 1px solid #000;
  padding: 1px 6px;
}

/* Main Card */
.main-card {
  background: var(--card-bg);
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.card-subtitle {
  font-size: 12px;
  color: #555;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.text-input {
  flex: 1;
  background: var(--cream);
  border: 2px solid var(--black);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  box-shadow: 2px 2px 0px #000;
  outline: none;
  transition: background 0.1s, box-shadow 0.1s;
}

.text-input:focus {
  background: #FFF;
  box-shadow: 4px 4px 0px #000;
}

.percent-input {
  width: 90px;
  background: var(--yellow);
  border: 2px solid var(--black);
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 2px 2px 0px #000;
  outline: none;
}

/* Priority Radios */
.priority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.priority-option {
  position: relative;
}

.priority-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.priority-card {
  border: 2px solid var(--black);
  padding: 14px;
  background: var(--cream);
  box-shadow: 3px 3px 0px #000;
  cursor: pointer;
  display: block;
  transition: transform 0.08s, box-shadow 0.08s;
}

.priority-card:hover {
  background: #FFF;
}

.priority-option input[type="radio"]:checked + .priority-card {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

.priority-title {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.priority-sub {
  font-size: 11px;
  font-weight: 700;
  color: #333;
  margin-top: 4px;
}

/* Brutalist Buttons */
.btn-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  background: #FFF04D;
}

.btn-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.btn-secondary {
  background: var(--cream);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0px #000;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s;
}

.btn-secondary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #000;
  background: #FFF;
}

/* Tables and Boxes */
.allocated-box {
  background: var(--cream);
  border: 3px dashed var(--black);
  padding: 18px;
  margin: 16px 0;
  word-break: break-all;
  font-size: 15px;
  font-weight: 900;
  color: #000;
  box-shadow: 3px 3px 0px #000;
}

.split-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 12px;
}

.split-table th, .split-table td {
  border: 2px solid var(--black);
  padding: 9px 12px;
  text-align: left;
}

.split-table th {
  background: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.split-table td {
  background: #FFF;
  font-weight: 700;
}

/* Accordions */
details {
  background: var(--card-bg);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

summary {
  padding: 12px 16px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  background: #FFF;
  border-bottom: 2px solid transparent;
  outline: none;
  user-select: none;
}

details[open] summary {
  background: var(--cyan);
  border-bottom: 2px solid var(--black);
}

.details-body {
  padding: 16px;
  font-size: 12px;
  background: var(--cream);
  line-height: 1.6;
}

/* Badges & Tags */
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0px #000;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-cyan {
  background: var(--cyan);
}

.badge-mint {
  background: var(--mint);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}

.lang-btn {
  background: var(--card-bg);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0px #000;
  padding: 3px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s;
  display: inline-block;
}

.lang-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
  background: var(--cream);
}

.lang-btn.active {
  background: var(--yellow);
  box-shadow: 3px 3px 0px #000;
}

/* Lo-Fi Switcher Button */
.btn-lofi {
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0px #000;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.08s, box-shadow 0.08s, background 0.08s;
}

.btn-lofi:hover {
  background: #222;
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #000;
}

/* Documentation & Content Typography */
.content-card h2 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-card p {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 14px;
  line-height: 1.6;
}

.content-card ul, .content-card ol {
  margin: 12px 0 16px 20px;
  font-size: 13px;
  font-weight: 600;
}

.content-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.content-card code {
  background: var(--cream);
  border: 1px solid var(--black);
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 1px 1px 0px #000;
}

.callout-box {
  background: var(--cream);
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0px #000;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 12px;
  font-weight: 700;
}

.callout-box.callout-mint {
  background: #E8FBE8;
  border-color: #000;
}

.callout-box.callout-yellow {
  background: #FFFBE6;
  border-color: #000;
}

.nav-links {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px solid var(--black);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border: var(--border-thick);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--black);
  text-decoration: underline;
  font-weight: 700;
}

.footer-nav a:hover {
  background: var(--yellow);
}

/* ============================================================
   DYNAMIC ADDRESS ROW CONTROLLER (100% PURE CSS, ZERO JS)
   Interactive row addition/removal using :checked pseudo-class
   ============================================================ */
.count-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

.count-badge {
  display: none;
  background: #000;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border: 1px solid #000;
}

#count-1:checked ~ * .count-badge-1 { display: inline-block; }
#count-2:checked ~ * .count-badge-2 { display: inline-block; }
#count-3:checked ~ * .count-badge-3 { display: inline-block; }
#count-4:checked ~ * .count-badge-4 { display: inline-block; }
#count-5:checked ~ * .count-badge-5 { display: inline-block; }

.btn-ctrl {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 0.05s, box-shadow 0.05s, background 0.05s;
}

.btn-ctrl:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}

.btn-plus {
  background: var(--mint);
  color: #000;
}
.btn-plus:hover {
  background: #22c55e;
}

.btn-minus {
  background: var(--coral);
  color: #FFF;
}
.btn-minus:hover {
  background: #ef4444;
}

/* Header button visibility depending on active count */
#count-1:checked ~ * .btn-plus-1 { display: inline-flex; align-items: center; gap: 4px; }
#count-2:checked ~ * .btn-plus-2 { display: inline-flex; align-items: center; gap: 4px; }
#count-3:checked ~ * .btn-plus-3 { display: inline-flex; align-items: center; gap: 4px; }
#count-4:checked ~ * .btn-plus-4 { display: inline-flex; align-items: center; gap: 4px; }

#count-2:checked ~ * .btn-minus-2 { display: inline-flex; align-items: center; gap: 4px; }
#count-3:checked ~ * .btn-minus-3 { display: inline-flex; align-items: center; gap: 4px; }
#count-4:checked ~ * .btn-minus-4 { display: inline-flex; align-items: center; gap: 4px; }
#count-5:checked ~ * .btn-minus-5 { display: inline-flex; align-items: center; gap: 4px; }

/* Bottom big "+ Add another address" button */
.btn-plus-bottom {
  display: none;
  width: 100%;
  text-align: center;
  background: #FFF;
  color: #000;
  border: 2px dashed #000;
  padding: 9px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
  margin-bottom: 14px;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.08s;
}

.btn-plus-bottom:hover {
  background: var(--yellow);
  border-style: solid;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}

#count-1:checked ~ * .btn-plus-bottom-1 { display: block; }
#count-2:checked ~ * .btn-plus-bottom-2 { display: block; }
#count-3:checked ~ * .btn-plus-bottom-3 { display: block; }
#count-4:checked ~ * .btn-plus-bottom-4 { display: block; }

/* Inline row remove button */
.row-remove-btn {
  background: #FFF;
  color: var(--coral);
  border: 1.5px solid #000;
  box-shadow: 1.5px 1.5px 0px #000;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: all 0.05s;
}

.row-remove-btn:hover {
  background: var(--coral);
  color: #FFF;
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0px #000;
}

/* Visibility of Address Rows 2 to 5 */
.dest-row-2, .dest-row-3, .dest-row-4, .dest-row-5 {
  display: none;
}

#count-2:checked ~ * .dest-row-2,
#count-3:checked ~ * .dest-row-2,
#count-4:checked ~ * .dest-row-2,
#count-5:checked ~ * .dest-row-2 {
  display: block;
}

#count-3:checked ~ * .dest-row-3,
#count-4:checked ~ * .dest-row-3,
#count-5:checked ~ * .dest-row-3 {
  display: block;
}

#count-4:checked ~ * .dest-row-4,
#count-5:checked ~ * .dest-row-4 {
  display: block;
}

#count-5:checked ~ * .dest-row-5 {
  display: block;
}

/* Multi-Out Split Mode conditional display */
.single-out-note {
  display: none;
}
.multi-out-options {
  display: none;
}

#count-1:checked ~ * .single-out-note {
  display: block;
}

#count-2:checked ~ * .multi-out-options,
#count-3:checked ~ * .multi-out-options,
#count-4:checked ~ * .multi-out-options,
#count-5:checked ~ * .multi-out-options {
  display: grid;
}

@media (max-width: 600px) {
  .priority-grid {
    grid-template-columns: 1fr;
  }
  .input-row {
    flex-direction: column;
    align-items: stretch;
  }
  .percent-input {
    width: 100%;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .lang-switch {
    margin-left: 0;
  }
}
