/* 2030B Ecosystem — UX Enhancements (loader, asides, active states, animated SVGs) */

/* ===================== PAGE LOADER ===================== */
#b30-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
#b30-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#b30-loader .loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
#b30-loader .loader-mandala {
  width: 120px; height: 120px;
  animation: b30LoaderSpin 6s linear infinite;
}
#b30-loader .loader-mandala .petal {
  transform-origin: 100px 100px;
  animation: b30PetalPulse 2.4s ease-in-out infinite;
}
#b30-loader .loader-mandala .petal:nth-child(1)  { animation-delay: 0.0s; }
#b30-loader .loader-mandala .petal:nth-child(2)  { animation-delay: 0.12s; }
#b30-loader .loader-mandala .petal:nth-child(3)  { animation-delay: 0.24s; }
#b30-loader .loader-mandala .petal:nth-child(4)  { animation-delay: 0.36s; }
#b30-loader .loader-mandala .petal:nth-child(5)  { animation-delay: 0.48s; }
#b30-loader .loader-mandala .petal:nth-child(6)  { animation-delay: 0.60s; }
#b30-loader .loader-mandala .petal:nth-child(7)  { animation-delay: 0.72s; }
#b30-loader .loader-mandala .petal:nth-child(8)  { animation-delay: 0.84s; }
#b30-loader .loader-mandala .petal:nth-child(9)  { animation-delay: 0.96s; }
#b30-loader .loader-mandala .petal:nth-child(10) { animation-delay: 1.08s; }
#b30-loader .loader-core { animation: b30CoreBreathe 1.8s ease-in-out infinite; transform-origin: center; }
#b30-loader .loader-text {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: b30TextSlide 2.2s linear infinite;
}
#b30-loader .loader-bar {
  width: 200px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,0.08); overflow: hidden; position: relative;
}
#b30-loader .loader-bar::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, #6366f1, #ec4899, transparent);
  animation: b30BarSlide 1.4s ease-in-out infinite;
}

@keyframes b30LoaderSpin { to { transform: rotate(360deg); } }
@keyframes b30PetalPulse {
  0%,100% { opacity: .85; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.08); }
}
@keyframes b30CoreBreathe {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.08); }
}
@keyframes b30TextSlide { 0%{background-position:0% 0;} 100%{background-position:200% 0;} }
@keyframes b30BarSlide  { 0%{transform:translateX(-100%);} 100%{transform:translateX(350%);} }

/* W5D loader variant */
#w5d-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
#w5d-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#w5d-loader .loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
#w5d-loader .loader-mark {
  width: 96px; height: 96px; border-radius: 1.25rem;
  background: linear-gradient(135deg, #7c3aed, #6366f1, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px -8px rgba(124,58,237,0.55);
  animation: w5dPop 2s ease-in-out infinite;
  position: relative; overflow: hidden;
}
#w5d-loader .loader-mark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  animation: w5dShine 2.4s linear infinite;
}
#w5d-loader .loader-mark span {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 800; color: #fff; font-size: 1.6rem; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
#w5d-loader .loader-text {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 700; font-size: 1.1rem;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: b30TextSlide 2.2s linear infinite;
}
#w5d-loader .loader-bar {
  width: 200px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,0.08); overflow: hidden; position: relative;
}
#w5d-loader .loader-bar::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, #7c3aed, #06b6d4, transparent);
  animation: b30BarSlide 1.4s ease-in-out infinite;
}
@keyframes w5dPop  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
@keyframes w5dShine { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

/* ===================== ACTIVE NAV STATES ===================== */
[data-mega-host] [data-mega-trigger][data-active] > button {
  color: #6366f1;
}
.dark [data-mega-host] [data-mega-trigger][data-active] > button { color: #818cf8; }
[data-mega-host] [data-mega-trigger][data-active] > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899);
}
[data-mega-host] [data-mega-trigger] > button { position: relative; }

/* Active sub-menu item highlight (inside open panel) */
[data-mega-panel] a[data-active-link] {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(236,72,153,0.10));
  outline: 1px solid rgba(99,102,241,0.25);
}
[data-mega-panel] a[data-active-link] .item-icon-wrap {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important;
}

/* Mobile active */
[data-mega-mobile] a[data-active-link] {
  color: #6366f1; font-weight: 600;
}

/* ===================== NAV DESKTOP ID HIDE ===================== */
/* Hide the small "id" / wordmark text on desktop on landing
   (only the icon mandala stays). Show again under lg. */
@media (min-width: 1024px) {
  [data-brand-id-hide] .brand-id-text { display: none; }
}

