/* DesiCandi Royal Velvet, Pearl-Silk & Animated Gold-Flame Theme */
body, #app, #app-content {
  background: radial-gradient(circle at 50% 12%, #360b52 0%, #170426 52%, #0c0214 100%) !important;
  color: #ffffff !important;
}

/* Subtle Animated Gold-Flame Logo Watermark in App Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  margin: auto;
  width: 340px;
  height: 340px;
  background: url('/assets/images/desicandi-header-logo.png?v=20261112-034537') center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  contain: strict;
  filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.75)) saturate(1.4);
  animation: dcGoldFlamePulse 5s ease-in-out infinite;
}

@keyframes dcGoldFlamePulse {
  0%, 100% { transform: scale(0.97); opacity: 0.07; filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.55)); }
  50% { transform: scale(1.04); opacity: 0.13; filter: drop-shadow(0 0 38px rgba(251, 191, 36, 0.95)); }
}

/* Splash Screen Fix (No Broken Image Box + Gold Flame Glow) */
.loading-screen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: radial-gradient(circle at center, #2d0947 0%, #10031b 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.loading-screen.dc-splash-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.dc-loading-brand-logo {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 26px rgba(251, 191, 36, 0.7));
  animation: dcGoldFlamePulse 2.4s ease-in-out infinite;
}

/* Eliminate Milky White Cards Across Home, Real Hosts, Royal Family & Account Center */
[class*="host-card"], [class*="user-card"], [class*="member-card"],
[class*="royal-card"], [class*="couple-card"], [class*="account-card"],
[class*="feature-card"], [class*="menu-card"], .card {
  background: linear-gradient(155deg, rgba(64, 16, 96, 0.92), rgba(26, 6, 42, 0.96)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(12px) !important;
}

[class*="host-card"] *, [class*="user-card"] *, [class*="member-card"] *,
[class*="royal-card"] *, [class*="couple-card"] *, [class*="account-card"] *,
[class*="feature-card"] *, [class*="menu-card"] * {
  color: #ffffff !important;
}

/* Multi-color Glossy Gradients for Real Host Cards */
.dc-multicolor-host-1 { background: linear-gradient(155deg, #7e1d6b, #28083a) !important; }
.dc-multicolor-host-2 { background: linear-gradient(155deg, #5b21b6, #1f0836) !important; }
.dc-multicolor-host-3 { background: linear-gradient(155deg, #9d174d, #2d0938) !important; }
.dc-multicolor-host-4 { background: linear-gradient(155deg, #1e3a8a, #23093b) !important; }
.dc-multicolor-host-5 { background: linear-gradient(155deg, #86198f, #220633) !important; }

/* Animated Circular Level Halo Ring Around Avatars */
.dc-level-avatar-ring {
  position: relative !important;
  border-radius: 50% !important;
  padding: 3px !important;
  background: conic-gradient(from 0deg, #fbbf24, #ec4899, #8b5cf6, #38bdf8, #fbbf24) !important;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.55) !important;
  animation: none !important;
}
.dc-level-avatar-ring > img, .dc-level-avatar-ring > div {
  animation: none !important;
}
@keyframes dcAvatarHaloSpin { to { transform: rotate(360deg); } }
@keyframes dcAvatarCounterSpin { to { transform: rotate(-360deg); } }

.dc-level-pill-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  color: #fff !important;
  font-size: 9.5px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid #fff;
  white-space: nowrap;
  z-index: 4;
}


/* === DESICANDI GLOSSY MILKY SHIMMER + ROTATING WAVES + 360° LEVEL RINGS === */
body::before, body::after {
  content: "";
  position: fixed;
  left: -25%;
  width: 150%;
  height: 48vh;
  border-radius: 43%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  contain: strict;
}
body::before {
  bottom: -26vh;
  background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.22), rgba(126, 34, 206, 0.08) 70%, transparent);
  animation: dcRotateWave 18s linear infinite;
}
body::after {
  top: -28vh;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.22), rgba(244, 63, 94, 0.08) 70%, transparent);
  animation: dcRotateWaveReverse 24s linear infinite;
}
@keyframes dcRotateWave {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes dcRotateWaveReverse {
  0% { transform: rotate(360deg) scale(1.04); }
  50% { transform: rotate(180deg) scale(0.98); }
  100% { transform: rotate(0deg) scale(1.04); }
}

#app-content h1, #app-content h2, #app-content h3,
.dc-card-title, .dc-host-name, .dc-section-title, .dc-stream-title {
  font-style: italic !important;
  color: #fff9fe !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.35), 0 0 18px rgba(236, 72, 153, 0.45) !important;
  letter-spacing: 0.3px;
}
#app-content p, #app-content span, #app-content .dc-subtext, #app-content .dc-meta {
  color: #fbf4ff !important;
  text-shadow: 0 1px 4px rgba(15, 3, 25, 0.85);
}

@keyframes dcAvatarRing360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.dc-level-ring-360, .dc-avatar-ring-360 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.dc-level-ring-360::before, .dc-avatar-ring-360::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #ff2e93, #ffd76e, #c084fc, #ff7ce5, #ffd76e, #ff2e93);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: dcAvatarRing360 4s linear infinite;
  pointer-events: none;
}
