html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: Arial, sans-serif;
  color: #fff;
}

body {
  position: relative;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at center,
      rgba(255, 255, 255, 0.10),
      rgba(0, 0, 0, 0.90) 56%,
      rgba(0, 0, 0, 1) 100%);
  opacity: 1;
  transform: scale(1.04);
}

body.loaded .intro-layer {
  animation: introFade 1.05s cubic-bezier(.2, .9, .2, 1) forwards;
}

@keyframes introFade {
  0% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(12px);
}

.back-btn {
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 0.98rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.back-btn:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.topbar-title {
  text-align: center;
  margin-right: 12px;
}

.topbar-title span {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-title small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  opacity: 0.72;
  text-transform: uppercase;
}

.sources-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 98px 28px 28px;
  box-sizing: border-box;
}

.sources-grid {
  width: min(1500px, 96vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.glass-card {
  border-radius: 34px;
  background: rgba(10, 10, 20, 0.58);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.section-head p {
  margin: 12px 0 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.sources-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.link-box {
  flex: 1;
  border-radius: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-box h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.source-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.source-list a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.sources-table-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.table-wrap {
  flex: 1;
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  position: sticky;
  top: 0;
  background: rgba(12, 12, 24, 0.95);
  backdrop-filter: blur(12px);
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

tbody td:first-child {
  font-weight: 700;
}

.download-box {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.download-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.download-btn:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .sources-grid {
    grid-template-columns: 1fr;
  }

  .sources-stage {
    padding-top: 92px;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 72px;
    padding: 0 14px;
  }

  .topbar-title span {
    font-size: 0.95rem;
  }

  .topbar-title small {
    font-size: 0.66rem;
  }

  .glass-card {
    border-radius: 28px;
    padding: 18px;
  }

  .link-box {
    padding: 18px;
  }

  thead th,
  tbody td {
    padding: 13px 14px;
  }
}