.dl-body {
  background: #000;
  color: #e8e8e8;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.dl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.dl-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.dl-back:hover { color: #fff; }

.dl-logo {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
}

/* INTRO */
.dl-intro {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 0 28px;
  text-align: center;
}
.dl-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  font-weight: 300;
}

/* MAIN */
.dl-main {
  max-width: 780px;
  margin: 48px auto 80px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* VIDEO BLOCK */
.dl-video-block {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  background: #0a0a0a;
}

.dl-video-header {
  display: flex;
  gap: 20px;
  padding: 24px;
  align-items: flex-start;
}

.dl-video-thumb {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #111;
}
.dl-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  color: #fff;
  transition: background .2s;
}
.dl-thumb-play:hover { background: rgba(0,0,0,.65); }

.dl-video-info { flex: 1; }

.dl-video-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

.dl-video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dl-video-desc {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.4);
  font-weight: 300;
}

/* RESOURCES */
.dl-resources {
  border-top: 1px solid rgba(255,255,255,.06);
}

.dl-resource-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.dl-resource-item:last-child { border-bottom: none; }
a.dl-resource-item:hover { background: rgba(255,255,255,.04); }

.dl-resource-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.dl-resource--prompt .dl-resource-icon { background: rgba(123,63,255,.15); color: var(--purple); }
.dl-resource--link   .dl-resource-icon { background: rgba(128,255,94,.12); color: var(--green); }
.dl-resource--file   .dl-resource-icon { background: rgba(255,77,94,.12);  color: var(--red); }

.dl-resource-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dl-resource-name {
  font-size: .9rem;
  font-weight: 500;
  color: #e8e8e8;
}
.dl-resource-meta {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

.dl-resource-arrow {
  color: rgba(255,255,255,.2);
  flex-shrink: 0;
  margin-top: 4px;
}

/* PROMPT BOX */
.dl-prompt-box {
  position: relative;
  margin-top: 10px;
  background: rgba(123,63,255,.08);
  border: 1px solid rgba(123,63,255,.2);
  border-radius: 10px;
  padding: 14px 44px 14px 14px;
}

.dl-prompt-text {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  font-weight: 300;
  font-style: italic;
  margin: 0;
}

.dl-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(123,63,255,.2);
  border: 1px solid rgba(123,63,255,.3);
  color: var(--purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.dl-copy-btn:hover { background: rgba(123,63,255,.4); }
.dl-copy-btn.copied {
  background: rgba(128,255,94,.15);
  border-color: rgba(128,255,94,.3);
  color: var(--green);
}

/* FOOTER */
.dl-footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 28px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.2);
}

/* MOBILE */
@media (max-width: 600px) {
  .dl-video-header {
    flex-direction: column;
    gap: 16px;
  }
  .dl-video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .dl-main { margin-top: 32px; }
  .dl-resource-item { padding: 12px 16px; }
  .dl-prompt-box { padding: 12px 40px 12px 12px; }
}
