.challenges-page {
    min-height: 100vh;
    padding: 60px 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.challenges-header {
    text-align: center;
    margin-bottom: 4rem;
}

.challenges-header h1 {
    font-size: 3.5rem; 
    font-weight: 900;
    margin: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #4ade80, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenges-header p {
    font-size: 1.1rem;
    color: #f5f7fa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GRID STYLES */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.challenge-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.challenge-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.challenge-card:hover:not(.locked) {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
}

.challenge-card img, .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeholder-image {
    background: linear-gradient(135deg, #4ade80, #22d3ee);
}

.challenge-card:hover img {
    transform: scale(1.05);
}

/* Locked State */
.challenge-card.locked img,
.challenge-card.locked .placeholder-image {
    filter: blur(5px) grayscale(0.8);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 60%;
}

.challenge-card.locked .card-overlay {
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

.card-day {
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.lock-icon {
    text-align: center;
    color: white;
}
.unlock-time {
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}


.detail-header h1 {
    font-size: 3rem; 
    font-weight: 700;
    margin-top: 1rem;
    background: linear-gradient(135deg, #4ade80, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

  :root {
    --bg: #0a1a14;
    --bg2: #0f2318;
    --surface: 0f2e41;
    --surface2: 0f2e41;
    --green: #3dd68c;
    --green-dim: #2aad6f;
    --green-glow: rgba(61, 214, 140, 0.15);
    --green-glow-strong: rgba(61, 214, 140, 0.25);
    --text: #e8f5ee;
    --text-muted: #7aaa8e;
    --text-faint: #3d6b52;
    --gold: #f0c060;
    --blue: #64a0ff;
    --red: #ff6b6b;
    --white: #ffffff;
    --card-border: rgba(61, 214, 140, 0.12);
    --card-border-hover: rgba(61, 214, 140, 0.35);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  .challenge-detail-page {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    min-height: 100vh;
    position: relative;
  }

  .challenge-detail-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 40% at 0% 0%, rgba(15,35,22,0.6) 0%, transparent 60%),
      radial-gradient(ellipse 50% 35% at 100% 100%, rgba(10,26,16,0.5) 0%, transparent 60%),
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61,214,140,0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .challenge-detail-container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 100px;
  }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-faint);
    margin-bottom: 36px;
    letter-spacing: 0.04em;
  }
  .breadcrumb a {
    color: var(--text-faint);
    text-decoration: none;
    transition: color 0.2s;
  }
  .breadcrumb a:hover { color: var(--green); }

  .challenge-messages {
    list-style: none;
    margin: -14px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .challenge-messages li {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    border: 1px solid transparent;
  }

  .challenge-messages .success {
    color: var(--green);
    background: rgba(61,214,140,0.12);
    border-color: rgba(61,214,140,0.25);
  }

  .challenge-messages .warning,
  .challenge-messages .error {
    color: #ff8e8e;
    background: rgba(255,107,107,0.11);
    border-color: rgba(255,107,107,0.26);
  }

  /* ── HEADER ── */
  .detail-header {
    margin-bottom: 32px;
    animation: fadeSlideUp 0.5s ease both;
    text-align: left;
  }

  .day-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-glow);
    border: 1px solid rgba(61,214,140,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .day-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
  }

  .detail-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 10px;
  }
  .detail-header h1 .accent { color: var(--green); }

  .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    font-style: italic;
  }

  /* ── TIER TABS ── */
  .tier-tabs {
    display: flex;
    justify-content: left;
    gap: 8px;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.5s ease 0.1s both;
    flex-wrap: wrap;
  }
  .tier-tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    background: var(--surface);
    transition: all 0.25s;
  }
  .tier-tab:hover {
    border-color: var(--card-border-hover);
    color: var(--green);
  }
  .tier-tab.active {
    background: var(--green);
    color: var(--bg);
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-glow-strong);
  }

  /* ── STATS ROW ── */
  .stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.5s ease 0.15s both;
  }
  .stat-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 9px 16px;
    font-size: 0.82rem;
    transition: all 0.25s;
  }
  .stat-pill:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-1px);
  }
  .stat-value {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: var(--green);
  }
  .stat-label { color: var(--text-muted); font-size: 0.78rem; }

  /* ── PROGRESS BAR ── */
  .progress-section {
    margin-bottom: 32px;
    animation: fadeSlideUp 0.5s ease 0.18s both;
  }
  .progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .progress-label-text {
    font-size: 0.75rem;
    color: #7aaa8e;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .progress-fraction {
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
  }
  .progress-track {
    height: 3px;
    background: rgba(61,214,140,0.08);
    border-radius: 100px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-dim), var(--green));
    border-radius: 100px;
    box-shadow: 0 0 8px var(--green-glow);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ── QUOTE ── */
  .challenge-quote {
    position: relative;
    margin-bottom: 32px;
    padding: 28px 36px;
    background: linear-gradient(135deg, rgba(34,70,50,0.45) 0%, rgba(22,48,34,0.2) 100%);
    border-left: 3px solid var(--green);
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    animation: fadeSlideUp 0.5s ease 0.2s both;
  }
  .challenge-quote::before {
    content: '"';
    position: absolute;
    top: -15px; left: 16px;
    font-family: 'Syne', sans-serif;
    font-size: 7rem;
    color: var(--green);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
  }
  .challenge-quote blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    font-weight: 300;
    line-height: 1.75;
    position: relative;
    z-index: 1;
    border: none;
    padding: 0;
    background: none;
  }

  .quote-author {
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
}

  /* ── SECTION CARDS ── */
  .section {
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.5s ease both;
  }
  .section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .section:hover { border-color: var(--card-border-hover); transform: translateY(-2px); }
  .section:hover::before { opacity: 1; }

  .description-section { animation-delay: 0.25s; }
  .learn-section { animation-delay: 0.3s; }
  .submit-instructions { animation-delay: 0.35s; }

  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .section-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .icon-challenge { background: rgba(61,214,140,0.15); }
  .icon-learn { background: rgba(240,192,96,0.15); }
  .icon-submit { background: rgba(100,160,255,0.15); }
  .icon-lock { background: rgba(255,107,107,0.15); }

  .section-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1px;
  }
  .label-challenge { color: var(--green); }
  .label-learn { color: var(--gold); }
  .label-submit { color: var(--blue); }
  .label-lock { color: var(--red); }

  .section-title-text {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
  }

  /* Keep old .section-title for compatibility */
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
    display: none; /* hidden — replaced by section-header */
  }

  .section-content {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.78;
    font-weight: 300;
  }
  .section-content p { margin-bottom: 10px; }
  .section-content p:last-child { margin-bottom: 0; }

  /* ── SUBMIT INSTRUCTIONS LIST ── */
  .submit-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
  }
  .submit-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .step-number {
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--green-glow);
    border: 1px solid rgba(61,214,140,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    margin-top: 1px;
  }
  .step-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .step-body strong {
    color: var(--text);
    font-weight: 500;
  }
  .step-highlight {
    display: inline-block;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-family: 'DM Sans', monospace;
    font-size: 0.82rem;
    color: var(--green);
    margin-top: 4px;
  }

  .yt-thumbnail-link {
  display: block;
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
}
.yt-thumbnail-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: border-color 0.3s;
}
.yt-thumbnail-link:hover .yt-thumbnail-wrap {
  border-color: var(--card-border-hover);
}
.yt-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}
.yt-thumbnail-link:hover .yt-thumbnail-img {
  opacity: 1;
  transform: scale(1.03);
}
.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.yt-thumbnail-link:hover .yt-play-overlay {
  background: rgba(0,0,0,0.1);
}
.yt-play-btn {
  transition: transform 0.3s;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
.yt-thumbnail-link:hover .yt-play-btn {
  transform: scale(1.12);
}
.yt-btn-bg { fill: #ff0000; }
.yt-btn-play { fill: #fff; }
.yt-watch-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.article-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.article-link-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 3px 0 0 3px;
}
.article-link-card:hover {
  border-color: rgba(240,192,96,0.3);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.article-link-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.article-link-body {
  flex: 1;
  min-width: 0;
}
.article-link-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.article-link-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-link-url {
  font-size: 0.74rem;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-link-arrow {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.article-link-card:hover .article-link-arrow {
  transform: translateX(4px);
}

  /* ── SUBMIT ACTION AREA ── */
  .submit-action-area {
    animation: fadeSlideUp 0.5s ease 0.4s both;
  }

  /* Logged in — upload card */
  .upload-card {
    background: var(--surface);
    border: 2px dashed var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .upload-card:hover {
    transform: translateY(-10px);
    border-color: #4ade80;
    box-shadow: 0 10px 40px rgba(74, 222, 128, 0.2);
  }
  .upload-card:hover .upload-icon { transform: translateY(-4px); }

  .upload-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
    transition: transform 0.3s;
  }
  .upload-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
  }
  .upload-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 24px;
  }
  .upload-sub span {
    color: var(--green);
    font-weight: 500;
  }

  .submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--green);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }
  .submit-btn:hover {
    background: #56e8a4;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(61,214,140,0.3);
  }
  .submit-btn:active { transform: translateY(0); }
  .submit-btn .btn-arrow { transition: transform 0.25s; }
  .submit-btn:hover .btn-arrow { transform: translateX(4px); }

  .upload-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-faint);
  }

  /* Uploading state */
  .submit-btn.uploading {
    opacity: 0.7;
    pointer-events: none;
  }
  @keyframes spin {
    100% { transform: rotate(360deg); }
  }
  .spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
  }

  /* Logged out — lock card */
  .lock-card {
    background: var(--surface);
    border: 1px solid rgba(255,107,107,0.15);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .lock-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,107,107,0.06), transparent);
    pointer-events: none;
  }
  .lock-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
  }
  .lock-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
  }
  .lock-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 28px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .lock-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: var(--green);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
  }
  .btn-login:hover {
    background: #56e8a4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(61,214,140,0.25);
  }
  .btn-signup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
  }
  .btn-signup:hover {
    border-color: var(--card-border-hover);
    color: var(--green);
  }

  /* Hidden form */
  #submissionForm { display: none; }

  /* ── LEARNING PREVIEW ── */

  /* YouTube embed */
  .yt-embed-wrap {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .yt-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Article link preview card */
  .article-preview {
    margin-top: 20px;
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--bg2);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
  }
  .article-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .article-preview:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .article-preview:hover::before { opacity: 1; }

  .article-preview-bar {
    width: 4px;
    background: linear-gradient(180deg, var(--green-dim), var(--green));
    flex-shrink: 0;
  }

  .article-preview-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .article-preview-type {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .article-preview-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
  }
  .article-preview-url {
    font-size: 0.75rem;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
  }
  .article-preview-arrow {
    flex-shrink: 0;
    padding: 20px 20px 20px 0;
    display: flex;
    align-items: center;
    color: var(--text-faint);
    font-size: 1.1rem;
    transition: all 0.25s;
  }
  .article-preview:hover .article-preview-arrow {
    color: var(--green);
    transform: translateX(3px);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 922px) {
    .challenge-detail-container { padding: 32px 16px 80px; }
    .section { padding: 24px 20px; }
    .upload-card, .lock-card { padding: 32px 20px; }
    .challenge-quote { padding: 22px 22px; }
    .lock-actions { flex-direction: column; align-items: center; }
  }

@media (max-width: 922px) {
  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .challenges-page {
    padding: 40px 1rem;
  }

  .card-overlay {
    padding: 0.75rem;
  }

  .card-overlay h3 {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .card-day {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }

  .unlock-time {
    font-size: 0.55rem;
  }

  .challenges-header h1 {
    font-size: 2rem;
    margin-top: 2.5rem;
  }

  .challenges-header p {
    font-size: 0.9rem;
  }
}