/* LeetFX hero: a self-contained midnight-blue market portal. */
/* Full-Hero Three.js WebGL 3D Cyber AI Universe */
.hero.section-shell {
  --hero-cyan: #78dfff;
  --hero-blue: #426cff;
  --hero-gold: #ead28f;
  position: relative !important;
  isolation: isolate;
  width: min(100% - 48px, 1440px) !important;
  max-width: 1440px !important;
  min-height: clamp(820px, 88vh, 940px) !important;
  margin: 24px auto 64px !important;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5.2vw, 78px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.05fr) !important;
  align-items: center !important;
  gap: clamp(24px, 3.5vw, 56px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 242, 254, 0.28) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(30, 75, 160, 0.28), transparent 48%),
    radial-gradient(ellipse at 15% 90%, rgba(0, 242, 254, 0.12), transparent 42%),
    linear-gradient(135deg, #050a17 0%, #080f22 47%, #060b18 100%) !important;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65), 0 0 60px rgba(0, 242, 254, 0.1), inset 0 1px 1px rgba(255,255,255,0.1) !important;
}

/* Full-Hero 3D WebGL Canvas Layer */
.hero-scene {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  z-index: 1 !important;
}
.hero-scene__canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  pointer-events: auto !important;
  cursor: grab !important;
}
.hero-scene__canvas:active {
  cursor: grabbing !important;
}

/* 3D Volumetric Hero Typography */
.hero h1.algorithm-title {
  max-width: 740px;
  font-size: clamp(43px, 4.6vw, 68px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
  text-shadow: 0 1px 0 #00f2fe, 0 2px 0 #00b4d8, 0 4px 10px rgba(0, 180, 216, 0.55), 0 10px 30px rgba(0, 242, 254, 0.45) !important;
  transform: perspective(1000px) rotateX(3deg) rotateY(-2deg) translateZ(18px) !important;
  filter: drop-shadow(0 0 24px rgba(0, 242, 254, 0.25));
}

/* Founder & Trader Profile Stage (Always Visible & 3D Glass) */
.hero .intro-stage {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
.hero .intro-stage::after { content: none !important; }
.hero .retro-lantern { display: none !important; }

/* 3D Frosted Glass Founder Card ("MERI PROFILE KHUD HE SHOW HO") */
.hero .mentor-intro-card {
  position: relative !important;
  z-index: 15 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(100%, 415px) !important;
  max-width: 415px !important;
  min-height: 490px !important;
  margin: 0 !important;
  background: linear-gradient(145deg, rgba(12, 24, 46, 0.88), rgba(6, 12, 25, 0.94)) !important;
  border: 1px solid rgba(0, 242, 254, 0.45) !important;
  border-left: 3px solid #00f2fe !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), 0 0 40px rgba(0, 242, 254, 0.22), inset 0 1px 1px rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease !important;
  pointer-events: auto !important;
}
.hero .mentor-intro-card:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-6px) !important;
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.82), 0 0 55px rgba(0, 242, 254, 0.4) !important;
  border-color: #00f2fe !important;
}

/* Neon Cyber Title Overrides (Clean Neon Cyan & Gold - No Red) */
.hero h1.algorithm-title .neon-blue-word,
.hero h1.algorithm-title .decode-word,
.neon-blue-word {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 0 10px #00f2fe,
    0 0 25px rgba(0, 242, 254, 0.85),
    0 0 50px rgba(0, 242, 254, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.9) !important;
  animation: none !important;
}

