/* ===============================================================
 * S.C.A.L.E. Bonus Pages — dark/gold brand styling
 * Loaded only on /bonuses/* via class-bonus-pages.php enqueue.
 * =============================================================== */

.scale-bonus-wrap {
  background: #06040A;
  min-height: 100vh;
  padding: 60px 16px;
  color: #EDE4CC;
  font-family: Barlow, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
}

.scale-bonus-container {
  max-width: 760px;
  margin: 0 auto;
  background: #0D0A12;
  border: 1px solid #2C2438;
  border-top: 3px solid #C9A84C;
  border-radius: 12px;
  padding: 56px 56px 40px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .scale-bonus-container { padding: 36px 24px 28px; }
  .scale-bonus-wrap { padding: 28px 12px; }
}

/* HEADER */
.scale-bonus-header { margin-bottom: 36px; text-align: center; }
.scale-bonus-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 700;
  margin-bottom: 14px;
}
.scale-bonus-title {
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
}
@media (max-width: 768px) { .scale-bonus-title { font-size: 34px; } }

/* BODY — markdown rendered content */
.scale-bonus-body { font-size: 16px; }

.scale-bonus-body h1,
.scale-bonus-body h2,
.scale-bonus-body h3,
.scale-bonus-body h4 {
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 1.8em 0 0.6em;
  line-height: 1.1;
}
.scale-bonus-body h1 { font-size: 32px; }
.scale-bonus-body h2 {
  font-size: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2C2438;
  color: #F0C060;
}
.scale-bonus-body h3 { font-size: 21px; color: #F0C060; }
.scale-bonus-body h4 { font-size: 17px; color: #C9A84C; text-transform: uppercase; letter-spacing: 0.08em; }

.scale-bonus-body p { margin: 0 0 1.2em; }
.scale-bonus-body strong { color: #ffffff; font-weight: 700; }
.scale-bonus-body em { color: #F0C060; font-style: italic; }

.scale-bonus-body a {
  color: #F0C060;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scale-bonus-body a:hover { color: #ffffff; }

.scale-bonus-body ul,
.scale-bonus-body ol { padding-left: 28px; margin: 0 0 1.2em; }
.scale-bonus-body li { margin-bottom: 0.5em; }
.scale-bonus-body ul li::marker { color: #C9A84C; }
.scale-bonus-body ol li::marker { color: #F0C060; font-weight: 700; }

.scale-bonus-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7A5E28, transparent);
  margin: 2em 0;
}

.scale-bonus-body code {
  background: #16121E;
  color: #F0C060;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: Consolas, Menlo, monospace;
  font-size: 0.92em;
}

.scale-bonus-body pre {
  background: #16121E;
  border: 1px solid #2C2438;
  border-radius: 8px;
  padding: 18px 22px;
  overflow-x: auto;
  margin: 1.4em 0;
  line-height: 1.55;
}
.scale-bonus-body pre code {
  background: transparent;
  padding: 0;
  color: #EDE4CC;
  font-size: 13px;
}

/* TABLES */
.scale-bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  border-radius: 8px;
  overflow: hidden;
}
.scale-bonus-table th,
.scale-bonus-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #2C2438;
  text-align: left;
  font-size: 14px;
}
.scale-bonus-table th {
  background: #16121E;
  color: #C9A84C;
  font-family: Barlow, Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scale-bonus-table tr:last-child td { border-bottom: 0; }
.scale-bonus-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* FOOTER */
.scale-bonus-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2C2438;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5e5876;
}
.scale-bonus-footer a {
  color: #C9A84C;
  text-decoration: none;
}
.scale-bonus-footer a:hover { color: #F0C060; }

/* ACCESS GATE */
.scale-bonus-gate { text-align: center; }
.scale-bonus-gate-intro {
  font-size: 15px;
  color: #8A7A9A;
  margin: 24px auto 32px;
  max-width: 480px;
  line-height: 1.6;
}
.scale-bonus-gate-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.scale-bonus-gate-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 14px 18px;
  background: #16121E;
  border: 1px solid #2C2438;
  border-radius: 8px;
  color: #EDE4CC;
  font-family: Barlow, Arial, sans-serif;
  font-size: 15px;
}
.scale-bonus-gate-form input[type="email"]:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.scale-bonus-gate-form button {
  background: linear-gradient(135deg, #C9A84C 0%, #F0C060 100%);
  color: #06040A;
  border: 0;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.scale-bonus-gate-form button:hover { box-shadow: 0 0 24px rgba(240,192,96,0.4); }
.scale-bonus-gate-help {
  margin-top: 28px;
  font-size: 13px;
  color: #8A7A9A;
}
.scale-bonus-gate-err {
  background: rgba(212,82,79,0.12);
  border: 1px solid rgba(212,82,79,0.35);
  color: #D4524F;
  padding: 12px 18px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 480px;
  font-size: 13.5px;
}

.scale-bonus-error {
  text-align: center;
  padding: 40px 20px;
  color: #D4524F;
  font-family: Barlow, Arial, sans-serif;
  font-size: 14px;
}

/* LIST OF BONUSES (parent /bonuses/ page) */
.scale-bonus-listing {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
  color: #EDE4CC;
}
.scale-bonus-listing ul { list-style: none; padding: 0; }
.scale-bonus-listing li {
  background: #16121E;
  border: 1px solid #2C2438;
  border-radius: 8px;
  padding: 16px 22px;
  margin-bottom: 12px;
}
.scale-bonus-listing li a {
  color: #F0C060;
  text-decoration: none;
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
}
