/*
 * ============================================================================
 *  HMP-2025  |  Front-end theme layer
 *  ---------------------------------------------------------------------------
 *  main.css is PRE-COMPILED Tailwind and contains no table/form/legacy styles,
 *  so structural styling for the investment front-end lives here.
 *
 *  Sections:
 *    1.  Legacy class remap  (the script's own .inpts/.sbmt/.menutxt/... )
 *    2.  Layout helpers
 *    3.  Buttons
 *    4.  Cards
 *    5.  Plans / tables
 *    6.  Stats
 *    7.  Forms
 *    8.  Auth pages
 *    9.  Header / nav / mobile drawer
 *    10. Footer
 *    11. Misc (alerts, badges, pagination, reveal)
 * ============================================================================
 */

/* ==========================================================================
   1. LEGACY CLASS REMAP
   The script emits these classes on every page. Re-skinning them here means
   even templates we have not rebuilt adopt the new look.
   ========================================================================== */

body {
  background-color: #0d1017;
  color: #f8f9fa;
}

.forTexts,
body,
td {
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #dbe2e6;
}

/* the script's outer wrapper tables must not constrain the layout */
.center,
center > table {
  width: 100%;
}

.leftlinks {
  color: #7c8ea5;
}

.forCopyright {
  display: block;
  padding: 20px 16px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.8125rem;
  color: rgba(248, 249, 250, 0.45);
  text-align: center;
  background-color: transparent;
  border-top: 1px solid rgba(124, 142, 165, 0.14);
}

.forCopyright a {
  color: rgba(248, 249, 250, 0.45);
}

.toptable {
  background-color: transparent;
}

a.toplink,
a.toplink:hover,
a.toplink:visited,
a.toplink:active {
  color: #dbe2e6;
  text-decoration: none;
}

a.menutxt,
a.menutxt:hover,
a.menutxt:visited,
a.menutxt:active {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  color: #dbe2e6;
  text-decoration: none;
  transition: color 0.25s ease;
}

a.menutxt:hover {
  color: #a97fff;
}

.menutxt {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  color: #dbe2e6;
}

th {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.9);
  text-align: left;
}

h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(248, 249, 250, 0.92);
}

.title {
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(248, 249, 250, 0.75);
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(124, 142, 165, 0.16);
}

/* plan / history table cells */
td.inheader {
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(248, 249, 250, 0.55);
  text-align: left;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(124, 142, 165, 0.16);
}

td.item {
  padding: 12px;
  color: #dbe2e6;
  background-color: transparent;
  border-bottom: 1px solid rgba(124, 142, 165, 0.09);
}

/* the script's 1px "line" spacer cells */
.line {
  background-color: rgba(124, 142, 165, 0.16);
}

.bgcolorleft,
.bgcolormain,
.bgcolorright {
  background-color: transparent;
}

div.framebody {
  text-align: left;
}

td.gray {
  color: #7c8ea5;
}

.error,
.error-text {
  color: #ff7b8a;
}

.success,
.success-text {
  color: #4ade80;
}

a.hlp {
  color: #dbe2e6;
  cursor: help;
  text-decoration: none;
}

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */

.hyip-main {
  min-height: 60vh;
  padding-top: 130px;
  padding-bottom: 60px;
}

@media (min-width: 1024px) {
  .hyip-main {
    padding-top: 160px;
  }
}

/* ---- member-area layout ----
   The original templates chain their navigation through the sidebar
   (header/footer -> left.tpl -> login_box.tpl). Those pages are built as
   <table> blocks that carry their own inline width attributes, so the layout
   they produce is honoured as-is; these rules only make that markup legible
   on the dark theme. */

.hyip-main table {
  width: 100%;
}

/* the legacy 300px sidebar column */
.hyip-main td[width="300"] {
  width: 300px;
}

@media (max-width: 1023px) {
  .hyip-main td[width="300"] {
    width: auto;
  }
}

/* the script's 1px decorative spacer gifs must not stretch the layout */
.hyip-main img[width="1"],
.hyip-main img[height="1"] {
  width: 1px;
  height: 1px;
}

/* content column used by inner pages */
.hyip-page {
  max-width: 980px;
}

