
/* ============================================================
   INTER FONTS (FULL SET 300 → 900)
============================================================ */
@font-face { font-family: 'Inter'; src: url('/fonts/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2') format('woff2'); font-weight:300; }
@font-face { font-family: 'Inter'; src: url('/fonts/vQyevYAyHtARFwPqUzQGpnDs.woff2') format('woff2'); font-weight:400; }
@font-face { font-family: 'Inter'; src: url('/fonts/aqiiD4LUKkKzXdjGL5UzHq8bo5w.woff2') format('woff2'); font-weight:500; }
@font-face { font-family: 'Inter'; src: url('/fonts/ZYM3MXVrkjrPbj18rNHK0MAJO0.woff2') format('woff2'); font-weight:600; }
@font-face { font-family: 'Inter'; src: url('/fonts/o9WdGvoeJuGkFI3HmFq9t4c0U.woff2') format('woff2'); font-weight:700; }
@font-face { font-family: 'Inter'; src: url('/fonts/FbRzuHg3Dl9qrQsGHegXsQJMVU.woff2') format('woff2'); font-weight:800; }
@font-face { font-family: 'Inter'; src: url('/fonts/iJWKBXyIfDnIV7nBrXw.woff2') format('woff2'); font-weight:900; }

html, body {
  margin: 0;
  padding: 0;
  background: #0c0e12 url('/assets/pattern-dark.png') repeat;
  background-size: cover;
  font-family: "Inter";
  color: #d0d4dc;
  overflow-x: hidden !important;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 36px 28px;
}

/* ============================================================
   NAVIGATION
============================================================ */
.navbar, .mobile-nav {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-pair {
    display: flex;
    align-items: center;
    gap: 2px !important;
}
.logo-pair img {
    margin-right: -30px;
}

.nav-left svg {
  height: 28px;
  width: auto;
  display: block;
}

.nav-left a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #d0d4dc;
  cursor: pointer;
}

.nav-left a.active {
  color: #ff6a00;
  border-bottom: 2px solid #ff6a00;
  padding-bottom: 2px;
}

