/* CSS Document */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  background: #000000;
  transform: scale(1);
  transform-origin: 0 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Hero Video Background */
.hero-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1000;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-video-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(0px);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 30px;
  z-index: 10;
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-arrow-left 2s infinite;
}

.scroll-indicator::after {
  content: '↓';
  display: block;
  font-size: 24px;
  margin-top: 10px;
}

@keyframes bounce-arrow-left {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Video navigation dots */
.video-nav-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  align-items: center;
}

.video-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.video-nav-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.video-nav-dot.active {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.video-nav-dot.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Hide main content initially */
body.hero-active {
  overflow: hidden;
}

/* Remove fullscreen gallery styles */

/* Add subtle animated background shapes - removed */
body::before {
  display: none;
}

/* Add decorative pattern overlay - removed */
body::after {
  display: none;
}

/* Card styling for Applications section */
.card {
  position: relative;
  display: inline-block;
  margin: 10px;
}

/* Overlay image styling */
.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

/* Ensure videos are behind the overlay image */
.card video {
  position: relative;
  z-index: 1;
}

/* Animated gradient background for headings */
@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.content h2, .content h3 {
  background: linear-gradient(270deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #dda0dd, #ff6b6b);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-animation 8s ease infinite;
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Glowing effect for headings on hover */
.content h2:hover, .content h3:hover {
  filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.5));
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Floating animation for video cards */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.card {
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.card:nth-child(even) {
  animation-delay: 3s;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}

/* Neon glow effect for buttons */
.button-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.button-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.button-modern:hover::before {
  left: 100%;
}

.button-modern {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1),
              0 0 20px rgba(102, 126, 234, 0.4);
}

.button-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              0 0 30px rgba(102, 126, 234, 0.6);
}

/* Parallax tilt effect for content blocks */
.content {
  transition: transform 0.3s ease;
}

/* Typewriter cursor effect */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background-color: #333;
  animation: blink 1s infinite;
}

/* Typewriter text styling */
.typewriter-text {
  position: relative;
}

.typewriter-text::after {
  content: '|';
  display: inline-block;
  animation: blink 1s infinite;
  font-weight: bold;
  color: #333;
}