/* prose block for long text pages (rules, about, faq) */
.hyip-prose {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(219, 226, 230, 0.78);
}

.hyip-prose p {
  margin-bottom: 1.15rem;
}

.hyip-prose b,
.hyip-prose strong {
  color: rgba(248, 249, 250, 0.95);
  font-weight: 600;
}

.hyip-prose a {
  color: #a97fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hyip-prose a:hover {
  color: #c4a6ff;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.hyip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #dbe2e6;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: #11141d;
  border: 1px solid rgba(141, 89, 255, 0.3);
  border-radius: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hyip-btn:hover {
  color: #fff;
  background-color: #1a1f2b;
  border-color: rgba(141, 89, 255, 0.6);
}

/* solid / primary */
.hyip-btn--primary {
  color: #0d1017;
  background-color: #dbe2e6;
  border-color: transparent;
}

.hyip-btn--primary:hover {
  color: #0d1017;
  background-color: #fff;
  border-color: transparent;
}

/* glow variant (matches the theme's purple halo) */
.hyip-btn--glow {
  position: relative;
  color: #f8f9fa;
  background-color: #11141d;
  border: 1px solid rgba(141, 89, 255, 0.35);
  box-shadow: 0 0 26px rgba(141, 89, 255, 0.28);
}

.hyip-btn--glow:hover {
  background-color: #1a1f2b;
  box-shadow: 0 0 34px rgba(141, 89, 255, 0.45);
}

.hyip-btn--ghost {
  color: #dbe2e6;
  background-color: transparent;
  border-color: rgba(124, 142, 165, 0.3);
}

.hyip-btn--ghost:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 142, 165, 0.5);
}

.hyip-btn--sm {
  height: 40px;
  padding: 0 1.1rem;
  font-size: 0.75rem;
  border-radius: 12px;
}

.hyip-btn--lg {
  height: 56px;
  padding: 0 2rem;
  font-size: 0.875rem;
}

.hyip-btn--block {
  width: 100%;
}

/* ==========================================================================
   4. CARDS
   ========================================================================== */

.hyip-card {
  position: relative;
  padding: 28px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 18px;
}

.hyip-card--pad-lg {
  padding: 34px;
}

.hyip-card--glow {
  box-shadow: 0 0 40px rgba(141, 89, 255, 0.1);
  border-color: rgba(141, 89, 255, 0.24);
}

/* top hairline used across the theme */
.hyip-card__hairline {
  position: absolute;
  top: 0;
  left: 50%;
  width: 55%;
  height: 1px;
  background: radial-gradient(circle at center, #8d59ff 0%, rgba(141, 89, 255, 0) 100%);
  transform: translateX(-50%);
}

.hyip-card__title {
  font-family: "Sora", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.92);
}

.hyip-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(219, 226, 230, 0.6);
}

.hyip-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.hyip-col-12 { grid-column: span 12 / span 12; }

@media (min-width: 640px) {
  .hyip-col-sm-6 { grid-column: span 6 / span 6; }
}

@media (min-width: 1024px) {
  .hyip-col-lg-3 { grid-column: span 3 / span 3; }
  .hyip-col-lg-4 { grid-column: span 4 / span 4; }
  .hyip-col-lg-6 { grid-column: span 6 / span 6; }
}

/* ==========================================================================
   5. PLANS + TABLES
   ========================================================================== */

.hyip-tablewrap {
  overflow-x: auto;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 16px;
}

table.hyip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

table.hyip-table th {
  padding: 11px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(248, 249, 250, 0.5);
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(124, 142, 165, 0.16);
}

table.hyip-table td {
  padding: 13px 14px;
  color: rgba(219, 226, 230, 0.85);
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

table.hyip-table tbody tr:last-child td,
table.hyip-table tr:last-child td {
  border-bottom: none;
}

table.hyip-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

table.hyip-table td.is-num,
table.hyip-table th.is-num {
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
}

table.hyip-table td.is-center,
table.hyip-table th.is-center {
  text-align: center;
}

table.hyip-table td.is-strong {
  font-weight: 600;
  color: rgba(248, 249, 250, 0.95);
}

/* highlight row for totals */
table.hyip-table tr.is-total td {
  font-weight: 600;
  color: rgba(248, 249, 250, 0.95);
  background-color: rgba(141, 89, 255, 0.07);
}

/* ---- plan cards (home) ---- */

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 26px;
  overflow: hidden;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 20px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.plan-card:hover {
  border-color: rgba(141, 89, 255, 0.42);
  transform: translateY(-3px);
}

.plan-card--featured {
  border-color: rgba(141, 89, 255, 0.5);
  box-shadow: 0 0 46px rgba(141, 89, 255, 0.16);
}

.plan-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: #0d1017;
  text-transform: uppercase;
  background-color: #d0ff00;
  border-radius: 999px;
}

