/* ============================================
   VISUAL POLISH - Premium Design Effects
   ============================================ */

/* ============================================
   EMBOSSED TEXT EFFECTS
   ============================================ */

/* Embossed White Text (for gold cards) */
.text-embossed {
  text-shadow: 
    1px 1px 0 rgba(0, 0, 0, 0.4),
    -1px -1px 0 rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.95);
}

.text-embossed-subtle {
  text-shadow: 
    0.5px 0.5px 0 rgba(0, 0, 0, 0.3),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.95);
}

/* Embossed Dark Text (for light backgrounds) */
.text-embossed-dark {
  text-shadow: 
    1px 1px 0 rgba(255, 255, 255, 0.5),
    -1px -1px 0 rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.85);
}

/* ============================================
   MULTICOLORED GRADIENTS
   ============================================ */

/* 8-Color Gradient Border */
.border-multicolor {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.border-multicolor::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-multicolor-8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Animated Rotating Gradient Border */
.border-multicolor-animated {
  position: relative;
}

.border-multicolor-animated::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-multicolor-rotating);
  animation: rotateGradient 3s linear infinite;
  pointer-events: none;
}

.border-multicolor-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  pointer-events: none;
}

@keyframes rotateGradient {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Gradient Text */
.text-gradient-multicolor {
  background: var(--gradient-multicolor-8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ============================================
   GOLD CARDS
   ============================================ */

/* Premium Gold Card Background */
.card-gold {
  background: var(--gradient-gold-premium);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

/* Gold Card Shimmer Overlay */
.card-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  animation: goldShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes goldShimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

/* Gold Text */
.text-gold {
  color: #FFD700;
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(255, 215, 0, 0.5);
}

/* ============================================
   HOLOGRAPHIC EFFECTS
   ============================================ */

/* Holographic Border */
.border-holographic {
  position: relative;
  border: 1px solid transparent;
}

.border-holographic::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-holographic);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.border-holographic:hover::before,
.border-holographic.active::before {
  opacity: 0.6;
}

/* Holographic Shimmer Effect */
.holographic-shimmer {
  position: relative;
  overflow: hidden;
}

.holographic-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-shimmer-sweep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.holographic-shimmer:hover::after,
.holographic-shimmer.active::after {
  opacity: 1;
  animation: shimmerSweep 1.5s ease-in-out;
}

/* ============================================
   NEON EFFECTS
   ============================================ */

/* Neon Pink Glow */
.glow-neon {
  box-shadow: 
    0 0 10px var(--neon-pink-glow),
    0 0 20px rgba(255, 51, 204, 0.2);
}

.glow-neon-intense {
  box-shadow: 
    0 0 20px var(--neon-pink-glow),
    0 0 40px rgba(255, 51, 204, 0.3),
    0 0 60px rgba(255, 51, 204, 0.2);
}

/* Neon Text */
.text-neon {
  color: var(--neon-pink);
  text-shadow: 
    0 0 10px var(--neon-pink-glow),
    0 0 20px rgba(255, 51, 204, 0.3);
}

/* Pulsing Neon Glow */
.glow-neon-pulse {
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 
      0 0 10px var(--neon-pink-glow),
      0 0 20px rgba(255, 51, 204, 0.2);
  }
  50% {
    box-shadow: 
      0 0 20px var(--neon-pink-glow),
      0 0 40px rgba(255, 51, 204, 0.4),
      0 0 60px rgba(255, 51, 204, 0.3);
  }
}

/* ============================================
   PEARL & CHAMPAGNE EFFECTS
   ============================================ */

/* Pearl White Background */
.bg-pearl {
  background-color: var(--pearl-white);
}

.bg-champagne {
  background-color: var(--champagne);
}

.bg-champagne-light {
  background-color: var(--champagne-light);
}

/* Pearl Shimmer */
.pearl-shimmer {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--pearl-white) 0%,
    var(--champagne-light) 50%,
    var(--pearl-white) 100%
  );
  background-size: 200% 200%;
  animation: pearlShimmer 4s ease-in-out infinite;
}

@keyframes pearlShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ============================================
   GLASSMORPHISM
   ============================================ */

/* Glass Card Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Frosted Glass */
.glass-frosted {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ============================================
   PREMIUM SHADOWS
   ============================================ */

/* Layered Shadows for Depth */
.shadow-layered {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.03);
}

.shadow-layered-intense {
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.04);
}

/* Colored Shadows */
.shadow-primary {
  box-shadow: 
    0 4px 12px rgba(87, 204, 234, 0.2),
    0 8px 24px rgba(87, 204, 234, 0.15);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

.shadow-neon {
  box-shadow: var(--shadow-neon);
}

/* ============================================
   SPARKLE EFFECTS
   ============================================ */

/* Sparkle Container */
.sparkles {
  position: relative;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brokerly-text-primary);
  border-radius: 50%;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.sparkle:nth-child(1) { animation-delay: 0s; top: 20%; left: 20%; }
.sparkle:nth-child(2) { animation-delay: 0.3s; top: 40%; left: 80%; }
.sparkle:nth-child(3) { animation-delay: 0.6s; top: 70%; left: 40%; }
.sparkle:nth-child(4) { animation-delay: 0.9s; top: 80%; left: 70%; }

/* ============================================
   GRADIENT OVERLAYS
   ============================================ */

/* Gradient Overlay (for images/cards) */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Radial Gradient Overlay */
.gradient-overlay-radial {
  position: relative;
}

.gradient-overlay-radial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* ============================================
   METALLIC EFFECTS
   ============================================ */

/* Metallic Shine */
.metallic-shine {
  position: relative;
  overflow: hidden;
}

.metallic-shine::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: metallicShine 3s ease-in-out infinite;
}

@keyframes metallicShine {
  0%, 100% {
    transform: translateX(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* ============================================
   PREMIUM UTILITY CLASSES
   ============================================ */

/* Modern Elevation System */
.elevation-0 { box-shadow: none; }
.elevation-1 { box-shadow: var(--shadow-card-subtle); }
.elevation-2 { box-shadow: var(--shadow-card-moderate); }
.elevation-3 { box-shadow: var(--shadow-card-intense); }

/* Smooth Transitions */
.smooth-all {
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.smooth-transform {
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.smooth-shadow {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* GPU Acceleration Hints */
.gpu-boost {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

