/* Additional homepage sections. The hero and map visuals remain in home-v4.css. */
.home-page {
  --portal-panel: rgba(13, 16, 16, .95);
  --portal-line: rgba(242, 241, 235, .13);
  --portal-orange: #eb5b18;
  --portal-text-muted: #a7aaa6;
}

.home-hero-v3 {
  --portal-hero-x: 0px;
  --portal-hero-y: 0px;
  background-position: calc(50% + var(--portal-hero-x)) calc(48% + var(--portal-hero-y));
  transition: background-position .16s linear;
}

.hero-live-stats {
  position: absolute;
  z-index: 3;
  top: clamp(15px, 2.7vh, 34px);
  left: 50%;
  width: min(1040px, calc(100% - 96px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-live-stat {
  min-height: 58px;
  padding: 10px 14px 9px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(235, 239, 233, .14);
  border-left-color: rgba(255, 120, 51, .42);
  background: linear-gradient(100deg, rgba(5, 7, 7, .36), rgba(11, 13, 12, .18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(1px);
}

.hero-live-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .025) 4px 5px);
  pointer-events: none;
}

.hero-live-stat::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 188, 143, .13), transparent);
  transform: skewX(-22deg);
  animation: hero-command-scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-live-stat span {
  position: relative;
  z-index: 1;
  color: rgba(232, 231, 226, .72);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .7px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-live-stat strong {
  position: relative;
  z-index: 1;
  color: rgba(248, 246, 239, .92);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(16px, 1.25vw, 22px);
  font-weight: 700;
  letter-spacing: .45px;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes hero-command-scan {
  0%, 72% { left: -42%; opacity: 0; }
  78% { opacity: 1; }
  100% { left: 118%; opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page:not(.portal-motion-ready) .hero-kicker-v4,
  .home-page:not(.portal-motion-ready) .hero-logo-link-v4,
  .home-page:not(.portal-motion-ready) .hero-copy-v4 h1,
  .home-page:not(.portal-motion-ready) .hero-description-v4,
  .home-page:not(.portal-motion-ready) .hero-play-button,
  .home-page:not(.portal-motion-ready) .hero-more-link,
  .home-page:not(.portal-motion-ready) .hero-feature-v4 { opacity: 0; transform: translateY(16px); }

  .home-page.portal-motion-ready .hero-kicker-v4,
  .home-page.portal-motion-ready .hero-logo-link-v4,
  .home-page.portal-motion-ready .hero-copy-v4 h1,
  .home-page.portal-motion-ready .hero-description-v4,
  .home-page.portal-motion-ready .hero-play-button,
  .home-page.portal-motion-ready .hero-more-link,
  .home-page.portal-motion-ready .hero-feature-v4 {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
  }
  .home-page.portal-motion-ready .hero-logo-link-v4 { transition-delay: .08s; }
  .home-page.portal-motion-ready .hero-copy-v4 h1 { transition-delay: .14s; }
  .home-page.portal-motion-ready .hero-description-v4 { transition-delay: .2s; }
  .home-page.portal-motion-ready .hero-play-button { transition-delay: .26s; animation: portal-button-glow 3.2s ease-in-out 1s infinite; }
  .home-page.portal-motion-ready .hero-more-link { transition-delay: .32s; }
  .home-page.portal-motion-ready .hero-feature-v4:nth-child(1) { transition-delay: .38s; }
  .home-page.portal-motion-ready .hero-feature-v4:nth-child(2) { transition-delay: .44s; }
  .home-page.portal-motion-ready .hero-feature-v4:nth-child(3) { transition-delay: .5s; }
  .home-page.portal-motion-ready .hero-feature-v4:nth-child(4) { transition-delay: .56s; }
  .home-page.portal-motion-ready .hero-logo-link-v4 img { animation: portal-logo-float 5.5s ease-in-out infinite; }
  [data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
  [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

.portal-shell { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 0; }
.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.portal-heading > div { max-width: 780px; }
.portal-kicker { margin: 0 0 9px; color: var(--portal-orange); font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.portal-heading h2 { margin: 0; color: #f1efea; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(34px, 4vw, 62px); line-height: .98; text-transform: uppercase; }
.portal-heading p:last-child { margin: 12px 0 0; color: var(--portal-text-muted); }
.portal-heading-with-action { align-items: flex-end; }
.portal-section-link {
  flex: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(235, 91, 24, .55);
  color: #f1efea;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.portal-section-link span { color: var(--portal-orange); font-size: 19px; line-height: 1; transition: transform .18s ease; }
.portal-section-link:hover { color: #fff; border-color: var(--portal-orange); }
.portal-section-link:hover span { transform: translateX(4px); }
.portal-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-news-card {
  min-width: 0;
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--portal-line);
  background: linear-gradient(145deg, rgba(235, 91, 24, .10), transparent 48%), var(--portal-panel);
}
.portal-news-card h3 { margin: 18px 0 12px; color: #f1efea; font-size: clamp(21px, 1.7vw, 29px); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.portal-news-card > p:not(.portal-kicker) { margin: 0; color: var(--portal-text-muted); line-height: 1.65; overflow-wrap: anywhere; }
.portal-news-card > a { margin-top: auto; padding-top: 20px; color: #ef9a73; font-size: 10px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.portal-news-card > a span { margin-left: 6px; color: var(--portal-orange); font-size: 16px; }
.portal-news-card > a:hover { color: #fff; }
.portal-news-card .content-media { margin-top: 14px; }
.portal-news-card .content-media-image,
.portal-news-card .content-media-video { display: block; width: 100%; max-height: 180px; object-fit: cover; background: #050708; }
.portal-market-slot .content-media { margin-top: 10px; }
.portal-market-slot .content-media-image,
.portal-market-slot .content-media-video { display: block; width: 100%; max-height: 116px; object-fit: cover; background: #050708; }

.portal-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--portal-line); background: var(--portal-line); }
.portal-stat { min-height: 150px; padding: 23px; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(20,22,22,.98), rgba(8,10,10,.98)); }
.portal-stat::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--portal-orange); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.portal-stat:hover::after { transform: scaleX(1); }
.portal-stat span { display: block; color: #919590; font-size: 10px; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; }
.portal-stat strong { display: block; margin-top: 20px; color: #f2f1ec; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(34px, 3vw, 48px); line-height: 1; }
.portal-stat small { display: block; margin-top: 8px; color: #d06d43; font-size: 11px; }

.portal-empty-card { min-height: 190px; padding: 32px; display: grid; align-content: center; gap: 9px; border: 1px solid var(--portal-line); background: linear-gradient(135deg, rgba(235,91,24,.09), transparent 48%), var(--portal-panel); }
.portal-empty-card strong { color: #f2f1ec; font-size: 23px; text-transform: uppercase; }
.portal-empty-card span { color: var(--portal-text-muted); }

.portal-columns { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 15px; }
.portal-panel { min-height: 200px; border: 1px solid var(--portal-line); background: var(--portal-panel); }
.portal-panel-header { min-height: 64px; padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--portal-line); }
.portal-panel-header h3 { margin: 0; color: #f1efea; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.portal-panel-empty { margin: 0; padding: 24px 21px; color: var(--portal-text-muted); }
.portal-ranking-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 21px; }
.portal-ranking-columns > div { min-width: 0; }
.portal-ranking-columns b { color: #d9d6ce; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.portal-ranking { margin: 11px 0 0; padding: 0; list-style: none; }
.portal-ranking li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); color: var(--portal-text-muted); font-size: 12px; }
.portal-ranking li strong { color: #f0eee7; white-space: nowrap; }
.portal-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #777; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }

.portal-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portal-feature-card { min-height: 270px; padding: 30px; border: 1px solid var(--portal-line); background: linear-gradient(140deg, rgba(235,91,24,.1), transparent 44%), var(--portal-panel); }
.portal-feature-card h3 { max-width: 670px; margin: 8px 0 13px; color: #f1efea; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; text-transform: uppercase; }
.portal-feature-card > p:not(.portal-kicker) { max-width: 670px; margin: 0; color: var(--portal-text-muted); }
.portal-status { display: inline-block; margin-top: 24px; padding: 6px 9px; border: 1px solid rgba(235,91,24,.55); color: #f3b093; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.portal-market-preview-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-market-slot { min-width: 0; padding: 14px; border: 1px solid rgba(242, 241, 235, .12); background: rgba(4, 6, 6, .30); }
.portal-market-slot > span { display: block; color: #d7784b; font-size: 9px; font-weight: 900; letter-spacing: .9px; text-transform: uppercase; }
.portal-market-slot strong { display: block; margin-top: 9px; color: #f1efea; font-size: 16px; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
.portal-feature-card .portal-market-slot p { margin-top: 8px; color: var(--portal-text-muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }

@keyframes portal-logo-float { 50% { transform: translateY(-4px); } }
@keyframes portal-button-glow { 50% { filter: brightness(1.07) drop-shadow(0 0 14px rgba(235,91,24,.25)); } }

@media (min-width: 1081px) and (max-width: 1600px) {
  .home-page .site-header {
    height: 76px;
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }
  .home-page .nav-toggle {
    grid-column: 2;
    justify-self: end;
    display: flex;
    width: 43px;
    height: 43px;
    margin: 0;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .025);
  }
  .home-page .nav-toggle span { display: block; width: 100%; height: 2px; background: #ddd; }
  .home-page .main-nav {
    position: absolute;
    z-index: 30;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4, 6, 6, .985);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: none;
  }
  .home-page .main-nav.open { display: flex; }
  .home-page .main-nav a { min-height: 44px; height: 44px; justify-content: flex-start; padding: 0 14px; font-size: 13px; }
  .home-page .main-nav a::after { left: 14px; right: auto; bottom: 5px; width: 36px; }
  .home-page .header-actions { grid-column: 3; margin-left: 0; }
}
@media (max-width: 1100px) {
  .hero-live-stats {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: min(100% - 48px, 700px);
    margin: 0 auto 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }
  .portal-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-columns { grid-template-columns: 1fr; }
  .portal-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-live-stats {
    width: min(100% - 32px, 500px);
    margin: 0 auto 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }
  .hero-live-stat { min-height: 52px; padding: 8px 10px; }
  .portal-shell { width: min(100% - 32px, 1500px); padding-top: 66px; }
  .portal-heading { display: block; }
  .portal-heading-with-action .portal-section-link { margin-top: 18px; }
  .portal-news-grid { grid-template-columns: 1fr; }
  .portal-news-card { min-height: 0; padding: 24px; }
  .portal-stat { min-height: 128px; padding: 18px; }
  .portal-feature-grid { grid-template-columns: 1fr; }
  .portal-feature-card { min-height: 0; padding: 24px; }
  .portal-market-preview-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-v3 { transition: none; }
  .home-page .hero-logo-link-v4 img,
  .home-page .hero-play-button { animation: none !important; }
  .hero-live-stat::after { animation: none; }
}
