/* =========================================== */
/* RA Tools - Award-Winning UX Enhancements */
/* Creative, Colorful, Delightful */
/* =========================================== */

/* ===== COLORFUL PERSONALITY ===== */
:root {
  --color-primary: #f59e0b;
  --color-secondary: #f97316;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-info: #3b82f6;
  --color-purple: #8b5cf6;
  --color-cyan: #06b6d4;
  
  /* Gradient combinations */
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ec4899 100%);
  --gradient-ocean: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-forest: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

[data-theme="dark"] .glass-card,
.dark-mode .glass-card {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ===== 3D HOVER EFFECTS ===== */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 
    0 20px 40px rgba(245, 158, 11, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-3d {
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 10px 25px rgba(245, 158, 11, 0.4),
    0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-3d:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== PROGRESS BARS ===== */
.progress-container {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-sunset);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== PROGRESS BADGES ===== */
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gradient-sunset);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}

.achievement-badge.new {
  animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.achievement-badge .emoji {
  font-size: 1.25rem;
  animation: bounce 2s infinite;
}

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

/* ===== CELEBRATION ANIMATIONS ===== */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  animation: confettiFall linear forwards;
}

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

.success-celebration {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  pointer-events: none;
  animation: celebrationPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes celebrationPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* ===== SOCIAL SHARING BUTTONS ===== */
.social-share-container {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
}

.social-share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.social-share-btn.facebook {
  background: #1877f2;
  color: white;
}

.social-share-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-share-btn.copy-link {
  background: var(--gradient-sunset);
  color: white;
}

.social-share-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-share-btn:active {
  transform: translateY(0) scale(1);
}

/* ===== FLOATING ACTION BUTTON (FAB) ===== */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.fab:hover {
  transform: translateY(-4px) scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

.fab:active {
  transform: translateY(-2px) scale(1.05);
}

.fab-menu {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--color-primary);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== BOTTOM NAVIGATION BAR (MOBILE) ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border-radius: 12px;
  min-width: 60px;
}

.bottom-nav-item.active {
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1);
}

.bottom-nav-item .icon {
  font-size: 1.5rem;
}

.bottom-nav-item:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ===== ANIMATED BACKGROUND PARTICLES ===== */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, -100px) rotate(90deg);
  }
  50% {
    transform: translate(-50px, -200px) rotate(180deg);
  }
  75% {
    transform: translate(-100px, -50px) rotate(270deg);
  }
}

/* ===== MICRO-ANIMATIONS ===== */
@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.animate-fade-scale {
  animation: fadeInScale 0.4s ease-out;
}

/* ===== PULL TO REFRESH ===== */
.pull-to-refresh {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  z-index: 1001;
  transition: top 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pull-to-refresh.active {
  top: 1rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* ===== HAPTIC FEEDBACK (Mobile) ===== */
@media (hover: none) and (pointer: coarse) {
  .haptic-feedback:active {
    animation: hapticPulse 0.1s ease;
  }
}

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

/* ===== COLORFUL ACCENTS ===== */
.colorful-accent {
  position: relative;
  overflow: hidden;
}

.colorful-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-ocean);
  opacity: 0.1;
  transition: left 0.5s ease;
  z-index: 0;
}

.colorful-accent:hover::before {
  left: 100%;
}

/* ===== EMOJI ENHANCEMENTS ===== */
.emoji-large {
  font-size: 2rem;
  display: inline-block;
  animation: emojiWiggle 2s ease-in-out infinite;
}

@keyframes emojiWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* ===== ARTSY DECORATIVE ELEMENTS ===== */
.artsy-accent {
  position: relative;
  overflow: hidden;
}

.artsy-accent::before {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  opacity: 0.2;
  animation: floatAround 6s ease-in-out infinite;
  pointer-events: none;
}

.artsy-accent::after {
  content: '🎨';
  position: absolute;
  bottom: -10px;
  left: -10px;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: floatAround 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(90deg); }
  50% { transform: translate(-10px, -30px) rotate(180deg); }
  75% { transform: translate(-20px, -10px) rotate(270deg); }
}

/* ===== CREATIVE BRUSH STROKES ===== */
.brush-stroke {
  position: relative;
}

.brush-stroke::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
  animation: brushStroke 3s ease-in-out infinite;
}

@keyframes brushStroke {
  0%, 100% { transform: scaleX(0); opacity: 0.3; }
  50% { transform: scaleX(1); opacity: 0.6; }
}

/* ===== ARTISTIC GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}

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

/* ===== CREATIVE LOADING STATES ===== */
.creative-loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(245, 158, 11, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: creativeSpin 1s linear infinite;
  position: relative;
}

.creative-loader::after {
  content: '🎨';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  animation: emojiWiggle 1s ease-in-out infinite;
}

