/* /tools/crypto/shiba-inu-profit-calculator/shiba-inu-profit-calculator.css */

/* ============================================================
   PAGE SHELL
   ============================================================ */

.shib-page {
  background:
    linear-gradient(180deg, #ffffff 0, #f7f8fb 560px),
    #f7f8fb;
}

.shib-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.shib-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 18px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 750;
}

.shib-breadcrumbs a {
  color: #334155;
  text-decoration: none;
}

.shib-breadcrumbs a:hover {
  color: var(--accent, #2563eb);
}

.shib-breadcrumbs .sep {
  color: #94a3b8;
  user-select: none;
}

/* ============================================================
   HERO
   ============================================================ */

.shib-hero {
  padding: clamp(28px, 4.2vw, 56px) 0 clamp(16px, 2.5vw, 26px);
}

.shib-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.shib-hero-copy h1 {
  margin: 0;
  color: var(--text, #0f172a);
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.shib-hero-copy .lead {
  max-width: 680px;
  margin-top: 16px;
}

.shib-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shib-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(234, 88, 12, 0.04), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.shib-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.82), rgba(180, 83, 9, 0.48), rgba(37, 99, 235, 0.18));
  pointer-events: none;
}

.shib-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shib-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #fbfdff;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.shib-trust-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.95rem;
}

/* ============================================================
   CURRENCY SELECTOR
   ============================================================ */

.shib-currency-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.shib-currency-row label {
  font-size: 0.88rem;
  font-weight: 850;
  color: #475569;
}

.shib-currency-select {
  min-height: 38px;
  padding: 7px 32px 7px 10px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  appearance: auto;
}

.shib-currency-note {
  font-size: 0.82rem;
  color: #64748b;
}

.shib-currency-notice {
  padding: 10px 14px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  color: #1e3a8a;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.shib-input-hint {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 5px;
  line-height: 1.35;
}

/* ============================================================
   MAIN CALCULATOR CARD + TABS
   ============================================================ */

.shib-calc-section {
  padding: 0 0 clamp(22px, 4vw, 36px);
}

.shib-calc-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}

.shib-calc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.82), rgba(180, 83, 9, 0.52), rgba(37, 99, 235, 0.22));
  pointer-events: none;
}

/* Tab bar */
.shib-tab-bar {
  display: flex;
  gap: 0;
  padding: 18px 20px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
}

.shib-tab-bar::-webkit-scrollbar {
  display: none;
}

.shib-tab-btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.shib-tab-btn:hover:not([aria-selected="true"]) {
  color: #334155;
  background: #f8fafc;
}

.shib-tab-btn[aria-selected="true"] {
  border-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: #ffffff;
  background: #ffffff;
  color: #0f172a;
}

.shib-tab-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

/* Tab panels */
.shib-tab-panels {
  padding: 24px 24px 28px;
}

.shib-tab-panel[hidden] {
  display: none;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.shib-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.shib-form-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shib-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shib-field.span-2 {
  grid-column: span 2;
}

.shib-label {
  font-size: 0.84rem;
  font-weight: 850;
  color: #334155;
  line-height: 1.3;
}

.shib-label .shib-label-note {
  font-weight: 700;
  color: #64748b;
  font-size: 0.78rem;
}

.shib-input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: textfield;
  -moz-appearance: textfield;
}

.shib-input::-webkit-inner-spin-button,
.shib-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shib-input:focus {
  outline: none;
  border-color: rgba(234, 88, 12, 0.5);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.shib-input.is-error {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.shib-input-error {
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 750;
  min-height: 0;
  display: none;
}

.shib-input-error.is-visible {
  display: block;
}

.shib-input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}

.shib-input-group .shib-input {
  flex: 1;
  border-radius: 8px 0 0 8px;
  border-right: 0;
}

.shib-input-group .shib-input-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.shib-cost-toggle {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.shib-cost-toggle-btn {
  flex: 1;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 7px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  transition: all 150ms ease;
}

.shib-cost-toggle-btn.active {
  border-color: rgba(234, 88, 12, 0.42);
  background: #fff7ed;
  color: #c2410c;
}

.shib-calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.shib-btn-calc {
  min-height: 46px;
  padding: 12px 22px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.shib-btn-calc:hover {
  background: linear-gradient(135deg, #c2410c, #9a3412);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.34);
}

.shib-btn-calc:active {
  transform: translateY(0);
}

.shib-btn-calc:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.3);
  outline-offset: 3px;
}

.shib-btn-reset {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 9px;
  background: #ffffff;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  transition: all 150ms ease;
}

.shib-btn-reset:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.shib-btn-reset:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 3px;
}

/* ============================================================
   RESULTS
   ============================================================ */

.shib-results {
  margin-top: 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  padding-top: 22px;
}

.shib-results[hidden] {
  display: none;
}

.shib-results-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.shib-result-hero-card {
  padding: 16px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
}

.shib-result-hero-card.profit {
  border-color: rgba(5, 150, 105, 0.2);
  background: linear-gradient(180deg, rgba(5, 150, 105, 0.04), rgba(255, 255, 255, 0)), #ffffff;
}

.shib-result-hero-card.loss {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.03), rgba(255, 255, 255, 0)), #ffffff;
}

