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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 40px 0px;
    background: #ffffff;
    color: #2d3748;
    /* border-bottom: 1px solid #e2e8f0; */
}

.logo-container {
    margin-bottom: 25px;
}

h1 {
    font-size: 2.6em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #1a202c;
}

h1 .project-name {
    font-size: 1.1em;
    font-weight: 800;
}

.title-divider {
    display: inline;
    margin: 0 0.3em;
    color: #ea580c;
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.5;
    color: #4a5568;
}

.conference-tag {
    display: inline-block;
    font-size: 1.8em;
    /* margin-top: 25px; */
    /* font-weight: 700; */
}

.authors {
    font-size: 1.05em;
    margin: 25px auto;
    line-height: 1.8;
    max-width: 900px;
    color: #2d3748;
}

.authors a,
footer a {
    color: #ea580c;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.authors a:hover,
footer a:hover {
    background-position: right center;
}

.affiliations {
    font-size: 0.95em;
    margin: 20px auto;
    line-height: 1.6;
    max-width: 800px;
    color: #718096;
}

.institution-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px auto;
    flex-wrap: nowrap;
    max-width: 1200px;
}

.institution-logos img {
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(30%);
}

.institution-logos img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.institution-logos .logo-hkust {
    height: 60px;
}

.institution-logos .logo-ntu {
    height: 60px;
}

.institution-logos .logo-sysu {
    height: 62px;
}

.institution-logos .logo-nus {
    height: 68px;
}

.keywords {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.keyword-tag {
    background: #f7fafc;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    background-size: 200% auto;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
    font-size: 0.95em;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.5);
    background-position: right center;
}

.gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content {
    padding: 60px 40px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: #2d3748;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ea580c;
    border-radius: 2px;
}

.demo-container {
    text-align: center;
    margin: 40px 0;
}

.demo-container img,
.demo-container video {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.teaser-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.teaser-video {
    width: 100%;
    display: block;
    transition: filter 0.3s ease;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.teaser-video-grid .video-tag-container:hover .teaser-video {
    filter: brightness(1.05);
}

.video-tag-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.video-tag-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(236, 72, 153, 0.25);
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%) border-box;
    border-width: 1px;
    border-style: solid;
}

.video-tag {
    padding: 12px 10px;
    background: #f8f9fa;
    color: #2d3748;
    font-size: 0.95em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
    border-top: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.video-tag-container:hover .video-tag {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.15);
    border-color: #ea580c;
}

.feature-card h3 {
    color: #ea580c;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Contribution Grid Styles */
.contribution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    align-items: stretch;
}

.contribution-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.25);
    border-color: transparent;
    background: linear-gradient(#f8f9fa, #f8f9fa) padding-box, linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%) border-box;
    border-width: 1px;
    border-style: solid;
}

.contribution-card.novel-view-card:hover {
    /* Merged into standard hover since they should all use the consistent gradient now */
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.25);
}

.novel-view-card .contribution-list li::before {
    /* Removed blue override to use uniform gradient */
}

.contribution-card h3 {
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contribution-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contribution-card:hover .contribution-image {
    transform: scale(1.02);
}

.contribution-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.contribution-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.05em;
}

