@import url(https://fonts.googleapis.com/css?family=Open+Sans);

:root {
  --bg: #0d0f14;
  --bg-soft: #141923;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #aeb7c6;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #67e8f9;
  --accent-2: #c084fc;
  --accent-3: #fbbf24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Open Sans", "Google Sans", "Noto Sans", Arial, sans-serif;
  font-weight: 300;
}

a {
  color: var(--accent);
}

a:hover {
  color: #9bf3ff;
}

.hero-gradient {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(192, 132, 252, 0.32), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(103, 232, 249, 0.28), transparent 26rem),
    linear-gradient(135deg, #050608 0%, #111827 55%, #080b12 100%);
}

.hero-gradient::after {
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 22rem;
  content: "";
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.18), rgba(192, 132, 252, 0.16));
  filter: blur(70px);
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: 5.25rem 1.5rem 4.25rem;
}

.project-kicker {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.publication-title {
  margin-bottom: 1.2rem !important;
  color: var(--text);
}

.brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.title-logo {
  width: clamp(4.7rem, 13vw, 9.2rem);
  height: clamp(4.7rem, 13vw, 9.2rem);
  border-radius: 999px;
  object-fit: cover;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.brand-title {
  display: block;
  font-family: "Kaushan Script", "Google Sans", cursive;
  font-size: clamp(3.3rem, 9vw, 7.4rem);
  font-weight: 300;
  line-height: 0.95;
  background: linear-gradient(90deg, #f7d26a, #c084fc 42%, #67e8f9 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 24px 70px rgba(103, 232, 249, 0.16);
}

.subtitle-line {
  display: block;
  margin-top: 1rem;
  color: #eef4ff;
  font-size: clamp(1.45rem, 3.2vw, 2.65rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.authors,
.affiliations,
.venue,
.teaser-caption,
.content-section p,
.alt-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.authors {
  max-width: 900px;
  margin: 0 auto 0.35rem;
}

#abstract p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: break-word;
  word-spacing: 0.02em;
}

.affiliations {
  margin-bottom: 0.25rem;
}

.venue {
  margin-bottom: 1.6rem;
  font-style: italic;
}

.compact-title {
  margin-top: 2.6rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.publication-links .button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-weight: 300;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.publication-links .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.35rem !important;
}

.publication-links .icon img {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.publication-links .button.is-disabled {
  pointer-events: none;
}

.publication-links .button:hover {
  border-color: rgba(103, 232, 249, 0.65);
  background: rgba(103, 232, 249, 0.14);
  color: var(--text);
  transform: translateY(-2px);
}

.publication-links .is-disabled {
  cursor: not-allowed;
  opacity: 0.82;
}

.section {
  padding: 4.4rem 1.5rem;
}

.teaser-section,
.content-section {
  background: var(--bg);
}

.alt-section {
  background: linear-gradient(180deg, #10141d 0%, #0c0f16 100%);
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  text-align: center;
}

.section-title::after {
  display: block;
  width: 5.6rem;
  height: 0.22rem;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.demo-video-card {
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.demo-video-caption {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: rgba(245, 247, 250, 0.78);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.65;
  text-align: center;
}

.captureguide-description {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.captureguide-card {
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.captureguide-card a,
.captureguide-card img {
  display: block;
}

.captureguide-card img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.figure-card {
  background: #ffffff;
}

.captureguide-card figcaption {
  padding: 1rem 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.image-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.image-card figcaption,
.teaser-caption {
  padding: 0.95rem 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}

.teaser-card {
  max-width: 1120px;
  margin: 0 auto;
}

.teaser-caption {
  max-width: 840px;
  margin: 1.2rem auto 0;
  padding: 0;
}

.feature-grid,
.figure-grid,
.code-grid {
  margin-top: 2rem;
}

.feature-card,
.resource-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: #051018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.feature-card h3,
.code-grid h3,
.table-title {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 300;
}

.feature-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.small-card {
  height: 100%;
}

.result-table-card {
  margin: 1rem 0 2.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.result-table {
  margin-bottom: 0 !important;
  color: var(--text);
  background: transparent;
}

.result-table th,
.result-table td {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text);
  text-align: center !important;
  vertical-align: middle !important;
}

.result-table th:first-child,
.result-table td:first-child {
  text-align: left !important;
}

.result-table thead th {
  background: rgba(255, 255, 255, 0.08);
  color: #eff6ff;
  font-weight: 300;
}

.result-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

.result-table .ours td {
  color: #fff8db;
  font-weight: 300;
  background: rgba(251, 191, 36, 0.12);
}

strong {
  font-weight: 300;
}

pre {
  overflow-x: auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #070a10;
  color: #e6edf7;
  font-size: 0.92rem;
  line-height: 1.65;
  white-space: pre;
}

pre code {
  color: inherit;
  background: transparent;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.resource-card {
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem;
  color: var(--text);
  font-weight: 300;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.resource-card:hover {
  border-color: rgba(103, 232, 249, 0.65);
  background: var(--panel-strong);
  color: var(--text);
  transform: translateY(-3px);
}

.resource-card .icon {
  color: var(--accent);
  font-size: 1.35rem;
}

.resource-card span:last-child {
  color: var(--muted);
}

.resource-card.muted {
  opacity: 0.82;
}


.section-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.showcase-section {
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
  background: #070707;
}

.showcase-title-block {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.showcase-caption {
  width: min(900px, calc(100% - 2rem));
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(245, 247, 250, 0.78);
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-align: center;
}

.showcase-caption-below {
  display: block;
  margin: 0.75rem auto 0;
  padding-right: 1rem;
  padding-left: 1rem;
  text-align: center;
}

.uso-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.55rem 0 1.65rem;
  cursor: grab;
  touch-action: pan-y;
}

.uso-carousel-container.is-dragging {
  cursor: grabbing;
}

.uso-carousel {
  display: flex;
  width: max-content;
  min-width: max-content;
  flex-wrap: nowrap;
  align-items: center;
  animation-play-state: running;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.uso-carousel:hover {
  animation-play-state: paused;
}

.uso-carousel-scroll-left {
  animation: uso-scroll-left 180s linear infinite;
}

.uso-carousel img {
  display: block;
  width: auto;
  max-width: none;
  height: 360px;
  margin-right: 4px;
  border-radius: 4px;
  filter: brightness(0.92);
  position: relative;
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.uso-carousel:not(.is-dragging) img:hover {
  transform: scale(1.08);
  filter: brightness(1.13);
  box-shadow: 0 18px 40px rgba(249, 249, 248, 0.48);
  z-index: 10;
}

.comparison-section {
  background: #070707;
}

.comparison-figures {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.comparison-figure {
  margin: 0;
}

.comparison-figure a,
.comparison-figure img {
  display: block;
}

.comparison-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

@keyframes uso-scroll-left {
  0% {
    transform: translateX(0);
    will-change: transform;
  }
  100% {
    transform: translateX(-50%);
    will-change: transform;
  }
}

.bibtex {
  margin-top: 1.5rem;
}

.page-footer {
  padding: 2.2rem 1.5rem;
  background: #070a10;
  color: var(--muted);
}

.page-footer p {
  color: var(--muted);
}

@media screen and (max-width: 900px) {
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .hero-body {
    padding: 4rem 1rem 3rem;
  }

  .section {
    padding: 3.2rem 1rem;
  }

  .brand-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .uso-carousel img {
    width: auto;
    height: 300px;
  }

  .uso-carousel-scroll-left {
    animation-duration: 140s;
  }

  .authors,
  .affiliations,
  .venue,
  .teaser-caption,
  .content-section p,
  .alt-section p {
    font-size: 1rem;
  }
}