/* ===================== USER & LANG BUTTONS ===================== */
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background .25s ease, transform .25s ease;
}
.nav-icon-btn:hover { transform: translateY(-1px); }
.nav-icon-btn .ring-pulse {
  position: absolute; inset: 0; border-radius: 0.5rem;
  border: 1px solid rgba(99,102,241,0.45); opacity: 0;
  animation: navRingPulse 2.4s ease-out infinite;
}
@keyframes navRingPulse {
  0%   { opacity: .8; transform: scale(.9); }
  60%  { opacity: 0;  transform: scale(1.25); }
  100% { opacity: 0; }
}

/* ===================== ASIDE PANEL ===================== */
.b30-aside-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(2,6,23,0.55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.b30-aside-backdrop.is-open { opacity: 1; visibility: visible; }

.b30-aside {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: min(420px, 90vw);
  background: rgba(15,23,42,0.96);
  border-left: 1px solid rgba(255,255,255,0.08);
  transform: translateX(110%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  color: #e2e8f0;
}
:not(.dark) .b30-aside { background: rgba(255,255,255,0.98); color: #0f172a; border-left-color: rgba(15,23,42,0.08); }
.b30-aside.is-open { transform: translateX(0); }
.b30-aside header {
  padding: 1.25rem 1.25rem .75rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
:not(.dark) .b30-aside header { border-bottom-color: rgba(15,23,42,0.08); }
.b30-aside h3 {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 700; font-size: 1.1rem;
}
.b30-aside .aside-body { padding: 1.25rem; overflow-y: auto; flex: 1; }
.b30-aside .lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.b30-aside .lang-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .75rem; border-radius: .65rem;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all .25s ease;
  background: rgba(255,255,255,0.02);
}
:not(.dark) .b30-aside .lang-item { border-color: rgba(15,23,42,0.08); background: rgba(15,23,42,0.02); }
.b30-aside .lang-item:hover {
  border-color: rgba(99,102,241,0.55);
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.06));
  transform: translateY(-1px);
}
.b30-aside .lang-item[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(236,72,153,0.10));
  border-color: rgba(99,102,241,0.55);
}
.b30-aside .lang-flag {
  width: 28px; height: 20px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.b30-aside .user-avatar {
  width: 64px; height: 64px; border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #06b6d4, #ec4899);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.4rem;
  font-family: 'Space Grotesk', Inter, sans-serif;
  position: relative; overflow: hidden;
}
.b30-aside .user-avatar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  animation: w5dShine 3.2s linear infinite;
}
.b30-aside .aside-action {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .85rem; border-radius: .65rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  cursor: pointer; transition: all .25s ease;
  width: 100%; text-align: left; font-size: .9rem; color: inherit;
}
:not(.dark) .b30-aside .aside-action { border-color: rgba(15,23,42,0.08); background: rgba(15,23,42,0.02); }
.b30-aside .aside-action:hover {
  border-color: rgba(99,102,241,0.45);
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(236,72,153,0.05));
}

/* ===================== ANIMATED SVG LOGOS =====================
 * NOTE: The <g class="petal"> already has transform="rotate(N 100 100)".
 * Animating `transform` would clobber the rotation. So we animate only
 * the inner <ellipse> (no transform set on it) for a safe pulse.
 */
.b30-svg-anim svg .petal ellipse {
  transform-origin: center; transform-box: fill-box;
  animation: b30PetalIdle 5s ease-in-out infinite;
}
.b30-svg-anim svg .petal:nth-child(odd)  ellipse { animation-delay: -0.6s; }
.b30-svg-anim svg .petal:nth-child(even) ellipse { animation-delay: -1.2s; }
@keyframes b30PetalIdle {
  0%,100% { opacity: .85; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.08); }
}
.b30-svg-anim:hover svg .petal ellipse {
  animation: b30PetalActive 1.6s ease-in-out infinite;
}
@keyframes b30PetalActive {
  0%,100% { opacity: .85; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.18); }
}
/* Spin the whole logo on hover (outer wrapper) */
.b30-svg-anim:hover svg > g[style*="screen"] {
  animation: b30Rotate 6s linear infinite;
  transform-origin: 100px 100px; transform-box: view-box;
}
@keyframes b30Rotate { to { transform: rotate(360deg); } }

/* Currency token shine */
[data-b30-currency] svg [data-shine] {
  animation: tokenShine 3s ease-in-out infinite;
}
@keyframes tokenShine {
  0%,100% { opacity: .15; }
  50%     { opacity: .55; }
}

/* Project logo hover lift */
[data-b30-project] { display: inline-block; transition: transform .35s ease; }
[data-b30-project]:hover { transform: translateY(-3px) scale(1.04); }
[data-b30-project] svg [data-glyph] { transition: transform .4s ease; transform-origin: center; transform-box: fill-box; }
[data-b30-project]:hover svg [data-glyph] { transform: scale(1.08); }