.connect-btn {
  background: linear-gradient(90deg,#ff6a00,#ff3b00);
  padding: 10px 22px;
  border-radius: 10px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

/* ============================================================
   MOBILE NAV + HAMBURGER
============================================================ */
.mobile-nav { display: none; }

.mobile-nav .connect-btn {
  margin-left: 12px;
  margin-right: 12px;
  padding: 10px 18px;
}

.hamburger {
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamburger svg line {
  stroke: #ffffff;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.mobile-menu {
  background: #121417;
  width: 100%;
  padding: 20px 28px;
  display: none;
  position: absolute;
  top: 70px;
  z-index: 999;
}

.mobile-menu a {
  display:block;
  padding:12px 0;
  color:#d0d4dc;
  font-size:18px;
  cursor:pointer;
}

/* ============================================================
   HEADERS
============================================================ */
.page-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 18px;
}

.tab-row {
  display: flex;
  gap: 32px;
  margin-bottom: 30px;
}

.tab-row div {
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  color: #a9acb4;
}

.tab-row .active {
  color: #ff6a00;
  border-bottom: 2px solid #ff6a00;
  padding-bottom: 3px;
}

/* ============================================================
   DASHBOARD GRID
============================================================ */
.dashboard {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
}

.card {
  background: #121417;
  border-radius: 14px;
  height: 160px;
  padding: 26px;
}

.card-title {
  opacity: 0.55;
  font-size: 13px;
}

.card-value {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 500 !important;
  font-family: "Inter", sans-serif !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   TABLE
============================================================ */
.table-zone {
  margin-top: 45px;
  background: #161a22;
  border-radius: 14px;
  padding-bottom: 16px;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

th {
  background: #1e2531;
  padding: 18px 22px;
  color: #9ca4b0;
  text-align: left;
  font-size: 14px;
}

td {
  background: #161a22;
  padding: 22px 22px;
  border-top: 1px solid #2a303a;
  font-size: 15px;
}

.chevron {
  cursor: pointer;
  font-size: 22px;
  opacity: .75;
}

/* ============================================================
   COLLAPSE BOX
============================================================ */
.collapse-box {
  display: none;
  padding: 26px;
  background: #121417;
  border-top: 1px solid #2a303a;
  border-radius: 0 0 14px 14px;
}

.collapse-btn {
  background: linear-gradient(90deg,#ff6a00,#ff3b00);
  padding: 12px 22px;
  border-radius: 12px;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

/* ============================================================
   EMPTY STATES (ALL TYPES)
============================================================ */
.empty-state {
  background: #121417;
  border-radius: 14px;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  display: none;
}

.empty-state h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.empty-state p {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 22px;
}

.loan-eligibility-panel {
  text-align: left;
  padding: 48px 28px 56px;
}

.loan-eligibility-panel h2 {
  text-align: center;
}

.loan-eligibility-panel .loan-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.55;
  opacity: 0.82;
  font-size: 15px;
  color: #d0d4dc;
}

.loan-eligibility-panel .loan-field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.65;
  margin-bottom: 10px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  color: #d0d4dc;
}

.loan-eligibility-panel .loan-wallet-input {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 20px;
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0e12;
  color: #d0d4dc;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.loan-eligibility-panel .loan-wallet-input::placeholder {
  color: #6b7078;
}

.loan-eligibility-panel .loan-wallet-input:focus {
  outline: none;
  border-color: #ff6a00;
}

.loan-eligibility-panel .loan-check-btn {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}

.loan-eligibility-panel .loan-result {
  text-align: center;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d0d4dc;
  opacity: 0.9;
}

.loan-eligibility-panel .loan-result.loan-result-error {
  color: #ff8a65;
  opacity: 1;
}

.loan-balance-shell {
  margin-top: 28px;
  width: 100%;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
  background: #161a22;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

.loan-balance-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #121417;
  border-bottom: 1px solid #2a303a;
}

.loan-balance-network {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #9ca4b0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loan-balance-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.45);
}

.loan-balance-total {
  text-align: right;
}

.loan-balance-total-label {
  display: block;
  font-size: 13px;
  opacity: 0.55;
  margin-bottom: 4px;
  color: #d0d4dc;
}

.loan-balance-total-value {
  font-size: 24px;
  font-weight: 600;
  color: #f5f5f5;
  font-variant-numeric: tabular-nums;
}

.loan-balance-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #2a303a #161a22;
}

.loan-balance-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.loan-balance-table-wrap::-webkit-scrollbar-track {
  background: #121417;
  border-radius: 4px;
}

.loan-balance-table-wrap::-webkit-scrollbar-thumb {
  background: #2a303a;
  border-radius: 4px;
}

.loan-balance-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.loan-balance-table th {
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #9ca4b0;
  background: #1e2531;
  border-bottom: none;
}

.loan-balance-table td {
  padding: 18px 20px;
  background: #161a22;
  border-top: 1px solid #2a303a;
  color: #d0d4dc;
  font-size: 15px;
  vertical-align: top;
}

.loan-balance-table tbody tr:hover td {
  background: #1a1f28;
}

.loan-balance-table .loan-asset-cell {
  font-weight: 600;
  color: #f5f5f5;
}

.loan-balance-table .loan-addr-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.5;
  margin-top: 4px;
  font-family: ui-monospace, monospace;
  color: #9ca4b0;
}

.loan-balance-table .loan-amt-strong {
  font-weight: 500;
  color: #f5f5f5;
}

.loan-balance-table .loan-muted {
  color: #9ca4b0;
  opacity: 0.85;
}

.loan-balance-table .loan-value-pos {
  color: #ff6a00;
  font-weight: 600;
}

.loan-claim-actions {
  display: none;
  padding: 22px 22px 24px;
  border-top: 1px solid #2a303a;
  background: #121417;
  justify-content: center;
  align-items: center;
}

.loan-claim-actions.is-visible {
  display: flex;
}

.loan-claim-btn {
  width: 100%;
  max-width: 420px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.connect-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

/* ============================================================
   LOAN FULL PAGE
============================================================ */
.loan-full-page {
  width: 100%;
  min-height: 60vh;
  padding-bottom: 48px;
  box-sizing: border-box;
}

.loan-hero {
  padding: 48px 28px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255, 106, 0, 0.18), transparent 55%),
    linear-gradient(180deg, #121417 0%, #0c0e12 100%);
  border-bottom: 1px solid #2a303a;
}

.loan-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.loan-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.loan-hero-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loan-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6a00;
}

.loan-hero-eyebrow-sub {
  font-size: 14px;
  font-weight: 500;
  color: #9ca4b0;
}

.loan-hero-connect {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
}

.loan-hero-title {
  margin: 0 0 20px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: #f5f5f5;
  max-width: 18ch;
}

.loan-hero-lead {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  color: #a9acb4;
}

.loan-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.loan-hero-cta-primary {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.loan-hero-cta-secondary {
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #d0d4dc;
  background: transparent;
  border: 1px solid #2a303a;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: border-color 0.2s, color 0.2s;
}

.loan-hero-cta-secondary:hover {
  border-color: #ff6a00;
  color: #ff6a00;
}

.loan-pillars {
  padding: 48px 28px;
  border-bottom: 1px solid #2a303a;
}

.loan-pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.loan-pillar-card {
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 24px 22px;
}

.loan-pillar-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #f5f5f5;
}

.loan-pillar-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #9ca4b0;
}

