/* 3D Animations Final Styles */

/* Advanced Simulation Effects Section */
.section-header {
  text-align: center;
  margin: 4rem 0 2rem;
}

/* Liquid Metal Animation */
#liquid-metal .animation-card-visual {
  background: var(--surface);
  overflow: hidden;
}

#liquid-canvas {
  width: 100%;
  height: 100%;
}

/* Fire Simulation */
#fire-simulation .animation-card-visual {
  background: var(--surface);
  overflow: hidden;
}

#fire-canvas {
  width: 100%;
  height: 100%;
}

/* Clockwork Mechanism */
#clockwork-mechanism .animation-card-visual {
  background: #e8e8e8;
  overflow: hidden;
}

#clockwork-canvas {
  width: 100%;
  height: 100%;
}

/* Neural Network */
#neural-network .animation-card-visual {
  background: var(--surface);
  overflow: hidden;
}

#neural-canvas {
  width: 100%;
  height: 100%;
}

/* Portal Effect */
#portal-effect .animation-card-visual {
  background: var(--surface);
  overflow: hidden;
}

#portal-canvas {
  width: 100%;
  height: 100%;
}

/* Animation Controls */
.animation-controls {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.control-btn {
  padding: 8px 12px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.control-btn:hover {
  background-color: var(--accent);
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
  .animation-card-visual {
    background: var(--secondary) !important;
  }
  
  .control-btn {
    background-color: var(--primary);
  }
  
  .control-btn:hover {
    background-color: var(--accent);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .animation-controls {
    flex-direction: column;
    gap: 5px;
  }
  
  .control-btn {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}