* {
  -webkit-tap-highlight-color: transparent;
}

.confetti-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: confetti-fall 3s ease-out forwards;
}

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

.sparkle {
  position: absolute;
  font-size: 20px;
  animation: sparkle-float 3s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes sparkle-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.vibe-mode {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff, #eff6ff, #f0fdf4, #fefce8);
  background-size: 400% 400%;
  animation: gradient-shift 10s ease infinite;
}

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

.vibe-card {
  animation: vibe-pulse 2s ease-in-out infinite;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #ff6b6b, #7c3aed, #10b981) border-box;
}

@keyframes vibe-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.vibe-column {
  animation: column-rainbow 5s ease infinite;
}

@keyframes column-rainbow {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

.vibe-modal {
  animation: modal-bounce 0.5s ease-out;
}

@keyframes modal-bounce {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.shake-animation {
  animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px) rotate(-1deg); }
  75% { transform: translateX(2px) rotate(1deg); }
}

.task-card {
  touch-action: none;
}

@media (max-width: 768px) {
  .task-card {
    touch-action: pan-y;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, #ff6b6b, #7c3aed);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to right, #ef4444, #8b5cf6);
}

/* Snap scrolling for mobile */
@media (max-width: 768px) {
  .snap-x > * {
    scroll-snap-align: center;
  }
}

/* Daniel Mode Styles */
.daniel-mode {
  background-image: 
    linear-gradient(to right, rgba(251, 191, 36, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 191, 36, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.daniel-card {
  transform: rotate(-0.5deg);
}

.daniel-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.daniel-column {
  position: relative;
}

.daniel-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #fbbf24,
    #fbbf24 10px,
    #000 10px,
    #000 20px
  );
  border-radius: 24px 24px 0 0;
  opacity: 0.3;
}

.daniel-title {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.daniel-banner {
  background: repeating-linear-gradient(
    -45deg,
    #fef3c7,
    #fef3c7 10px,
    #fef9c3 10px,
    #fef9c3 20px
  );
}

.construction-tape {
  position: absolute;
  top: 0;
  left: -10px;
  right: -10px;
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    #fbbf24,
    #fbbf24 8px,
    #000 8px,
    #000 16px
  );
  transform: rotate(-1deg);
}

.construction-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-top: 20px solid rgba(251, 191, 36, 0.3);
}

.construction-corner::after {
  content: 'WIP';
  position: absolute;
  top: -18px;
  right: -2px;
  font-size: 6px;
  color: #92400e;
  font-weight: bold;
}

.fazendo-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 9999px;
  animation: fazendo-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

@keyframes fazendo-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.7);
    transform: scale(1.05);
  }
}

.daniel-fab {
  border: 3px dashed rgba(255, 255, 255, 0.5);
}

.strawberry-worker {
  animation: work-animation 1s ease-in-out infinite;
  display: inline-block;
}

@keyframes work-animation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-5deg); }
  75% { transform: translateY(-3px) rotate(5deg); }
}

/* Mini fireworks for deploy column */
@keyframes mini-firework {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(0); }
}

/* Mobile improvements */
@media (max-width: 640px) {
  .fazendo-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .construction-tape {
    height: 4px;
  }
}