/* =========================
   Mythic Theme Stylesheet
   ========================= */

:root {
  --bg1: #1b0828;
  --bg2: #2c1142;
  --edge1: #9e63ff;
  --edge2: #ffd86a;
  --edge3: #ffffff;
  --text: #fff8ee;
  --muted: #ecd7ff;
  --border: rgba(255, 255, 255, 0.15);
  --glass1: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.03);
  --accent: #ffd86a;
}

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

/* ===== Mythic Aura Effect ===== */
.mythic-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 10% 20%, rgba(158, 99, 255, 0.1), transparent 40%),
    radial-gradient(900px 480px at 80% 25%, rgba(255, 216, 106, 0.08), transparent 40%),
    radial-gradient(900px 480px at 50% 60%, rgba(90, 50, 160, 0.05), transparent 50%);
  filter: blur(26px) saturate(130%);
  animation: mythicShift 20s ease-in-out infinite alternate;
}

@keyframes mythicShift {
  50% {
    filter: hue-rotate(10deg) brightness(1.15);
  }
}

.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, 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, #ffd86a, #9e63ff);
  color: #2c1142;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(255, 216, 106, 0.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, 0.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: 0.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, 0.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(0.98);
}

.li.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd86a, #9e63ff);
  color: #1b0828;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(255, 216, 106, 0.35);
}

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

.btn.primary {
  background: linear-gradient(90deg, #9e63ff, #b67cff, #ffd86a);
  box-shadow: 0 10px 26px rgba(255, 216, 106, 0.35);
}

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

.copy {
  opacity: 0.85;
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
}
