
/* ===== DOMAIN QUEST HERO ===== */

.dq-hero {
  background: linear-gradient(135deg, #140825 0%, #271047 55%, #3b1660 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem 0;
}

/* Subtle pink radial glow */
.dq-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(228, 57, 183, 0.13) 0%, transparent 70%);
  pointer-events: none;
}

.dq-hero__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.dq-hero__text {
  flex: 1;
}

.dq-hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(228, 57, 183, 0.15);
  border: 1px solid rgba(228, 57, 183, 0.35);
  color: #e888d0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.dq-hero__title {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.dq-hero__tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 34rem;
}

.dq-hero__tagline strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.dq-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e439b7;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.dq-hero__cta:hover {
  opacity: 0.88;
}

.dq-hero__image {
  flex-shrink: 0;
  width: 340px;
  align-self: center;
}

.dq-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}

@media (max-width: 680px) {
  .dq-hero {
    padding: 2.5rem 1rem 0;
  }

  .dq-hero__inner {
    flex-direction: column;
    align-items: center;
  }

  .dq-hero__text {
    order: 2;
    padding-bottom: 2.5rem;
    text-align: center;
  }

  .dq-hero__tagline {
    max-width: none;
  }

  .dq-hero__image {
    order: 1;
    width: 170px;
    align-self: auto;
  }
}

/* ===== LEGACY ===== */

.dq-logo {
  display: block;
  margin: 0 auto 2rem auto;
  max-width: 180px;
  height: auto;
}

#dq-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  align-items: end;
  gap: 2.5rem 1.5rem;
  margin-top: 2.5rem;
  padding: 1rem 0 2rem;
}

#dq-examples .polaroid {
  margin: 0;
  width: 100%;
  max-width: 240px;
  background-color: #fff;
  padding: 10px 10px 0;
  border: none;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.18),
    0 20px 40px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1px;
}

#dq-examples .polaroid img {
  display: block;
  width: 100%;
  height: auto;
}

#dq-examples .polaroid figcaption {
  font-family: 'Permanent Marker', cursive;
  font-size: 0.78rem;
  color: #2a2a2a;
  text-align: center;
  padding: 7px 8px 13px;
  line-height: 1.5;
}

#dq-examples .polaroid:nth-child(1) {
  transform: skew(-5deg) rotate(-1deg);
}

#dq-examples .polaroid:nth-child(2) {
  transform: skew(5deg) rotate(1deg);
}

#dq-examples .polaroid:nth-child(3) {
  transform: skew(-3deg) rotate(-2deg);
}

#dq-examples .polaroid:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.creator-designation {
  text-align: center;
  font-size: 1em;
  color: #555;
  margin-top: 30px;
  padding: 10px;
  background-color: #f7f7f7;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* ===== ARTICLE HERO ===== */

.article-hero {
  background: linear-gradient(135deg, #140825 0%, #271047 55%, #3b1660 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 1rem 3.5rem;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(228, 57, 183, 0.13) 0%, transparent 70%);
  pointer-events: none;
}

.article-hero__inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.article-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.article-hero__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.article-hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(228, 57, 183, 0.15);
  border: 1px solid rgba(228, 57, 183, 0.35);
  color: #e888d0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.article-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.article-hero__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  max-width: 40rem;
  margin: 0;
}

/* ===== ARTICLE COMPARISON BLOCKS ===== */

.article-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.5rem 0 1.5rem;
}

.article-comparison__col {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
}

.article-comparison__col--pros {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.article-comparison__col--cons {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.article-comparison__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}

.article-comparison__label--pros {
  color: #15803d;
}

.article-comparison__label--cons {
  color: #b91c1c;
}

[data-theme="dark"] .article-comparison__label--pros {
  color: #4ade80;
}

[data-theme="dark"] .article-comparison__label--cons {
  color: #f87171;
}

.article-comparison__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
}

[data-theme="dark"] .article-comparison__list {
  color: #d1d5db;
}

.article-comparison__list li {
  margin-bottom: 0.35rem;
}

@media (max-width: 540px) {
  .article-comparison {
    grid-template-columns: 1fr;
  }
}

/* ===== RELATED ARTICLES ===== */

.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 73, 214, 0.2);
}

.related-articles__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e439b7;
  margin-bottom: 1rem;
}

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

.related-article-card {
  display: block;
  padding: 1.25rem;
  background: rgba(139, 73, 214, 0.05);
  border: 1px solid rgba(139, 73, 214, 0.15);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.related-article-card:hover {
  background: rgba(139, 73, 214, 0.1);
  border-color: rgba(139, 73, 214, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.related-article-card__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b49d6;
  margin: 0 0 0.4rem;
}

.related-article-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a2e;
  margin: 0;
}

[data-theme="dark"] .related-article-card__title {
  color: #e5e7eb;
}
