@font-face {
  font-family: "Tencent";
  font-style: normal;
  src: url("./asserts/fonts/TencentSans-W3.ttf");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "TencentBold";
  font-style: normal;
  src: url("./asserts/fonts/TencentSans-W7.ttf");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  font-family: "Tencent", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  --bg: #05060a;
  --surface: #0b0d14;
  --surface-light: #141724;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #9aa2c3;
  --accent: #7ce0f9;
  --accent-strong: #53b3ff;
  --gradient: linear-gradient(135deg, #53b3ff, #b45bff 60%, #ff7cc2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(83, 179, 255, 0.12), transparent),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  /* font-style: italic; */
}

h1,
h2,
h3,
.btn,
.stat-value,
.hero-meta__tag,
.hero-meta__value,
.authors-label,
.authors-pill,
.authors-affiliation {
  font-family: "TencentBold", "Tencent", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero {
  padding: 120px clamp(24px, 8vw, 120px) 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-end;
  background: linear-gradient(145deg, rgba(3, 9, 30, 0.9), rgba(5, 6, 10, 0.9)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.hero__content {
  flex: 1 1 420px;
}

.hero__side {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 320px;
}

@media (max-width: 900px) {
  .hero__side {
    order: 3;
    width: 100%;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta__item {
  border-radius: 24px;
  padding: 0;
  min-width: 320px;
}

.hero-meta__tag {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta__tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(124, 224, 249, 0.65);
}

.hero-meta__value {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 12px 0 16px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0;
}

h3 {
  margin: 0 0 12px;
}

.subtitle {
  font-size: 1.1rem;
  max-width: 540px;
  color: var(--muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--gradient);
  color: #05060a;
}

.btn.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.section {
  padding: 80px clamp(24px, 8vw, 120px);
  background: var(--surface);
}

.section.light {
  background: var(--surface-light);
}

.authors-card {
  position: relative;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 40px);
  background: rgba(6, 8, 15, 0.65);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.authors-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(83, 179, 255, 0.9), rgba(180, 91, 255, 0.6), rgba(255, 124, 194, 0.7));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.authors-label {
  margin: 0 0 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.authors-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.authors-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.authors-pill sup {
  font-size: 0.7em;
  margin-left: 2px;
}

.authors-affiliation {
  margin: 18px 0 0;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.authors-notes {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.authors-recruit {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--text);
}

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

.authors-recruit a:hover,
.authors-recruit a:focus-visible {
  text-decoration: underline;
}

.section__header {
  margin-bottom: 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 12px;
}

.section__body p {
  margin-top: 0;
  font-size: 1rem;
  color: var(--muted);
}

.teaser-section .section__header {
  text-align: center;
}

.teaser-section {
  margin-top: 32px;
}

.teaser-desc {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  padding-top: 4px;
}

.video-gallery .section__header {
  text-align: left;
}

.gallery-desc {
  margin: 12px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.video-gallery__root {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.gallery-category {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  background: rgba(5, 6, 10, 0.45);
}

.gallery-category__header {
  margin-bottom: 24px;
}

.gallery-category__header h3 {
  margin: 0;
}

.gallery-category__header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.gallery-action-row + .gallery-action-row {
  margin-top: 24px;
}

.gallery-action-row__title h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.gallery-action-row__videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-video-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(8, 10, 18, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.gallery-video-card video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  aspect-ratio: 16 / 9;
}

.gallery-empty {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.section-longvideo {
  background: radial-gradient(circle at top, rgba(124, 224, 249, 0.08), transparent), var(--surface);
}

.longvideo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.longvideo-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: rgba(8, 10, 18, 0.65);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.longvideo-card video {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
  background: #000;
}

.longvideo-card__info {
  margin-top: 14px;
}

.longvideo-card__info h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.longvideo-card__prompts {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.longvideo-card__prompts li + li {
  margin-top: 4px;
}

.section-samples {
  background: var(--surface-light);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.sample-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  background: rgba(6, 8, 15, 0.65);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.sample-card video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  aspect-ratio: 16 / 9;
}

.sample-card__label {
  margin: 10px 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.teaser-ring {
  position: relative;
  margin: 76px auto 0;
  width: min(98vw, 1120px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  --teaser-orbit: clamp(340px, 48vw, 560px);
}

.teaser-ring::before {
  content: "";
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.teaser-stage {
  position: relative;
  z-index: 2;
  width: 88%;
  aspect-ratio: 16 / 9;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: rgba(5, 6, 10, 0.8);
}

.teaser-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.teaser-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle))
    translateY(calc(-1 * (var(--teaser-orbit) + 48px)))
    rotate(calc(-1 * var(--angle)));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 18, 0.75);
  color: var(--text);
  padding: 14px 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.teaser-button:hover,
.teaser-button:focus-visible {
  transform: translate(-50%, -50%) rotate(var(--angle))
    translateY(calc(-1 * (var(--teaser-orbit) + 48px)))
    rotate(calc(-1 * var(--angle))) scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  outline: none;
}

.teaser-button.active {
  background: var(--gradient);
  color: #05060a;
  border-color: transparent;
  transform: translate(-50%, -50%) rotate(var(--angle))
    translateY(calc(-1 * (var(--teaser-orbit) + 48px)))
    rotate(calc(-1 * var(--angle))) scale(1.08);
}

.group-weather {
  background: rgba(108, 173, 255, 0.18);
  border-color: rgba(124, 224, 249, 0.5);
}

.group-entity {
  background: rgba(255, 196, 124, 0.18);
  border-color: rgba(255, 196, 124, 0.45);
}

.group-action {
  background: rgba(255, 124, 194, 0.18);
  border-color: rgba(255, 124, 194, 0.45);
}

.group-weather:hover,
.group-weather:focus-visible {
  color: var(--accent);
  border-color: rgba(124, 224, 249, 0.9);
  background: rgba(108, 173, 255, 0.35);
}

.group-entity:hover,
.group-entity:focus-visible {
  color: #ffc47c;
  border-color: rgba(255, 196, 124, 0.9);
  background: rgba(255, 196, 124, 0.35);
}

.group-action:hover,
.group-action:focus-visible {
  color: #ff7cc2;
  border-color: rgba(255, 124, 194, 0.9);
  background: rgba(255, 124, 194, 0.35);
}

.abstract-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.abstract-card {
  flex: 1 1 50%;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: rgba(5, 6, 10, 0.45);
}

.abstract-card h3 {
  margin-top: 0;
}

.contrib-card {
  flex: 1 1 50%;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: rgba(8, 10, 18, 0.6);
}

.contrib-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.contrib-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contrib-item h4 {
  margin: 0 0 6px;
}

.contrib-item p {
  margin: 0;
  color: var(--muted);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.pipeline-step {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(20, 23, 36, 0.7);
}

.step-id {
  font-weight: 600;
  color: var(--accent-strong);
}


.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.result-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(5, 6, 10, 0.4);
  overflow: hidden;
}

.result-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(83, 179, 255, 0.3), rgba(180, 91, 255, 0.3));
  color: #ffffff;
  font-weight: 600;
}

.result-card figcaption {
  padding: 16px 20px;
  color: var(--muted);
}

/* removed resource panel styles */

.footer {
  padding: 32px;
  text-align: center;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 1200px) {
  .longvideo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .samples-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .samples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 80px;
  }

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

  .cta-group {
    width: 100%;
  }

  .btn {
    flex: 1;
    text-align: center;
  }

  .teaser-ring {
    width: 100%;
    aspect-ratio: auto;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    --teaser-orbit: 0;
  }

  .teaser-stage {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
  }

  .teaser-button {
    position: relative;
    transform: none;
    width: 100%;
    text-align: center;
  }

  .abstract-layout {
    flex-direction: column;
  }

  .gallery-action-row__videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .longvideo-card__info {
    margin-top: 10px;
  }

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

}

