:root {
  --accent: #3a5edc;
  --accent-dark: #2743a8;
  --text: #1f2430;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e6e9f0;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Söhne", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Hero */
.hero {
  padding: 72px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero .venue {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: #e9edfb;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.35;
  margin: 0 0 28px;
  font-weight: 700;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.authors {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.authors a {
  color: var(--text);
  font-weight: 500;
}

.authors a:hover {
  color: var(--accent);
}

.affiliation {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.author-notes {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
  transition: all 0.15s ease;
}

.btn:hover {
  background: #000;
  border-color: #000;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.secondary:hover {
  background: var(--bg-soft);
  border-color: var(--muted);
  color: var(--text);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Sections */
section {
  padding: 56px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h2.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  position: relative;
}

h2.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 3px;
}

.figure {
  text-align: center;
  margin: 0 auto 20px;
}

.figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(20, 30, 60, 0.06);
}

.teaser-figure img,
.benchmark-figure img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.benchmark-figure img {
  width: min(100%, 860px);
}

.method-figure {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.method-figure img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.caption {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 820px;
  margin: 16px auto 0;
  text-align: left;
}

.caption b {
  color: var(--text);
}

.abstract-text {
  font-size: 1.02rem;
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  text-align: justify;
}

.challenges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 36px auto 0;
}

@media (max-width: 760px) {
  .challenges {
    grid-template-columns: 1fr;
  }
}

.challenge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.challenge-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--accent-dark);
}

.challenge-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  max-width: 720px;
  margin: 0 auto;
}

table.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.results th,
table.results td {
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

table.results th {
  background: var(--bg-soft);
  font-weight: 600;
}

table.results td:first-child,
table.results th:first-child {
  text-align: left;
}

table.results tr.best td {
  font-weight: 700;
  color: var(--accent-dark);
}

/* BibTeX */
.bibtex-wrap {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

pre.bibtex {
  background: #1e2230;
  color: #d7dcea;
  padding: 22px 24px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
}

.copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

footer {
  text-align: center;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer a {
  color: var(--muted);
}
