/* ===================================
   الأساسيات - Base Styles
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, 
    var(--bg-gradient-start) 0%, 
    var(--bg-gradient-middle) 50%, 
    var(--bg-gradient-end) 100%);
  min-height: 100vh;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

/* الأنيميشن العامة */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 8px 25px rgba(59, 130, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 8px 35px rgba(59, 130, 246, 0.6));
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
  }
}

@keyframes chartAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utilities */
.hide-chart {
  display: none !important;
}

.show-chart {
  display: block !important;
}