/* TS: 2026-08-12 14:02 UTC */

/*
 * Working homepage reconstruction based on the approved 1672 x 941 Photoshop
 * reference. This file loads last and intentionally controls only the homepage.
 */

.home-page {
  background: #07100f;
}

/* ---------- HEADER ---------- */
.home-page .home-header {
  position: relative;
  min-height: 78px;
  background: #f3efe3 !important;
  border-bottom: 1px solid rgba(8, 12, 11, .24) !important;
}

.home-page .home-nav-shell {
  min-height: 78px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(310px, .9fr) minmax(700px, 2.4fr) minmax(170px, .62fr);
  align-items: center;
  gap: 24px;
}

.home-page .home-brand {
  gap: 13px;
  font-size: 20px;
  line-height: 1;
}

.home-page .home-brand-arrow {
  width: 38px;
  height: 38px;
  font-size: 23px;
}

.home-page .home-nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(14px, 1.35vw, 25px);
  min-width: 0;
}

.home-page .home-nav-links a {
  flex: 0 0 auto;
  padding: 9px 0;
  font-size: clamp(11px, .78vw, 14px);
  line-height: 1;
  white-space: nowrap;
}

.home-page .home-nav-links a[href*="verification-ledger"],
.home-page .home-nav-links a[href*="factory-status"] {
  display: none !important;
}

.home-page .home-nav-cta {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- MARKET TAPE ---------- */
.home-page .nym-market-tape {
  position: relative;
  height: 76px;
  min-height: 76px;
  overflow: hidden;
  background: #07100f;
  border-top: 0;
  border-bottom: 1px solid #35403b;
}

.home-page .nym-market-tape-head {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.home-page .nym-market-tape-label {
  width: 245px;
  color: #a8df34;
  font-size: 0;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: .055em;
  white-space: normal;
}

.home-page .nym-market-tape-label::before {
  content: "MARKET TAPE";
  display: block;
  font-size: 14px;
}

.home-page .nym-market-tape-label::after {
  content: "25-STOCK MARKET TAPE · LIVE";
  display: block;
  margin-top: 6px;
  color: #f7f2e7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
}

.home-page .nym-market-tape-head a {
  margin-top: 7px;
  color: #a8df34;
  font-size: 13px;
  pointer-events: auto;
}

.home-page .nym-market-tape-widget,
.home-page .nym-market-tape-widget .tradingview-widget-container,
.home-page .nym-market-tape-widget .tradingview-widget-container__widget {
  width: 100%;
  min-height: 76px;
  height: 76px;
  background: #07100f;
}

.home-page .nym-market-tape-widget {
  padding-left: 252px;
  padding-right: 175px;
  overflow: hidden;
}

.home-page .nym-market-tape-widget iframe {
  width: 86.96% !important;
  min-width: 86.96% !important;
  height: 66px !important;
  min-height: 66px !important;
  border: 0 !important;
  transform: scale(1.15);
  transform-origin: left center;
}

.home-page .nym-market-tape-links,
.home-page .nym-market-tape-note {
  display: none !important;
}

/* ---------- LIVE CONNECTION STRIP ---------- */
.home-page .home-data-status {
  min-height: 48px;
  height: 48px;
  padding: 0 24px;
  grid-template-columns: 130px repeat(3, minmax(190px, 1fr)) 170px;
  font-size: 10px;
  background: #08110f;
  border-bottom: 1px solid #35403b;
}

.home-page .home-data-status-title,
.home-page .home-data-status-item {
  padding: 7px 16px;
}

.home-page .home-data-status-title {
  padding-left: 0;
}

.home-page .home-data-status-item span,
.home-page .home-data-status-item strong {
  font-size: 10px;
  line-height: 1.15;
}

.home-page .home-data-status > a {
  padding-left: 16px;
  font-size: 10px;
}

/* ---------- APPROVED HERO ---------- */
.home-page .home-hero {
  position: relative !important;
  min-height: calc(100vh - 203px) !important;
  display: grid !important;
  grid-template-columns: minmax(560px, 43%) 1fr !important;
  background: #07100f !important;
  overflow: hidden !important;
  isolation: isolate;
}

.home-page .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #07100f 0%, rgba(7, 16, 15, .97) 28%, rgba(7, 16, 15, .68) 47%, rgba(7, 16, 15, .16) 63%, transparent 78%),
    linear-gradient(180deg, rgba(7, 16, 15, .08), transparent 34%, rgba(7, 16, 15, .10) 100%);
}

.home-page .home-hero-copy {
  position: relative;
  z-index: 4;
  padding: 28px 28px 28px 76px !important;
  background: transparent !important;
}

.home-page .home-kicker {
  margin: 0 0 24px !important;
  color: #a8df34 !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  letter-spacing: .045em !important;
}

.home-page .home-kicker span {
  width: 38px;
  height: 3px;
}

.home-page .home-hero h1 {
  width: min(100%, 620px);
  margin: 0 !important;
  color: #f3efe3 !important;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
  font-size: clamp(88px, 6.95vw, 118px) !important;
  font-weight: 900 !important;
  line-height: .82 !important;
  letter-spacing: -.012em !important;
  text-align: left !important;
}

.home-page .home-hero h1 strong {
  display: inline-block;
  color: #a8df34 !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
}

.home-page .home-hero-line {
  max-width: 620px !important;
  margin: 22px 0 10px !important;
  padding-left: 15px !important;
  border-left-width: 5px !important;
  color: #f7f2e7 !important;
  font-size: clamp(22px, 1.42vw, 26px) !important;
  line-height: 1.08 !important;
  letter-spacing: .01em !important;
}

.home-page .home-hero-text {
  max-width: 520px !important;
  margin: 0 !important;
  color: #e5e1d7 !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
}

.home-page .home-fingerprint-mark {
  top: 24px !important;
  right: -18px !important;
  width: clamp(142px, 9.8vw, 166px) !important;
  opacity: .58 !important;
  transform: rotate(7deg) !important;
}

.home-page .home-stock-finder {
  width: min(100%, 606px);
  max-width: 606px;
  margin-top: 16px;
  padding: 12px 14px 11px;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(6, 12, 10, .82);
  backdrop-filter: blur(1px);
}

.home-page .home-stock-finder label {
  display: block;
  margin-bottom: 7px;
  color: #a8df34 !important;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .045em;
}

.home-page .home-stock-finder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 8px;
}