.shib-result-hero-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.shib-result-hero-value {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 950;
  color: #0f172a;
  line-height: 1.1;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.shib-result-hero-card.profit .shib-result-hero-value {
  color: #059669;
}

.shib-result-hero-card.loss .shib-result-hero-value {
  color: #dc2626;
}

.shib-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shib-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  background: #fbfdff;
}

.shib-result-label {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
  min-width: 0;
}

.shib-result-value {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.shib-result-value.profit {
  color: #059669;
}

.shib-result-value.loss {
  color: #dc2626;
}

.shib-disclaimer-inline {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(234, 88, 12, 0.14);
  border-radius: 8px;
  background: #fff7ed;
  color: #92400e;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ============================================================
   HOLDINGS-MODE COST BASIS TOGGLE AREA
   ============================================================ */

.shib-holdings-mode-fields {
  display: none;
  gap: 16px 20px;
}

.shib-holdings-mode-fields.active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ============================================================
   WHAT WOULD MY SHIB BE WORTH? — SCENARIO EXPLORER INTRO
   ============================================================ */

.shib-worth-section {
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(16px, 2.5vw, 24px);
}

.shib-scenario-intro-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 32px);
  background: radial-gradient(100% 100% at 50% 0%, rgba(234, 88, 12, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1.5px dashed rgba(234, 88, 12, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shib-scenario-intro-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.shib-scenario-intro-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 950;
  color: #0f172a;
  text-align: center;
}

.shib-scenario-intro-header p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: center;
  max-width: 680px;
}

.shib-scenario-source-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f0fdf4;
  border: 1px solid rgba(21, 128, 61, 0.16);
  border-radius: 8px;
  font-size: 0.86rem;
  color: #166534;
  margin-top: 16px;
  font-weight: 850;
}

.shib-scenario-source-indicator strong {
  color: #15803d;
  font-weight: 950;
}

.shib-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #ea580c;
  font-size: inherit;
  font-weight: 850;
  cursor: pointer;
  text-decoration: underline;
  transition: color 150ms ease;
  display: inline;
}

.shib-link-btn:hover {
  color: #c2410c;
}

.shib-link-btn:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 4px;
}

.shib-scenario-empty-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1.5px dashed rgba(234, 88, 12, 0.22);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ============================================================
   WHAT IF SHIB REACHES...?
   ============================================================ */

.shib-scenarios-section {
  padding: clamp(16px, 3vw, 28px) 0 clamp(28px, 4.5vw, 48px);
}

.shib-scenarios-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  padding: clamp(22px, 3.5vw, 34px);
}

.shib-scenarios-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.78), rgba(37, 99, 235, 0.34), rgba(15, 159, 110, 0.24));
}

.shib-scenarios-desc {
  max-width: 700px;
  margin: 0 0 24px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.shib-scenarios-hint {
  font-size: 0.82rem;
  color: #64748b;
}

/* Scenarios table/grid */
.shib-scenarios-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.shib-scenarios-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.shib-scenarios-table th {
  padding: 10px 14px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.shib-scenarios-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.055);
  font-weight: 800;
  color: #0f172a;
  vertical-align: middle;
}

.shib-scenarios-table tr:last-child td {
  border-bottom: none;
}

.shib-scenarios-table tbody tr:hover td {
  background: #fafbff;
}

.shib-scenarios-table .td-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
}

.shib-scenarios-table .td-value {
  font-weight: 900;
}