.plan-card__name {
  font-family: "Sora", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.92);
}

.plan-card__rate {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 4px;
}

.plan-card__rate b {
  font-family: "Sora", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.plan-card__rate span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.55);
}

.plan-card__meta {
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.5);
}

.plan-card__list {
  flex: 1;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.plan-card__list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.875rem;
  color: rgba(219, 226, 230, 0.78);
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.plan-card__list li:last-child {
  border-bottom: none;
}

.plan-card__list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  color: #8d59ff;
  content: "\2713";
}

.plan-card__tiers {
  width: 100%;
  margin: 14px 0 0;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.plan-card__tiers th {
  padding: 7px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: rgba(248, 249, 250, 0.42);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(124, 142, 165, 0.16);
}

.plan-card__tiers td {
  padding: 7px 0;
  color: rgba(219, 226, 230, 0.8);
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.plan-card__tiers td.is-num {
  font-family: "IBM Plex Mono", monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   6. STATS
   ========================================================================== */

.stat-tile {
  position: relative;
  padding: 24px;
  text-align: center;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 16px;
}

.stat-tile__value {
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.stat-tile__label {
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(219, 226, 230, 0.5);
  text-transform: uppercase;
}

/* inline stat list (sidebars) */
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row__k {
  color: rgba(219, 226, 230, 0.55);
}

.stat-row__v {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.92);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   7. FORMS
   ========================================================================== */

.hyip-field {
  margin-bottom: 16px;
}

.hyip-label {
  display: block;
  margin-bottom: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(219, 226, 230, 0.6);
  text-transform: uppercase;
}

.hyip-input,
.hyip-select,
.hyip-textarea,
input.inpts,
select.inpts,
textarea.inpts {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9375rem;
  color: #f8f9fa;
  background-color: #0b0e14;
  border: 1px solid rgba(124, 142, 165, 0.24);
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.hyip-textarea,
textarea.inpts {
  min-height: 130px;
  line-height: 1.65;
  resize: vertical;
}

.hyip-input:focus,
.hyip-select:focus,
.hyip-textarea:focus,
input.inpts:focus,
select.inpts:focus,
textarea.inpts:focus {
  border-color: rgba(141, 89, 255, 0.65);
  outline: none;
  box-shadow: 0 0 0 3px rgba(141, 89, 255, 0.16);
}

.hyip-input::placeholder,
.hyip-textarea::placeholder {
  color: rgba(219, 226, 230, 0.32);
}

.hyip-select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23dbe2e6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.hyip-select option {
  color: #f8f9fa;
  background-color: #12161f;
}

/* submit buttons rendered by the script */
input.sbmt,
input[type="submit"].sbmt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 46px;
  padding: 0 1.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: #0d1017;
  cursor: pointer;
  background-color: #dbe2e6;
  border: none;
  border-radius: 12px;
  transition: background-color 0.25s ease;
}

input.sbmt:hover {
  background-color: #fff;
}

.hyip-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(219, 226, 230, 0.72);
}

.hyip-check input[type="checkbox"],
.hyip-check input[type="radio"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: #8d59ff;
}

/* two-column form row */
.hyip-form-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .hyip-form-row > .span-6 { grid-column: span 6 / span 6; }
}

.hyip-form-row > .span-12 { grid-column: span 12 / span 12; }

.hyip-hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.42);
}

/* ==========================================================================
   8. AUTH PAGES
   ========================================================================== */

.hyip-auth {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.hyip-auth__card {
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.18);
  border-radius: 22px;
  box-shadow: 0 0 60px rgba(141, 89, 255, 0.08);
}

.hyip-auth__title {
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.94);
}

