@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4), 0 0 40px rgba(251, 191, 36, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.6), 0 0 60px rgba(251, 191, 36, 0.3);
  }
}

@keyframes light-twinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 5px rgba(254, 254, 254, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(254, 254, 254, 1), 0 0 30px rgba(254, 254, 254, 0.8);
  }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fcd34d 25%,
    #fef3c7 50%,
    #fcd34d 75%,
    #fbbf24 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.light-flare {
  position: relative;
}

.light-flare::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(254, 254, 254, 1) 0%, rgba(254, 254, 254, 0) 70%);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

.light-flare::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(254, 254, 254, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.christmas-light {
  animation: light-twinkle 3s ease-in-out infinite;
}

.christmas-light:nth-child(2n) {
  animation-delay: 0.5s;
}

.christmas-light:nth-child(3n) {
  animation-delay: 1s;
}

.gold-line {
  position: relative;
}

.gold-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, #fcd34d, #fbbf24, transparent);
}

.gold-border-sharp {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3), inset 0 0 0 1px rgba(251, 191, 36, 0.1);
}

.white-glow {
  box-shadow: 0 0 20px rgba(254, 254, 254, 0.3), 0 0 40px rgba(254, 254, 254, 0.1);
}

.christmas-card {
  background: linear-gradient(145deg, rgba(5, 46, 22, 0.9), rgba(20, 83, 45, 0.8));
  border: 2px solid rgba(251, 191, 36, 0.4);
  position: relative;
  overflow: hidden;
}

.christmas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #fbbf24 20%, #fef3c7 50%, #fbbf24 80%, transparent 100%);
}

.red-accent {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 2px solid #fbbf24;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

select option {
  background-color: #14532d;
  color: #fefefe;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #052e16;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #dc2626, #b91c1c);
  border-radius: 5px;
  border: 2px solid #fbbf24;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

::selection {
  background: rgba(220, 38, 38, 0.5);
  color: #fefefe;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2), 0 0 15px rgba(251, 191, 36, 0.1);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

.btn-red {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 2px solid #fbbf24;
  color: #fefefe;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4), 0 0 10px rgba(251, 191, 36, 0.3);
}

.btn-green {
  background: linear-gradient(135deg, #166534, #14532d);
  border: 2px solid #fbbf24;
  color: #fefefe;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 20px rgba(22, 101, 52, 0.4), 0 0 10px rgba(251, 191, 36, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border: 2px solid #fefefe;
  color: #052e16;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 0 0 30px rgba(254, 254, 254, 0.2);
}

.stat-card {
  background: linear-gradient(145deg, rgba(5, 46, 22, 0.95), rgba(20, 83, 45, 0.85));
  border: 2px solid rgba(251, 191, 36, 0.5);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(254, 254, 254, 0.05) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .font-display {
    font-size: 0.9em;
  }
}

/* Modern Glass Card */
.glass-card {
  background: rgba(5, 46, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Modern Card Style */
.modern-card {
  background: linear-gradient(145deg, rgba(5, 46, 22, 0.95), rgba(20, 83, 45, 0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(254, 254, 254, 0.1);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 0 rgba(254, 254, 254, 0.05);
}

.modern-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 40px rgba(251, 191, 36, 0.1);
}

/* Modern Gold Button */
.modern-btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #052e16;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(251, 191, 36, 0.4),
    inset 0 1px 0 rgba(254, 254, 254, 0.3);
}

.modern-btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.modern-btn-gold:hover::before {
  left: 100%;
}

.modern-btn-gold:hover {
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.5),
    inset 0 1px 0 rgba(254, 254, 254, 0.4);
}

/* Modern Secondary Button */
.modern-btn-secondary {
  background: linear-gradient(135deg, rgba(254, 254, 254, 0.1), rgba(254, 254, 254, 0.05));
  color: #fefefe;
  border: 2px solid rgba(254, 254, 254, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(254, 254, 254, 0.15), rgba(254, 254, 254, 0.1));
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Float Animation */
@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

/* Christmas Background Graphics */
.christmas-bg {
  position: relative;
}

.christmas-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  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%3Ctext x='30' y='35' font-size='20' text-anchor='middle' fill='%23fbbf24' opacity='0.03'%3E$%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='20' r='8' fill='none' stroke='%23dc2626' stroke-width='1' opacity='0.04'/%3E%3Cpath d='M40 28 L40 35' stroke='%23fbbf24' stroke-width='1' opacity='0.04'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L55 30 L75 30 L60 42 L65 62 L50 50 L35 62 L40 42 L25 30 L45 30 Z' fill='none' stroke='%23fbbf24' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 120px 120px, 160px 160px, 200px 200px;
  background-position: 0 0, 60px 40px, 100px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Floating money particles */
@keyframes float-money {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.03;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.06;
  }
}

.money-particle {
  position: absolute;
  font-size: 2rem;
  color: #fbbf24;
  opacity: 0.03;
  animation: float-money 8s ease-in-out infinite;
  pointer-events: none;
}

/* Snowflake animation */
@keyframes snowfall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.04;
  }
  90% {
    opacity: 0.04;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.snowflake {
  position: absolute;
  color: #fefefe;
  opacity: 0;
  animation: snowfall linear infinite;
  pointer-events: none;
}

/* Enhanced Glass Morphism */
.glass-morphism {
  background: rgba(5, 46, 22, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(254, 254, 254, 0.08);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(254, 254, 254, 0.05);
}

.glass-morphism-light {
  background: rgba(254, 254, 254, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(254, 254, 254, 0.1);
}

.glass-morphism-gold {
  background: rgba(251, 191, 36, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(251, 191, 36, 0.15);
}

/* Decorative ornament */
.ornament {
  position: absolute;
  width: 20px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.04;
}

.ornament::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
}

/* Cash stack decoration */
.cash-stack {
  position: absolute;
  width: 40px;
  height: 20px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), rgba(22, 163, 74, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.05);
  border-radius: 4px;
}

.cash-stack::before,
.cash-stack::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border: inherit;
  border-radius: inherit;
}

.cash-stack::before {
  top: -3px;
  left: 2px;
}

.cash-stack::after {
  top: -6px;
  left: 4px;
}
