:root {
  --piper-green: #2d7a4f;
  --piper-green-light: #45a76a;
  --piper-green-dark: #1e5738;
  --piper-accent: #7ed957;
  --background: #f8fdf9;
  --foreground: #1a3027;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

/* Pied Piper Gradient Utilities */
.gradient-piper {
  background: linear-gradient(135deg, #2d7a4f 0%, #45a76a 50%, #7ed957 100%);
}

.gradient-piper-dark {
  background: linear-gradient(135deg, #1e5738 0%, #2d7a4f 100%);
}

.gradient-piper-subtle {
  background: linear-gradient(to bottom, #f8fdf9 0%, #e8f5ec 100%);
}

.text-gradient-piper {
  background: linear-gradient(135deg, #2d7a4f 0%, #45a76a 50%, #7ed957 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.animate-shimmer {
  animation: shimmer 3s infinite;
  background: linear-gradient(
    90deg,
    rgba(45, 122, 79, 0.1) 0%,
    rgba(69, 167, 106, 0.3) 50%,
    rgba(45, 122, 79, 0.1) 100%
  );
  background-size: 1000px 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(45, 122, 79, 0.5); }
  50% { box-shadow: 0 0 40px rgba(126, 217, 87, 0.8); }
}

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

@keyframes slide-in {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

.animate-slide-in {
  animation: slide-in 0.5s ease-out;
}

/* Radical Background Patterns */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(45, 122, 79, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

.glass-dark {
  background: rgba(45, 122, 79, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 122, 79, 0.2);
}

/* 3D Card Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

/* Neon Glow */
.neon-green {
  text-shadow:
    0 0 5px rgba(126, 217, 87, 0.5),
    0 0 10px rgba(126, 217, 87, 0.4),
    0 0 20px rgba(126, 217, 87, 0.3),
    0 0 40px rgba(126, 217, 87, 0.2);
}

/* Gradient Border */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 12px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #2d7a4f, #45a76a, #7ed957);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Flash Messages */
.flash-success { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-error { background-color: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-warning { background-color: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.flash-info { background-color: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