.hyip-auth__sub {
  margin-bottom: 26px;
  font-size: 0.875rem;
  color: rgba(219, 226, 230, 0.5);
}

/* ==========================================================================
   9. HEADER / NAV
   ========================================================================== */

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 60;
  width: calc(100% - 32px);
  max-width: 1290px;
  padding: 10px 14px;
  background-color: rgba(13, 13, 18, 0.72);
  border: 1px solid rgba(124, 142, 165, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background-color 0.3s ease, top 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(13, 13, 18, 0.9);
  border-color: rgba(124, 142, 165, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* brand */
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #8d59ff 0%, #5a2fd0 100%);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(141, 89, 255, 0.42);
}

.brand__name {
  font-family: "Sora", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  padding: 9px 13px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: rgba(248, 249, 250, 0.72);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav__link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
}

.site-nav__link.is-active {
  color: #fff;
  background-color: rgba(141, 89, 255, 0.18);
}

.site-header__actions {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

/* hamburger */
.nav-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 12px;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: #dbe2e6;
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background-color: #dbe2e6;
  border-radius: 2px;
  content: "";
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { bottom: -6px; }

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header__actions { display: flex; }
  .nav-toggle { display: none; }
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(4px);
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(340px, 88vw);
  height: 100%;
  padding: 24px 22px 32px;
  overflow-y: auto;
  background-color: #0f121a;
  border-left: 1px solid rgba(124, 142, 165, 0.16);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  line-height: 1;
  color: #dbe2e6;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 12px;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-drawer__links a {
  display: block;
  padding: 13px 2px;
  font-size: 0.9375rem;
  color: rgba(248, 249, 250, 0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 142, 165, 0.1);
}

.nav-drawer__links a:hover,
.nav-drawer__links a.is-active {
  color: #fff;
}

.nav-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
  margin-top: 40px;
  padding-top: 70px;
  background-color: #0d1017;
}

.site-footer__panel {
  position: relative;
  padding: 40px 24px 24px;
  overflow: hidden;
  background-color: #11141d;
  border-radius: 30px;
}

@media (min-width: 768px) {
  .site-footer__panel {
    padding: 44px 36px 26px;
  }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 24px;
}

.site-footer__col {
  grid-column: span 12 / span 12;
}

@media (min-width: 640px) {
  .site-footer__col--sm4 { grid-column: span 6 / span 6; }
}

@media (min-width: 1024px) {
  .site-footer__col--lg3 { grid-column: span 3 / span 3; }
  .site-footer__col--lg4 { grid-column: span 4 / span 4; }
  .site-footer__col--lg6 { grid-column: span 6 / span 6; }
}

.site-footer__heading {
  margin-bottom: 10px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(248, 249, 250, 0.92);
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-block;
  padding: 7px 0;
  font-size: 0.875rem;
  color: rgba(248, 249, 250, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 18px 4px 0;
  font-size: 0.8125rem;
  color: rgba(248, 249, 250, 0.45);
  border-top: 1px solid rgba(124, 142, 165, 0.14);
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__bottom a {
  color: rgba(248, 249, 250, 0.45);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   11. MISC
   ========================================================================== */

/* inline notices / alerts */
.hyip-alert {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.65;
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 12px;
}

.hyip-alert--ok {
  color: #86efac;
  background-color: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.28);
}

.hyip-alert--err {
  color: #fca5b0;
  background-color: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.28);
}

.hyip-alert--info {
  color: rgba(219, 226, 230, 0.8);
  background-color: rgba(141, 89, 255, 0.08);
  border-color: rgba(141, 89, 255, 0.26);
}

.hyip-alert ul {
  margin: 0;
  padding-left: 18px;
}

/* small pill */
.hyip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(248, 249, 250, 0.7);
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 142, 165, 0.18);
  border-radius: 999px;
}

.hyip-pill--accent {
  color: #c4a6ff;
  background-color: rgba(141, 89, 255, 0.14);
  border-color: rgba(141, 89, 255, 0.32);
}

/* section heading block */
.hyip-head {
  margin-bottom: 34px;
  text-align: center;
}

.hyip-head__title {
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(248, 249, 250, 0.92);
}

.hyip-head__sub {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(219, 226, 230, 0.55);
}