.home-page .home-stock-finder input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  font-size: 14px;
}

.home-page .home-stock-finder button {
  min-width: 145px;
  min-height: 48px;
  padding: 0 16px;
  font-size: 11px;
}

.home-page .home-stock-finder small {
  display: block;
  margin-top: 6px;
  color: #e5e1d7 !important;
  font-size: 9px;
  line-height: 1.35;
}

.home-page .home-hero-actions {
  margin-top: 16px;
  gap: 12px;
}

.home-page .home-btn {
  min-height: 48px;
  padding: 0 18px;
  font-size: 12px;
}

.home-page .home-hero-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  min-height: 100% !important;
  display: block !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 58% 42%, rgba(147, 176, 60, .21), transparent 34%),
    linear-gradient(115deg, #08110f 0%, #0b1712 58%, #102015 100%) !important;
}

.home-page .home-hero-art .hero-chart-lines,
.home-page .home-hero-art .hero-art-caption {
  display: none !important;
}

.home-page .home-hero-art img[data-captain-image].home-bull-rider-hero {
  position: absolute !important;
  inset: auto auto -5% 24% !important;
  width: 76% !important;
  max-width: none !important;
  height: 105% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: left bottom !important;
  transform: none !important;
  transform-origin: left bottom !important;
  filter: brightness(1.01) contrast(1.05) saturate(1.05) !important;
  z-index: 2 !important;
}

.home-page .home-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, .28) 0%, rgba(7, 16, 15, .05) 12%, transparent 25%),
    linear-gradient(0deg, rgba(7, 16, 15, .14), transparent 24%) !important;
}

.home-page .home-hero-art .asset-placeholder[data-captain-placeholder] {
  display: none !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1320px) {
  .home-page .home-nav-shell {
    grid-template-columns: minmax(260px, .8fr) minmax(620px, 2fr) 160px;
    gap: 16px;
  }

  .home-page .home-brand {
    font-size: 17px;
  }

  .home-page .home-nav-links {
    gap: 13px;
  }

  .home-page .home-hero-copy {
    padding-left: 54px !important;
  }

  .home-page .home-hero h1 {
    font-size: clamp(88px, 7.4vw, 112px) !important;
  }
}

