.ajo89-demo-article-shell {
  --ajo89-obsidian: #060913;
  --ajo89-deep: #0b1020;
  --ajo89-panel: rgba(10, 14, 28, 0.92);
  --ajo89-panel-2: rgba(14, 19, 35, 0.95);
  --ajo89-line-soft: rgba(255, 255, 255, 0.08);
  --ajo89-line-blue: rgba(92, 175, 255, 0.22);
  --ajo89-line-gold: rgba(255, 201, 96, 0.38);
  --ajo89-gold-1: #ffe39a;
  --ajo89-gold-2: #f5c354;
  --ajo89-gold-3: #c98a2d;
  --ajo89-ivory: #f8f1e6;
  --ajo89-text: #dbe6ff;
  --ajo89-muted: #a6b3cb;
  --ajo89-blue-glow: rgba(75, 176, 255, 0.14);
  --ajo89-gold-glow: rgba(255, 186, 74, 0.13);

  position: relative;
  width: 100%;
  padding: 24px 0;
  isolation: isolate;
}

.ajo89-demo-article-shell::before,
.ajo89-demo-article-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.ajo89-demo-article-shell::before {
  top: -10px;
  left: 8%;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle, rgba(79, 182, 255, 0.20) 0%, rgba(79, 182, 255, 0.08) 32%, transparent 70%);
  filter: blur(20px);
  opacity: 0.9;
}

.ajo89-demo-article-shell::after {
  right: 7%;
  bottom: -20px;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle, rgba(255, 188, 79, 0.18) 0%, rgba(255, 188, 79, 0.07) 34%, transparent 72%);
  filter: blur(26px);
  opacity: 0.95;
}

.ajo89-demo-article-card {
  --mx: 50%;
  --my: 20%;
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(98, 187, 255, 0.13), transparent 40%),
    radial-gradient(280px circle at 84% 12%, rgba(255, 197, 84, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(19, 26, 47, 0.98) 0%, rgba(8, 12, 24, 0.98) 48%, rgba(18, 16, 31, 0.98) 100%);
  border: 1px solid var(--ajo89-line-soft);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 0 1px rgba(73, 152, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(28px);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(.2,.7,.2,1),
    opacity 0.9s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.ajo89-demo-article-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.ajo89-demo-article-card:hover {
  border-color: rgba(255, 214, 122, 0.26);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 28px rgba(62, 155, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.ajo89-demo-article-card::before {
  content: attr(data-kicker);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff6dc;
  background:
    linear-gradient(180deg, rgba(255, 232, 176, 0.18), rgba(255, 194, 78, 0.08)),
    linear-gradient(135deg, rgba(28, 24, 18, 0.95), rgba(40, 23, 11, 0.92));
  border: 1px solid rgba(255, 213, 121, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 25px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 183, 70, 0.08);
}

.ajo89-demo-article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(104, 184, 255, 0.06) 14%, transparent 30%),
    linear-gradient(90deg, transparent 0%, rgba(255, 208, 119, 0.06) 50%, transparent 100%);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  padding: 1px;
  opacity: 0.95;
}

.ajo89-demo-article-card h1 {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 18px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: transparent;
  background:
    linear-gradient(180deg, #fff6d8 0%, #ffd977 34%, #ffbe55 60%, #cc8329 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 2px 18px rgba(255, 191, 74, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.ajo89-demo-article-card h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(180px, 46%);
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 222, 133, 0.95), rgba(95, 179, 255, 0.75), transparent);
  box-shadow:
    0 0 16px rgba(255, 195, 83, 0.18),
    0 0 24px rgba(89, 180, 255, 0.10);
}

.ajo89-demo-article-card p {
  position: relative;
  margin: 0;
  color: var(--ajo89-text);
  font-size: clamp(15.5px, 2vw, 18px);
  line-height: 1.95;
  font-weight: 500;
  text-wrap: pretty;
}

.ajo89-demo-article-card p + p {
  margin-top: 18px;
}

.ajo89-demo-article-card p:first-of-type {
  color: var(--ajo89-ivory);
}

.ajo89-demo-article-card p:first-of-type::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.84;
  font-weight: 900;
  color: transparent;
  background:
    linear-gradient(180deg, #fff4d0 0%, #ffd470 48%, #d58b2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 8px 20px rgba(255, 183, 65, 0.12);
}

.ajo89-demo-article-card p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(255, 209, 122, 0.14), rgba(96, 176, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ajo89-demo-article-card p:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .ajo89-demo-article-shell {
    padding: 14px 0;
  }

  .ajo89-demo-article-card {
    border-radius: 22px;
    padding: 22px 18px 22px;
  }

  .ajo89-demo-article-card::before {
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
  }

  .ajo89-demo-article-card h1 {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .ajo89-demo-article-card p {
    line-height: 1.88;
  }

  .ajo89-demo-article-card p:first-of-type::first-letter {
    margin: 6px 10px 0 0;
  }
}

@media (max-width: 480px) {
  .ajo89-demo-article-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .ajo89-demo-article-card h1::after {
    width: 52%;
  }
}