@media (min-width: 1024px) {
  .hyip-head__title {
    font-size: 2.25rem;
  }
}

/* pagination */
ul.pagination,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

ul.pagination li {
  display: inline-block;
  padding: 0;
}

.pagination a,
.pagination span,
ul.pagination a,
ul.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.75);
  text-decoration: none;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 10px;
}

.pagination a:hover,
ul.pagination a:hover {
  color: #fff;
  border-color: rgba(141, 89, 255, 0.5);
}

.pagination .current,
.pagination .active,
ul.pagination .current {
  color: #0d1017;
  background-color: #dbe2e6;
  border-color: transparent;
}

/* reveal-on-scroll (progressive enhancement; visible by default) */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* coin/currency icon used in the script's transaction tables */
.tx-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  border-radius: 50%;
}

/* utility */
.hyip-mt-0 { margin-top: 0; }
.hyip-mt-8 { margin-top: 8px; }
.hyip-mt-16 { margin-top: 16px; }
.hyip-mt-24 { margin-top: 24px; }
.hyip-mt-32 { margin-top: 32px; }
.hyip-mt-48 { margin-top: 48px; }
.hyip-mb-0 { margin-bottom: 0; }
.hyip-mb-16 { margin-bottom: 16px; }
.hyip-mb-24 { margin-bottom: 24px; }
.hyip-mb-32 { margin-bottom: 32px; }
.hyip-text-center { text-align: center; }
.hyip-text-right { text-align: right; }
.hyip-nowrap { white-space: nowrap; }
.hyip-muted { color: rgba(219, 226, 230, 0.5); }
.hyip-small { font-size: 0.8125rem; }
.hyip-hidden { display: none; }

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */

.hyip-faq {
  overflow: hidden;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 18px;
}

.hyip-faq details {
  border-bottom: 1px solid rgba(124, 142, 165, 0.1);
}

.hyip-faq details:last-child {
  border-bottom: none;
}

.hyip-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  font-family: "Sora", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(248, 249, 250, 0.9);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hyip-faq summary::-webkit-details-marker {
  display: none;
}

.hyip-faq summary:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.03);
}

.hyip-faq summary::after {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.0625rem;
  line-height: 24px;
  color: #c4a6ff;
  text-align: center;
  background-color: rgba(141, 89, 255, 0.14);
  border: 1px solid rgba(141, 89, 255, 0.28);
  border-radius: 50%;
  content: "+";
  transition: transform 0.25s ease;
}

.hyip-faq details[open] summary::after {
  content: "\2212";
}

.hyip-faq details[open] summary {
  color: #fff;
}

.hyip-faq__body {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(219, 226, 230, 0.7);
}

.hyip-faq__body p {
  margin-bottom: 0.9rem;
}

.hyip-faq__body p:last-child {
  margin-bottom: 0;
}

.hyip-faq__body a {
  color: #c4a6ff;
}

/* ==========================================================================
   13. INFO / LEGAL PAGE HEADER
   ========================================================================== */

.hyip-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 18px;
}

