body {
  font-family: 'Noto Sans', sans-serif;
}


.footer a {
    /*font-size: 25px;*/
    color: #000;
}

.large-font {
    font-size: 25px;
}

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

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


.teaser .hero-body {
  padding-top: 0;
  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 {
}

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

.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;*/
}

/* Enhanced Authors Section Styling */
.authors-section {
  margin: 2rem 0;
  text-align: center;
}

.authors-list {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.authors-list a {
  color: hsl(204, 86%, 53%) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  display: inline-block;
}

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

.authors-list sup {
  font-size: 0.7em;
  color: #ffffff;
  font-weight: bold;
}

.affiliations-list {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

.affiliations-list sup {
  font-size: 0.8em;
  color: #ffffff;
  font-weight: bold;
}

/* Mobile responsiveness for authors */
@media (max-width: 768px) {
  .authors-list {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  
  .affiliations-list {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .authors-list {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  
  .affiliations-list {
    font-size: 0.9rem;
  }
}

.publication-video {
    position: relative;
    width: 95%;
    height: 0;
    padding-bottom: 53%;
    margin: auto;
    overflow: hidden;
    border: 2px solid #bbb;
    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;
}

/* Simulation Grid Layout */
.simulation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Desktop Grid - Show on desktop, hide on mobile */
.desktop-grid {
  display: grid;
}

/* Mobile Carousel - Hide on desktop, show on mobile */
.mobile-carousel {
  display: none;
}

.simulation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: 6px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.simulation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.simulation-item video {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 6px 6px 0 0;
  margin-bottom: 0;
}

.simulation-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
  padding: 0.75rem;
}

/* Responsive grid layout */
@media (max-width: 1200px) {
  .simulation-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  /* Hide desktop grid on mobile */
  .desktop-grid {
    display: none;
  }
  
  /* Show mobile carousel on mobile */
  .mobile-carousel {
    display: block;
  }
  
  .simulation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .simulation-label {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .simulation-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .simulation-label {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 15px;
  padding-right: 15px;
}

.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;
}

.bottom_buttons[disabled] {
  opacity: .4;
}

.brmod {
  display: block;
  margin-top: 0.5em;
}

/* Box Augmentation Demo Styles */
.demo-controls-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
}

.demo-controls-container .field {
  margin-bottom: 1rem;
}

.demo-controls-container .field:last-child {
  margin-bottom: 0;
}

.demo-controls-container .label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

/* Pose Options Panel Styles */
.pose-options-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pose-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.pose-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
  transition: left 0.5s ease;
}

.pose-option:hover::before {
  left: 100%;
}

.pose-option:hover {
  transform: translateY(-2px);
  border-color: #e74c3c;
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

.pose-option.active {
  border-color: #e74c3c;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(231, 76, 60, 0.3);
}

.pose-option .pose-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #e74c3c;
  transition: all 0.3s ease;
}

.pose-option:hover .pose-icon {
  transform: scale(1.1);
  color: #c0392b;
}

.pose-option.active .pose-icon {
  color: white;
  transform: scale(1.1);
}

.pose-option .pose-label {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.pose-option.active .pose-label {
  color: white;
}

/* Responsive design for pose buttons */
@media (max-width: 768px) {
  .pose-options-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .pose-option {
    padding: 0.6rem 0.1rem;
  }
  
  .pose-option .pose-icon {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  
  .pose-option .pose-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .pose-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  
  .pose-option {
    padding: 0.5rem 0.1rem;
  }
}

/* Size Options Panel Styles */
.size-options-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.size-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.size-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
  transition: left 0.5s ease;
}

.size-option:hover::before {
  left: 100%;
}

.size-option:hover {
  transform: translateY(-2px);
  border-color: #27ae60;
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.2);
}

.size-option.active {
  border-color: #27ae60;
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(39, 174, 96, 0.3);
}

.size-option .size-icon {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #27ae60;
  transition: all 0.3s ease;
}

.size-option:hover .size-icon {
  transform: scale(1.1);
  color: #229954;
}

.size-option.active .size-icon {
  color: white;
  transform: scale(1.1);
}

.size-option .size-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.size-option.active .size-label {
  color: white;
}

/* Button Group Styling */
.buttons.is-grouped {
  display: flex;
  gap: 0.5rem;
}

.buttons.is-grouped .button {
  margin-bottom: 0;
}

.buttons.is-grouped .button:not(:last-child) {
  margin-right: 0;
}

/* Fullscreen Button Styling */
.button.is-outlined {
  border-width: 1px;
  background-color: transparent;
}

.button.is-danger.is-outlined {
  color: #e74c3c;
  border-color: #e74c3c;
}

.button.is-danger.is-outlined:hover {
  background-color: #e74c3c;
  color: white;
}

.button.is-success.is-outlined {
  color: #27ae60;
  border-color: #27ae60;
}

.button.is-success.is-outlined:hover {
  background-color: #27ae60;
  color: white;
}

.button.is-primary.is-outlined {
  color: #8e44ad;
  border-color: #8e44ad;
}

.button.is-primary.is-outlined:hover {
  background-color: #8e44ad;
  color: white;
}

/* Terrain section filled primary button (purple) */
.button.is-primary {
  background-color: #8e44ad;
  border-color: #8e44ad;
}

.button.is-primary:hover {
  background-color: #7d3c98;
  border-color: #7d3c98;
}

.button.is-warning.is-outlined {
  color: #e67e22;
  border-color: #e67e22;
}

.button.is-warning.is-outlined:hover {
  background-color: #e67e22;
  color: white;
}

/* Terrain Options Panel Styles */
.terrain-options-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.terrain-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.terrain-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(142, 68, 173, 0.1), transparent);
  transition: left 0.5s ease;
}

.terrain-option:hover::before {
  left: 100%;
}

.terrain-option:hover {
  transform: translateY(-2px);
  border-color: #8e44ad;
  box-shadow: 0 4px 8px rgba(142, 68, 173, 0.2);
}

.terrain-option.active {
  border-color: #8e44ad;
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(142, 68, 173, 0.3);
}

.terrain-option .terrain-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #8e44ad;
  transition: all 0.3s ease;
}