/* Rainbow border animation for special elements */
@keyframes rainbow-border {
  0% { border-color: #ff6b6b; }
  16% { border-color: #feca57; }
  33% { border-color: #48dbfb; }
  50% { border-color: #ff9ff3; }
  66% { border-color: #54a0ff; }
  83% { border-color: #5f27cd; }
  100% { border-color: #ff6b6b; }
}

/* Pulse animation for model viewers */
model-viewer {
  transition: all 0.3s ease;
}

model-viewer:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

/* Sparkle effect for special text */
@keyframes sparkle {
  0% { 
    opacity: 0.3;
    transform: scale(0.8) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
    filter: drop-shadow(0 0 10px gold);
  }
  100% { 
    opacity: 0.3;
    transform: scale(0.8) rotate(360deg);
  }
}

.conference-top.sparkle {
  position: relative;
}

.conference-top.sparkle::before {
  content: '✨ ';
  position: relative;
  display: inline-block;
  font-size: 1.3em;
  animation: sparkle 2s infinite;
  margin-right: 8px;
  animation-delay: 1s; /* Offset animation for variety */
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

.conference-top.sparkle::after {
  content: ' ✨';
  position: relative;
  display: inline-block;
  font-size: 1.3em;
  animation: sparkle 2s infinite;
  margin-left: 8px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

/* Wobble animation for fun elements */
@keyframes wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* Cool hover effect for title letters */
.title-letter {
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.title-letter:hover {
  transform: translateY(-10px) rotate(10deg) scale(1.3);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.title-letter.bounce {
  animation: bounce 0.5s ease;
}

/* Loading animation for images */
@keyframes shimmer-load {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}

/* Cool border animation for content blocks */
.content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 30px;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #dda0dd, #ff6b6b);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.content:hover::after {
  opacity: 1;
  animation: gradient-shift 3s ease infinite;
}

/* Confetti colors */
@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff6b6b;
  animation: confetti-fall 3s linear;
  z-index: 9999;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Fancy scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
}

/* Floating accent shapes */
@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.content:nth-of-type(odd)::before {
  display: none;
}

.content:nth-of-type(even)::before {
  display: none;
}

/* Hover effect for content blocks */
.content:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.12),
    0 18px 35px rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.04);
}
.content {
  width: 85vw;
  max-width: none;
  padding: 50px 60px 40px 60px;
  margin: 20px auto;
  background: #000000;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header content block with fancy styling */
.header-content {
  width: 85vw;
  max-width: none;
  padding: 50px 60px 40px 60px;
  margin: 20px auto;
  background: #000000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect for the entire block */
.header-content:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.12),
    0 18px 35px rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.04);
}

/* Shimmer animation */
@keyframes shimmer {
  0% { background-position: 200% 0, 0 0; }
  100% { background-position: -200% 0, 0 0; }
}

/* Animated gradient border - removed */
.header-content::before {
  display: none;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glowing orbs background - removed */
.header-content::after {
  display: none;
}

@keyframes glow-pulse {
  0% { 
    opacity: 0.5; 
    transform: scale(1) rotate(0deg); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1.2) rotate(5deg); 
  }
}

/* Ensure content is above decorations */
.header-content > *, .content > * {
  position: relative;
  z-index: 2;
}

/* Add extra decorative elements to HTML */
.header-decoration {
  position: absolute;
  pointer-events: none;
}

.header-decoration.top-left {
  display: none;
}

.header-decoration.bottom-right {
  display: none;
}

@keyframes float-decoration {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -10px) scale(1.1); }
  66% { transform: translate(-10px, 10px) scale(0.9); }
}
.contentblock {
  width: 950px;
  margin: 0 auto;
  padding: 0;
  border-spacing: 25px 0;
}
.contentblock td {
  background-color: #fff;
  padding: 25px 50px;
  vertical-align: top;
  box-shadow: 0px 0px 10px #999;
  border-radius: 15px;
}
a, a:visited {
  color: #224b8d;
  font-weight: 300;
}
#authors {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}
#conference {
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}
#authors a {
  margin: 0 10px;
}
h1 {
  text-align: center;
  font-size: 45px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
h2 {
  font-size: 48px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: white;
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 40px 0 30px 0;
}

/* Fancy section title styling */
h2 strong {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
}

/* Decorative lines on both sides of title - removed */
h2::before,
h2::after {
  display: none;
}

/* Add subtle animation to title text */
h2 strong {
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

h2:hover strong {
  transform: scale(1.05);
  letter-spacing: 3px;
}

/* Add subtle shadow under title text */
h2 strong {
  text-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Add fancy section dividers */
.content {
  position: relative;
  padding-bottom: 60px;
}

.content::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
  border-radius: 3px;
}

/* Different gradient colors for each section - removed, all white now */
.content:nth-of-type(2) h2 strong,
.content:nth-of-type(3) h2 strong,
.content:nth-of-type(4) h2 strong,
.content:nth-of-type(5) h2 strong,
.content:nth-of-type(6) h2 strong,
.content:nth-of-type(7) h2 strong,
.content:nth-of-type(8) h2 strong {
  color: white;
}
code {
  display: block;
  padding: 10px;
  margin: 10px 10px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}
p {
  line-height: 1.7;
  text-align: justify;
  font-size: 18px;
  color: white;
}
p code {
  display: inline;
  padding: 0;
  margin: 0;
}
#teasers {
  margin: 0 auto;
}
#teasers td {
  margin: 0 auto;
  text-align: center;
  padding: 5px;
}
#teasers img {
  width: 250px;
}
#results img {
  width: 133px;
}
#seeintodark {
  margin: 0 auto;
}
#sift {
  margin: 0 auto;
}
#sift img {
  width: 250px;
}
.downloadpaper {
  padding-left: 20px;
  float: right;
  text-align: center;
}
.downloadpaper a {
  font-weight: bold;
  text-align: center;
}
.teaser-img {
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.teaser-gif {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.summary-img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.video-iframe {
  width: 1000;
  height: 800;
  margin: auto;
  display: block;
}
.container {
  height: 30%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  /* align-items: center; */
  /* flex-direction: column; */
  /* justify-content: center */
}
.image {
  flex-basis: 40%
}
.text {
  font-size: 20px;
  padding-left: 20px;
}
.center {
  margin-left: auto;
  margin-right: auto;
}
.boxshadow {
  border: 1px solid;
  padding: 10px;
  box-shadow: 2px 2px 5px #888888;
}
.spacertr {
  height: 8px;
}
.spacertd {
  width: 40px;
}

.scale {
  width: 300px;
}

.image-caption {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
}

.image-caption img{
  max-width: 100%;
}

.prompt {
  color: #9a26a5;
}
.vertical-line {
      border-left: 1px solid black;
      height: 100px;
      margin: 20px 20px;
      margin-bottom: 75px;
      height: 150px;
    }

.dreambooth{
  color:rgba(3, 94, 136, 0.966);
}

.ab-image-caption {
  text-align: center;
}

.ab-image-caption img {
  height: 250px;
  width: 250px;
}

.ab-image-caption .caption {
  font-size: 18px;
  margin-top: 10px;
}
.gallery {
  width: 100%;
}
.gallery .row {
  display: flex;
  padding: 0 4px;
  justify-content: space-between;
}
.gallery .row img {
  width: 100%;
}

/* Modern Title Styles */
h1.modern-title {
  text-align: center;
  font-size: 96px !important;
  font-weight: 800 !important;
  letter-spacing: 20px;
  padding-left: 20px;
  font-family: 'Helvetica Neue', 'Arial Black', sans-serif;
  margin-bottom: 20px;
  margin-top: 20px;
  position: relative;
  color: white;
}

/* Subtle line under title */
.modern-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
  opacity: 0.5;
}

.title-letter {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: default;
  animation: float 3s ease-in-out infinite;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Stagger the animation for each letter */
.title-letter:nth-child(1) {
  animation-delay: 0s;
}

.title-letter:nth-child(2) {
  animation-delay: 0.2s;
}

.title-letter:nth-child(3) {
  animation-delay: 0.4s;
}

.title-letter:nth-child(4) {
  animation-delay: 0.6s;
}

/* Floating animation - optimized for performance */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateZ(0);
  }
  50% {
    transform: translateY(-8px) translateZ(0);
  }
}