@media (max-width: 639px) {
  .hyip-doc {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   14. SIDEBAR NAV LINES
   ========================================================================== */

.hyip-navline {
  display: block;
  padding: 9px 0;
  font-size: 0.875rem;
  color: rgba(219, 226, 230, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.hyip-navline:last-child {
  border-bottom: none;
}

.hyip-navline:hover {
  color: #fff;
  padding-left: 4px;
}

/* ==========================================================================
   15. MEMBER DASHBOARD
   Layout shell + the account overview page. Uses the same purple palette as
   the rest of the front-end.
   ========================================================================== */

/* ---- layout shell (sidebar + content) ---- */

.hyip-shell {
  max-width: 1290px;
  margin-inline: auto;
  padding-inline: 20px;
}

.hyip-shell__content {
  min-width: 0;
}

@media (min-width: 1024px) {
  .hyip-shell--sidebar {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  /* the page's own container no longer needs its own gutter here */
  .hyip-shell--sidebar .main-container {
    max-width: none;
    padding-inline: 0;
  }
}

.hyip-shell__aside {
  margin-bottom: 26px;
}

@media (min-width: 1024px) {
  .hyip-shell__aside {
    position: sticky;
    top: 112px;
    margin-bottom: 0;
  }
}

/* ---- account navigation sidebar ---- */

.account-nav {
  padding: 20px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 18px;
}

.account-nav__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(124, 142, 165, 0.14);
}

.account-nav__avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #8d59ff 0%, #5a2fd0 100%);
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(141, 89, 255, 0.34);
}

.account-nav__identity small {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: rgba(219, 226, 230, 0.45);
}

.account-nav__identity strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(248, 249, 250, 0.94);
  overflow-wrap: anywhere;
}

.account-nav__label {
  padding: 16px 0 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  color: rgba(219, 226, 230, 0.38);
  text-transform: uppercase;
}

.account-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: rgba(219, 226, 230, 0.74);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.account-nav__link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.account-nav__link.is-active {
  color: #fff;
  background-color: rgba(141, 89, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(141, 89, 255, 0.34);
}

.account-nav__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  color: rgba(196, 166, 255, 0.85);
}

.account-nav__icon svg {
  width: 17px;
  height: 17px;
}

.account-nav__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  font-size: 0.8125rem;
  color: #ff9aa6;
  text-decoration: none;
  border-top: 1px solid rgba(124, 142, 165, 0.14);
}

.account-nav__logout:hover {
  color: #ffc2ca;
}

.account-nav__logout svg {
  width: 16px;
  height: 16px;
}

/* ---- dashboard page heading ---- */

.dash-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 26px;
  margin-bottom: 22px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 20px;
}

.dash-heading h1 {
  margin: 4px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: rgba(248, 249, 250, 0.92);
}

.dash-heading h1 strong {
  font-weight: 700;
}

.dash-heading p:not(.dash-eyebrow) {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: rgba(219, 226, 230, 0.55);
}

.dash-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #c4a6ff;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .dash-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.dash-heading__actions {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 900px) {
  .dash-heading__actions {
    display: flex;
    width: auto;
  }
}

/* ---- notices / alerts ---- */

.dash-notices {
  margin-bottom: 20px;
}

.dash-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  margin-bottom: 10px;
  background-color: rgba(141, 89, 255, 0.08);
  border: 1px solid rgba(141, 89, 255, 0.26);
  border-radius: 12px;
}

.dash-notice strong {
  display: block;
  font-size: 0.875rem;
  color: rgba(248, 249, 250, 0.94);
}

.dash-notice p {
  margin: 3px 0 0;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.62);
}

.dash-alert {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.72);
  background-color: rgba(208, 255, 0, 0.06);
  border: 1px solid rgba(208, 255, 0, 0.24);
  border-radius: 12px;
}

.dash-alert strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.875rem;
  color: rgba(248, 249, 250, 0.94);
}

.dash-alert a {
  display: inline-block;
  margin-top: 7px;
  color: #d0ff00;
}

.dash-alert__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  font-weight: 700;
  color: #0d1017;
  background-color: #d0ff00;
  border-radius: 50%;
}

/* ---- metric tiles ---- */

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

@media (min-width: 640px) {
  .dash-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .dash-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dash-metric {
  min-width: 0;
  padding: 20px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 16px;
}

.dash-metric__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  margin-inline: 0;
  color: #c4a6ff;
  background-color: rgba(141, 89, 255, 0.15);
  border-radius: 11px;
}

.dash-metric__icon svg {
  width: 17px;
  height: 17px;
}

.dash-metric p {
  margin: 0 0 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  color: rgba(219, 226, 230, 0.46);
  text-transform: uppercase;
}

.dash-metric strong {
  display: block;
  overflow: hidden;
  font-family: "Sora", sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-metric small {
  display: block;
  margin-top: 7px;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.42);
}

/* highlighted (primary) metric - purple */
.dash-metric--primary {
  background: linear-gradient(145deg, #8d59ff 0%, #5a2fd0 100%);
  border-color: transparent;
  box-shadow: 0 0 40px rgba(141, 89, 255, 0.24);
}

.dash-metric--primary .dash-metric__icon {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

.dash-metric--primary p,
.dash-metric--primary small {
  color: rgba(255, 255, 255, 0.78);
}

.dash-metric--primary strong {
  color: #fff;
}

/* ---- columns ---- */

.dash-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1200px) {
  .dash-columns {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    align-items: start;
  }
}

.dash-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.dash-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* ---- cards ---- */

.dash-card {
  min-width: 0;
  padding: 22px;
  background-color: #0f121a;
  border: 1px solid rgba(124, 142, 165, 0.16);
  border-radius: 18px;
}

.dash-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.92);
}