.contribution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.architecture-section {
    background: #f7fafc;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}

.architecture-section h3 {
    color: #ea580c;
    margin: 25px 0 15px;
    font-size: 1.4em;
}

.architecture-section p,
.architecture-section li {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.architecture-section ul {
    margin-left: 30px;
}

.formula {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.image-caption {
    text-align: center;
    color: #718096;
    font-size: 0.95em;
    margin-top: 15px;
    font-style: italic;
}

.results-section {
    margin: 40px 0;
}

.citation {
    background: #f7fafc;
    color: #2d3748;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.6;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.citation::after {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    border-radius: 15px;
    z-index: -1;
}

.citation::before {
    content: 'Citation';
    position: absolute;
    top: -14px;
    left: 20px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.highlight-box {
    background: #f7fafc;
    border-left: 4px solid #ea580c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ea580c;
}

/* Interactive Visualization Styles */
.interactive-vis-container {
    margin: 40px 0;
    background: #f7fafc;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.vis-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #4a5568;
    font-size: 1.05em;
    line-height: 1.6;
}

.main-viewer {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pointcloud-container {
    width: 100%;
    height: 550px;
    background: #ffffff;
    position: relative;
    border-radius: 15px;
}

model-viewer {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
}

model-viewer::part(default-progress-bar) {
    background: linear-gradient(90deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4a5568;
    font-size: 1.1em;
    text-align: center;
}

.loading-spinner {
    border: 4px solid rgba(236, 72, 153, 0.2);
    border-top: 4px solid #ec4899;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.viewer-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.viewer-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(234, 88, 12, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    z-index: 10;
}

.camera-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85em;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.camera-hint:hover {
    opacity: 1;
}

.thumbnail-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9) 0%, rgba(236, 72, 153, 0.9) 50%, rgba(59, 130, 246, 0.9) 100%);
    background-size: 200% auto;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.carousel-nav:hover {
    background-position: right center;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(236, 72, 153, 0.5);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.thumbnail-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #ea580c #e2e8f0;
}

.thumbnail-track::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-track::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.thumbnail-track::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 160px;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.thumbnail-item.active {
    border-color: #ec4899;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
}

.thumbnail-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.thumbnail-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 8px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
}

.thumbnail-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(236, 72, 153, 0.5);
}

.thumbnail-play-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9;
}

.thumbnail-item:hover .thumbnail-play-icon {
    opacity: 0;
}

/* Ablation Comparison Styles */
.ablation-comparison-container {
    margin: 40px 0;
    background: #f7fafc;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.ablation-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0 20px;
}

.ablation-nav-btn {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.ablation-nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.ablation-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ablation-counter {
    background: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: #ea580c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ablation-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
}

.ablation-images {
    flex: 0 0 25%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 560px;
    display: flex;
    flex-direction: column;
}

.ablation-images h3 {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.image-grid::-webkit-scrollbar {
    width: 6px;
}

.image-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.image-grid::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 3px;
}

.image-grid::-webkit-scrollbar-thumb:hover {
    background: #c2410c;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.ablation-viewer {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 560px;
    display: flex;
    flex-direction: column;
}

.ablation-viewer h3 {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.comparison-viewer-container {
    position: relative;
    width: 100%;
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.model-viewer-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-model {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-model model-viewer {
    width: 100%;
    height: 100%;
}

.left-model {
    clip-path: inset(0 40% 0 0);
}

.right-model {
    clip-path: inset(0 0 0 60%);
}

.model-label {
    position: absolute;
    top: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
    pointer-events: none;
}

.left-label {
    left: 15px;
}

.right-label {
    right: 15px;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: transparent;
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-2px);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider-line {
    flex: 1;
    width: 4px;
    background: linear-gradient(180deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.slider-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    cursor: ew-resize;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    transition: transform 0.2s ease;
    user-select: none;
}

.slider-button:hover {
    transform: scale(1.1);
}

.comparison-slider:active .slider-button {
    transform: scale(0.95);
}

/* VLA Comparison Section Styles */
.vla-comparison-section {
    margin: 40px 0;
    background: #f7fafc;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.vla-two-column {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    align-items: start;
}

.vla-navigation-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.vla-scenes-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Tab Navigation for Method Selection */
.vla-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.vla-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
}

.vla-tab-btn:hover {
    color: #ea580c;
}

.vla-tab-btn.active {
    color: #ea580c;
    border-bottom-color: #ea580c;
}

/* VLA Comparison Viewer (Left Side) */
.vla-viewer {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 560px;
    display: flex;
    flex-direction: column;
}

.vla-viewer-compact {
    height: 400px;
}

.vla-viewer h3 {
    margin-bottom: 8px;
    margin-top: 0;
    flex-shrink: 0;
    text-align: center;
    color: #ea580c;
    font-size: 1.1em;
}

.vla-comparison-viewer-container {
    position: relative;
    width: 100%;
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.vla-comparison-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vla-left-gif {
    clip-path: inset(0 50% 0 0);
}

.vla-right-gif {
    clip-path: inset(0 0 0 50%);
}

.vla-gif-label {
    position: absolute;
    top: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

.vla-left-label {
    left: 15px;
}

.vla-right-label {
    right: 15px;
}

.vla-comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: transparent;
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-2px);
}

.vla-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vla-slider-line {
    flex: 1;
    width: 4px;
    background: linear-gradient(180deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.vla-slider-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    cursor: ew-resize;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    transition: transform 0.2s ease;
    user-select: none;
}

.vla-slider-button:hover {
    transform: scale(1.1);
}

.vla-comparison-slider:active .vla-slider-button {
    transform: scale(0.95);
}

.vla-table-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 65%;
    flex: 0 0 65%;
}

.vla-table-container h3 {
    color: #ea580c;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.vla-table-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 60%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border-radius: 2px;
}

.vla-table-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    min-height: 0;
}

.vla-table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.vla-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.vla-table-wrapper::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}

.vla-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #c2410c;
}

.vla-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05em;
    margin-top: 0;
}

.vla-table th,
.vla-table td {
    padding: 20px 6px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.vla-table thead th {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.vla-table thead th:first-child {
    border-top-left-radius: 8px;
}

.vla-table thead th:last-child {
    border-top-right-radius: 8px;
}

.vla-table thead tr:first-child th {
    padding: 20px 6px;
    font-size: 1em;
}

.vla-table thead tr:last-child th {
    padding: 16px 6px;
    font-size: 0.9em;
    background: rgba(234, 88, 12, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.vla-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.vla-table tbody tr:hover {
    background: #edf2f7;
}

.vla-table .task-header {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    font-weight: 600;
    color: #2d3748;
    border-top: 2px solid #ea580c;
}

.vla-table .task-header td {
    border-top: 2px solid #ea580c;
    border-bottom: 1px solid #cbd5e0;
    padding: 20px;
}

.vla-table .method-name {
    font-weight: 600;
    color: #4a5568;
    text-align: left;
    padding-left: 12px;
}

.vla-table .best-value {
    font-weight: 700;
    color: #ea580c;
}

footer {
    background: #f7fafc;
    color: #4a5568;
    text-align: center;
    padding: 30px;
    font-size: 0.95em;
    border-top: 1px solid #e2e8f0;
    /* margin-top: 0px; */
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .content {
        padding: 40px 20px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        text-align: center;
    }

    .interactive-vis-container {
        padding: 20px;
    }

    .pointcloud-container {
        height: 400px;
    }

    .viewer-info {
        font-size: 0.85em;
        padding: 8px 12px;
        top: 10px;
        left: 10px;
    }

    .viewer-counter {
        font-size: 0.8em;
        padding: 6px 10px;
        top: 10px;
        right: 10px;
    }

    .camera-hint {
        font-size: 0.7em;
        padding: 6px 10px;
        bottom: 10px;
        right: 10px;
    }

    .thumbnail-carousel {
        padding: 0 40px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    .thumbnail-item {
        width: 120px;
    }

    .thumbnail-item img {
        height: 80px;
    }

    .thumbnail-label {
        font-size: 0.75em;
        padding: 6px;
    }

    /* Ablation Comparison Responsive */
    .ablation-comparison-container {
        padding: 20px;
    }

    .ablation-navigation {
        gap: 10px;
        flex-wrap: wrap;
    }

    .ablation-nav-btn {
        padding: 8px 18px;
        font-size: 0.9em;
    }

    .ablation-counter {
        padding: 6px 16px;
        font-size: 0.9em;
    }

    .ablation-content {
        flex-direction: column;
        gap: 20px;
    }

    .institution-logos {
        flex-wrap: wrap;
        gap: 20px;
        max-width: 80%;
    }

    .ablation-images {
        flex: 1;
        height: auto;
        max-height: 400px;
    }

    .ablation-viewer {
        height: 400px;
    }

    .model-label {
        font-size: 0.8em;
        padding: 6px 12px;
        top: 10px;
    }

    .left-label {
        left: 10px;
    }

    .right-label {
        right: 10px;
    }

    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    /* VLA Comparison Responsive */
    .vla-comparison-section {
        padding: 20px;
    }

    .vla-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vla-table-container {
        overflow-x: auto;
    }

    .vla-table {
        font-size: 0.8em;
    }

    .vla-table th,
    .vla-table td {
        padding: 8px 5px;
    }

    .vla-viewer {
        height: 400px;
        padding: 10px;
    }

    .vla-viewer-compact {
        height: 320px;
    }

    .vla-viewer h3 {
        margin-bottom: 6px;
        font-size: 1em;
    }

    .vla-scenes-container {
        gap: 8px;
    }

    .vla-table-container {
        padding: 15px;
        width: 100%;
        flex: 0 0 100%;
    }

    .vla-table-container h3 {
        margin-bottom: 12px;
        font-size: 1.1em;
        padding-bottom: 8px;
    }

    .vla-navigation-left {
        align-items: center;
    }

    .vla-slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .vla-tabs {
        flex-wrap: wrap;
    }

    .teaser-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .contribution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .teaser-video-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Loading Indicator */
.video-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
    border-radius: inherit;
    /* inherit radius if parent has it */
}

.video-loading-indicator .loading-spinner {
    margin: 0;
}

/* Video Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    width: 90%;
    max-width: 1100px;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: block;
}

.modal-video-tag {
    margin-top: 20px;
    text-align: center;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 44px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    user-select: none;
}

.close-modal:hover {
    color: #ea580c;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .close-modal {
        top: 20px;
        right: 20px;
        font-size: 36px;
    }

    .modal-content {
        width: 95%;
    }
}