@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap");

:root{
  --t1:#569CD6; --t2:#C586C0; --t3:#CE9178; --t4:#DCDCAA; --t5:#4FC1FF; --t6:#B5CEA8; --t7:#F44747;
  --bg-0:#0f1216; --bg-1:#141820;
  --scan-cyan:#00E5FF; --scan-blue:#40A4FF;
  --glow-1:rgba(64,164,255,.85); --glow-2:rgba(0,229,255,.7);
}

*{margin:0;padding:0;box-sizing:border-box}

/* DARK background */
/* Positioning context */
#gsolu-hero { position: relative; }

/* Right-side overlay, 20% above image lane (images are centered at 50% of banner) */
.hero-graphics--right{
  --raise: 12vh;                 /* 20% of a 50vh banner ≈ 10vh */
  position: absolute;
  /* anchor to the right half */
    width: 60vw;        /* use 60% of viewport width on the right */
  left: 40%;    
  top: calc(50% - var(--raise)); /* 20% above image center */
  transform: translateY(-50%);   /* align by the text block's own height */
  text-align: right;
  z-index: 6;                    /* above portal & images */
  pointer-events: none;          /* don't block interactions */
  padding-right: 16px;
}

/* Bold, high-contrast type for dark hero */
.hero-graphics--right h1{
  margin: 0;
  font-family: "Inter","Roboto","Helvetica Neue",Arial,sans-serif;
  font-weight: 700;              /* bolder */
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.98);
  font-size: clamp(22px, 3.4vw, 44px);
  line-height: 1.15;
  text-shadow:
    0 1px 2px rgba(0,0,0,.55),
    0 0 22px rgba(0, 200, 255, .18);
}

/* If your theme forces bold via .fw-bold, keep it bold (but our styles win anyway) */
.hero-graphics--right .fw-bold{ font-weight: 700 !important; }

/* Keep tidy on small screens */
@media (max-width: 900px){
  .hero-graphics--right{ --raise: 8vh; padding-right: 12px; }
}
@media (max-width: 600px){
  .hero-graphics--right{ --raise: 6vh; padding-right: 8px; }
  .hero-graphics--right h1{ font-size: clamp(20px, 4vw, 28px); }
}

/* --- scope all rules under the hero to avoid site-wide collisions --- */
#gsolu-hero { position: relative;
 background: radial-gradient(900px 520px at 50% 62%, var(--bg-1) 0%, var(--bg-0) 58%, #07090c 100%);
 }

/* neutralize Bootstrap pre/code defaults (white bg, border, scrollbars) */
#gsolu-hero pre, 
#gsolu-hero code {
  /* background: transparent !important; */
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
#gsolu-hero pre {
  overflow: hidden !important;        /* no inner scrollbar */
  max-width: none !important;
}

/* full-bleed: escape parent .container padding/max-width */
#gsolu-hero .banner {
  width: 100vw;
  position: relative;                 /* keep as in your version */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* if your theme sets img { max-width:100% } it’s fine — our .shot uses fixed height */
#gsolu-hero .shot img { display:block; height:200px; width:auto; }

.banner-index{
 background: radial-gradient(900px 520px at 50% 62%, var(--bg-1) 0%, var(--bg-0) 58%, #07090c 100%);
 
  overflow:hidden;
  font-family:"Arial",sans-serif;
}

.banner{
  height:50vh; width:100vw; position:relative; display:flex;
  box-shadow: inset 0 0 120px rgba(0,0,0,.65);
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(40,60,80,.18), transparent 60%),
    linear-gradient(180deg, rgba(10,12,16,.85), rgba(10,12,16,.85));
  overflow:hidden;
}

.pane{flex:1; position:relative; overflow:hidden}
.left{border-right:1px solid rgba(255,255,255,.06)}

/* Center portal line */
.portal{
  position:absolute; top:0; bottom:0; left:calc(50% - 1px); width:2px; z-index:5;
  background:linear-gradient(180deg, transparent, rgba(64,164,255,.55), rgba(0,229,255,.85), rgba(64,164,255,.55), transparent);
  box-shadow:0 0 18px var(--glow-1), 0 0 36px var(--glow-2);
  opacity:.9;
}

/* LEFT: centered terminal viewport */
.term-viewport{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:0 8px;
}
.terminal{
  will-change:transform;
  width:48vw; max-width:48vw; padding:0 8px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:12px; line-height:15px; letter-spacing:.15px;
  color:transparent; white-space:pre; user-select:none;

  /* Neon gradient text for dark bg */
  background:linear-gradient(90deg, var(--t1) 0%, var(--t2) 12%, var(--t3) 24%, var(--t4) 36%, var(--t5) 48%, var(--t6) 60%, var(--t7) 72%, var(--t1) 84%, var(--t2) 100%);
  background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text;
  animation:gradientSweep 12s linear infinite;

  filter:
    drop-shadow(0 0 2px rgba(120,160,220,.45))
    drop-shadow(0 0 6px rgba(120,160,220,.28))
    drop-shadow(0 0 12px rgba(180,140,220,.20));

  position:relative;
}
.terminal::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 2px, transparent 3px);
  mix-blend-mode:overlay; opacity:.10;
}
.cursor{
  display:inline-block; width:8px; height:14px; margin-left:3px;
  background:linear-gradient(180deg,var(--scan-cyan),var(--scan-blue));
  box-shadow:0 0 6px var(--glow-1), 0 0 12px var(--glow-2);
  animation:blink .9s steps(1,end) infinite; transform:translateY(2px);
}
@keyframes blink{50%{opacity:0}}
@keyframes gradientSweep{0%{background-position:0% 50%}100%{background-position:100% 50%}}

/* RIGHT viewport starts at center — EXACTLY AS YOU WROTE (no position) */
.right-viewport {
    top: 0;
    left: 50%;
    width: 50vw;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Free-floating image (no border/shadow) */
.shot{
  position:absolute; /* positions relative to .pane (which is position:relative) */
  top:50%; left:0;
  transform:translate(-50%,-50%); /* center of image sits on portal */
  opacity:0; will-change:transform,opacity;
  transition:transform linear, opacity .25s ease;
}
.shot img{
  display:block; height:200px; width:auto;
  image-rendering:auto;
}

@media (max-width:900px){
  .banner{height:60vh}
  .terminal{font-size:11px; line-height:14px;}
  .shot img{height:150px}
}
@media (max-width:600px){
  .terminal{font-size:10px; line-height:13px;}
  .shot img{height:130px}
}
