/* ========================================
   CELESTIAL THEME
   ======================================== */

:root {
  --bg1: #120b24;
  --bg2: #201042;
  --edge1: #9b5dff;
  --edge2: #b79aff;
  --edge3: #ffffff;
  --text: #efeaff;
  --muted: #d8ccff;
  --border: rgba(255, 255, 255, .14);
  --glass1: rgba(255, 255, 255, .05);
  --glass2: rgba(255, 255, 255, .02);
  --accent: #b79aff;
}

/* Background */
html,
body {
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* ========================================
   GALAXY PARALLAX BACKGROUND
   ======================================== */
.galaxy {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 20% 10%, rgba(155, 93, 255, 0.08), transparent 40%),
    radial-gradient(700px 450px at 85% 25%, rgba(183, 154, 255, 0.06), transparent 40%),
    radial-gradient(900px 480px at 50% 6%, rgba(50, 30, 120, .04), transparent 50%);
  filter: blur(28px) saturate(130%);
  animation: galaxyShift 22s ease-in-out infinite alternate;
}

@keyframes galaxyShift {
  50% {
    filter: hue-rotate(20deg) blur(30px) saturate(140%);
  }
}

/* Stars layer (canvas) */
.canvas-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  display: block;
}

/* ========================================
   CARD
   ======================================== */
.card {
  border-radius: 24px;
  padding: 30px 26px 32px;
  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
}

/* ========================================
   HEADER
   ======================================== */
.hdr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7dfff, #b79aff);
  color: #200a3c;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(183, 154, 255, .45);
}

.title {
  margin: 0;
  font-weight: 1000;
  font-size: clamp(30px, 5.8vw, 54px);
  position: relative;
}

.title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-22deg) translateX(-120%);
  mix-blend-mode: screen;
  filter: blur(1.2px);
  animation: shine 3.8s ease-in-out infinite 1s;
}

@keyframes shine {
  to {
    transform: skewX(-22deg) translateX(120%);
  }
}

/* ========================================
   SUBTITLE & DIVIDER
   ======================================== */
.sub {
  text-align: center;
  font-weight: 900;
  opacity: .92;
  margin: 6px 0 14px;
}

.divider {
  height: 1px;
  margin: 10px auto 18px;
  width: min(920px, 92%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

/* ========================================
   LIST
   ======================================== */
.list {
  width: min(920px, 95%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
}

.li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  opacity: 0;
  transform: translateY(10px) scale(.98);
}

.li.show {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}

.ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dcd3ff, #b79aff);
  color: #1e0d3b;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(183, 154, 255, .35);
}

/* ========================================
   BUTTONS
   ======================================== */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn.ghost {
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--border);
}

.btn.primary {
  background: linear-gradient(90deg, #ff3b3b, #ff5ea8, #b79aff);
  box-shadow: 0 10px 26px rgba(183, 154, 255, .35);
}

/* ========================================
   FOOTER
   ======================================== */
.copy {
  opacity: .85;
  text-align: center;
  margin-top: 20px;
  font-size: .95rem;
}
