/* habnetreviews.biz - Habnet Economy, Rare Values, Wired Chest Market & Real Estate Journal (Ivory, Royal Indigo & Gold) */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --indigo: #172554;
  --indigo-mid: #1e3a8a;
  --teal: #0f766e;
  --teal-soft: #f0fdfa;
  --gold: #d97706;
  --gold-bright: #f59e0b;
  --gold-soft: #fef3c7;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e6dfd5;
  --shadow: 0 14px 34px -18px rgba(23, 37, 84, 0.16);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.66;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
img.pixel { width: auto; height: auto; max-width: none; flex-shrink: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Native 188x53 Habnet Logo (Exact Original Size) */
.habnet-logo-native {
  width: 188px;
  height: 53px;
  max-width: none;
  flex-shrink: 0;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Editorial Top Masthead */
.mast {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #efe7da;
  position: sticky; top: 0; z-index: 40;
}
.mast-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 82px; padding: 10px 0; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.biz-badge {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78350f; border: 1px solid #f59e0b;
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 8px;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--indigo); font-weight: 600; font-size: 14px; padding: 8px 13px; border-radius: 10px; transition: background 0.14s ease; }
.nav a:hover, .nav a.active { background: #eff6ff; color: var(--indigo-mid); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 14px;
  text-decoration: none !important; border: 2px solid transparent; transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-has-pixel { padding: 4px 18px 4px 10px; min-height: 50px; }
.btn-ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.btn-indigo {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff; border-color: #1e40af;
  box-shadow: 0 4px 0 #172554;
}
.btn-indigo:hover { box-shadow: 0 6px 16px rgba(29, 78, 216, 0.32), 0 4px 0 #172554; }
.btn-gold {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #451a03; border-color: #d97706; font-weight: 800;
  box-shadow: 0 4px 0 #b45309;
}
.btn-soft {
  background: #ffffff; color: var(--indigo); border-color: var(--border);
}
.btn-soft:hover { border-color: var(--indigo-mid); }

/* Light Editorial Economy Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 54px 0 48px;
  background:
    radial-gradient(circle at 86% 14%, rgba(245, 158, 11, 0.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(37, 99, 235, 0.12), transparent 44%),
    linear-gradient(180deg, #fffdf9 0%, #f5f2eb 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(23, 37, 84, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.hero-split {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
}
.eyebrow-biz {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; border: 1px solid #f59e0b; color: #92400e;
  font-size: 12px; font-weight: 800; padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 4px 12px -6px rgba(217, 119, 6, 0.35);
}
.hero h1 {
  margin: 14px 0 14px; font-size: clamp(1.95rem, 3.9vw, 2.9rem);
  line-height: 1.12; font-weight: 800; color: var(--indigo); letter-spacing: -0.02em;
}
.hero p.lead { margin: 0 0 24px; color: var(--muted); max-width: 640px; font-size: 1.04rem; }

/* Economy & Market Ledger Card (Replaces Casino Card) */
.market-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold-bright);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 48px -22px rgba(23, 37, 84, 0.24);
}
.market-board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px;
  background: var(--indigo); color: #ffffff;
  font-size: 12.5px; font-weight: 700;
}
.market-status { display: inline-flex; align-items: center; gap: 7px; color: #fde68a; }

.banker-banner {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fffbeb 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--border);
}
.banker-frame {
  width: 118px; height: 118px; flex-shrink: 0; border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  display: grid; place-items: center;
  box-shadow: 0 10px 20px -12px rgba(180, 83, 9, 0.45);
}
.banker-copy h2 { margin: 0 0 4px; font-size: 1.1rem; color: var(--indigo); font-weight: 800; }
.banker-copy p { margin: 0 0 10px; font-size: 12.8px; color: var(--muted); line-height: 1.45; }

.currency-bar {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.c-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid #e2d9c8;
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--indigo);
}

.ledger-list { display: grid; gap: 0; }
.ledger-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid #f1ece4;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-left { display: flex; align-items: center; gap: 12px; }
.ledger-ico {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  background: #f8fafc; border: 1px solid #e2e8f0;
  display: grid; place-items: center;
}
.ledger-row strong { display: block; font-size: 13.5px; color: var(--indigo); line-height: 1.25; }
.ledger-row small { font-size: 12px; color: var(--muted); }
.ledger-pill {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: #ecfeff; color: #0f766e; border: 1px solid #99f6e4; white-space: nowrap;
}
.ledger-pill.gold { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.ledger-pill.blue { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* KPI Strip */
.kpi-strip {
  position: relative; z-index: 2;
  margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 14px;
}
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px;
}
.kpi-ico {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  background: #eff6ff; border: 1px solid #dbeafe;
  display: grid; place-items: center;
}
.kpi-ico.gold { background: #fffbeb; border-color: #fde68a; }
.kpi-ico.teal { background: #f0fdfa; border-color: #ccfbf1; }
.kpi strong { display: block; font-size: 1.08rem; color: var(--indigo); line-height: 1.2; }
.kpi span { font-size: 12.2px; color: var(--muted); }

/* Sections & Cards */
.section { padding: 54px 0; }
.section h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.7vw, 2.05rem); font-weight: 800; color: var(--indigo); }
.section p.sub { margin: 0 0 26px; color: var(--muted); max-width: 680px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: #cbd5e1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.biz-ico {
  width: 62px; height: 62px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #eff6ff; border: 1px solid #bfdbfe;
}
.biz-ico.amber { background: #fffbeb; border-color: #fde68a; }
.biz-ico.teal { background: #f0fdfa; border-color: #99f6e4; }
.card h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--indigo); }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  width: fit-content; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #92400e;
}
.tag.blue { background: #eff6ff; color: #1e40af; }
.tag.teal { background: #ccfbf1; color: #115e59; }

/* Economy Flow Strip */
.flow-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 60%, #0f766e 100%);
  color: #ffffff; border-radius: 22px; padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 22px 46px -20px rgba(23, 37, 84, 0.45);
}
.flow-box h3 { margin: 0 0 6px; font-size: 1.45rem; color: #ffffff; }
.flow-box > p { margin: 0 0 20px; color: #dbeafe; max-width: 680px; font-size: 0.96rem; }
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; }
.flow-step {
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.flow-step-head { display: flex; align-items: center; gap: 12px; }
.flow-step strong { font-size: 1rem; color: #fde68a; display: block; }
.flow-step p { margin: 0; font-size: 13.5px; color: #e2e8f0; }

/* Community Banner */
.community-banner {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.community-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Subpages Paper Layout */
.paper { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.paper-split { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 28px; align-items: start; }
.paper h1 { color: var(--indigo); }
.paper h2 { margin-top: 24px; color: var(--indigo); }
.paper h2:first-child { margin-top: 0; }
.sec-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; margin-bottom: 8px; }
.sec-row h2 { margin: 0; }
code { background: #eff6ff; padding: 2px 7px; border-radius: 6px; font-size: 12.5px; color: #1e3a8a; border: 1px solid #dbeafe; }

.hotel-art-card {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdfa 100%);
  box-shadow: var(--shadow);
}
.hotel-art-card img.hotel-gif { width: 100%; height: 220px; object-fit: cover; object-position: center 48%; }
.hotel-art-caption {
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #ffffff; border-top: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--indigo);
}

.footer { background: var(--indigo); color: #cbd5e1; padding: 34px 0; font-size: 13.5px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer a { color: #fde68a; }

@media (max-width: 900px) {
  .hero-split, .paper-split { grid-template-columns: 1fr; }
  .banker-banner { flex-direction: column; text-align: center; }
  .currency-bar { justify-content: center; }
}