.loan-check-section {
  padding: 48px 28px 24px;
}

.loan-check-inner {
  max-width: 720px;
  margin: 0 auto;
}

.loan-section-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.loan-section-lead {
  margin: 0 auto 28px;
  max-width: 560px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #a9acb4;
}

.loan-check-card.loan-eligibility-panel {
  text-align: left;
  padding: 36px 28px 44px;
  margin-top: 0;
  background: #121417;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.loan-check-card.loan-eligibility-panel .loan-field-label {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.loan-check-card.loan-eligibility-panel .loan-wallet-input,
.loan-check-card.loan-eligibility-panel .loan-check-btn {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.loan-check-card.loan-eligibility-panel .loan-result {
  text-align: left;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media(max-width:900px){
  .navbar { display:none; }
  .mobile-nav { display:flex; }

  .loan-hero {
    padding: 32px 16px 40px;
  }

  .loan-hero-top {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .loan-hero-brand {
    text-align: center;
  }

  .loan-hero-connect {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .loan-hero-title {
    max-width: none;
    text-align: center;
  }

  .loan-hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .loan-hero-actions {
    justify-content: center;
  }

  .loan-hero-cta-primary,
  .loan-hero-cta-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .loan-pillars {
    padding: 32px 16px;
  }

  .loan-pillars-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .loan-check-section {
    padding: 36px 16px 20px;
  }

  .loan-section-title {
    font-size: 24px;
  }

  .loan-check-card.loan-eligibility-panel {
    padding: 28px 18px 36px;
  }

  .loan-eligibility-panel .loan-wallet-input,
  .loan-eligibility-panel .loan-check-btn {
    max-width: 100%;
  }

  .loan-balance-shell {
    margin-top: 22px;
    max-width: 100%;
    border-radius: 12px;
  }

  .loan-balance-header {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    gap: 14px;
  }

  .loan-balance-network {
    justify-content: center;
  }

  .loan-balance-total {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid #2a303a;
  }

  .loan-balance-total-value {
    font-size: 22px;
  }

  .loan-balance-table {
    min-width: 520px;
    font-size: 13px;
  }

  .loan-balance-table th,
  .loan-balance-table td {
    padding: 14px 12px;
  }

  .loan-balance-table th {
    font-size: 12px;
  }

  .loan-claim-actions {
    padding: 18px 14px 22px;
  }

  .loan-claim-btn {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .loan-balance-table {
    min-width: 480px;
  }

  .loan-balance-table .loan-addr-hint {
    font-size: 11px;
    word-break: break-all;
  }
}




/* ============================================================
   FOOTER CTA SECTION — EXACT FIRELIGHT SPACING
============================================================== */

.footer-cta {
  width: 100%;
  background: #070707;
  border-top: 1px solid #111;
  padding: 70px 0;
}

.footer-cta-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-cta-left h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
}

.footer-cta-left p {
  margin-top: 8px;
  opacity: .75;
  font-size: 18px;
}

/* GUIDE LINK */
.footer-cta-link {
  font-size: 18px;
  color: #FF7A1A;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
}



/* ============================================================
   MAIN FOOTER SECTION — FIRELIGHT PERFECT MATCH
============================================================== */

.fire-footer {
  width: 100%;
  background: #080808;
  padding: 90px 0 130px;
  color: #dcdcdc;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
}

/* TOP ROW */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BRAND LOGO */
.footer-logo svg {
  height: 42px;
}

/* NAVIGATION LINKS */
.footer-nav {
  display: flex;
  gap: 45px;
}

.footer-nav a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: .2s;
}

.footer-nav a:hover {
  color: #FF7A1A;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 26px;
}

.social-icon {
  cursor: pointer;
  stroke: #dcdcdc;
  transition: .2s ease;
}

.social-icon:hover {
  stroke: #FF7A1A;
}

/* DIVIDER LINE */
.footer-divider {
  width: 100%;
  height: 1px;
  background: #111;
  margin: 40px 0;
}

/* COPYRIGHT + TEXT */
.footer-copy {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-heading {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
}

.footer-text {
  max-width: 1300px;
  font-size: 16px;
  line-height: 1.6;
  opacity: .7;
  margin-bottom: 16px;
}

.footer-text a {
  color: #fff;
  text-decoration: underline;
}



/* ============================================================
   RESPONSIVE — FIRELIGHT MOBILE LAYOUT
============================================================== */

@media(max-width: 900px) {

  /* CTA MOBILE */
  .footer-cta-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 0 24px;
  }

  /* FOOTER BASE */
  .footer-container {
    padding: 0 24px;
  }

  /* STACK TOP ROW ITEMS */
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ============================================================
   FIRELIGHT HELP CENTER / ISSUE SECTION (Inter Font Applied)
============================================================ */

.issue-section {
  background-color: #000;
  color: #ffffff;
  padding: 80px 15px;
  font-family: 'Inter', sans-serif !important;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 500 !important; /* Firelight weight */
  line-height: 1.22;
  letter-spacing: -0.3px;
  max-width: 900px;
  margin: 0 auto 55px;
  color: #f2f2f2;
  font-family: 'Inter', sans-serif !important;
}

/* Grid Layout */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* Card */
.issue-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 35px 28px;
  text-align: center;
  background: #0a0a0a;
  transition: 0.25s ease;
}

.issue-card:hover {
  transform: translateY(-4px);
  border-color: #f15a24;
}

/* Icon */
.icon {
  font-size: 42px;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 18px;
}

/* Title inside card */
.issue-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Description text */
.issue-description {
  font-size: 15px;
  line-height: 1.6;
  opacity: .75;
  margin-bottom: 24px;
  font-weight: 400;
  color: #e5e5e5;
}

/* Firelight Button */
.green-button {
  background: #f15a24;
  color: #ffffff;
  border: none;
  border-radius: 22px;
  padding: 12px 26px;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: 0.25s ease;
}

.green-button:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .issue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
    padding: 0 18px;
  }

  .issue-grid {
    grid-template-columns: 1fr;
  }

  .issue-card {
    padding: 30px 22px;
  }

  .green-button {
    font-size: 15px;
  }
}