.shib-scenarios-table .td-profit.positive { color: #059669; }
.shib-scenarios-table .td-profit.negative { color: #dc2626; }
.shib-scenarios-table .td-roi.positive    { color: #059669; }
.shib-scenarios-table .td-roi.negative    { color: #dc2626; }

.shib-scenarios-highlight td {
  background: linear-gradient(180deg, rgba(234, 88, 12, 0.03), rgba(255, 255, 255, 0));
  font-weight: 900;
}

.shib-custom-target-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.shib-custom-target-row .shib-field {
  flex: 0 0 200px;
}

/* 1 cent scenario spotlight */
.shib-one-cent-section {
  padding: clamp(24px, 4vw, 44px) 0;
}

.shib-one-cent-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(234, 88, 12, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(234, 88, 12, 0.055), rgba(255, 255, 255, 0) 50%),
    #ffffff;
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.08);
  padding: clamp(22px, 3.5vw, 32px);
}

.shib-one-cent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ea580c, #f97316, rgba(37, 99, 235, 0.24));
}

.shib-one-cent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.shib-one-cent-explanation {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.68;
  margin: 0 0 16px;
}

.shib-one-cent-result-block {
  display: grid;
  gap: 10px;
}

.shib-one-cent-value-card {
  padding: 18px;
  border: 1px solid rgba(234, 88, 12, 0.16);
  border-radius: 10px;
  background: #fff7ed;
  text-align: center;
}

.shib-one-cent-value-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.shib-one-cent-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 950;
  color: #c2410c;
  line-height: 1.1;
  word-break: break-all;
}

/* 10 cent / $1 multi-scenario */
.shib-milestones-section {
  padding: clamp(24px, 4vw, 44px) 0;
}

.shib-milestones-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  padding: clamp(22px, 3.5vw, 32px);
}

.shib-milestones-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.7), rgba(15, 159, 110, 0.46), rgba(234, 88, 12, 0.24));
}

.shib-milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.shib-milestone-card {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
}

.shib-milestone-price {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.shib-milestone-value {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 950;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 6px;
  word-break: break-all;
}

.shib-milestone-note {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 750;
}

.shib-milestone-prompt {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 4px;
  font-style: italic;
}

/* ============================================================
   GOAL CALCULATOR
   ============================================================ */

.shib-goal-section {
  padding: clamp(24px, 4vw, 48px) 0;
}

.shib-goal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  padding: clamp(22px, 3.5vw, 32px);
}

.shib-goal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.7), rgba(15, 159, 110, 0.44), rgba(234, 88, 12, 0.18));
}

.shib-goal-modes {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.shib-goal-mode-btn {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  transition: all 150ms ease;
  text-align: center;
}

.shib-goal-mode-btn.active {
  border-color: rgba(37, 99, 235, 0.38);
  background: #eef5ff;
  color: #1d4ed8;
}

.shib-goal-mode-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.shib-goal-panel[hidden] {
  display: none;
}

.shib-goal-result-box {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
  background: #eef5ff;
}

.shib-goal-result-box[hidden] {
  display: none;
}

.shib-goal-result-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.shib-goal-result-value {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 950;
  color: #1d4ed8;
  line-height: 1.1;
  word-break: break-all;
}

.shib-goal-result-context {
  display: block;
  margin-top: 8px;
  color: #1e40af;
  font-size: 0.86rem;
  line-height: 1.5;
}

.shib-goal-disclaimer {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
}

/* ============================================================
   CONTENT / EXPLAINER SECTIONS
   ============================================================ */

.shib-content-section {
  padding: clamp(28px, 4.5vw, 50px) 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.shib-content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fbfdff);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
  padding: clamp(24px, 4vw, 38px);
}

.shib-content-card h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.18;
}

.shib-content-card h3 {
  margin: 24px 0 10px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.3;
}

.shib-content-card p {
  margin: 0 0 14px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.72;
}

.shib-content-card p:last-child {
  margin-bottom: 0;
}

.shib-content-card ul,
.shib-content-card ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.72;
}

.shib-content-card li + li {
  margin-top: 6px;
}

/* Formula boxes */
.shib-formula-box {
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-left: 3px solid rgba(234, 88, 12, 0.6);
  border-radius: 8px;
  background: #fafbfc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #334155;
  margin: 14px 0;
  overflow-x: auto;
}

.shib-formula-box strong {
  color: #0f172a;
}

/* Example box */
.shib-example-box {
  padding: 18px 20px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
  background: #f0f6ff;
  margin-top: 16px;
}

.shib-example-box h4 {
  margin: 0 0 12px;
  color: #1e40af;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shib-example-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.shib-example-table td {
  padding: 6px 10px;
  color: #334155;
}

.shib-example-table td:first-child {
  color: #64748b;
  font-weight: 850;
  width: 55%;
}

