/* ============================================
   DECORATIVE ELEMENTS & VISUAL ENHANCEMENTS
   ============================================ */

/* SVG Shape Dividers */
.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23CBA34D'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
  z-index: 1;
}

.section-divider.wave {
  background: linear-gradient(135deg, #0F1C3F 0%, #1a2a4f 100%);
}

.section-divider.wave::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8f9fa'/%3E%3C/svg%3E") no-repeat center bottom;
}

.section-divider.curve {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-divider.curve::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%230F1C3F'/%3E%3C/svg%3E") no-repeat center bottom;
}

/* Floating Geometric Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-shape.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #CBA34D, #e0bb64);
}

.floating-shape.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid #CBA34D;
}

.floating-shape.square {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #0F1C3F, #1a2a4f);
  transform: rotate(45deg);
}

.floating-shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: 4s;
}

.floating-shape:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 1s;
}

.floating-shape:nth-child(5) {
  top: 10%;
  left: 70%;
  animation-delay: 3s;
}

/* Gradient Blobs */
.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: blob 8s ease-in-out infinite;
}

.gradient-blob.primary {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #CBA34D, #e0bb64);
}

.gradient-blob.secondary {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #0F1C3F, #1a2a4f);
}

.gradient-blob.accent {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Particle Effects */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #CBA34D;
  border-radius: 50%;
  animation: particle-float 10s linear infinite;
}

.particle:nth-child(odd) {
  background: #e0bb64;
  animation-duration: 12s;
}

.particle:nth-child(3n) {
  background: #0F1C3F;
  animation-duration: 8s;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Confetti Effect */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #CBA34D;
  animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(2n) {
  background: #e0bb64;
  width: 8px;
  height: 8px;
}

.confetti:nth-child(3n) {
  background: #0F1C3F;
  width: 6px;
  height: 6px;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Music Notes Animation */
.music-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.music-note {
  position: absolute;
  font-size: 2rem;
  color: #CBA34D;
  opacity: 0.3;
  animation: music-float 6s ease-in-out infinite;
}

.music-note::before {
  content: '♪';
}

.music-note:nth-child(2n)::before {
  content: '♫';
}

.music-note:nth-child(3n)::before {
  content: '♬';
}

@keyframes music-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Background Patterns */
.pattern-dots {
  background-image: radial-gradient(circle, #CBA34D 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
}

.pattern-grid {
  background-image: 
    linear-gradient(rgba(203, 163, 77, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 163, 77, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.pattern-hexagon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23CBA34D' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
  background: rgba(15, 28, 63, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 163, 77, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Neon Glow Effects */
.neon-glow {
  box-shadow: 
    0 0 5px #CBA34D,
    0 0 10px #CBA34D,
    0 0 15px #CBA34D,
    0 0 20px #CBA34D;
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  from {
    box-shadow: 
      0 0 5px #CBA34D,
      0 0 10px #CBA34D,
      0 0 15px #CBA34D,
      0 0 20px #CBA34D;
  }
  to {
    box-shadow: 
      0 0 2px #CBA34D,
      0 0 5px #CBA34D,
      0 0 8px #CBA34D,
      0 0 12px #CBA34D;
  }
}

/* Text Glow */
.text-glow {
  text-shadow: 
    0 0 5px #CBA34D,
    0 0 10px #CBA34D,
    0 0 15px #CBA34D,
    0 0 20px #CBA34D;
}

/* Holographic Effect */
.holographic {
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7f00,
    #ffff00,
    #00ff00,
    #0000ff,
    #4b0082,
    #9400d3
  );
  background-size: 400% 400%;
  animation: holographic-shift 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes holographic-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Morphing Shapes */
.morphing-shape {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #CBA34D, #e0bb64);
  border-radius: 50%;
  animation: morph 4s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 50%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 20%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 0%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 20%;
    transform: rotate(270deg);
  }
}

/* Liquid Blob */
.liquid-blob {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #CBA34D, #e0bb64);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: liquid-morph 8s ease-in-out infinite;
}

@keyframes liquid-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 30% 50% 60% 70%;
  }
  75% {
    border-radius: 40% 70% 60% 30% / 70% 40% 50% 60%;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .floating-shape {
    width: 30px;
    height: 30px;
  }
  
  .floating-shape.triangle {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid #CBA34D;
  }
  
  .floating-shape.square {
    width: 20px;
    height: 20px;
  }
  
  .gradient-blob.primary {
    width: 150px;
    height: 150px;
  }
  
  .gradient-blob.secondary {
    width: 100px;
    height: 100px;
  }
  
  .gradient-blob.accent {
    width: 75px;
    height: 75px;
  }
  
  .morphing-shape {
    width: 50px;
    height: 50px;
  }
  
  .liquid-blob {
    width: 100px;
    height: 100px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .floating-shape,
  .gradient-blob,
  .particle,
  .confetti,
  .music-note,
  .morphing-shape,
  .liquid-blob {
    animation: none;
  }
  
  .neon-glow {
    animation: none;
    box-shadow: 0 0 10px #CBA34D;
  }
  
  .holographic {
    animation: none;
    background: #CBA34D;
    -webkit-text-fill-color: initial;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .floating-shape,
  .gradient-blob,
  .particle,
  .confetti,
  .music-note {
    opacity: 0.3;
  }
  
  .glass,
  .glass-dark {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
  }
}
