/* DOPAMINE - Consolidated Styles */

/* ===============================================
   Reset and Base Styles
   =============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scroll-behavior: auto;
}

/* Ensure keyboard scrolling works on all elements */
button, input, select, textarea, a {
  /* Prevent these elements from capturing keyboard scroll events */
  scroll-behavior: auto;
}

/* Ensure focus doesn't break keyboard scrolling */
*:focus {
  outline: none;
}

button:focus, input:focus, select:focus, textarea:focus, a:focus {
  outline: 2px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
}

/* ===============================================
   Layout
   =============================================== */

/* Feature Cards */
.feature-card {
  background: linear-gradient(
    135deg,
    var(--feature-color-1, #667eea),
    var(--feature-color-2, #764ba2)
  );
  color: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: white;
  margin-bottom: 1rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Grid Layouts */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Navigation Components */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.breadcrumb a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #666;
}

/* Status Components */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.status-badge.new {
  background: linear-gradient(45deg, #06ffa5, #00d4aa);
  color: white;
}

.status-badge.popular {
  background: linear-gradient(45deg, #ffd93d, #ff8c42);
  color: white;
}

.status-badge.coming-soon {
  background: linear-gradient(45deg, #a8e6cf, #7fcdcd);
  color: white;
}

/* Main content container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* Page content styles */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
}

/* Interactive elements */
.interactive-area {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 2px dashed #dee2e6;
  transition: all 0.3s ease;
}

.interactive-area:hover {
  border-color: #667eea;
  background: #f0f4ff;
}

/* ===============================================
   Typography
   =============================================== */
h1 {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

/* ===============================================
   Category Cards (Home Page)
   =============================================== */

/* Category grid for home page */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.category-card {
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.category-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.category-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Color schemes for different categories */
.games {
  --card-color-1: #ff6b6b;
  --card-color-2: #feca57;
}
.visuals {
  --card-color-1: #48cae4;
  --card-color-2: #0077b6;
}
.generators {
  --card-color-1: #06ffa5;
  --card-color-2: #00d4aa;
}
.stress-relief {
  --card-color-1: #a8e6cf;
  --card-color-2: #7fcdcd;
}
.achievements {
  --card-color-1: #ffd93d;
  --card-color-2: #ff8c42;
}
.animals {
  --card-color-1: #ff8fab;
  --card-color-2: #ff3d71;
}
.create {
  --card-color-1: #a8e6cf;
  --card-color-2: #88d8c0;
}
.shopping {
  --card-color-1: #667eea;
  --card-color-2: #764ba2;
}

/* ===============================================
   Buttons
   =============================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  margin: 2rem auto;
  display: block;
  text-align: center;
  max-width: 300px;
}

/* ===============================================
   Game Components
   =============================================== */
.game-container, .typing-container {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 2rem 0;
  text-align: center;
}

.game-stats, .stats-bar, .stats-panel {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item, .stat {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  padding: 1rem;
  border-radius: 15px;
  min-width: 120px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.stat-value, .stat-number {
  font-size: 1.5rem;
  font-weight: bold;
}

.control-btn, .generate-btn {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.control-btn:hover, .generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.control-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.difficulty-selector {
  margin: 1rem 0;
}

.difficulty-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  cursor: pointer;
  margin: 0.25rem;
  transition: all 0.3s ease;
}

.difficulty-btn.active {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  border-color: transparent;
}

/* ===============================================
   Card Components
   =============================================== */
.card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  color: #666;
  font-size: 1rem;
}

.card-body {
  flex: 1;
}

.card-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: center;
}

/* ===============================================
   Utility Classes
   =============================================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

/* ===============================================
   Animations & Keyframes
   =============================================== */

/* Entrance Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Continuous Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

@keyframes wobble {
  0% {
    transform: translateX(0%);
  }
  15% {
    transform: translateX(-25%) rotate(-5deg);
  }
  30% {
    transform: translateX(20%) rotate(3deg);
  }
  45% {
    transform: translateX(-15%) rotate(-3deg);
  }
  60% {
    transform: translateX(10%) rotate(2deg);
  }
  75% {
    transform: translateX(-5%) rotate(-1deg);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%,
  20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

/* Rotation Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Color Animations */
@keyframes rainbow {
  0% {
    color: #ff0000;
  }
  16.66% {
    color: #ff8000;
  }
  33.33% {
    color: #ffff00;
  }
  50% {
    color: #00ff00;
  }
  66.66% {
    color: #0080ff;
  }
  83.33% {
    color: #8000ff;
  }
  100% {
    color: #ff0000;
  }
}

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

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8),
      0 0 30px rgba(102, 126, 234, 0.6);
  }
}

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

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

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

/* Morphing Animations */
@keyframes morph {
  0%,
  100% {
    border-radius: 50%;
  }
  25% {
    border-radius: 20% 80% 20% 80%;
  }
  50% {
    border-radius: 80% 20% 80% 20%;
  }
  75% {
    border-radius: 40% 60% 40% 60%;
  }
}

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

/* Shimmer Effects */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

/* Particle Effects */
@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ===============================================
   Animation Utility Classes
   =============================================== */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

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

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

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

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

.bounce {
  animation: bounce 1s;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-heartbeat {
  animation: heartbeat 1.5s infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-shake {
  animation: shake 0.8s;
}

.animate-wobble {
  animation: wobble 1s;
}

.animate-swing {
  animation: swing 1s;
}

.animate-tada {
  animation: tada 1s;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-spin-slow {
  animation: spin 3s linear infinite;
}

.animate-spin-reverse {
  animation: spinReverse 1s linear infinite;
}

.animate-rainbow {
  animation: rainbow 3s linear infinite;
}

.animate-gradient-shift {
  background: linear-gradient(-45deg, #667eea, #764ba2, #667eea, #764ba2);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.animate-glow {
  animation: glow 2s infinite;
}

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

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

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

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

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

.animate-shimmer {
  position: relative;
  overflow: hidden;
}

.animate-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

.animate-sparkle {
  animation: sparkle 1.5s infinite;
}

.animate-twinkle {
  animation: twinkle 2s infinite;
}

/* Hover Animations */
.hover-grow:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hover-shrink:hover {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
  transition: transform 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
  transition: box-shadow 0.3s ease;
}

.hover-bounce:hover {
  animation: bounce 0.6s;
}

.hover-shake:hover {
  animation: shake 0.6s;
}

.hover-pulse:hover {
  animation: pulse 0.6s;
}

/* Delayed Animations */
.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

/* Animation Speeds */
.animate-slow {
  animation-duration: 2s;
}

.animate-fast {
  animation-duration: 0.5s;
}

.animate-faster {
  animation-duration: 0.3s;
}

/* Animation States */
.animate-paused {
  animation-play-state: paused;
}

.animate-running {
  animation-play-state: running;
}

/* ===============================================
   Responsive Design
   =============================================== */
@media (max-width: 768px) {
  html {
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Ensure keyboard scrolling works */
    scroll-behavior: auto;
  }

  body {
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Remove height restrictions that prevent scrolling */
    height: auto;
    /* Ensure keyboard navigation works */
    scroll-behavior: auto;
  }

  /* Ensure buttons don't prevent keyboard scrolling */
  button, input, select, textarea {
    /* Allow keyboard events to bubble up for page scrolling */
    outline: none;
  }
  
  /* Prevent focus trapping that might interfere with keyboard scrolling */
  .generate-btn:focus {
    /* Don't prevent page-level keyboard events */
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
  }

  .container {
    padding: 1rem;
    min-height: auto;
    height: auto;
  }

  /* Mobile feature card styles */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .content {
    padding: 1.5rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-card h3 {
    font-size: 1.5rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Mobile game styles */
  .game-container, .typing-container {
    padding: 1.5rem;
  }

  .game-stats, .stats-bar, .stats-panel {
    flex-direction: column;
    align-items: center;
  }

  .stat-item, .stat {
    width: 200px;
  }

  /* Reduce animation intensity on mobile */
  .animate-bounce,
  .animate-shake,
  .animate-wobble {
    animation-duration: 0.5s;
  }

  .hover-grow:hover {
    transform: scale(1.02);
  }

  .hover-float:hover {
    transform: translateY(-5px);
  }
}

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