/* Hover effect with bounce */
.title-letter:hover {
  animation: bounce 0.5s ease;
  filter: brightness(1.2);
  transform: translateY(-5px) translateZ(0);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(-15px) translateZ(0);
  }
}

/* Removed complex effects for better performance */

/* Modern Subtitle */
.modern-subtitle {
  text-align: center;
  font-size: 50px;
  color: white;
  font-weight: 800;
  margin-top: 0px;
  letter-spacing: 2px;
  opacity: 1;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Conference info */
.conference-top {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #bb0202;
  margin-top: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  display: block;
  width: 100%;
}

/* Modern Authors Section */
.authors-modern-container {
  text-align: center;
  margin: 40px 0 30px 0;
  position: relative;
}

.authors-modern-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.author-modern-link {
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

.author-modern-link:hover {
  transform: translateY(-3px);
}

.author-name-modern {
  font-size: 16px;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.author-name-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.author-modern-link:hover .author-name-modern {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.author-modern-link:hover .author-name-modern::before {
  left: 100%;
}

.affiliation-sup {
  font-size: 14px;
  color: #a0b0ff;
  font-weight: bold;
  margin-left: 3px;
  vertical-align: super;
}

/* Modern Institutions */
.institutions-modern {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 25px 0 35px 0;
  flex-wrap: wrap;
  padding: 20px;
  background: transparent;
  border-radius: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.institution-item-modern {
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: all 0.3s ease;
}

.institution-item-modern:hover {
  transform: translateY(-2px);
}

.institution-number-modern {
  font-size: 18px;
  font-weight: bold;
  color: #a0b0ff;
}

.institution-name-modern {
  font-size: 22px;
  color: white;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Modern Buttons */
.buttons-modern {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.button-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.button-modern span {
  position: relative;
  z-index: 2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.button-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  transform: scale(1.15) rotate(3deg);
}

/* Paper/arXiv button - Transparent with purple border */
.button-paper {
  background: rgba(221, 214, 254, 0);
  color: #FFFFFF !important;
  border: 2px solid rgba(196, 181, 253, 0.8);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.button-paper span {
  color: #FFFFFF !important;
}

/* Code button - Transparent with blue border */
.button-code {
  background: rgba(191, 219, 254, 0);
  color: #FFFFFF !important;
  border: 2px solid rgba(167, 243, 208, 0.8);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.button-code span {
  color: #FFFFFF !important;
}

/* Video button - Transparent with pink border */
.button-video {
  background: rgba(253, 164, 175, 0);
  color: #FFFFFF !important;
  border: 2px solid rgba(253, 186, 116, 0.8);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.button-video span {
  color: #FFFFFF !important;
}

.button-modern:active {
  transform: scale(0.98) translateY(-3px);
}

/* arXiv icon styling for paper button - keep original colors */
.button-paper .arxiv-icon {
  filter: none;
}

/* GitHub icon styling for code button - pure white */
.button-code .button-icon {
  filter: brightness(0) invert(1);
}


/* YouTube icon fix */
.youtube-logo {
  width: 20px;
  height: 20px;
  display: none;
}

/* Performance optimization for videos */
video {
  background: #f0f0f0;
  min-height: 200px;
}

video:not([controls]) {
  cursor: pointer;
}

/* Reduce initial load for 3D models */
model-viewer {
  min-height: 400px;
  background: #f5f5f5;
}

/* BibTeX code block styling */
pre {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

pre code {
  font-family: inherit;
}

/* Responsive adjustments for modern styles */
@media screen and (max-width: 1200px) {
  h1.modern-title {
    font-size: 60px !important;
    letter-spacing: 12px;
    padding-left: 12px;
  }
  
  .modern-subtitle {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  h1.modern-title {
    font-size: 48px !important;
    letter-spacing: 8px;
    padding-left: 8px;
  }
  
  .modern-subtitle {
    font-size: 18px;
  }
  
  .authors-modern-row {
    gap: 15px;
  }
  
  .author-name-modern {
    font-size: 16px;
    padding: 6px 12px;
  }
  
  .institutions-modern {
    gap: 20px;
  }
  
  .institution-name-modern {
    font-size: 16px;
  }
  
  .buttons-modern {
    gap: 15px;
  }
  
  .button-modern {
    padding: 10px 20px;
    font-size: 14px;
  }
}