.terrain-option:hover .terrain-icon {
  transform: scale(1.1);
  color: #9b59b6;
}

.terrain-option.active .terrain-icon {
  color: white;
  transform: scale(1.1);
}

.terrain-option .terrain-label {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.terrain-option.active .terrain-label {
  color: white;
}

/* Embodiment Options Panel Styles */
.embodiment-options-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.embodiment-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.embodiment-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.1), transparent);
  transition: left 0.5s ease;
}

.embodiment-option:hover::before {
  left: 100%;
}

.embodiment-option:hover {
  transform: translateY(-2px);
  border-color: #e67e22;
  box-shadow: 0 4px 8px rgba(230, 126, 34, 0.2);
}

.embodiment-option.active {
  border-color: #e67e22;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(230, 126, 34, 0.3);
}

.embodiment-option .embodiment-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #e67e22;
  transition: all 0.3s ease;
}

.embodiment-option:hover .embodiment-icon {
  transform: scale(1.1);
  color: #f39c12;
}

.embodiment-option.active .embodiment-icon {
  color: white;
  transform: scale(1.1);
}

.embodiment-option .embodiment-label {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.embodiment-option.active .embodiment-label {
  color: white;
}

/* LAFAN Options Panel Styles (blue theme) */
.lafan-options-panel {
}

.lafan-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.lafan-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.12), transparent);
  transition: left 0.5s ease;
}

.lafan-option:hover::before {
  left: 100%;
}

.lafan-option:hover {
  transform: translateY(-2px);
  border-color: #3498db;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.25);
}

.lafan-option.active {
  border-color: #3498db;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(52, 152, 219, 0.3);
}

.lafan-option .lafan-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #3498db;
  transition: all 0.3s ease;
}

.lafan-option:hover .lafan-icon {
  transform: scale(1.1);
  color: #2980b9;
}

.lafan-option.active .lafan-icon {
  color: white;
  transform: scale(1.1);
}

.lafan-option .lafan-label {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.lafan-option.active .lafan-label {
  color: white;
}

/* Baseline Comparison Container */
.baseline-comparison-container {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Baseline Method Options Panel Styles */
.baseline-method-options-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0;
}

.baseline-method-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.baseline-method-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
  transition: left 0.5s ease;
}

.baseline-method-option:hover::before {
  left: 100%;
}

.baseline-method-option:hover {
  transform: translateY(-2px);
  border-color: #2c3e50;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

.baseline-method-option.active {
  border-color: #2c3e50;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(44, 62, 80, 0.3);
}

.baseline-method-option .baseline-method-icon {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.baseline-method-option:hover .baseline-method-icon {
  transform: scale(1.1);
  color: #34495e;
}

.baseline-method-option.active .baseline-method-icon {
  color: white;
  transform: scale(1.1);
}

.baseline-method-option .baseline-method-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.baseline-method-option.active .baseline-method-label {
  color: white;
}

/* Baseline Task Options Panel Styles */
.baseline-task-options-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0;
}

.baseline-task-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.baseline-task-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
  transition: left 0.5s ease;
}

.baseline-task-option:hover::before {
  left: 100%;
}

