@tailwind base;
@tailwind components;
@tailwind utilities;

/* Test styles */
.test-bg { background-color: red !important; }
.test-text { color: blue !important; }

/* Force rebuild 4 */

:root {
  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --font-heading: 'Poppins', 'Inter', system-ui;
  --bg-start: #1c3f86;
  --bg-end: #1c3f86;
  --primary-1: #9912fa;
  --primary-2: #1c3f86;
  --accent-1: #9912fa;
  --accent-2: #1c3f86;
  --nav-active-color: var(--primary-1);
  --nav-inactive-color: #000000;
}

.themed-root {
  font-family: var(--font-base);
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
}

.header-gradient {
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
}

.profile-name-gradient {
  background-image: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-social {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

.nav-item {
  color: var(--nav-inactive-color) !important;
  transition: color 180ms ease, transform 160ms ease;
}
.nav-item.active {
  color: var(--nav-active-color) !important;
  transform: scale(1.05);
}

@keyframes slideDown {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.animate-header {
  animation: slideDown 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.animate-avatar {
  animation: popIn 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.animate-social {
  animation: fadeUp 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#educationList li.reveal-init,
#experienceList li.reveal-init {
  opacity: 0;
  transform: translateY(10px);
}
#educationList li.reveal,
#experienceList li.reveal {
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-header,
  .animate-avatar,
  .animate-social,
  #educationList li.reveal,
  #experienceList li.reveal {
    animation: none !important;
    transition: none !important;
  }
}

.sidebar-transition {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.overlay {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ripple {
  to { transform: scale(2); opacity: 0; }
}
.profile-card {
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1), 0 8px 10px -6px rgba(59, 130, 246, 0.1);
}
.z-100 { z-index: 100; }
.z-50 { z-index: 50; }
.z-0 { z-index: 0; }
.z-negative { z-index: -20; }
.profile-image {
  position: relative;
 
}

.loader-fade {
  transition: opacity 420ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 420ms;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-spinner {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.05);
  background: conic-gradient(var(--primary-1), var(--primary-2), transparent 60%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), black calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), black calc(100% - 8px));
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .loader-spinner { animation: none; }
}