.hero h1.algorithm-title .algorithm-word,
.hero h1.algorithm-title .black-border-word,
.algorithm-word {
  color: #fff4d0 !important;
  -webkit-text-fill-color: #fff4d0 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 0 12px #ffd700,
    0 0 30px rgba(255, 215, 0, 0.75),
    0 0 60px rgba(255, 180, 0, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.9) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Hide legacy HUD / Toggle elements if present */
.scene-hud,
.mentor-quick-badge,
.mentor-card-close,
.hud-status,
.hud-actions {
  display: none !important;
}

.hero .intro-light { opacity: .5 !important; filter: blur(36px) !important; }
.hero .intro-light-one { background: rgba(46,143,255,.28) !important; }
.hero .intro-light-two { background: rgba(95,222,255,.14) !important; }

@media (max-width: 980px) {
  .hero.section-shell { width: min(100% - 28px, 760px) !important; min-height: 0 !important; grid-template-columns: 1fr !important; gap: 12px !important; padding: 45px clamp(22px,5vw,48px) 34px !important; }
  .hero .hero-copy { max-width: 700px; }
  .hero .intro-stage { width: min(100%,660px) !important; height: clamp(430px,75vw,570px) !important; margin: 0 auto !important; }
  .hero-scene__portal { width: min(78%,480px); right: 5%; top: -2%; }
  .hero-scene__chart { left: -8%; top: 6%; }
}
@media (max-width: 600px) {
  .hero.section-shell { width: calc(100% - 20px) !important; margin: 10px auto 38px !important; padding: 34px 20px 20px !important; border-radius: 22px !important; }
  .hero h1.algorithm-title { font-size: clamp(40px, 10.8vw, 58px) !important; line-height: 1.02 !important; }
  .hero .portal-welcome { max-width: 100%; font-size: 8px !important; letter-spacing: .12em !important; padding: 8px 12px !important; }
  .hero .team-leet-3d-badge { margin: 7px 0 15px !important; padding: 7px 12px !important; }
  .hero .team-leet-text { font-size: 9px !important; letter-spacing: .15em !important; }
  .hero .cinematic-intro-card { padding: 16px !important; margin-bottom: 20px !important; }
  .hero .cinematic-intro-card p { font-size: 12.5px !important; }
  .hero .hero-actions { align-items: stretch !important; flex-direction: column !important; gap: 10px !important; }
  .hero .hero-actions a { min-height: 48px; width: 100% !important; justify-content: center !important; }
  .hero .intro-stage { height: clamp(370px, 105vw, 465px) !important; overflow: visible !important; }
  .hero .mentor-intro-card { width: min(91%, 360px) !important; padding: 19px 15px !important; border-radius: 19px !important; }
  .hero .mentor-identity-block { padding: 10px !important; margin: 12px 0 !important; }
  .hero .mentor-identity-headline { font-size: 12px !important; }
  .hero .mentor-identity-tags { margin: 6px 0 0 !important; }
  .hero .mentor-identity-desc { font-size: 11.5px !important; }
  .hero .intro-tags { gap: 6px !important; flex-wrap: wrap; }
  .hero .intro-tags span { font-size: 8px !important; }
  .hero .intro-float-card { display: none !important; }
  .hero-scene__canvas { opacity: .65; }
  .hero-scene { inset: -2% -10%; }
  .hero-scene__portal { width: 82%; right: -3%; top: -2%; }
  .hero-scene__chart { width: 88%; left: -5%; top: 3%; padding: 11px 12px 9px; }
  .hero-scene__coordinate { font-size: 6px; }
  .hero-scene__coordinate--top { top: 4%; left: 3%; }
  .hero-scene__coordinate--bottom { right: 3%; bottom: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene__canvas { opacity: .38; }
  .hero-scene *, .hero-scene *::before, .hero-scene *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero .mentor-intro-card { animation: none !important; }
}


/* Hero polish: stop italic glyph clipping and make the globe the clear focal point. */
.hero h1.algorithm-title { overflow: visible !important; }
.hero h1.algorithm-title em { overflow: visible !important; }
.hero h1.algorithm-title .algorithm-word {
  white-space: nowrap;
  padding-inline: .08em .18em !important;
  margin-right: -.08em;
  overflow: visible !important;
}
.hero .cinematic-intro-card p[data-site-notice] {
  color: #e2ebf8 !important;
  font-size: clamp(13px, 1.15vw, 15px) !important;
  font-weight: 600 !important;
  line-height: 1.78 !important;
  letter-spacing: .005em;
  text-wrap: pretty;
}
.hero .intro-stage { min-width: 0; }
.hero .hero-scene {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
.hero-scene__canvas {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  pointer-events: auto !important;
}
.hero-scene__coordinate { z-index: 2; }
.swing-trader-card {
  position:absolute; z-index:4; top:5%; right:3%; width:min(78%,390px); padding:20px 22px 18px;
  color:#eff5ff; border:1px solid rgba(219,190,117,.52); border-radius:22px;
  background:linear-gradient(150deg,rgba(13,22,39,.91),rgba(20,24,43,.86) 62%,rgba(31,20,44,.83));
  box-shadow:0 28px 80px rgba(0,0,0,.48),0 0 35px rgba(102,166,255,.16),inset 0 1px rgba(255,255,255,.18);
  backdrop-filter:blur(16px) saturate(135%); transform:translateZ(68px);
}
.swing-trader-card__brand { display:flex; align-items:center; justify-content:center; gap:10px; min-height:62px; border:1px solid rgba(137,196,255,.28); border-radius:16px; background:radial-gradient(ellipse at 50% 20%,rgba(223,202,151,.27),rgba(20,38,66,.5) 70%); }
.swing-trader-card__brand img { width:54px; height:54px; object-fit:contain; filter:drop-shadow(0 0 12px rgba(238,205,128,.56)); }
.swing-trader-card__brand span { color:#f3d78f; font:700 9px/1 var(--font-mono,monospace); letter-spacing:.14em; }
.swing-trader-card blockquote { margin:14px 0 10px; color:#f8f3e6; text-align:center; font:italic 600 15px/1.35 var(--serif,Georgia,serif); }
.swing-trader-card__methods { display:flex; justify-content:center; gap:10px; width:max-content; max-width:100%; margin:0 auto 11px; padding:7px 13px; border:1px solid rgba(235,207,139,.54); border-radius:999px; color:#121722; background:linear-gradient(110deg,#f3dfa2,#d8b75d); font:800 8px/1 var(--font-mono,monospace); letter-spacing:.07em; }
.swing-trader-card__methods i { font-style:normal; }
.swing-trader-card p { margin:0; color:#c6d2e4; text-align:center; font:500 11px/1.55 var(--font-sans,Arial,sans-serif); }
.swing-trader-card__markets { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:13px 0; }
.swing-trader-card__markets span { padding:7px 9px; border:1px solid rgba(131,186,245,.26); border-radius:999px; color:#dceaff; background:rgba(18,36,65,.56); font:700 7px/1 var(--font-mono,monospace); letter-spacing:.06em; }
.swing-trader-card__principles { display:flex; gap:10px; }
.swing-trader-card__principles strong { flex:1; padding:10px 11px; border:1px solid rgba(229,194,109,.42); border-radius:12px; color:#f0d27e; background:rgba(24,23,34,.72); font:700 13px/1.1 var(--font-sans,Arial,sans-serif); }
.swing-trader-card__principles strong+strong { color:#e6b7ff; border-color:rgba(187,118,229,.45); }
.swing-trader-card__principles small { display:block; margin-top:5px; color:#aab8ce; font:700 6px/1 var(--font-mono,monospace); letter-spacing:.1em; }
.swing-trader-card__link { position:absolute; right:18px; bottom:18px; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:#101724; background:linear-gradient(135deg,#ffedb0,#c99c3c); font-size:17px; text-decoration:none; box-shadow:0 5px 18px rgba(222,177,75,.3); }
.hero.is-ready .swing-trader-card { animation:hero-card-arrive 1s .2s cubic-bezier(.2,.8,.2,1) both; }
.hero-globe-hud {
  position: absolute;
  z-index: 5;
  right: 2%;
  bottom: 4%;
  width: min(82%, 350px);
  padding: 15px 17px 13px;
  border: 1px solid rgba(139, 206, 255, .38);
  border-radius: 17px;
  color: #eff8ff;
  background: linear-gradient(135deg, rgba(12, 24, 44, .9), rgba(7, 13, 27, .82));
  box-shadow: 0 24px 68px rgba(0,0,0,.42), 0 0 38px rgba(71,157,255,.13), inset 0 1px rgba(255,255,255,.17);
  backdrop-filter: blur(18px) saturate(140%);
  transform: translateZ(72px);
}
.hero-globe-hud__eyebrow {
  display:flex; align-items:center; gap:8px; margin:0 0 12px;
  color:#a9c7e8; font:700 8px/1.2 var(--font-mono,monospace); letter-spacing:.16em;
}
.hero-globe-hud__eyebrow i { width:6px; height:6px; border-radius:50%; background:#80f0c2; box-shadow:0 0 12px #80f0c2; animation:hero-live-pulse 1.8s ease-in-out infinite; }
.hero-globe-hud__eyebrow span { margin-left:auto; color:#8af0c1; }
.hero-globe-hud__main { display:flex; align-items:center; gap:13px; }
.hero-globe-hud__mark { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border:1px solid rgba(238,211,145,.48); border-radius:50%; background:radial-gradient(circle at 35% 25%,rgba(255,239,191,.35),rgba(54,88,139,.12) 66%); box-shadow:0 0 25px rgba(89,175,255,.14),inset 0 1px rgba(255,255,255,.18); }
.hero-globe-hud__mark img { width:35px; height:35px; object-fit:contain; filter:drop-shadow(0 0 8px rgba(236,206,136,.5)); }
.hero-globe-hud__main strong { display:block; color:#f7faff; font:700 17px/1.12 var(--font-sans,Manrope,sans-serif); letter-spacing:-.035em; }
.hero-globe-hud__main small { display:block; margin-top:6px; color:#91b9e6; font:700 7px/1 var(--font-mono,monospace); letter-spacing:.16em; }
.hero-globe-hud__footer { display:flex; align-items:center; gap:15px; margin-top:12px; padding-top:10px; border-top:1px solid rgba(157,191,234,.17); color:#dce9f9; font:700 8px/1 var(--font-mono,monospace); letter-spacing:.08em; }
.hero-globe-hud__footer b { color:#e7cb83; }
.hero-globe-hud__footer span:nth-child(2) { margin-left:auto; color:#a6bed9; }
.hero-globe-hud__footer span:nth-child(2) strong { color:#f1d48f; font-size:12px; }
.hero-globe-hud__footer a { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#07121e; background:linear-gradient(135deg,#fff1bd,#d5ad5e); font:700 16px/1 var(--font-sans,Manrope,sans-serif); text-decoration:none; box-shadow:0 5px 20px rgba(224,182,89,.24); transition:transform .25s ease,box-shadow .25s ease; }
.hero-globe-hud__footer a:hover { transform:translateY(-2px) rotate(8deg); box-shadow:0 8px 26px rgba(224,182,89,.4); }
.hero.is-ready .hero-globe-hud { animation:hero-hud-arrive .9s .52s cubic-bezier(.2,.8,.2,1) both,hero-hud-float 7s 1.5s ease-in-out infinite; }
@keyframes hero-live-pulse { 50% { opacity:.48; box-shadow:0 0 4px #80f0c2; } }
@keyframes hero-hud-arrive { from { opacity:0; translate:0 16px; filter:blur(8px); } to { opacity:1; translate:0 0; filter:blur(0); } }
@keyframes hero-hud-float { 50% { translate:0 -5px; } }
@media (max-width: 980px) {
  .hero-globe-hud { right:5%; bottom:2%; }
  .swing-trader-card { top:4%; right:4%; width:min(82%,390px); }
}
@media (max-width: 600px) {
  .hero .hero-copy { z-index:6; }
  .hero-scene__portal { width:92%; right:1%; top:-1%; }
  .hero-globe-hud { width:min(88%,330px); right:4%; bottom:0; padding:12px 13px 10px; }
  .hero-globe-hud__main strong { font-size:15px; }
  .hero-globe-hud__footer { gap:9px; font-size:7px; }
  .hero-scene__canvas { opacity:.86; }
  .swing-trader-card { top:3%; right:3%; width:min(90%,360px); padding:15px; }
  .swing-trader-card__brand { min-height:48px; }
  .swing-trader-card__brand img { width:42px; height:42px; }
  .swing-trader-card blockquote { font-size:13px; margin:10px 0 8px; }
  .swing-trader-card p { font-size:10px; }
  .swing-trader-card__markets { margin:9px 0; }
  .swing-trader-card__principles strong { font-size:11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-globe-hud, .hero-globe-hud__eyebrow i { animation:none !important; }
}