.dash-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-card__head .dash-eyebrow {
  margin-bottom: 3px;
}

.dash-card__head > a {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  color: #c4a6ff;
  white-space: nowrap;
}

/* ---- portfolio ---- */

.portfolio-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 700px) {
  .portfolio-summary {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
}

.portfolio-ring {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 168px;
  height: 168px;
  background: conic-gradient(#8d59ff 0 68%, rgba(124, 142, 165, 0.16) 68% 100%);
  border-radius: 50%;
}

.portfolio-ring::before {
  position: absolute;
  width: 138px;
  height: 138px;
  background-color: #0f121a;
  border-radius: 50%;
  content: "";
}

.portfolio-ring span {
  position: relative;
  z-index: 1;
  max-width: 118px;
  text-align: center;
}

.portfolio-ring small,
.portfolio-ring strong {
  display: block;
}

.portfolio-ring small {
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: rgba(219, 226, 230, 0.46);
  text-transform: uppercase;
}

.portfolio-ring strong {
  overflow: hidden;
  margin-top: 3px;
  font-family: "Sora", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  text-overflow: ellipsis;
}

.portfolio-list {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
}

.portfolio-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.portfolio-list > div:last-child {
  border-bottom: none;
}

.portfolio-list dt {
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.55);
}

.portfolio-list dd {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.94);
}

.payment-balance,
.pending-payment {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 11px 14px;
  font-size: 0.8125rem;
  border-radius: 10px;
}

.payment-balance {
  color: rgba(219, 226, 230, 0.7);
  background-color: rgba(255, 255, 255, 0.04);
}

.payment-balance strong {
  color: rgba(248, 249, 250, 0.94);
}

.pending-payment {
  color: #e6ff9c;
  background-color: rgba(208, 255, 0, 0.08);
  border: 1px solid rgba(208, 255, 0, 0.22);
}

/* ---- activity list ---- */

.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 0.9375rem;
  border-radius: 11px;
}

.activity-icon.is-incoming {
  color: #86efac;
  background-color: rgba(34, 197, 94, 0.14);
}

.activity-icon.is-outgoing {
  color: #c4a6ff;
  background-color: rgba(141, 89, 255, 0.16);
}

.activity-row strong,
.activity-row small {
  display: block;
}

.activity-row strong {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.9);
}

.activity-row small {
  margin-top: 2px;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.42);
}

.activity-row b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 249, 250, 0.94);
  white-space: nowrap;
}

.dash-empty {
  padding: 30px 16px;
  text-align: center;
}

.dash-empty span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.375rem;
  color: rgba(141, 89, 255, 0.7);
}

.dash-empty strong {
  display: block;
  font-size: 0.875rem;
  color: rgba(248, 249, 250, 0.9);
}

.dash-empty p {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.45);
}

/* ---- profile + referral cards ---- */

.profile-card {
  text-align: center;
}

.profile-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: #c4a6ff;
  background-color: rgba(141, 89, 255, 0.15);
  border-radius: 16px;
}

.profile-card__icon svg {
  width: 24px;
  height: 24px;
}

.profile-card > p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  color: rgba(219, 226, 230, 0.45);
  text-transform: uppercase;
}

.profile-card h2 {
  margin: 3px 0 16px;
  overflow-wrap: anywhere;
}

.profile-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  text-align: left;
  border-bottom: 1px solid rgba(124, 142, 165, 0.08);
}

.profile-card dt {
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.5);
}

.profile-card dd {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: rgba(248, 249, 250, 0.9);
}

.profile-card .hyip-btn,
.referral-card .hyip-btn {
  width: 100%;
  margin-top: 18px;
}

.referral-card > p:not(.dash-eyebrow) {
  margin: 8px 0 14px;
  font-size: 0.8125rem;
  color: rgba(219, 226, 230, 0.55);
}

.referral-copy-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.referral-url {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 13px;
  overflow: hidden;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.8);
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #0b0e14;
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 10px;
}

