#fw-section-rich-text-171207666001261 {

/* ===== GALAXY BIT ALERTS ===== */

/* ----- Background: deep-space nebula ----- */
section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 2.5rem 1.25rem;
  border-radius: 20px;
  color: #e9e4ff;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(76, 201, 255, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(155, 92, 255, 0.40), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 79, 216, 0.35), transparent 60%),
    linear-gradient(180deg, #05040f 0%, #120a2e 50%, #1b0b3a 100%);
  box-shadow: 0 0 40px rgba(155, 92, 255, 0.35), inset 0 0 60px rgba(76, 201, 255, 0.12);
  border: 1px solid rgba(155, 92, 255, 0.45);
}

section > * {
  position: relative;
  z-index: 1;
}

/* ----- Section star layer 1: small stars ----- */
section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 140px, #cfe9ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 160px 60px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 230px 210px, #ffd1f5 50%, transparent 51%),
    radial-gradient(1px 1px at 300px 100px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40px 270px, #cfe9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 200px 320px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 330px 290px, #ffd1f5 50%, transparent 51%);
  background-size: 350px 350px;
  animation:
    galaxy-drift-a 40s linear infinite,
    galaxy-twinkle 4s ease-in-out infinite;
}

/* ----- Section star layer 2: bigger glowing stars ----- */
section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 60px 80px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 250px 40px, #9fdcff 50%, transparent 51%),
    radial-gradient(2px 2px at 420px 190px, #ffb3f0 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 130px 330px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 360px 420px, #d3b8ff 50%, transparent 51%),
    radial-gradient(2px 2px at 480px 330px, #fff 50%, transparent 51%);
  background-size: 520px 520px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  animation:
    galaxy-drift-b 25s linear infinite,
    galaxy-twinkle 6s ease-in-out infinite 1.5s;
}

@keyframes galaxy-drift-a {
  from { background-position: 0 0; }
  to   { background-position: 350px 350px; }
}

@keyframes galaxy-drift-b {
  from { background-position: 0 0; }
  to   { background-position: -520px -520px; }
}

@keyframes galaxy-card-a {
  from { background-position: 0 0; }
  to   { background-position: 160px 160px; }
}

@keyframes galaxy-card-b {
  from { background-position: 0 0; }
  to   { background-position: -260px -260px; }
}

@keyframes galaxy-twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

/* ----- Headings: glowing shimmering gradient text ----- */
h1, h2, h3 {
  background: linear-gradient(90deg, #4cc9ff, #9b5cff, #ff4fd8, #4cc9ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 0 10px rgba(155, 92, 255, 0.7));
  animation: galaxy-shimmer 8s linear infinite;
}

@keyframes galaxy-shimmer {
  to { background-position: 300% 0; }
}

/* ----- Each bit alert line: glass card WITH its own moving stars ----- */
p {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 640px;
  margin: 0.55rem auto;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: rgba(20, 10, 55, 0.75);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(155, 92, 255, 0.35), 0 4px 18px rgba(10, 6, 32, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* small twinkling stars inside each card */
p::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 15px 12px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70px 40px, #cfe9ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 120px 20px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 40px 100px, #ffd1f5 50%, transparent 51%),
    radial-gradient(1px 1px at 140px 130px, #fff 50%, transparent 51%);
  background-size: 160px 160px;
  animation: galaxy-card-a 12s linear infinite, galaxy-twinkle 3s ease-in-out infinite;
}

/* bigger glowing stars inside each card, drifting the other way */
p::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 50px 30px, #9fdcff 50%, transparent 51%),
    radial-gradient(2px 2px at 200px 80px, #ffb3f0 50%, transparent 51%),
    radial-gradient(2px 2px at 120px 200px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 230px 220px, #d3b8ff 50%, transparent 51%);
  background-size: 260px 260px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
  animation: galaxy-card-b 9s linear infinite, galaxy-twinkle 4.5s ease-in-out infinite 1s;
}

p:hover {
  transform: translateY(-2px) scale(1.015);
  background: rgba(45, 20, 95, 0.85);
  box-shadow:
    0 0 0 1px #4cc9ff,
    0 0 18px rgba(76, 201, 255, 0.55),
    0 0 32px rgba(255, 79, 216, 0.45);
}

/* ----- Intro / secret-alert line gets extra sparkle ----- */
p:first-of-type {
  text-align: center;
  background: linear-gradient(135deg, rgba(40, 30, 110, 0.85), rgba(90, 20, 90, 0.85));
  box-shadow: 0 0 0 1px rgba(255, 79, 216, 0.6), 0 0 22px rgba(255, 79, 216, 0.35);
  animation: galaxy-pulse 3.5s ease-in-out infinite;
}

@keyframes galaxy-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 79, 216, 0.6), 0 0 14px rgba(255, 79, 216, 0.30); }
  50%      { box-shadow: 0 0 0 1px rgba(76, 201, 255, 0.8), 0 0 28px rgba(76, 201, 255, 0.55); }
}

/* ----- Bold text and links ----- */
strong, b { color: #ff9be9; text-shadow: 0 0 8px rgba(255, 79, 216, 0.7); }
a { color: #4cc9ff; text-shadow: 0 0 8px rgba(76, 201, 255, 0.6); }
a:hover { color: #ff4fd8; }
}