@keyframes creativeSpin {
  to { transform: rotate(360deg); }
}

/* ===== ARTISTIC CARD DECORATIONS ===== */
.artistic-card {
  position: relative;
  overflow: visible;
}

.artistic-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-ocean);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.artistic-card:hover::before {
  opacity: 0.3;
}

/* ===== CREATIVE TYPOGRAPHY EFFECTS ===== */
.creative-title {
  position: relative;
  display: inline-block;
}

.creative-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-sunset);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.6s ease-out 0.3s forwards;
}

@keyframes underlineGrow {
  to { transform: scaleX(1); }
}

/* ===== ARTISTIC FLOATING ELEMENTS ===== */
.floating-art {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  font-size: 3rem;
  opacity: 0.05;
  animation: floatArt 20s ease-in-out infinite;
}

@keyframes floatArt {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, -100px) rotate(90deg);
  }
  50% {
    transform: translate(-50px, -200px) rotate(180deg);
  }
  75% {
    transform: translate(-100px, -50px) rotate(270deg);
  }
}

/* ===== CREATIVE BUTTON EFFECTS ===== */
.creative-btn {
  position: relative;
  overflow: hidden;
}

.creative-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.creative-btn:hover::before {
  width: 300px;
  height: 300px;
}

.creative-btn::after {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
}

.creative-btn:hover::after {
  opacity: 1;
  animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

/* ===== ARTISTIC SCROLL INDICATORS ===== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

.scroll-indicator-bar {
  height: 100%;
  background: var(--gradient-sunset);
  width: 0%;
  transition: width 0.1s ease;
}

/* ===== CREATIVE MODAL ENTRANCES ===== */
@keyframes modalArtistic {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.artistic-modal {
  animation: modalArtistic 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== ARTSY SECTION DIVIDERS ===== */
.artsy-divider {
  position: relative;
  height: 2px;
  margin: 3rem 0;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  overflow: visible;
}

.artsy-divider::before,
.artsy-divider::after {
  content: '🎨';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  background: white;
  padding: 0 1rem;
}

.artsy-divider::before {
  left: 20%;
}

.artsy-divider::after {
  right: 20%;
}

/* ===== CREATIVE TOOLTIPS ===== */
.creative-tooltip {
  position: relative;
}

.creative-tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: 0.5rem 1rem;
  background: var(--gradient-sunset);
  color: white;
  border-radius: 12px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.creative-tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* ===== ARTISTIC CURSOR EFFECTS ===== */
.artistic-cursor {
  cursor: none;
}

.artistic-cursor::after {
  content: '🎨';
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  font-size: 1.5rem;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

/* ===== CREATIVE FORM INPUTS ===== */
.creative-input {
  position: relative;
}

.creative-input:focus-within::before {
  content: '✨';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  animation: sparkle 1s ease-in-out infinite;
  pointer-events: none;
}

/* ===== ARTSY BACKGROUND PATTERNS ===== */
.artsy-bg {
  position: relative;
  overflow: hidden;
}

.artsy-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: bgShift 20s ease-in-out infinite;
}

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

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .fab {
    bottom: 5rem;
    right: 1rem;
  }
  
  .fab-menu {
    bottom: 8rem;
    right: 1rem;
  }
  
  .social-share-container {
    justify-content: center;
  }
  
  .badge-container {
    justify-content: center;
  }
  
  .floating-art {
    display: none;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== FINAL UX/UI POLISH ===== */

/* Enhanced Focus States - Award-Winning Accessibility */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Smooth Page Transitions */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageFadeIn 0.4s ease-out;
}

/* Loading State Improvements */
.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Enhanced Button Press States */
.btn:active,
button:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Improved Link Underlines */
a:not(.btn):not(.nav-links a):not(.breadcrumbs a):not(.home-link):not(.hub-link) {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  border-bottom-width: 1px;
  transition: border-bottom-width 0.2s ease;
}

a:not(.btn):not(.nav-links a):not(.breadcrumbs a):not(.home-link):not(.hub-link):hover {
  border-bottom-width: 2px;
}

/* Smooth Scroll Padding */
html {
  scroll-padding-top: 80px;
}

/* Enhanced Card Interactions */
.card,
.feature-card {
  will-change: transform;
}

.card:active,
.feature-card:active {
  transform: scale(0.99);
}

/* Improved Form Inputs */
input:focus,
textarea:focus,
select:focus {
  transform: scale(1.01);
  transition: transform 0.2s ease;
}

/* Better Mobile Touch Targets */
@media (max-width: 768px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Print Optimizations */
@media print {
  .nav-header,
  .art-companions-nav,
  .back-to-top,
  .footer-share {
    display: none !important;
  }
  
  body {
    animation: none !important;
  }
}