/* ===================== ANIMATED BOOK CARDS ===================== */
.b30-book-card {
  position: relative;
  transition: transform .45s cubic-bezier(.2,.8,.2,1),
              box-shadow .45s ease,
              border-color .35s ease;
  will-change: transform;
  animation: b30BookEnter .6s cubic-bezier(.2,.8,.2,1) both;
}
.b30-book-card:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: 0 22px 50px -18px rgba(15,23,42,.35),
              0 0 0 1px var(--book-color, rgba(99,102,241,.35));
}
.dark .b30-book-card:hover {
  box-shadow: 0 22px 50px -18px rgba(0,0,0,.75),
              0 0 0 1px var(--book-color, rgba(129,140,248,.4));
}
/* Diagonal shine that sweeps on hover */
.b30-book-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
              transparent 35%,
              rgba(255,255,255,.18) 50%,
              transparent 65%);
  transform: translateX(-110%);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}
.b30-book-card:hover::before { transform: translateX(110%); }
.dark .b30-book-card::before {
  background: linear-gradient(115deg,
              transparent 35%,
              rgba(255,255,255,.08) 50%,
              transparent 65%);
}
.b30-book-card > * { position: relative; z-index: 2; }

/* Price chip pulse */
.b30-book-price {
  box-shadow: 0 4px 14px -4px rgba(99,102,241,.4);
  animation: b30PricePulse 3.2s ease-in-out infinite;
}
@keyframes b30PricePulse {
  0%,100% { transform: scale(1);    box-shadow: 0 4px 14px -4px rgba(99,102,241,.4); }
  50%     { transform: scale(1.04); box-shadow: 0 6px 22px -4px rgba(99,102,241,.6); }
}

/* CTA button lift */
.b30-book-cta {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.b30-book-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.b30-book-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
              transparent 35%,
              rgba(255,255,255,.35) 50%,
              transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.b30-book-cta:hover::after { transform: translateX(120%); }

@keyframes b30BookEnter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* RTL-friendly card lean */
[dir="rtl"] .b30-book-card:hover { transform: translateY(-6px) rotate(.4deg); }

/* ===================== EMBEDDED WEBBOOK READER (per-project page) ===================== */
.b30-rb-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 640px;
  background: rgba(15, 23, 42, 0.96);
  color: #e0e7ff;
}
:not(.dark) .b30-rb-shell {
  background: rgba(248, 250, 252, 0.96);
  color: #1e293b;
}

.b30-rb-aside {
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(99, 102, 241, 0.20);
  background: linear-gradient(180deg, rgba(13, 12, 38, 0.95), rgba(6, 5, 26, 0.95));
}
:not(.dark) .b30-rb-aside {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-right-color: rgba(15, 23, 42, 0.08);
}

.b30-rb-aside-head {
  padding: 1.1rem 1.1rem .9rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.20);
}
:not(.dark) .b30-rb-aside-head { border-bottom-color: rgba(15, 23, 42, 0.08); }

.b30-rb-aside-scroll {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.1rem 1.25rem;
  scrollbar-width: thin;
}
.b30-rb-aside-scroll::-webkit-scrollbar { width: 6px; }
.b30-rb-aside-scroll::-webkit-scrollbar-thumb {
  background: var(--rb-accent, rgba(99, 102, 241, 0.35));
  border-radius: 3px;
}

.b30-rb-section-title {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  opacity: .7; margin-bottom: .55rem;
}

.b30-rb-progress {
  height: 3px; border-radius: 99px; overflow: hidden;
  background: rgba(99, 102, 241, 0.15);
}
.b30-rb-progress-bar { height: 100%; width: 24%; border-radius: 99px; }

.b30-rb-mode-row {
  display: flex; gap: .25rem;
  background: rgba(99, 102, 241, 0.08);
  padding: .25rem; border-radius: .5rem;
}
.b30-rb-mode-btn {
  flex: 1; padding: .45rem .5rem;
  border-radius: .4rem;
  font-size: .72rem; font-weight: 600;
  color: currentColor; opacity: .6;
  transition: .2s; cursor: pointer; border: 0; background: transparent;
}
.b30-rb-mode-btn[data-active] {
  background: linear-gradient(135deg, var(--rb-accent, #6366f1), var(--rb-accent-2, #4f46e5));
  color: #fff; opacity: 1;
}

.b30-rb-toc-item {
  display: flex; align-items: start; gap: .6rem;
  padding: .55rem .7rem; border-radius: .55rem;
  font-size: .82rem; line-height: 1.35;
  opacity: .78; transition: .2s; cursor: pointer;
}
.b30-rb-toc-item:hover {
  background: rgba(99, 102, 241, 0.10);
  opacity: 1;
}
.b30-rb-toc-item.is-current {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.20), rgba(167, 139, 250, 0.10));
  opacity: 1; font-weight: 600;
}
.b30-rb-toc-num {
  flex-shrink: 0; width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .4rem; font-size: .7rem; font-weight: 700;
}

