body {
  font-family: 'Noto Sans', sans-serif;
  background:
    radial-gradient(circle at 15% -10%, rgba(59, 130, 246, 0.14), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(251, 146, 60, 0.14), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 40%);
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

.teaser .hero-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.hero-landing {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 33, 66, 0.04) 0%, rgba(14, 33, 66, 0) 45%),
    linear-gradient(160deg, rgba(59, 130, 246, 0.08) 0%, rgba(56, 189, 248, 0.05) 42%, rgba(249, 115, 22, 0.06) 100%);
}

.hero-landing::before,
.hero-landing::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  pointer-events: none;
}

.hero-landing::before {
  width: 360px;
  height: 360px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 72%);
}

.hero-landing::after {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0) 70%);
}

.hero-landing .hero-body {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  padding-bottom: 2.6rem;
}

h1.publication-title {
  font-family: 'Google Sans', sans-serif;
  color: #10213f;
  font-size: clamp(1.9rem, 4.1vw, 2.9rem);
  line-height: 1.17;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem !important;
}

.brand-gradient {
  display: inline-block;
  color: #2563eb !important;
  font-weight: 800;
  letter-spacing: 0.005em;
  padding: 0 0.08em;
  background: linear-gradient(180deg, transparent 63%, rgba(96, 165, 250, 0.24) 63%);
}

@media screen and (max-width: 768px) {
  .hero-landing .hero-body {
    padding-top: 2.7rem;
    padding-bottom: 2rem;
  }
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}


/* Demo CSS */
.demo_img {
  align-items: center;
  text-align: center;
  vertical-align: middle;
  /*width: 800px;*/
  /*align-items: center;*/
  /*flex-basis: 40%*/
  /* margin-left: 25%;
  margin-right: 25%; */
  /*display: block;*/
  /* position: absolute; */
  max-height: 90vh;
}

.vir_demo_img {
  align-items: center;
  text-align: center;
  vertical-align: middle;
  max-height: 90vh;
}

.demo_slider_container {
  min-width: 75px;
  width: 10%; /* Adjust as needed */
  align-items: center;
  text-align: center;
  /*height: 60px; !* Adjust as needed *!*/
  display: none;
  position: absolute;
}

.vir_demo_slider_container {
  min-width: 75px;
  width: 10%; /* Adjust as needed */
  align-items: center;
  text-align: center;
  /*height: 60px; !* Adjust as needed *!*/
  position: absolute;
}


.slider_group {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  max-height: 90vh;
}

.vir_slider_group {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  max-height: 90vh;
}

.demo_slider {
  --SliderColor: hsl(50, 100%, 50%);
  -webkit-appearance: none;
  width: 20px;
  height: 5px;
  outline: none;
  opacity: 1; /* Initially hide the slider */
  transition: height,width .5s ease; /* Smooth transition */
  border-radius: 10px;
  background-image: linear-gradient(to right, #f06 0%, #f06 2%, #f4d 18%, #94f 34%, #09f 50%, #7c3 66%, #fe0 82%, #fb0 98%, #fb0 100%);
}

.demo_slider_container>input {
  width: 0px;
  border: 0px;
  transition: all .5s ease; /* Smooth transition */
  accent-color: var(--SliderColor);
}

.vir_demo_slider_container>input {
  width: 0px;
  border: 0px;
  transition: all .5s ease; /* Smooth transition */
  accent-color: yellow;
}

.demo_slider_container:hover>input{
  width: 100%;
  opacity: 1; /* Show the slider on hover */
  border: 2px solid white;
  transition: all .5s ease; /* Smooth transition */
  accent-color: var(--SliderColor);
}

.vir_demo_slider_container:hover>input{
  width: 100%;
  opacity: 1; /* Show the slider on hover */
  border: 2px solid white;
  transition: all .5s ease; /* Smooth transition */
  accent-color: yellow;
}

.demo_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 17.5px;
  background: var(--SliderColor);
  cursor: pointer;
  /*border: 4px solid red; !* White border *!*/
  transition: all .5s ease; /* Smooth transition */
}

.vir_demo_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 17.5px;
  background: var(--SliderColor);
  cursor: pointer;
  /*border: 4px solid red; !* White border *!*/
  transition: all .5s ease; /* Smooth transition */
}