@media (max-width: 1050px) {
  .home-page .home-nav-shell {
    grid-template-columns: 1fr auto;
    padding: 12px 20px;
  }

  .home-page .home-nav-links {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .home-page .nym-market-tape-widget {
    padding-left: 0;
    padding-right: 0;
  }

  .home-page .nym-market-tape-head {
    display: none;
  }

  .home-page .home-data-status {
    height: auto;
    min-height: 48px;
    grid-template-columns: 1fr 1fr;
    padding: 0 18px;
  }

  .home-page .home-data-status > a {
    display: none;
  }

  .home-page .home-hero {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
  }

  .home-page .home-hero::before {
    display: none;
  }

  .home-page .home-hero-copy {
    padding: 54px 44px 48px !important;
    background: #07100f !important;
  }

  .home-page .home-hero-art {
    position: relative !important;
    min-height: clamp(480px, 64vw, 680px) !important;
  }

  .home-page .home-hero-art img[data-captain-image].home-bull-rider-hero {
    inset: auto auto 0 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center bottom !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .home-page .home-header {
    min-height: auto;
  }

  .home-page .home-nav-shell {
    min-height: auto;
  }

  .home-page .home-brand {
    font-size: 15px;
  }

  .home-page .home-brand-arrow {
    width: 34px;
    height: 34px;
  }

  .home-page .home-nav-cta {
    min-height: 42px;
    padding: 0 13px;
    font-size: 10px;
  }

  .home-page .nym-market-tape {
    height: 66px;
    min-height: 66px;
  }

  .home-page .nym-market-tape-widget,
  .home-page .nym-market-tape-widget .tradingview-widget-container,
  .home-page .nym-market-tape-widget .tradingview-widget-container__widget {
    height: 66px;
    min-height: 66px;
  }

  .home-page .nym-market-tape-widget iframe {
    width: 100% !important;
    min-width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    transform: none;
  }

  .home-page .home-data-status {
    grid-template-columns: 1fr;
  }

  .home-page .home-data-status-title,
  .home-page .home-data-status-item {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid #35403b;
  }

  .home-page .home-hero-copy {
    padding: 46px 25px 44px !important;
  }

  .home-page .home-hero h1 {
    font-size: clamp(72px, 22vw, 104px) !important;
  }

  .home-page .home-fingerprint-mark {
    top: 20px !important;
    right: 16px !important;
    width: 102px !important;
    opacity: .35 !important;
  }

  .home-page .home-stock-finder-row {
    grid-template-columns: 1fr;
  }

  .home-page .home-stock-finder button {
    width: 100% !important;
  }

  .home-page .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .home-hero-art {
    min-height: clamp(300px, 66vw, 500px) !important;
  }

  .home-page .home-hero-art img[data-captain-image].home-bull-rider-hero {
    inset: auto auto 0 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }
}

/* Keep the complete approved homepage visible in short desktop viewports and
   at enlarged browser zoom without making Captain Breakout feel small. */
@media (min-width: 1051px) and (max-height: 780px) {
  .home-page .home-header,
  .home-page .home-nav-shell {
    min-height: 62px;
  }

  .home-page .nym-market-tape,
  .home-page .nym-market-tape-widget,
  .home-page .nym-market-tape-widget .tradingview-widget-container,
  .home-page .nym-market-tape-widget .tradingview-widget-container__widget {
    height: 60px;
    min-height: 60px;
  }

  .home-page .nym-market-tape-head {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .home-page .nym-market-tape-widget iframe {
    height: 54px !important;
    min-height: 54px !important;
  }

  .home-page .home-data-status {
    height: 40px;
    min-height: 40px;
  }

  .home-page .home-data-status-title,
  .home-page .home-data-status-item {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .home-page .home-hero {
    height: calc(100dvh - 162px) !important;
    min-height: 520px !important;
  }

  .home-page .home-hero-copy {
    min-height: 0;
    padding: 18px 26px 16px 60px !important;
  }

  .home-page .home-kicker {
    margin-bottom: 12px !important;
    font-size: 11px !important;
  }

  .home-page .home-hero h1 {
    font-size: clamp(78px, 6vw, 92px) !important;
  }

  .home-page .home-hero-line {
    margin: 12px 0 7px !important;
    font-size: 19px !important;
  }

  .home-page .home-hero-text {
    max-width: 500px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .home-page .home-stock-finder {
    margin-top: 10px;
    padding: 8px 10px;
  }

  .home-page .home-stock-finder label {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .home-page .home-stock-finder input,
  .home-page .home-stock-finder button {
    min-height: 38px;
  }

  .home-page .home-stock-finder small {
    margin-top: 4px;
    font-size: 7px;
  }

  .home-page .home-hero-actions {
    margin-top: 10px;
  }

  .home-page .home-btn {
    min-height: 40px;
    font-size: 10px;
  }

  .home-page .home-hero-art img[data-captain-image].home-bull-rider-hero {
    inset: auto auto -10% 36% !important;
    width: 79% !important;
    height: 110% !important;
    transform: none !important;
  }
}