.b30-rb-companion {
  border: 1px solid rgba(99, 102, 241, 0.20);
  background: rgba(99, 102, 241, 0.05);
  border-radius: .75rem; padding: .75rem;
}
.b30-rb-companion-btn {
  width: 100%; margin-top: .65rem;
  font-size: .72rem; font-weight: 700; color: #fff;
  padding: .55rem .75rem; border-radius: .5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border: 0; cursor: pointer; transition: filter .2s, transform .2s;
}
.b30-rb-companion-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.b30-rb-iconbtn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; padding: .55rem .35rem;
  border-radius: .55rem;
  border: 1px solid rgba(99, 102, 241, 0.20);
  background: rgba(99, 102, 241, 0.05);
  color: currentColor; cursor: pointer; transition: .2s;
  font-size: 10px; font-weight: 600;
}
.b30-rb-iconbtn:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}
.b30-rb-iconbtn-sm {
  width: 34px; height: 34px;
  border-radius: .5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.20);
  background: rgba(99, 102, 241, 0.08);
  color: currentColor; cursor: pointer; transition: .2s;
}
.b30-rb-iconbtn-sm:hover { background: rgba(99, 102, 241, 0.18); }

.b30-rb-aside-foot {
  padding: .75rem 1.1rem;
  border-top: 1px solid rgba(99, 102, 241, 0.20);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72rem;
}
:not(.dark) .b30-rb-aside-foot { border-top-color: rgba(15, 23, 42, 0.08); }

.b30-rb-main { display: flex; flex-direction: column; min-height: 640px; }
.b30-rb-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.20);
  background: rgba(6, 5, 26, 0.6);
}
:not(.dark) .b30-rb-topbar {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.b30-rb-frame-wrap {
  flex: 1; position: relative;
  background: #fff;
  min-height: 540px;
}
.b30-rb-frame { width: 100%; height: 100%; border: 0; display: block; min-height: 540px; }
.b30-rb-frame-wrap.theme-night { background: #06051a; }
.b30-rb-frame-wrap.theme-sepia { background: #f5ecd6; }
.b30-rb-frame-wrap.theme-day   { background: #ffffff; }

.b30-rb-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  background: linear-gradient(135deg, #0d0c26, #1a1740);
  color: #e0e7ff;
  transition: opacity .5s ease;
}
.b30-rb-loading.hide { opacity: 0; pointer-events: none; }
.b30-rb-loading-mark {
  width: 70px; height: 70px; border-radius: 50%;
  animation: rbSpin 3s linear infinite;
  position: relative;
}
.b30-rb-loading-mark::after {
  content: ''; position: absolute; inset: 8px;
  background: #0d0c26; border-radius: 50%;
}
@keyframes rbSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .b30-rb-shell { grid-template-columns: 1fr; }
  .b30-rb-aside { border-right: 0; border-bottom: 1px solid rgba(99, 102, 241, 0.20); }
  .b30-rb-aside-scroll { max-height: 360px; }
}

/* RTL aside */
[dir="rtl"] .b30-rb-aside { border-right: 0; border-left: 1px solid rgba(99, 102, 241, 0.20); }

/* ===================== BUNDLE CARDS (webbook page) ===================== */
.b30-bundle-card {
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s ease,
              border-color .35s ease;
  animation: b30BookEnter .6s cubic-bezier(.2,.8,.2,1) both;
}
.b30-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -16px rgba(15,23,42,.30),
              0 0 0 1px var(--book-color, rgba(99,102,241,.35));
}
.b30-bundle-card.is-featured {
  transform: scale(1.025);
  box-shadow: 0 16px 40px -14px rgba(99,102,241,.45);
}
.b30-bundle-card.is-featured:hover {
  transform: scale(1.025) translateY(-4px);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  #b30-loader .loader-mandala,
  #b30-loader .loader-mandala .loader-petal,
  #b30-loader .loader-core,
  #b30-loader .loader-text,
  #b30-loader .loader-bar::after,
  #w5d-loader .loader-mark,
  #w5d-loader .loader-mark::before,
  #w5d-loader .loader-text,
  #w5d-loader .loader-bar::after,
  .b30-svg-anim svg .petal ellipse,
  [data-b30-currency] svg [data-shine],
  .b30-book-card,
  .b30-book-card::before,
  .b30-book-price,
  .b30-book-cta::after,
  .b30-bundle-card,
  .b30-rb-loading-mark {
    animation: none !important;
    transition: none !important;
  }
}