.referral-copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 15px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: #dbe2e6;
  cursor: pointer;
  background-color: rgba(141, 89, 255, 0.16);
  border: 1px solid rgba(141, 89, 255, 0.32);
  border-radius: 10px;
  transition: background-color 0.22s ease;
}

.referral-copy-button:hover {
  color: #fff;
  background-color: rgba(141, 89, 255, 0.3);
}

.referral-copy-button.is-copied {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
  background-color: rgba(34, 197, 94, 0.16);
}

.referral-copy-button svg {
  width: 15px;
  height: 15px;
}

.referral-copy-feedback {
  min-height: 16px;
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.5);
}

@media (max-width: 420px) {
  .referral-copy-row {
    flex-direction: column;
  }

  .referral-copy-button {
    min-height: 42px;
  }
}

/* ==========================================================================
   16. MEMBER AREA SHELL (mheader.tpl / mfooter.tpl)
   Compact chrome for the logged-in dashboard so it reads as an application
   rather than the public marketing site.
   ========================================================================== */

/* offset the fixed member header */
.hyip-main--member {
  padding-top: 104px;
}

@media (min-width: 1024px) {
  .hyip-main--member {
    padding-top: 118px;
  }
}

.site-header--member {
  max-width: 1290px;
}

/* the member header carries a small "member area" tag */
.member-tag {
  display: none;
  padding: 5px 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: #c4a6ff;
  text-transform: uppercase;
  background-color: rgba(141, 89, 255, 0.14);
  border: 1px solid rgba(141, 89, 255, 0.3);
  border-radius: 999px;
}

@media (min-width: 1280px) {
  .member-tag { display: inline-flex; }
}

/* balance pill in the member header */
.member-balance {
  display: none;
  align-items: baseline;
  gap: 7px;
  padding: 6px 13px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: rgba(219, 226, 230, 0.55);
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(124, 142, 165, 0.18);
  border-radius: 999px;
}

.member-balance b {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

@media (min-width: 1100px) {
  .member-balance { display: inline-flex; }
}

/* collapsible account nav on small screens */

.account-nav__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-nav__toggle-label {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #dbe2e6;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 142, 165, 0.2);
  border-radius: 11px;
}

.account-nav__toggle-label svg {
  width: 18px;
  height: 18px;
}

/* on mobile the menu body is collapsed until the toggle is checked */
.account-nav__body { display: none; }
.account-nav__toggle:checked ~ .account-nav__body { display: block; }

/* desktop: always expanded, no toggle chrome */
@media (min-width: 1024px) {
  .account-nav__toggle,
  .account-nav__toggle-label { display: none; }
  .account-nav__body { display: block !important; }
  .account-nav__bar { display: none; }
}

/* the identity block sits inside the bar on mobile, above the list on desktop */
.account-nav__identity {
  min-width: 0;
}

/* member footer: slimmer than the public one */
.site-footer--member {
  padding-top: 40px;
  margin-top: 48px;
}

.site-footer--member .site-footer__panel {
  padding: 26px 24px 20px;
  border-radius: 20px;
}

.site-footer--member .site-footer__grid {
  gap: 24px;
}

.site-footer--member .site-footer__bottom {
  margin-top: 22px;
  padding-top: 16px;
}

/* ==========================================================================
   17. MOBILE APP BOTTOM BAR
   Fixed tab bar for members on small screens. Hidden from 1024px up, where
   the sidebar takes over.
   ========================================================================== */

.mobile-app-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(15, 18, 26, 0.96);
  border-top: 1px solid rgba(124, 142, 165, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-app-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: rgba(219, 226, 230, 0.5);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.mobile-app-nav__link:hover {
  color: rgba(248, 249, 250, 0.85);
}

.mobile-app-nav__link.is-active {
  color: #c4a6ff;
  background-color: rgba(141, 89, 255, 0.14);
}

.mobile-app-nav__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.mobile-app-nav__icon svg {
  width: 20px;
  height: 20px;
}

/* keep the bar from covering the footer content on small screens */
@media (max-width: 1023px) {
  .is-member {
    padding-bottom: 84px;
  }
}

@media (min-width: 1024px) {
  .mobile-app-nav {
    display: none;
  }
}