.demo_slider_container:hover .demo_slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 12.5px;
  /*border: 4px solid white; !* White border *!*/
}

.vir_demo_slider_container:hover .vir_demo_slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 12.5px;
  /*border: 4px solid white; !* White border *!*/
}

.content{
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  /*padding: 5px 5px;*/
  /*margin: 5px auto;*/
}

.my_carousel-control {
  width: 60px;
  height: 30%;
  top: 50%;
  transform: translateY(-50%);
}

.white_carousel-control {
  filter: invert(0) brightness(100%);
}

.demo_carousel_item {
  overflow: hidden;
}

.inner-div{
  float:left;
   left:50%;
   position: relative;
}

.centered-div{
   position: relative;
   float:left;
   left: -50% ;
   width: auto;
}

/* Multiple items carousel */

.multi-carousel-inner {
 
  display: flex;
}

.multi-carousel-item {
  margin-right: 0;
  flex: 0 0 33.2%;
  display: block;
  margin: 0 .5em;
}

.img-wrapper {
  max-width: 100%;
  height: 50vh;
}

.img-wrapper>img {
  max-width: 100%;
  max-height: 100%;
}

/* Gemini carousel overlay */
.carousel-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Removed background, color, etc.  We're just positioning now. */
  display: none;  /*  Initially hidden; now using display instead of opacity */
  pointer-events: none; /* Starts with no pointer events */
}

.carousel-overlay img{ /* Overlay image styling */
 display: block; /*  Remove extra space. */
 width: 100%;
 height: 100%;
 border-radius: 8px;
}

.carousel-overlay.active {
  display: block; /*  Show on active */
  pointer-events: auto;  /*Allow interaction once shown.*/
}

.inactive {
  display: none; /*  Hide on inactive */
  pointer-events: none; /* No interaction when hidden */
}

.note {
  display: flex;
  justify-content: center; 
  align-items: center;
  position: relative;
  width: fit-content;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin-top: 28px; 
  font-size: 1rem; 
  line-height: 1.5; 
  font-weight: 500;
  background-color: rgb(229, 246, 253);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  padding: 6px 16px;

}

.note.note-centered {
  left: auto;
  -webkit-transform: none;
  transform: none;
  margin: 0 auto 0.8rem;
}

.svg-icon {
  height: 3vh;
  margin-left: 8px; 
  margin-right: 8px; 
  vertical-align: bottom;
}

.centered-text {
  text-align: center;
}


/* Gemini Pointlight */

.mainImage {
  /* width: 100%;
  height: 100%; */
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover; /* Important: similar to background-size: cover */
  object-position: center; /* Important: similar to background-position: center */
}


.overlay-button {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #e8e8e8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  /* Prevent text selection on mobile */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.overlay-button:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.overlay-button.active {
  background: radial-gradient(circle at 35% 35%, #c9b8f0, #a088d8);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 5px rgba(160, 136, 216, 0.35),
    0 3px 12px rgba(160, 136, 216, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

.overlay-button.faded {
  background: radial-gradient(circle at 35% 35%, #ffffff, #d0d0d0);
  border: 2px solid rgba(180, 180, 180, 0.8);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  opacity: 0.85;
}

.overlay-button.faded:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
  background: radial-gradient(circle at 35% 35%, #e0d4f8, #c8b8f0);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 4px rgba(160, 136, 216, 0.25),
    0 3px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 0 5px rgba(160, 136, 216, 0.35),
      0 3px 12px rgba(160, 136, 216, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 9px rgba(160, 136, 216, 0.15),
      0 3px 16px rgba(160, 136, 216, 0.5),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
  }
}

.hidden {
  display: none; /* Hide the element */
}

.approach-img {
  padding-bottom: 5px;
  margin-bottom: 15px;
}

#replay-video {
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-container>h5 {
  width: 33.333%;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Grey overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer; /* Indicate it's clickable */
  z-index: 10; /* Ensure overlay is on top */
}

.demo-overlay.hidden {
  display: none;
}

.touch-icon {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
  height: 4%;
  width: 4%;
  position: absolute;
}

.virtual-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