.baseline-task-option:hover {
  transform: translateY(-2px);
  border-color: #2c3e50;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

.baseline-task-option.active {
  border-color: #2c3e50;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(44, 62, 80, 0.3);
}

.baseline-task-option .baseline-task-icon {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.baseline-task-option:hover .baseline-task-icon {
  transform: scale(1.1);
  color: #34495e;
}

.baseline-task-option.active .baseline-task-icon {
  color: white;
  transform: scale(1.1);
}

.baseline-task-option .baseline-task-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.baseline-task-option.active .baseline-task-label {
  color: white;
}

/* OmniRetarget Task Options Panel Styles - REMOVED */

/* Legacy Baseline Options Panel Styles (keeping for compatibility) */
.baseline-options-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.baseline-box-option, .baseline-climb-option {
  background: white;
  border-radius: 8px;
  padding: 0.75rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.baseline-box-option::before, .baseline-climb-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
  transition: left 0.5s ease;
}

.baseline-box-option:hover::before, .baseline-climb-option:hover::before {
  left: 100%;
}

.baseline-box-option:hover, .baseline-climb-option:hover {
  transform: translateY(-2px);
  border-color: #2c3e50;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

.baseline-box-option.active, .baseline-climb-option.active {
  border-color: #2c3e50;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(44, 62, 80, 0.3);
}

.baseline-box-option .baseline-icon, .baseline-climb-option .baseline-icon {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.baseline-box-option:hover .baseline-icon, .baseline-climb-option:hover .baseline-icon {
  transform: scale(1.1);
  color: #34495e;
}

.baseline-box-option.active .baseline-icon, .baseline-climb-option.active .baseline-icon {
  color: white;
  transform: scale(1.1);
}

.baseline-box-option .baseline-label, .baseline-climb-option .baseline-label {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.baseline-box-option.active .baseline-label, .baseline-climb-option.active .baseline-label {
  color: white;
}

/* Responsive design for terrain and embodiment buttons */
@media (max-width: 768px) {
  .terrain-options-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
  
  .embodiment-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }
  
  .baseline-options-panel, .baseline-method-options-panel, .baseline-task-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }
  
  .terrain-option, .embodiment-option, .baseline-box-option, .baseline-climb-option, 
  .baseline-method-option, .baseline-task-option {
    padding: 0.6rem 0.1rem;
  }
  
  .terrain-option .terrain-icon, .embodiment-option .embodiment-icon, .baseline-box-option .baseline-icon, .baseline-climb-option .baseline-icon,
  .baseline-method-option .baseline-method-icon, .baseline-task-option .baseline-task-icon {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  
  .terrain-option .terrain-label, .embodiment-option .embodiment-label, .baseline-box-option .baseline-label, .baseline-climb-option .baseline-label,
  .baseline-method-option .baseline-method-label, .baseline-task-option .baseline-task-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .terrain-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }
  
  .embodiment-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }
  
  .baseline-options-panel, .baseline-method-options-panel, .baseline-task-options-panel {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.2rem;
  }
  
  .terrain-option, .embodiment-option, .baseline-box-option, .baseline-climb-option, 
  .baseline-method-option, .baseline-task-option {
    padding: 0.5rem 0.1rem;
  }
}

.demo-controls-container .select {
  position: relative;
}

.demo-controls-container .select select {
  width: 100%;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  background: white;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.demo-controls-container .select select:hover {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.demo-controls-container .select select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.combined-controls-container {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

#load-pose-demo-btn,
#load-size-demo-btn {
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 600;
  width: 100%;
}

#load-pose-demo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

#load-size-demo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

#reload-all-btn,
#fullscreen-btn {
  transition: all 0.3s ease;
  border-radius: 8px;
  font-weight: 600;
}

#reload-all-btn:hover,
#fullscreen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.demo-display-container {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.demo-display-container:hover {
  transform: translateY(-2px);
}

.demo-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-header h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.demo-header p {
  color: #7f8c8d;
  font-style: italic;
}

.demo-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f8f9fa;
}

.demo-wrapper iframe {
  display: block;
  border: none;
  border-radius: 10px;
}

.demo-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.demo-controls .button {
  transition: all 0.3s ease;
}

.demo-controls .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.demo-info-panel {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3498db;
}

.highlight-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2c3e50;
}

.feature-item i {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .demo-display-container {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .demo-wrapper iframe {
    height: 300px;
  }
  
  .demo-controls-container {
    padding: 0.75rem;
  }
  
  .pose-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .pose-option {
    padding: 0.5rem 0.25rem;
  }
  
  .pose-option .pose-icon {
    font-size: 1rem;
  }
  
  .pose-option .pose-label {
    font-size: 0.75rem;
  }
  
  .highlight-features {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .demo-display-container {
    padding: 0.75rem;
  }
  
  .demo-wrapper iframe {
    height: 250px;
  }
  
  .demo-controls-container {
    padding: 0.5rem;
  }
  
  .pose-options-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  
  .pose-option {
    padding: 0.4rem 0.2rem;
  }
  
  .pose-option .pose-icon {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  
  .pose-option .pose-label {
    font-size: 0.7rem;
  }
}

/* Hide interactive demo on mobile devices */
@media screen and (max-width: 768px) {
  .interactive-demo-section {
    display: none !important;
  }
}

/* Flagship video captions: keep readable width and spacing */
.flagship-caption {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media screen and (max-width: 768px) {
  .flagship-caption {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