.shib-example-table td:last-child {
  font-weight: 950;
  color: #0f172a;
}

/* ============================================================
   DISCLAIMER SECTION
   ============================================================ */

.shib-disclaimer-section {
  padding: clamp(22px, 3.5vw, 38px) 0;
}

.shib-disclaimer-box {
  padding: 20px 22px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-left: 4px solid rgba(234, 88, 12, 0.7);
  border-radius: 10px;
  background: #fff7ed;
}

.shib-disclaimer-box h2 {
  margin: 0 0 10px;
  color: #92400e;
  font-size: 1rem;
  font-weight: 900;
}

.shib-disclaimer-box p {
  margin: 0;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */

.shib-faq-section {
  padding: clamp(28px, 4.5vw, 50px) 0;
}

.shib-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.shib-faq-item {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.shib-faq-item h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.35;
}

.shib-faq-item p {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   RELATED TOOLS
   ============================================================ */

.shib-related-section {
  padding: clamp(24px, 4vw, 48px) 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.shib-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.shib-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff 60%, #f8fafc 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

/* Accent top bar */
.shib-related-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.shib-related-card--bitcoin::before {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.shib-related-card--crypto::before {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.shib-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.shib-related-card--bitcoin:hover {
  border-color: rgba(234, 88, 12, 0.22);
  background: linear-gradient(160deg, #ffffff 40%, #fff7ed 100%);
}

.shib-related-card--crypto:hover {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(160deg, #ffffff 40%, #eff6ff 100%);
}

/* Icon badge */
.shib-related-card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.14);
  flex-shrink: 0;
  margin-bottom: 2px;
  transition: transform 200ms ease;
}

.shib-related-card-icon--blue {
  background: #eff6ff;
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.14);
}

.shib-related-card:hover .shib-related-card-icon {
  transform: scale(1.08);
}

.shib-related-card-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shib-related-card-title {
  font-size: 1.02rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
}

.shib-related-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  flex: 1;
}

.shib-related-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.87rem;
  font-weight: 900;
  color: var(--accent, #2563eb);
  margin-top: 6px;
}

.shib-related-card--bitcoin .shib-related-card-cta {
  color: #ea580c;
}

.shib-cta-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.shib-related-card:hover .shib-cta-arrow {
  transform: translateX(4px);
}

/* ============================================================
   SECTION HEADERS (shared utility)
   ============================================================ */

.shib-section-header {
  margin-bottom: 24px;
}

.shib-section-header h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.shib-section-header p {
  margin: 0;
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: 720px;
}

/* ============================================================
   HYPOTHETICAL NOTICE
   ============================================================ */

.shib-hypo-notice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  background: #eef5ff;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.35;
  margin-top: 14px;
}

/* ============================================================
   UTILITY
   ============================================================ */

.shib-loading {
  opacity: 0.5;
  pointer-events: none;
}

.shib-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .shib-hero-grid {
    grid-template-columns: 1fr;
  }

  .shib-hero-panel {
    max-width: 580px;
  }

  .shib-worth-layout,
  .shib-one-cent-layout {
    grid-template-columns: 1fr;
  }

  .shib-milestones-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shib-faq-grid {
    grid-template-columns: 1fr;
  }

  .shib-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shib-form-grid,
  .shib-scenario-input-grid {
    grid-template-columns: 1fr;
  }

  .shib-form-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shib-field.span-2 {
    grid-column: span 1;
  }

  .shib-results-hero {
    grid-template-columns: 1fr;
  }

  .shib-result-grid {
    grid-template-columns: 1fr;
  }

  .shib-milestones-grid {
    grid-template-columns: 1fr;
  }

  .shib-scenarios-table th,
  .shib-scenarios-table td {
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .shib-goal-modes {
    flex-direction: column;
  }

  .shib-goal-mode-btn {
    flex: none;
  }
}

@media (max-width: 640px) {
  .shib-tab-btn {
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .shib-tab-panels {
    padding: 18px 16px 22px;
  }

  .shib-calc-card {
    border-radius: 10px;
  }

  .shib-form-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .shib-holdings-mode-fields.active {
    grid-template-columns: 1fr;
  }

  .shib-custom-target-row .shib-field {
    flex: 0 0 100%;
  }

  .shib-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) {
  .shib-btn-calc:hover,
  .shib-btn-reset:hover,
  .shib-related-card:hover {
    transform: none;
  }

  .shib-btn-calc:active {
    transform: scale(0.98);
  }
}
